Bug#751237: claws-mail: SEGV when trying to get IMAP mail

2014-06-13 Thread Shane Kerr
Ricardo,

On Fri, 13 Jun 2014 00:00:27 +0200
Ricardo Mones mo...@debian.org wrote:

 On Wed, 11 Jun 2014 22:43:04 +0200
 Shane Kerr sh...@blij.tk wrote:
 
  On Wed, 11 Jun 2014 16:06:24 +0200
  Ricardo Mones mo...@debian.org wrote:
  
 You can install claws-mail-dbg package to have debug symbols.
   That way backtraces are more meaningful. Can you reproduce it
   that way and post the new backtrace?
  
 Be sure to use ‘thread apply all bt’ within gdb (claws-mail is
   multi-threaded).
  
  Sure, here is the pertinent output:
 [snip] 
  
  Looking at this is seems the problem may actually be in the GnuTLS
  library
 
   I've uploaded a new version of claws-mail (3.10.1-2) and libetpan
 (1.5-1) which could improve this. Can you upgrade and check if this
 still happens?

It seems to work perfectly.

Thanks for the rapid fix!!! :-D

Cheers,

--
Shane


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#751237: claws-mail: SEGV when trying to get IMAP mail

2014-06-12 Thread Ricardo Mones
Hi Shane,

On Wed, 11 Jun 2014 22:43:04 +0200
Shane Kerr sh...@blij.tk wrote:

 On Wed, 11 Jun 2014 16:06:24 +0200
 Ricardo Mones mo...@debian.org wrote:
 
You can install claws-mail-dbg package to have debug symbols. That
  way backtraces are more meaningful. Can you reproduce it that way and
  post the new backtrace?
 
Be sure to use ‘thread apply all bt’ within gdb (claws-mail is
  multi-threaded).
 
 Sure, here is the pertinent output:
[snip] 
 
 Looking at this is seems the problem may actually be in the GnuTLS
 library

  I've uploaded a new version of claws-mail (3.10.1-2) and libetpan (1.5-1)
  which could improve this. Can you upgrade and check if this still happens?

  thanks in advance,
-- 
 Ricardo Mones
 http://people.debian.org/~mones
 «When taxes are due, Americans tend to feel quite bled-white and blue.»


signature.asc
Description: PGP signature


Bug#751237: claws-mail: SEGV when trying to get IMAP mail

2014-06-11 Thread Shane Kerr
Package: claws-mail
Version: 3.9.3-2+b3
Severity: important

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

I have happily been using claws-mail on this machine, but today when I tried
using it, it crashed when I tried to click on the first mail folder after
startup.
I tried retrieving new mail, and this also crashed.

I tried uninstalling and re-installing the claws-mail package, but this made no
difference (which is good I suppose).

I went ahead and installed gdb and used ulimit -c unlimited to allow a core
to be generated, and had a look. I get this:

Reading symbols from /usr/bin/claws-mail...(no debugging symbols found)...done.
[New LWP 10995]
[New LWP 10984]
[New LWP 10983]
[Thread debugging using libthread_db enabled]
Using host libthread_db library /lib/x86_64-linux-gnu/libthread_db.so.1.
Core was generated by `claws-mail'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI___pthread_mutex_lock (mutex=0x3) at ../nptl/pthread_mutex_lock.c:66
66  ../nptl/pthread_mutex_lock.c: No such file or directory.
(gdb)




-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages claws-mail depends on:
ii  libarchive13 3.1.2-8
ii  libassuan0   2.1.1-1
ii  libatk1.0-0  2.12.0-1
ii  libc62.19-1
ii  libcairo21.12.16-2
ii  libcompfaceg11:1.5.2-5
ii  libdb5.3 5.3.28-3
ii  libdbus-1-3  1.8.4-1
ii  libdbus-glib-1-2 0.102-1
ii  libenchant1c2a   1.6.0-10
ii  libetpan17   1.4.1-2
ii  libfontconfig1   2.11.0-5
ii  libfreetype6 2.5.2-1
ii  libgdk-pixbuf2.0-0   2.30.7-1
ii  libglib2.0-0 2.40.0-3
ii  libgnutls26  2.12.23-16
ii  libgpg-error01.12-0.2
ii  libgpgme11   1.4.3-0.1
ii  libgtk2.0-0  2.24.23-1
ii  libice6  2:1.0.8-2
ii  libldap-2.4-22.4.39-1
ii  liblockfile1 1.09-6
ii  libpango-1.0-0   1.36.3-1
ii  libpangocairo-1.0-0  1.36.3-1
ii  libpangoft2-1.0-01.36.3-1
ii  libpisock9   0.12.5-7
ii  libsasl2-2   2.1.26.dfsg1-9
ii  libsm6   2:1.2.1-2
ii  xdg-utils1.1.0~rc1+git20111210-7.1
ii  zlib1g   1:1.2.8.dfsg-1

Versions of packages claws-mail recommends:
ii  aspell-en [aspell-dictionary]  7.1-0-1
ii  aspell-nl [aspell-dictionary]  1:2.10-1
ii  claws-mail-i18n3.9.3-2
ii  xfonts-100dpi  1:1.0.3
ii  xfonts-75dpi   1:1.0.3

Versions of packages claws-mail suggests:
ii  chromium [www-browser]   35.0.1916.114-2
pn  claws-mail-doc   none
ii  claws-mail-tools 3.9.3-2
ii  iceweasel [www-browser]  29.0.1-2
ii  mousepad 0.3.0-2
ii  w3m [www-browser]0.5.3-15

-- no debconf information


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#751237: claws-mail: SEGV when trying to get IMAP mail

2014-06-11 Thread Ricardo Mones
Control: tags -1 moreinfo

  Hi Shane,

On Wed, Jun 11, 2014 at 12:07:37PM +0200, Shane Kerr wrote:
 Package: claws-mail
 Version: 3.9.3-2+b3
 Severity: important
 
 Dear Maintainer,
 
 *** Reporter, please consider answering these questions, where appropriate ***
 
 I have happily been using claws-mail on this machine, but today when I tried
 using it, it crashed when I tried to click on the first mail folder after
 startup.
 I tried retrieving new mail, and this also crashed.
 
 I tried uninstalling and re-installing the claws-mail package, but this made 
 no
 difference (which is good I suppose).
 
 I went ahead and installed gdb and used ulimit -c unlimited to allow a core
 to be generated, and had a look. I get this:
 
 Reading symbols from /usr/bin/claws-mail...(no debugging symbols 
 found)...done.

  You can install claws-mail-dbg package to have debug symbols. That
way backtraces are more meaningful. Can you reproduce it that way and
post the new backtrace?

  Be sure to use ‘thread apply all bt’ within gdb (claws-mail is
multi-threaded).

  Thanks in advance,
-- 
  Ricardo Mones 
  ~
  Don't take the name of root in vain.  /usr/src/linux/README



signature.asc
Description: Digital signature


Bug#751237: claws-mail: SEGV when trying to get IMAP mail

2014-06-11 Thread Shane Kerr
Ricardo,

On Wed, 11 Jun 2014 16:06:24 +0200
Ricardo Mones mo...@debian.org wrote:

   You can install claws-mail-dbg package to have debug symbols. That
 way backtraces are more meaningful. Can you reproduce it that way and
 post the new backtrace?

   Be sure to use ‘thread apply all bt’ within gdb (claws-mail is
 multi-threaded).

Sure, here is the pertinent output:


Core was generated by `claws-mail'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  __GI___pthread_mutex_lock (mutex=0x3) at ../nptl/pthread_mutex_lock.c:66
66  ../nptl/pthread_mutex_lock.c: No such file or directory.
(gdb) thread apply all bt

