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 529037 - crash in gnome_calendar_get_current_view_widget()
crash in gnome_calendar_get_current_view_widget()
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Calendar
2.24.x (obsolete)
Other All
: High critical
: ---
Assigned To: Milan Crha
Evolution QA team
: 482958 560307 563973 564870 566877 568121 569692 570082 570605 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-04-20 13:21 UTC by gordon.ross
Modified: 2009-02-25 11:45 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24


Attachments
proposed evo patch (1.70 KB, patch)
2009-02-09 16:51 UTC, Milan Crha
committed Details | Review

Description gordon.ross 2008-04-20 13:21:45 UTC
What were you doing when the application crashed?



Distribution:                    Solaris Express Community Edition snv_79 X86
Gnome Release: 2.20.1 2007-11-19 (Sun Microsystems, Inc.)
BugBuddy Version: 2.20.1

X Vendor: Sun Microsystems, Inc.
X Vendor Release: 10300000
Selinux: No
Accessibility: Disabled
GTK+ Theme: nimbus
Icon Theme: nimbus

Memory status: size: 601632768 vsize: 601632768 resident: 426528768 share: 393216 rss: 426528768 rss_rlim: 0
CPU usage: start_time: 0 rtime: 135509 utime: 1270735247 stime: 84359202 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0

Backtrace was generated from '/usr/bin/evolution'

(no debugging symbols found)
sol-thread active.
Retry #1:
Retry #2:
Retry #3:
Retry #4:
[New LWP    1        ]
[New Thread 1 (LWP 1)]

Thread 1 (LWP 1)

  • #0 _waitid
    from /usr/lib/libc.so.1
  • #1 _waitpid
    from /usr/lib/libc.so.1
  • #2 waitpid_cancel
    from /usr/lib/libc.so.1
  • #3 g_spawn_sync
    from /usr/lib/libglib-2.0.so.0
  • #4 g_spawn_command_line_sync
    from /usr/lib/libglib-2.0.so.0
  • #5 __1cNrun_bug_buddy6Fpkclp0_b_
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #6 __1cMcheck_if_gdb6Fpv_b_
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #7 _ex_text0
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #8 segv_redirect
  • #9 __sighndlr
    from /usr/lib/libc.so.1
  • #10 call_user_handler
    from /usr/lib/libc.so.1
  • #11 <signal handler called>
  • #12 gnome_calendar_get_current_view_widget
    from /usr/lib/evolution/2.12/components/libevolution-calendar.so
  • #13 source_changed_cb
    from /usr/lib/evolution/2.12/components/libevolution-calendar.so
  • #14 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #15 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #16 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #19 e_source_update_from_xml_node
    from /usr/lib/libedataserver-1.2.so.9
  • #20 eccp_commit
    from /usr/lib/evolution/2.12/components/libevolution-calendar.so
  • #21 e_config_commit
    from /usr/lib/evolution/2.12/libeutil.so.0
  • #22 ec_dialog_response
    from /usr/lib/evolution/2.12/libeutil.so.0
  • #23 g_cclosure_marshal_VOID
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #25 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #28 gtk_dialog_response
    from /usr/lib/libgtk-x11-2.0.so.0
  • #29 action_widget_activated
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #31 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #32 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #35 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #36 gtk_real_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #37 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #38 g_type_class_meta_marshal
    from /usr/lib/libgobject-2.0.so.0
  • #39 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #40 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #41 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #42 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #43 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #44 gtk_button_button_release
    from /usr/lib/libgtk-x11-2.0.so.0
  • #45 _gtk_marshal_BOOLEAN__BOXED
    from /usr/lib/libgtk-x11-2.0.so.0
  • #46 g_type_class_meta_marshal
    from /usr/lib/libgobject-2.0.so.0
  • #47 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #48 signal_emit_unlocked_R
    from /usr/lib/libgobject-2.0.so.0
  • #49 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #50 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #51 gtk_widget_event_internal
    from /usr/lib/libgtk-x11-2.0.so.0
  • #52 gtk_widget_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #53 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #54 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #55 gdk_event_dispatch
    from /usr/lib/libgdk-x11-2.0.so.0
  • #56 g_main_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #57 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #58 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #59 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #60 bonobo_main
    from /usr/lib/libbonobo-2.so.0
  • #61 main

Thread 14 (Thread 25 (LWP 25)):
#-1 0xfe242f07 in __pollsys () from /usr/lib/libc.so.1
No symbol table info available.

Thread 13 (Thread 23        ):
#-1 0xfe23f51b in __lwp_park () from /usr/lib/libc.so.1
No symbol table info available.

Thread 12 (Thread 22        ):
#-1 0xfe23f51b in __lwp_park () from /usr/lib/libc.so.1
No symbol table info available.

Thread 11 (Thread 19        ):
#-1 0xfe23f51b in __lwp_park () from /usr/lib/libc.so.1
No symbol table info available.

Thread 10 (Thread 4 (LWP 4)):
#-1 0xfe242f07 in __pollsys () from /usr/lib/libc.so.1
No symbol table info available.

