crash when right clicking on a calendar entry

Bug #331428 reported by Lorenco Trichardt
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evolution
Fix Released
Critical
evolution (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
libical (Fedora)
Fix Released
Medium
libical (Mandriva)
Unknown
Medium
libical (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: evolution

(evolution:17600): calendar-gui-WARNING **: e-cal-model.c:1688: Unable to get query, Backend is busy
/build/buildd/libical-0.43/src/libical/icalerror.c:104: BADARG: Bad argument to function
/usr/lib/libical.so.0(ical_bt+0x33) [0xb793acb3]
/usr/lib/libical.so.0(icalerror_set_errno+0x98) [0xb793afe8]
/usr/lib/libical.so.0(icalparameter_get_delegatedto+0x3c) [0xb7926e2c]
/usr/lib/evolution/2.26/components/libevolution-calendar.so(e_cal_popup_target_new_select+0x3a0) [0xb5b2f0d0]
/usr/lib/evolution/2.26/components/libevolution-calendar.so(e_calendar_view_create_popup_menu+0xf5) [0xb5b361c5]
/usr/lib/evolution/2.26/components/libevolution-calendar.so [0xb5b51a29]
/usr/lib/evolution/2.26/components/libevolution-calendar.so [0xb5b5676f]
/usr/lib/libgtk-x11-2.0.so.0 [0xb70a71c2]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x1ab) [0xb6a77cab]
/usr/lib/libgobject-2.0.so.0 [0xb6a8f3a9]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x67f) [0xb6a908df]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x26) [0xb6a90ec6]
/usr/lib/libgtk-x11-2.0.so.0 [0xb71db82e]
/usr/lib/libgtk-x11-2.0.so.0(gtk_propagate_event+0x11a) [0xb709ecfa]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x317) [0xb70a0297]
/usr/lib/libgdk-x11-2.0.so.0 [0xb6dd09ca]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x1e8) [0xb69eeaf8]
/usr/lib/libglib-2.0.so.0 [0xb69f205b]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1ca) [0xb69f252a]
/usr/lib/libbonobo-2.so.0(bonobo_main+0x63) [0xb742ecf3]
evolution [0x805d950]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb6867775]
evolution [0x8050361]
evolution: /build/buildd/libical-0.43/src/libical/icalerror.c:106: icalerror_set_errno: Assertion `0' failed.
Aborted (core dumped)

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 327551
gecko-bugreport.txt generated with crash described

Description of problem:

Thunderbird crashes with attached gecko bugreport while using lightning extension. It is reproducable with certain existing events but also happened when exporting the calendar to an ICS file.

Version-Release number of selected component (if applicable):

[settle ~/] 4% rpm -q thunderbird thunderbird-lightning
thunderbird-2.0.0.18-1.fc10.i386
thunderbird-lightning-0.9-3.fc10.i386

How reproducible:

Open a specific event in my calendar to edit. not all events, just some. Also happened this morning when exporting one calendar to an ICS file.

Steps to Reproduce:
1. open thunderbird and switch to calendar mode
2. select file->export calendar, select calendar, press Ok.
3. choose file name and location, select iCalendar format, press "save"
4. crash

Actual results:

crash with attached gecko-bugreport.txt file.

Expected results:

save the file in iCalendar format and return to program.

Additional info:

exporting to an HTML file doesn't cause the same crash.

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 327552
gecko-bugreport.txt generated with crash after editing an event

This gecko-bugreport.txt file was generated after editing an event and closing the window with the window manager close button. not all events cause the crash but there isn't anything special about the event that does cause the crash.

Revision history for this message
In , Lubomir (lubomir-redhat-bugs) wrote :

It's probably either ICAL with unsupported features or broken; but libical definitely shouldn't abort here anyways. I'm building a replacement package with aborts on such conditions disabled.

Until it builds -- could you please install debugging symbols ("yum install yum-utils; debuginfo-install libical sunbird") and reproduce the problem again? We'd get a backtrace that would let us know more to find out what's wrong with your calendar.

Thanks!

Revision history for this message
In , Lubomir (lubomir-redhat-bugs) wrote :

This is the package where the fatal aborts should be disabled, so you will probably see an error message in thunderbird, but no crash:

http://koji.fedoraproject.org/koji/taskinfo?taskID=1023481

Revision history for this message
In , David (david-redhat-bugs) wrote :

(In reply to comment #2)
> It's probably either ICAL with unsupported features or broken; but libical
> definitely shouldn't abort here anyways. I'm building a replacement package
> with aborts on such conditions disabled.
>
> Until it builds -- could you please install debugging symbols ("yum install
> yum-utils; debuginfo-install libical sunbird") and reproduce the problem again?
> We'd get a backtrace that would let us know more to find out what's wrong with
> your calendar.
>
> Thanks!

since i haven't installed any debug packages yet this will be a ~176MB download to get installed. if this will still be useful i can do it when i have better connectivity tomorrow. please let me know.

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 327937
gecko-bugreport.txt from crash after installing debuginfo rpms

Revision history for this message
In , David (david-redhat-bugs) wrote :

(In reply to comment #4)
> (In reply to comment #2)
> > It's probably either ICAL with unsupported features or broken; but libical
> > definitely shouldn't abort here anyways. I'm building a replacement package
> > with aborts on such conditions disabled.
> >
> > Until it builds -- could you please install debugging symbols ("yum install
> > yum-utils; debuginfo-install libical sunbird") and reproduce the problem again?
> > We'd get a backtrace that would let us know more to find out what's wrong with
> > your calendar.
> >
> > Thanks!
>
> since i haven't installed any debug packages yet this will be a ~176MB download
> to get installed. if this will still be useful i can do it when i have better
> connectivity tomorrow. please let me know.

i just uploaded the gecko-bugreport.txt after the crash with debuginfo rpms (and dependencies) installed.

also, i note that the libical and libical-debuginfo mentioned at:

http://koji.fedoraproject.org/koji/taskinfo?taskID=1023481

are earlier versions than those from current fedora 10 repos:

in koki:

libical-0.32-1.fc10.nofatalerr1.i386.rpm
libical-debuginfo-0.32-1.fc10.nofatalerr1.i386.rpm

from fedora 10 repos:

libical-0.41-1.fc10.i386
libical-debuginfo-0.41-1.fc10.i386

FYI

Revision history for this message
In , Lubomir (lubomir-redhat-bugs) wrote :

(In reply to comment #6)

> i just uploaded the gecko-bugreport.txt after the crash with debuginfo rpms
> (and dependencies) installed.

Much thanks for that. I still see no backtrace there. Please check if you have gdb installed. If not, please install it and reproduce the problem again. Sorry for the inconvenience.

> also, i note that the libical and libical-debuginfo mentioned at:
>
> http://koji.fedoraproject.org/koji/taskinfo?taskID=1023481
>
> are earlier versions than those from current fedora 10 repos:
>
> in koki:
>
> libical-0.32-1.fc10.nofatalerr1.i386.rpm
> libical-debuginfo-0.32-1.fc10.nofatalerr1.i386.rpm
>
> from fedora 10 repos:
>
> libical-0.41-1.fc10.i386
> libical-debuginfo-0.41-1.fc10.i386

Right; I did not notice that. I'll promptly rebuild newer packages.

Revision history for this message
In , Lubomir (lubomir-redhat-bugs) wrote :
Revision history for this message
In , David (david-redhat-bugs) wrote :

(In reply to comment #7)
> (In reply to comment #6)
>
> > i just uploaded the gecko-bugreport.txt after the crash with debuginfo rpms
> > (and dependencies) installed.
>
> Much thanks for that. I still see no backtrace there. Please check if you have
> gdb installed. If not, please install it and reproduce the problem again. Sorry
> for the inconvenience.

i do have gdb installed:

[host ~/] 65% which gdb
/usr/bin/gdb

i just ran it again from the command-line and the following came up when it crashed this time: ( i should have thought to check .xsession-errors - it was there as well from the previous crash. )

----
icalerror.c:104: BADARG: Bad argument to function
thunderbird-bin: icalerror.c:106: icalerror_set_errno: Assertion `0' failed.
369ec268-b38a-ec1f-1ffdc167-31d1c408 is dumped
----

