After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703638 - Keep ItipView alive while connecting to calendar
Keep ItipView alive while connecting to calendar
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
3.10.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 704395 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-07-05 07:09 UTC by Fabien Tassin
Modified: 2013-09-21 13:35 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Fabien Tassin 2013-07-05 07:09:14 UTC
several times a day, evo (master) crashes when idle, without leaving a core file behind.


The kernel logs:
[2246965.712559] traps: evolution[17116] general protection ip:7f38a04490e6 sp:7fff9ea78eb0 error:0 in module-itip-formatter.so[7f38a043b000+1e000]
[2254185.778213] traps: evolution[4220] general protection ip:7f6794b3c0e6 sp:7fffd1be6360 error:0 in module-itip-formatter.so[7f6794b2e000+1e000]

with G_SLICE=debug-blocks, I let evo idle in gdb, i captured this stack, showing it's crashing while invoking an async idle callback:

Program received signal SIGSEGV, Segmentation fault.
0x00007fffc58270e6 in itip_view_get_mail_part (view=0x5555568be270) at itip-view.c:1418
1418    itip-view.c: No such file or directory.
(gdb) 
(evolution-alarm-notify:17124): evolution-alarm-notify-WARNING **: load_alarms: Could not get query for client: No such interface 'org.gnome.evolution.dataserver.Calendar' on object at pat
h /org/gnome/evolution/dataserver/Calendar/13521/7

(evolution-alarm-notify:17124): evolution-alarm-notify-WARNING **: load_alarms: Could not get query for client: No such interface 'org.gnome.evolution.dataserver.Calendar' on object at pat
h /org/gnome/evolution/dataserver/Calendar/13521/3

(evolution-alarm-notify:17124): evolution-alarm-notify-WARNING **: load_alarms: Could not get query for client: No such interface 'org.gnome.evolution.dataserver.Calendar' on object at pat
h /org/gnome/evolution/dataserver/Calendar/13521/4

(evolution-alarm-notify:17124): evolution-alarm-notify-WARNING **: load_alarms: Could not get query for client: No such interface 'org.gnome.evolution.dataserver.Calendar' on object at pat
h /org/gnome/evolution/dataserver/Calendar/13521/6

(evolution-alarm-notify:17124): evolution-alarm-notify-WARNING **: load_alarms: Could not get query for client: No such interface 'org.gnome.evolution.dataserver.Calendar' on object at path /org/gnome/evolution/dataserver/Calendar/13521/2

(evolution-alarm-notify:17124): evolution-alarm-notify-WARNING **: alarm.c:255: Requested removal of nonexistent alarm!

(gdb) bt
  • #0 itip_view_get_mail_part
    at itip-view.c line 1418
  • #1 cal_opened_cb
    at itip-view.c line 3531
  • #2 g_simple_async_result_complete
    at /build/buildd/glib2.0-2.37.3~git20130620.4829e02c/./gio/gsimpleasyncresult.c line 777
  • #3 complete_in_idle_cb
    at /build/buildd/glib2.0-2.37.3~git20130620.4829e02c/./gio/gsimpleasyncresult.c line 789
  • #4 g_main_dispatch
    at /build/buildd/glib2.0-2.37.3~git20130620.4829e02c/./glib/gmain.c line 3058
  • #5 g_main_context_dispatch
    at /build/buildd/glib2.0-2.37.3~git20130620.4829e02c/./glib/gmain.c line 3634
  • #6 g_main_context_iterate
    at /build/buildd/glib2.0-2.37.3~git20130620.4829e02c/./glib/gmain.c line 3705
  • #7 g_main_loop_run
    at /build/buildd/glib2.0-2.37.3~git20130620.4829e02c/./glib/gmain.c line 3899
  • #8 gtk_main
    at /build/buildd/gtk+3.0-3.9.7+git20130621.32e75adf/./gtk/gtkmain.c line 1157
  • #9 main
    at main.c line 686

Comment 1 Matthew Barnes 2013-07-07 14:15:41 UTC
Haven't seen this myself.  Only thing I can figure is the ItipView object is somehow being finalized while connecting to the calendar asynchronously.  So when cal_opened_cb() is called, we get a dangling ItipView pointer.

If I'm right, this should prevent it:
https://git.gnome.org/browse/evolution/commit/?id=a83157c7787025e3c2b336043707e0f26f7e46f3

Assuming FIXED until reported otherwise.
Comment 2 Milan Crha 2013-08-09 08:24:37 UTC
*** Bug 704395 has been marked as a duplicate of this bug. ***