Thread 3 (Thread 0x7fc9c20b2a00 (LWP 16309)):
#0  0x7fc9bbe76d5d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x7fc9bd6a8fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7fc9bd6a90ec in g_main_context_iteration ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7fc9c117f341 in gtk_main_iteration ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#4  0x005bd075 in threaded_run (folder=0x1449220, 
param=param@entry=0x7fffd7ca4370, result=result@entry=0x7fffd7ca4340, 
func=func@entry=0x5bd130 connect_ssl_run) at imap-thread.c:445
#5  0x005bf671 in imap_threaded_connect_ssl (
folder=folder@entry=0x1449220, 
server=0x140de70 imap.time-travellers.nl.eu.org, port=port@entry=993)
at imap-thread.c:577
#6  0x004a0780 in imap_session_new (account=0x140da00, 
folder=0x1449220) at imap.c:1148
#7  imap_session_get (folder=folder@entry=0x1449220) at imap.c:1034
#8  0x004a2183 in imap_scan_required (folder=0x1449220, 
_item=0x14874e0) at imap.c:4722
#9  0x0048e9c0 in folder_item_process_open (before_proc_func=0x0, 
after_proc_func=0x0, data=0x0, item=0x14874e0) at folder.c:2002
#10 folder_item_open (item=item@entry=0x14874e0) at folder.c:2038
---Type return to continue, or q return to quit---
#11 0x00498ec3 in folderview_selected (ctree=0x10fe400, row=0x1586520, 
column=-1, folderview=0x12b37c0) at folderview.c:2111
#12 0x7fc9bd9783b8 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x7fc9bd989d3d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x7fc9bd991a29 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#15 0x7fc9bd991ce2 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#16 0x005fb84c in gtk_cmctree_select (ctree=ctree@entry=0x10fe400, 
node=0x1586520) at gtkcmctree.c:3904
#17 0x005fbd6d in real_unselect_all (clist=0x10fe400)
at gtkcmctree.c:2882
#18 0x006186a8 in gtk_sctree_real_unselect_all (clist=0x10fe400)
at gtksctree.c:792
#19 0x006172e7 in select_row (sctree=0x10fe400, row=1, col=0, 
state=optimized out, _node=0x0) at gtksctree.c:383
#20 0x00618f36 in gtk_sctree_button_press (widget=optimized out, 
event=0x1300d20) at gtksctree.c:554
#21 0x7fc9c11814f5 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#22 0x7fc9bd9783b8 in g_closure_invoke ()
---Type return to continue, or q return to quit---
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x7fc9bd989afb in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x7fc9bd9916f9 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#25 0x7fc9bd991ce2 in g_signal_emit ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x7fc9c1291114 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#27 0x7fc9c117fca4 in gtk_propagate_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#28 0x7fc9c118005b in gtk_main_do_event ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#29 0x7fc9c0dfb1fc in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
#30 0x7fc9bd6a8e04 in g_main_context_dispatch ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x7fc9bd6a9048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x7fc9bd6a930a in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x7fc9c117f147 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#34 0x00449ca7 in main (argc=1, argv=0x7fffd7ca7358) at main.c:1559
---Type return to continue, or q return to quit---

Thread 2 (Thread 0x7fc9a26b5700 (LWP 16310)):
#0  0x7fc9bbe76d5d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x7fc9bd6a8fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x7fc9bd6a930a in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x7fc9c0193e16 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x7fc9bd6cdf15 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x7fc9be4500ca in start_thread (arg=0x7fc9a26b5700)
at pthread_create.c:312
#6  0x7fc9bbe81ffd in clone ()
at