also, just in case, i'll upload the gecko-bugreport.txt file from this run.

> > also, i note that the libical and libical-debuginfo mentioned at:
> >
> > http://koji.fedoraproject.org/koji/taskinfo?taskID=1023481
> >
> > are earlier versions than those from current fedora 10 repos:
> >
> > in koki:
> >
> > libical-0.32-1.fc10.nofatalerr1.i386.rpm
> > libical-debuginfo-0.32-1.fc10.nofatalerr1.i386.rpm
> >
> > from fedora 10 repos:
> >
> > libical-0.41-1.fc10.i386
> > libical-debuginfo-0.41-1.fc10.i386
>
> Right; I did not notice that. I'll promptly rebuild newer packages.

i see the newer packages so will install those and run again.

Revision history for this message
In , David (david-redhat-bugs) wrote :

Created attachment 327939
gecko-bugreport.txt from crash after installing debuginfo rpms, second try

Revision history for this message
In , Lubomir (lubomir-redhat-bugs) wrote :

(In reply to comment #10)
> Created an attachment (id=327939) [details]
> gecko-bugreport.txt from crash after installing debuginfo rpms, second try

Which packages are this? The custom built ones?

Anyways, unfortunately the bug reports don't contain a backtrace. Let's see if we can get it somehow:

Could you please run thunderbird as follows:
$ thunderbird -g -d gdb

Issue a "c" command at the (gdb) prompt and then issue a "thread apply all bt" command once thunderbird crashes? Please attach the output here.

Revision history for this message
In , David (david-redhat-bugs) wrote :

(In reply to comment #11)
> (In reply to comment #10)
> > Created an attachment (id=327939) [details] [details]
> > gecko-bugreport.txt from crash after installing debuginfo rpms, second try
>
> Which packages are this? The custom built ones?

that report came from the original f10 packages - not the new custom built ones.

> Anyways, unfortunately the bug reports don't contain a backtrace. Let's see if
> we can get it somehow:
>
> Could you please run thunderbird as follows:
> $ thunderbird -g -d gdb
>
> Issue a "c" command at the (gdb) prompt and then issue a "thread apply all bt"
> command once thunderbird crashes? Please attach the output here.

i installed the custom built packages and, as i'm sure you'd hoped, it doesn't crash any longer. how would you like me to proceed? i can roll back to the previous f10 shipped packages and rerun with the above commands if you'd like.

just let me know what would help best.

Revision history for this message
Lorenco Trichardt (trichalo) wrote : Re: Jaunty - Evolution crash when I right click on a calendar entry.

I am seeing a hangup on accepting meeting notices as well from e-mail (Maybe related?)

Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Thank you for your bug report. This looks like a crash in libical, so I'm reassigning. Incidentally, Fedora users are experiencing this too

Changed in evolution:
importance: Undecided → Medium
status: New → Confirmed
Changed in libical:
status: Unknown → Invalid
status: Unknown → In Progress
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Hmmmm, those other distro reports might have slightly different causes, although libical probably shouldn't abort. Please try to obtain a backtrace following the instructions at http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace (as an attachment) to the bug report. This will greatly help us in tracking down your problem.

Changed in libical:
status: Confirmed → Incomplete
Revision history for this message
Lorenco Trichardt (trichalo) wrote : Re: [Bug 331428] Re: Jaunty - Evolution crash when I right click on a calendar entry.

Attached isa backtrace.

Groetnis ...
Lorenco Trichardt
<email address hidden>

---------------------------------------------
Written Today, 19 Feb 2009 at 14:19
---------------------------------------------

-----Original Message-----
From: Chris Coulson <email address hidden>
Reply-to: Bug 331428 <email address hidden>
To: <email address hidden>
Subject: [Bug 331428] Re: Jaunty - Evolution crash when I right click on
a calendar entry.
Date: Thu, 19 Feb 2009 10:16:11 -0000

Hmmmm, those other distro reports might have slightly different causes,
although libical probably shouldn't abort. Please try to obtain a
backtrace following the instructions at
http://wiki.ubuntu.com/DebuggingProgramCrash and upload the backtrace
(as an attachment) to the bug report. This will greatly help us in
tracking down your problem.

** Changed in: libical (Ubuntu)
       Status: Confirmed => Incomplete

Revision history for this message
Andrew Starr-Bochicchio (andrewsomething) wrote : Re: Jaunty - Evolution crash when I right click on a calendar entry.
Changed in libical:
status: Incomplete → Confirmed
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Your backtraces are both different, although the end result is the same (the error handler icalerror_set_errno aborts), the errors that lead to icalerror_set_errno being called are both different.

Bug 331567 is also due to this function aborting, but is caused by yet another error.

Revision history for this message
Sebastien Bacher (seb128) wrote :

evolution upstreams said to reassign to evolution

Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in evolution:
status: Confirmed → Triaged
assignee: nobody → desktop-bugs
Revision history for this message
Sebastien Bacher (seb128) wrote :

the bug has been fixed upstream now

Changed in evolution:
status: Triaged → Fix Committed
Changed in evolution:
status: Unknown → Fix Released
Changed in libical:
status: New → Invalid
Revision history for this message
Sebastien Bacher (seb128) wrote :

the new version is in jaunty now

Changed in evolution (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Mark Beierl (mbeierl) wrote :

Up to date in Jaunty, yet still receiving this error with almost any action on OWA calendars (even loading the calendar causes exchange-storage to crash with assertion error).

When running
/usr/lib/evolution/2.26/evolution-exchange-storage --oaf-activate-iid=OAFIID:GNOME_Evolution_Exchange_Component_Factory:2.26 --oaf-ior-fd=33 from the command line:

/build/buildd/libical-0.43/src/libical/icalerror.c:104: BADARG: Bad argument to function
/usr/lib/libical.so.0(ical_bt+0x1f) [0x7fa6e709406f]
/usr/lib/libical.so.0(icalerror_set_errno+0x7b) [0x7fa6e70942db]
/usr/lib/libical.so.0(icalcomponent_new_clone+0xc4) [0x7fa6e7093bc4]
/usr/lib/evolution/2.26/evolution-exchange-storage [0x4337d5]
/usr/lib/libglib-2.0.so.0(g_hash_table_foreach+0x43) [0x7fa6e0202c63]
/usr/lib/evolution/2.26/evolution-exchange-storage [0x433546]
/usr/lib/libglib-2.0.so.0 [0x7fa6e021183b]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x24a) [0x7fa6e02110ca]
/usr/lib/libglib-2.0.so.0 [0x7fa6e02147a0]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1cd) [0x7fa6e0214c6d]
/usr/lib/libbonobo-2.so.0(bonobo_main+0x46) [0x7fa6e1ac3796]
/usr/lib/evolution/2.26/evolution-exchange-storage [0x417cff]
/lib/libc.so.6(__libc_start_main+0xe6) [0x7fa6dfe835a6]
/usr/lib/evolution/2.26/evolution-exchange-storage [0x413009]
evolution-exchange-storage: /build/buildd/libical-0.43/src/libical/icalerror.c:106: icalerror_set_errno: Assertion `0' failed.
Aborted (core dumped)

... yet ... where is the core dump located?

I can reproduce this very quickly. Should I open a new bug report or re-open this one?

Revision history for this message
Mark Beierl (mbeierl) wrote :

Opened https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/353187 just in case this is a new one. Can close if not.

Revision history for this message
In , Vesselina (vesselina-redhat-bugs) wrote :

Created attachment 338937
gecko-bugreport while using internet

This gecko-bugreport.txt file generats often while watching YouTube for example and closing the window with the window manager close button. not all internet sites cause the crash but it happens sometimes.

Revision history for this message
In , Lubomir (lubomir-redhat-bugs) wrote :

This was fixed in more recent libical packages.

Changed in libical (Fedora):
status: In Progress → Fix Released
Revision history for this message
In , Aleksey (aleksey-redhat-bugs) wrote :

This is still affecting Fedora EPEL :-(

Changed in evolution:
importance: Unknown → Critical
Changed in libical (Mandriva):
status: Invalid → Unknown
Changed in libical (Mandriva):
importance: Unknown → Medium
Changed in libical (Fedora):
importance: Unknown → Medium
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.