Thread 9 (Thread 2        ):
#-1 0xfe23f51b in __lwp_park () from /usr/lib/libc.so.1
No symbol table info available.

Thread 8 (LWP    2        ):
#-1 0xfe23f51b in __lwp_park () from /usr/lib/libc.so.1
No symbol table info available.

Thread 7 (LWP    4        ):
#-1 0xfe242f07 in __pollsys () from /usr/lib/libc.so.1
No symbol table info available.

Thread 6 (LWP    25        ):
#-1 0xfe242f07 in __pollsys () from /usr/lib/libc.so.1
No symbol table info available.

Thread 5 (LWP    23        ):
#-1 0xfe23f51b in __lwp_park () from /usr/lib/libc.so.1
No symbol table info available.

Thread 4 (LWP    22        ):
#-1 0xfe23f51b in __lwp_park () from /usr/lib/libc.so.1
No symbol table info available.

Thread 3 (LWP    19        ):
#-1 0xfe23f51b in __lwp_park () from /usr/lib/libc.so.1
No symbol table info available.

Thread 2 (Thread 1 (LWP 1)):
#-1 0xfe2434b7 in _waitid () from /usr/lib/libc.so.1
No symbol table info available.

Thread 1 (LWP    1        ):
#-1 0xfe2434b7 in _waitid () from /usr/lib/libc.so.1
No symbol table info available.
#-1 0xfe2434b7 in _waitid () from /usr/lib/libc.so.1
Comment 1 Akhil Laddha 2008-05-09 10:57:11 UTC
Thanks for taking the time to report this bug.
Unfortunately, that stack trace is missing some elements that will help a lot
to solve the problem, so it will be hard for the developers to fix that crash.
Could you please install some debugging packages [1], start the application as
normal, and reproduce the crash, if possible?

Once bug-buddy pops up, you can find the stacktrace in the Details, now
containing way more information. Please copy that stacktrace and paste it as a
comment here. Thanks in advance!

[1] debugging packages for evolution, evolution-data-server, evolution-exchange, gtkhtml, gtk, glib, libsoup, gnome-vfs, libgnome, orbit2 and libgnomeui (as far as those packages are provided by your distribution). More details can be found here:
http://live.gnome.org/GettingTraces
Comment 2 Akhil Laddha 2008-07-01 15:01:09 UTC
Closing this bug report as no further information has been provided. Please
feel free to reopen this bug if you can provide the information asked for.
Thanks!
Comment 3 André Klapper 2008-10-08 11:13:08 UTC
Distribution: Fedora release 9 (Sulphur)
Gnome Release: 2.22.3 2008-07-01 (Red Hat, Inc)
BugBuddy Version: 2.22.0

System: Linux 2.6.26.5-45.fc9.i686 #1 SMP Sat Sep 20 03:45:00 EDT 2008 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10500000
Selinux: Enforcing
Accessibility: Disabled
GTK+ Theme: Nodoka
Icon Theme: Fedora

Memory status: size: 165281792 vsize: 165281792 resident: 84238336 share: 23035904 rss: 84238336 rss_rlim: 4294967295
CPU usage: start_time: 1223459467 rtime: 3896 utime: 3460 stime: 436 cutime:458 cstime: 30 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/evolution'

[Thread debugging using libthread_db enabled]
[New Thread 0xb8051980 (LWP 27537)]
[New Thread 0xb59fcb90 (LWP 31734)]
[New Thread 0xb6595b90 (LWP 31733)]
0x00110416 in __kernel_vsyscall ()

Thread 1 (Thread 0xb8051980 (LWP 27537))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 g_spawn_sync
    from /lib/libglib-2.0.so.0
  • #3 g_spawn_command_line_sync
    from /lib/libglib-2.0.so.0
  • #4 run_bug_buddy
    at gnome-breakpad.cc line 213
  • #5 check_if_gdb
    at gnome-breakpad.cc line 283
  • #6 google_breakpad::ExceptionHandler::InternalWriteMinidump
    at ../google-breakpad/src/client/linux/handler/exception_handler.cc line 226
  • #7 google_breakpad::ExceptionHandler::HandleException
    at ../google-breakpad/src/client/linux/handler/exception_handler.cc line 197
  • #8 segv_redirect
    at main.c line 519
  • #9 <signal handler called>
  • #10 gnome_calendar_get_current_view_widget
    at gnome-cal.c line 587
  • #11 source_changed_cb
    at calendar-component.c line 668
  • #12 g_cclosure_marshal_VOID__VOID
    from /lib/libgobject-2.0.so.0
  • #13 g_closure_invoke
    from /lib/libgobject-2.0.so.0
  • #14 ??
    from /lib/libgobject-2.0.so.0
  • #15 g_signal_emit_valist
    from /lib/libgobject-2.0.so.0
  • #16 g_signal_emit
    from /lib/libgobject-2.0.so.0
  • #17 e_source_update_from_xml_node
    at e-source.c line 393
  • #18 e_source_group_update_from_xmldoc
    at e-source-group.c line 466
  • #19 load_from_gconf
    at e-source-list.c line 122
  • #20 notify_listeners_callback
    at gconf-client.c line 2384
  • #21 gconf_listeners_notify
    at gconf-listeners.c line 589
  • #22 notify_one_entry
    at gconf-client.c line 2409

