GNOME Bugzilla – Bug 79839
Pan crashes forwarding article via email
Last modified: 2004-12-22 21:47:04 UTC
Package: Pan Severity: normal Version: 0.11.3 Synopsis: Pan crashes forwarding article via email Bugzilla-Product: Pan Bugzilla-Component: general Description: If you try to forward an article via email and you change the from header (if you have multiple identities). pan crashes every time. bye Debugging Information: (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)... (no debugging symbols found)...(no debugging symbols found)...[New Thread 1024 (LWP 3581)] [New Thread 2049 (LWP 3588)] [New Thread 1026 (LWP 3589)] 0x405ed409 in wait4 () from /lib/libc.so.6
+ Trace 21292
------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-04-25 03:02 ------- The original reporter (gianpaolo@preciso.net) of this bug does not have an account here. Reassigning to the exporter, unknown@bugzilla.gnome.org. Reassigning to the default owner of the component, charles@rebelbase.com.
Chris, could you look into this?
gianpaolo, I've tried to reproduce this, but it can't get it to crash. If this is reproducible for you, could you give us a hand and send in a backtrace? This is real easy to do: just follow the instructions at http://pan.rebelbase.com/bugs/#backtrace If you don't have a bugzilla account, just send the trace to pan@rebelbase.com. Many thanks, Chris
gianpaolo replies to pan@rebelbase.com: I attach here my trace. Don't know if I did everything in the right way. I noticed that tha crash occurs only when I try to forward long articles changing my identity. hope it helps.
Created attachment 8028 [details] gianpaolo's backtrace
The interesting part of the backtrace is #0 0x405b18d3 in malloc () from /lib/libc.so.6 #1 0x405b2351 in realloc () from /lib/libc.so.6 #2 0x405b2201 in realloc () from /lib/libc.so.6 #3 0x4045a00a in g_realloc () from /usr/lib/libglib-1.2.so.0 Cannot access memory at address 0x31 (gdb) thread 2 It looks like Pan has a is trying to realloc a string inside a struct, where the pointer to the struct is NULL.
gianpaolo: Does it crash right when you change the From: header, or when you hit 'send', or...?
We'll need confirmation from gianpaolo, but I think it crashes when switching profiles on long articles. When a user switches profiles, Pan will reconstruct the article, taking into account the new profile's attribution line & signature. If it crashes at this point, I suspect this is another manifestion of http://bugzilla.gnome.org/show_bug.cgi?id=68058. That bug shows itself by crashing when you rewrap an article. I could be wrong, of course.
Just to say it crashes when you switch profile, not when you click the send button.
I can't reproduce this in 0.11.92. gianpaolo: could you upgrade and see if you can still make it crash?
sorry but not so rapidly... (gtk2 and so on... It's my production machine and I can't test so much on it... Thanks anyway, I'm sure that the bug will be solved.
I don't see any reason to believe this will be solved unless you help us -- we don't see the bug and can't reproduce it. I'm marking this a NEEDINFO.
punting NEEDINFO reports from 0.12.0 to 0.12.1. If the bug reporters come through with more information, they can be moved back into 0.12.0.
tried pan 0.11.94 (mandrake cooker rpms). can't reproduce the problem. seems solved. thanks
gianpaolo: many thanks for the update. Marking as fixed in 0.12.0.