Discussion:
[Bug 2361] New: Claws crashes after PGP Check
n***@thewildbeast.co.uk
2011-02-11 00:42:38 UTC
Permalink
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2361

Summary: Claws crashes after PGP Check
Product: Claws Mail
Version: 3.7.8
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P3
Component: Plugins/Privacy
AssignedTo: ***@lists.claws-mail.org
ReportedBy: ***@sommerfuchs.info


Hi there,
my Claws Mail crashes nearly (>95%) always after checking a PGP Key.
Reproduceable with: Open claws, open a signed email, hit 'C', close the email
wait 2 seconds -> segfault.
This has happend earlier (I'm using claws since about 2 years), but has never
botherd me mutch because it was seldom, it got regular since I switched to
debian (was using ubuntu before) about a month ago.
When run with gdb the window keeps visible but no interaction is possible
anymore. Without gdb the window vanishes.
Debug:

textview.c:758:TIMING textview_add_part : 0s000ms
textview.c:775:TIMING recursive_add_parts : 0s000ms
textview.c:821:TIMING recursive_add_parts : 0s058ms
textview.c:821:TIMING recursive_add_parts : 0s076ms
textview.c:583:TIMING textview_show_part : 0s076ms
summaryview.c:3505:TIMING summary_display_msg_full : 0s285ms
mimeview.c:1092:creating thread
mimeview.c:1011:checking...
mimeview.c:1043:waiting a while
mimeview.c:965:mimeview_check_sig_thread_cb
sgpgme.c:107:err code 0
sgpgme.c:107:err code 0
messageview.c:1442:destroy messageview
hooks.c:89:unregisted hook 3 in 'msginfo_update'
mimeview.c:1051:killing checker thread
[New Thread 0xb642bb70 (LWP 29405)]
[New Thread 0xb5c2ab70 (LWP 29406)]
[Thread 0xb642bb70 (LWP 29405) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb5c2ab70 (LWP 29406)]
0x0816c37b in mimeview_check_sig_cancel_thread (data=0x869ed58) at
mimeview.c:1052
in mimeview.c
(gdb) thread apply all bt

Thread 3 (Thread 0xb5c2ab70 (LWP 29406)):
#0 0x0816c37b in mimeview_check_sig_cancel_thread (data=0x869ed58) at
mimeview.c:1052
#1 0xb795a955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#2 0xb761fe7e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb6c3c8a0 (LWP 29394)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb7612696 in poll () from /lib/i686/cmov/libc.so.6
#2 0xb789406b in g_poll () from /lib/libglib-2.0.so.0
#3 0xb7886dbc in ?? () from /lib/libglib-2.0.so.0
#4 0xb7887527 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5 0xb7cf3e19 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#6 0x08142e05 in main (argc=1, argv=0xbffff504) at main.c:1669
(gdb)

Thread 3 (Thread 0xb5c2ab70 (LWP 29406)):
#0 0x0816c37b in mimeview_check_sig_cancel_thread (data=0x869ed58) at
mimeview.c:1052
#1 0xb795a955 in start_thread () from /lib/i686/cmov/libpthread.so.0
#2 0xb761fe7e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb6c3c8a0 (LWP 29394)):
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb7612696 in poll () from /lib/i686/cmov/libc.so.6
#2 0xb789406b in g_poll () from /lib/libglib-2.0.so.0
#3 0xb7886dbc in ?? () from /lib/libglib-2.0.so.0
#4 0xb7887527 in g_main_loop_run () from /lib/libglib-2.0.so.0
#5 0xb7cf3e19 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#6 0x08142e05 in main (argc=1, argv=0xbffff504) at main.c:1669

A debugging session is active.

Inferior 1 [process 29394] will be killed.

Quit anyway? (y or n)

Please tell me if I can provide any further assistence and thank you very mutch
in advance if you fix this.
I really like claws mail and will continue using it, but beeing able to check
PGP again would be great.

Der Mor
--
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
n***@thewildbeast.co.uk
2011-02-11 00:49:14 UTC
Permalink
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2361





--- Comment #1 from Der Mor 2011-02-11 01:49:13 ---
I just tried piping the stdOut into a file and the following text appeared on
stdErr (or so I assume. I tried 'gdb claws-mail > clawsmail.debug' but the
following came on my console):

icaltime.c:365: MALFORMEDDATA: An input string was not correctly formed or a
component has missing or extra properties

(claws-mail:29524): GLib-GObject-WARNING **:
/build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gsignal.c:1107:
no emission of signal "key-press-event" to stop for instance `0x84165a8'

(claws-mail:29524): GLib-GObject-WARNING **:
/build/buildd-glib2.0_2.24.2-1-i386-AScyie/glib2.0-2.24.2/gobject/gsignal.c:1107:
no emission of signal "key-press-event" to stop for instance `0x8416710'
1052 mimeview.c: No such file or directory.
--
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
n***@thewildbeast.co.uk
2011-02-12 06:55:49 UTC
Permalink
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2361


Paul <***@claws-mail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Summary|Claws crashes after PGP |Claws crashes after PGP
|Check |Check in separate msg view




--- Comment #2 from Paul 2011-02-12 07:55:47 ---
At first I thought that this is strange because in years of using debian and
ubuntu I've never had such a crash.
Eventually I realised that you had missed out a piece of vital information -
this only happens when you open messages in a new window, not when you view
them in the pane below the message list.
--
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
n***@thewildbeast.co.uk
2011-02-13 11:26:04 UTC
Permalink
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2361





--- Comment #3 from Der Mor 2011-02-13 12:26:01 ---
@Paul: Correct.
I never user the message pane, so I had to search for it now that you mentioned
it. After checking it: in the message pane this does not happen.
--
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
n***@thewildbeast.co.uk
2011-02-13 15:58:28 UTC
Permalink
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2361


Paul <***@claws-mail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |***@gmail.com




--- Comment #4 from Paul 2011-02-13 16:58:27 ---
*** Bug 2363 has been marked as a duplicate of this bug. ***
--
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
n***@thewildbeast.co.uk
2011-02-13 22:00:37 UTC
Permalink
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2361





--- Comment #5 from users 2011-02-13 23:00:36 ---
Changes related to this bug have been committed.
Please check latest CVS and update the bug accordingly.
You can also get the patch from:
http://www.colino.net/claws-mail/

2011-02-13 [colin] 3.7.8cvs55

* src/mimeview.c
* src/mimeview.h
Fix bug #2361, "Claws crashes after PGP Check in separate
msg view". Don't let the cancel thread lie around after
the verification ended.
--
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
n***@thewildbeast.co.uk
2011-03-18 07:31:20 UTC
Permalink
http://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=2361


Paul <***@claws-mail.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--
Configure bugmail: http://www.thewildbeast.co.uk/claws-mail/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
Loading...