Comment 4 André Klapper 2008-10-08 11:14:26 UTC
Just ran into this myself. Had the calendar/clock expanded in the gnome-panel and deleted a local calendar in evolution. evo crashed.
Comment 5 Kandepu Prasad 2008-11-11 10:16:47 UTC
*** Bug 560307 has been marked as a duplicate of this bug. ***
Comment 6 Milan Crha 2008-12-08 18:00:17 UTC
*** Bug 482958 has been marked as a duplicate of this bug. ***
Comment 7 Kandepu Prasad 2008-12-10 13:05:59 UTC
*** Bug 563973 has been marked as a duplicate of this bug. ***
Comment 8 André Klapper 2008-12-17 16:50:08 UTC
*** Bug 564870 has been marked as a duplicate of this bug. ***
Comment 9 Akhil Laddha 2009-01-07 10:28:21 UTC
*** Bug 566877 has been marked as a duplicate of this bug. ***
Comment 10 André Klapper 2009-01-17 20:59:02 UTC
*** Bug 568121 has been marked as a duplicate of this bug. ***
Comment 11 André Klapper 2009-01-17 21:01:00 UTC
anybody working on this?

From bug 568121:

  • #5 <signal handler called>
  • #6 gnome_calendar_get_current_view_widget
    at gnome-cal.c line 624
  • #7 source_changed_cb
    at calendar-component.c line 678
  • #8 IA__g_closure_invoke
    at gclosure.c line 767
  • #9 signal_emit_unlocked_R
    at gsignal.c line 3244
  • #10 IA__g_signal_emit_valist
    at gsignal.c line 2977
  • #11 IA__g_signal_emit
    at gsignal.c line 3034
  • #12 e_source_update_from_xml_node
    at e-source.c line 366
  • #13 e_source_group_update_from_xmldoc
    at e-source-group.c line 467
  • #14 load_from_gconf
    at e-source-list.c line 122
  • #15 notify_listener_list
    at gconf-listeners.c line 590
  • #16 ltable_notify
    at gconf-listeners.c line 656
  • #17 gconf_listeners_notify
    at gconf-listeners.c line 185
  • #18 notify_one_entry
    at gconf-client.c line 2410
  • #19 gconf_client_flush_notifies
    at gconf-client.c line 2450
  • #20 notify_idle_callback
    at gconf-client.c line 2344
  • #21 g_main_dispatch
    at gmain.c line 2144

Comment 12 palfrey 2009-01-29 16:08:16 UTC
*** Bug 569692 has been marked as a duplicate of this bug. ***
Comment 13 André Klapper 2009-02-01 19:47:13 UTC
*** Bug 570082 has been marked as a duplicate of this bug. ***
Comment 14 Akhil Laddha 2009-02-06 10:07:18 UTC
*** Bug 570605 has been marked as a duplicate of this bug. ***
Comment 15 Akhil Laddha 2009-02-06 10:08:24 UTC
see bug 570605 for latest traces (2.24.x) , he has mentioned steps to reproduce the bug 
Comment 16 André Klapper 2009-02-06 11:46:07 UTC
Hmm, I wonder if I can trick mcrha into providing a patch for 2.24.5/2.25.91 :-D
Comment 17 Matthew Barnes 2009-02-06 12:56:04 UTC
Looks like a signal isn't getting disconnect when a GnomeCalendar is finalized, so the signal callback fires on a dead object (priv=0x0 is the giveaway).

  • #6 gnome_calendar_get_current_view_widget
    at gnome-cal.c line 624
  • #7 source_changed_cb
    at calendar-component.c line 678

Comment 18 Matthew Barnes 2009-02-06 13:09:38 UTC
Looks like this was introduced quite some time ago (bug #328484):

http://svn.gnome.org/viewvc/evolution/trunk/calendar/gui/calendar-component.c?r1=33755&r2=33754&pathrev=33755

Odd that the bug only manifested a year later.  Perhaps the "source-removed" signal stopped firing, or something is finalizing the calendar too early.
Comment 19 Milan Crha 2009-02-09 16:34:31 UTC
The calendar component window isn't disconnecting signals on sources in time of free properly, steps:
a) Open Evolution in a calendar window
b) File->New Window
c) close that new window
d) Preferences on any existing source, change name or anything, press OK

it'll not be OK after d), there will be a bug-buddy shown.
Comment 20 Milan Crha 2009-02-09 16:51:16 UTC
Created attachment 128307 [details] [review]
proposed evo patch

for evolution;

I believe it was there even a year ago, it only wasn't tested with such scenario.
Comment 21 Chenthill P 2009-02-25 10:51:12 UTC
Nice fix!! Please commit the patch to trunk and stable.
Comment 22 Milan Crha 2009-02-25 11:45:57 UTC
Committed to trunk. Committed revision 37335.
Committed to gnome-2-24. Committed revision 37336.