Bug 261061 - Evolution crashes don't trigger bug-buddy
Summary: Evolution crashes don't trigger bug-buddy
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution   
(Show other bugs)
Version: 7
Hardware: All
OS: All
Target Milestone: ---
Assignee: Matthew Barnes
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-08-28 17:25 UTC by Christopher Beland
Modified: 2018-04-11 06:48 UTC (History)
1 user (show)

Fixed In Version: evolution-2.12.3-1.fc8
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2008-01-29 19:18:44 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Christopher Beland 2007-08-28 17:25:34 UTC
Since installing Fedora 7 about four days ago, Evolution has crashed on me
twice, once after I created a new directory to "Save all attachments" to, and
another time when I was refiling mail messages offline.

In previous Fedora releases, crashes of this kind triggered bug-buddy and I
would submit a stack trace, but this didn't happen for me either time.


Comment 1 Matthew Barnes 2007-08-28 17:41:53 UTC
If either of these crashes are reproducible, could you try running Evolution
from a terminal and see if any messages get printed when Evolution crashes?

Sometimes, when programs do really nasty things like freeing the same memory
twice, glibc will abort the program before Bug Buddy gets triggered.

Do other programs trigger bug-buddy when they abort?
Perhaps try "kill -SEGV <pid-of-some-program>".

Comment 2 Christopher Beland 2007-08-28 19:06:05 UTC
Interestingly, I *can* get Evolution to trigger bug-buddy if I kill -SEGV it.  I
could not reproduce these crashes, but I will capture Evolution terminal output
until it crashes again.

Comment 3 Matthew Barnes 2007-08-28 19:28:06 UTC
Yeah, the Bug Buddy trigger works by listening for UNIX kill signals, SEGV being
the most common (trying to access an invalid memory address).  I guess glibc
aborts by some other means, if that is indeed the cause.

Comment 4 Christopher Beland 2007-08-29 16:05:34 UTC
I experienced another crash today which did not trigger bug-buddy.  I
was replying to one message while forwarding another, and I edited my
preferences to change the forwarding style to "quoted" from the
default.  The following was captured in .xsession-errors, though
without timestamps, it's difficult to say whether or not they were
printed around the time of the crash.

(evolution:2433): e-data-server-DEBUG: Loading categories from
(evolution:2433): e-data-server-DEBUG: Loaded 29 categories

(evolution:2433): e-utils-WARNING **: Cannot resolve symbol
'org_gnome_new_mail_config' in plugin
'/usr/lib/evolution/2.10/plugins/liborg-gnome-new-mail-notify.so' (not exported?)

(evolution:2433): GLib-GObject-WARNING **: gsignal.c:1669: signal
`source_selected' is invalid for instance `0x9cab370'

(evolution:2433): GLib-GObject-WARNING **: gsignal.c:1669: signal
`source_selected' is invalid for instance `0x9cab490'

***MEMORY-ERROR***: evolution[2433]: GSlice: assertion failed:
sinfo->n_allocated > 0

Comment 5 Matthew Barnes 2007-08-29 18:05:37 UTC
Those warnings look like an upstream bug I fixed recently [1].  I don't think
I've pushed the patch for it to Fedora 7 yet; I'll make it a point to do that.

But I'm still not sure why Bug Buddy is not opening for you, unless the GSlice
code is bypassing the Bug Buddy trigger like glibc tends to do.

My only suggestion at this point is to try running Evolution directly from GDB
and get a backtrace that way:

   $ gdb /usr/bin/evolution
   (gdb) run
   ...  (wait for crash)
   (gdb) thread apply all backtrace

In the meantime I'll push the aforementioned bugfix to Fedora 7 and hope that at
least reduces the amount of crashes you're seeing.

[1] http://bugzilla.gnome.org/show_bug.cgi?id=447591

Comment 6 Christopher Beland 2007-08-29 18:54:26 UTC
Cool, thanks.

I just experienced another crash while changing from viewing an IMAP folder to
viewing a local one by clicking on the folder tree.  Unfortunately, even using
the gdb method you outlined above, it did not result in a stack trace. This is
the last bit of GDB output:

[Thread -1311253616 (LWP 5331) exited]
[Thread -1254634608 (LWP 5333) exited]
[Thread -1332233328 (LWP 5332) exited]
[New Thread -1332233328 (LWP 5334)]
[New Thread -1254634608 (LWP 5335)]
[Thread -1332233328 (LWP 5334) exited]

***MEMORY-ERROR***: evolution[4391]: GSlice: assertion failed:
sinfo->n_allocated > 0
[Switching to Thread -1332233328 (LWP 5334)]
Cannot remove breakpoints because program is no longer writable.
It might be running in another process.
Further execution is probably impossible.
0x0065f7e1 in __nptl_death_event () from /lib/libpthread.so.0
ptrace: No such process.
(gdb) thread apply all backtrace
Couldn't get registers: No such process.

At this point, process 4391 is a zombie.

Comment 7 Matthew Barnes 2007-08-30 18:13:14 UTC
I pushed evolution-2.10.3-4.fc7 to Updates Testing with a fix for the "signal is
invalid" warnings you're seeing.  Should be available within a day or so.

Comment 8 Christopher Beland 2007-09-05 00:03:02 UTC
Hmm, I've enabled [updates-testing] in
/etc/yum.repos.d/fedora-updates-testing.repo and got a ton of updates as a
result, but after running "yum update" just now, evolution-2.10.3-2.fc7 is still

Comment 9 Matthew Barnes 2007-09-05 00:24:36 UTC
Looks like it got pushed to Updates Testing today at 15:01 EST.  If you're using
a mirror, it might take a day for the mirror to sync up with the latest updates.
 Maybe try again tomorrow?

Comment 10 Christopher Beland 2007-09-05 14:53:05 UTC
Yay, it came through today.

Comment 11 Matthew Barnes 2007-11-08 03:52:05 UTC
Did the update fix the problem?  I see Bug Buddy pop up all too often.

Comment 12 Matěj Cepl 2008-01-18 17:39:30 UTC
Reporter, could you please reply to the previous question? If you won't reply in
one month, I will have to close this bug as INSUFFICIENT_DATA. Thank you.

Comment 13 Christopher Beland 2008-01-18 17:50:20 UTC
Yes, I've since had Evolution crash in Fedora 8 and Bug Buddy did indeed handle it.

Comment 14 Matthew Barnes 2008-01-29 19:18:44 UTC

Note You need to log in before you can comment on or make changes to this bug.