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 560627 - Crash in display_notification at alarm-queue.c line 1550
Crash in display_notification at alarm-queue.c line 1550
Status: RESOLVED INCOMPLETE
Product: evolution
Classification: Applications
Component: Calendar
2.28.x (obsolete)
Other All
: Normal critical
: ---
Assigned To: evolution-calendar-maintainers
Evolution QA team
: 596204 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-11-13 11:08 UTC by Kandepu Prasad
Modified: 2011-05-02 16:34 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28



Description Kandepu Prasad 2008-11-13 11:08:17 UTC
Steps to reproduce:
1. Just opened evolution and it crashed
2. 
3. 


Stack trace:
Distribution: openSUSE 11.0 (i586)
Gnome Release: 2.22.1 2008-06-07 (SUSE)
BugBuddy Version: 2.22.0

System: Linux 2.6.25.18-0.2-pae #1 SMP 2008-10-21 16:30:26 +0200 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10400090
Selinux: No
Accessibility: Enabled
GTK+ Theme: Clearlooks
Icon Theme: Tango

Memory status: size: 123904000 vsize: 123904000 resident: 3989504 share: 14061568 rss: 18051072 rss_rlim: 1791457280
CPU usage: start_time: 1226566129 rtime: 43 utime: 38 stime: 5 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/lib/evolution-alarm-notify'

[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0xb6518720 (LWP 6474)]
[New Thread 0xb26fab90 (LWP 6524)]
[New Thread 0xb36fcb90 (LWP 6512)]
[New Thread 0xb3efdb90 (LWP 6502)]
[New Thread 0xb606db90 (LWP 6475)]
0xffffe430 in __kernel_vsyscall ()

Thread 1 (Thread 0xb6518720 (LWP 6474))

  • #0 __kernel_vsyscall
  • #1 waitpid
    from /lib/libpthread.so.0
  • #2 g_spawn_sync
    from /usr/lib/libglib-2.0.so.0
  • #3 g_spawn_command_line_sync
    from /usr/lib/libglib-2.0.so.0
  • #4 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #5 ??
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #6 google_breakpad::ExceptionHandler::InternalWriteMinidump
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #7 google_breakpad::ExceptionHandler::HandleException
    from /usr/lib/gtk-2.0/modules/libgnomebreakpad.so
  • #8 <signal handler called>
  • #9 e_cal_component_get_vtype
    at e-cal-component.c line 1212
  • #10 open_alarm_dialog
    at alarm-queue.c line 1322
  • #11 display_notification
    at alarm-queue.c line 1552
  • #12 alarm_trigger_cb
    at alarm-queue.c line 448
  • #13 alarm_ready_cb
    at alarm.c line 105
  • #14 g_timeout_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #15 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #16 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #17 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #18 bonobo_main
    at bonobo-main.c line 311
  • #19 main
    at notify-main.c line 164
  • #0 __kernel_vsyscall


----------- .xsession-errors (74 sec old) ---------------------
Could not read Gnome Bookmarks file /home/mine/.gtk-bookmarks: Could not find file "/home/mine/.gtk-bookmarks".
Universe contains 336 items.
GMailContacts Error: Invalid credentials
Could not read Gnome Bookmarks file /home/mine/.gtk-bookmarks: Could not find file "/home/mine/.gtk-bookmarks".
Universe contains 336 items.
GMailContacts Error: Invalid credentials
Could not read Gnome Bookmarks file /home/mine/.gtk-bookmarks: Could not find file "/home/mine/.gtk-bookmarks".
Universe contains 336 items.
GMailContacts Error: Invalid credentials
Could not read Gnome Bookmarks file /home/mine/.gtk-bookmarks: Could not find file "/home/mine/.gtk-bookmarks".
Universe contains 336 items.
GMailContacts Error: Invalid credentials
Could not read Gnome Bookmarks file /home/mine/.gtk-bookmarks: Could not find file "/home/mine/.gtk-bookmarks".
Universe contains 336 items.
GMailContacts Error: Invalid credentials
--------------------------------------------------


Other information:
Comment 1 Matthew Barnes 2008-11-13 12:02:06 UTC
Bad ECalComponent somehow wound up in a TrayIconData structure, but the structure was freshly created moments before, and the ECalComponent passed to display_notification() looks valid:

  • #11 display_notification
    at alarm-queue.c line 1552

So somehow between line 1519:

        tray_data->comp = g_object_ref (e_cal_component_clone (comp));

and line 1551:

        open_alarm_dialog (tray_data);

something got corrupted.
Comment 2 Milan Crha 2008-12-12 12:51:00 UTC
Could be same issue as bug #557616, but I'm still looking for the event causing this (I think it depends on the event, even no clue for that yet).
Comment 3 Kandepu Prasad 2009-01-27 13:33:41 UTC
I found this today, do not know if it is same or not.


Distribution: openSUSE 11.1 (x86_64)
Gnome Release: 2.24.1 2008-12-03 (SUSE)
BugBuddy Version: 2.24.1

System: Linux 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10502000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Glider
Icon Theme: Tango

Memory status: size: 502521856 vsize: 502521856 resident: 20795392 share: 15421440 rss: 20795392 rss_rlim: 18446744073709551615
CPU usage: start_time: 1233057321 rtime: 30 utime: 23 stime: 7 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/lib64/evolution-alarm-notify'

[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0x7f9df4c22950 (LWP 26684)]
[New Thread 0x7f9df7468950 (LWP 26606)]
0x00007f9dfb0f85af in __libc_waitpid (pid=26691, stat_loc=0x7fff11627450, 
    options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:41
	in ../sysdeps/unix/sysv/linux/waitpid.c

Thread 1 (Thread 0x7f9e095d37e0 (LWP 26605))

  • #0 __libc_waitpid
    at ../sysdeps/unix/sysv/linux/waitpid.c line 41
  • #1 IA__g_spawn_sync
    at gspawn.c line 382
  • #2 IA__g_spawn_command_line_sync
    at gspawn.c line 694
  • #3 ??
    from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
  • #4 ??
    from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
  • #5 <signal handler called>
  • #6 display_notification
    at alarm-queue.c line 1550
  • #7 alarm_trigger_cb
    at alarm-queue.c line 433
  • #8 alarm_ready_cb
    at alarm.c line 108
  • #9 g_timeout_dispatch
    at gmain.c line 3589
  • #10 IA__g_main_context_dispatch
    at gmain.c line 2144
  • #11 g_main_context_iterate
    at gmain.c line 2778
  • #12 IA__g_main_context_iteration
    at gmain.c line 2841
  • #13 ep_msg_send
    at e-passwords.c line 524
  • #14 e_passwords_get_password
    at e-passwords.c line 1431
  • #15 alarm_notify_add_calendar
    at alarm-notify.c line 378
  • #16 alarm_notify_init
    at alarm-notify.c line 218
  • #17 IA__g_type_create_instance
    at gtype.c line 1674
  • #18 g_object_constructor
    at gobject.c line 1334
  • #19 bonobo_object_constructor
    at bonobo-object.c line 820
  • #20 IA__g_object_newv
    at gobject.c line 1211
  • #21 IA__g_object_new_valist
    at gobject.c line 1315
  • #22 IA__g_object_new
    at gobject.c line 1056
  • #23 main
    at notify-main.c line 125
Current language:  auto; currently asm
Current language:  auto; currently c
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]


----------- .xsession-errors (360 sec old) ---------------------
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005b0 specified for 0x3a005b5 (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005b0 specified for 0x3a005b5 (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005b0 specified for 0x3a005c6 (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005b0 specified for 0x3a005c6 (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005b0 specified for 0x3a005b5 (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005b0 specified for 0x3a005c6 (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005d5 specified for 0x3a005da (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005d5 specified for 0x3a005da (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005d5 specified for 0x3a005da (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005e8 specified for 0x3a005ed (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005e8 specified for 0x3a005ed (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005e8 specified for 0x3a005ed (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005fb specified for 0x3a00600 (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3a005fb specified for 0x3a00600 (Incoming M).
Window manager warning: Invalid WM_TRANSIENT_FOR window 0x3809bd1 specified for 0x3809dd4 (Delete acc).
--------------------------------------------------
Comment 4 Milan Crha 2009-01-27 14:37:07 UTC
1549:	open_alarm_dialog (tray_data);
1550:	gtk_window_stick (GTK_WINDOW (alarm_notifications_dialog->dialog));
1551: } else {

That seems like the same issue, only shown a bit later. Are you able to reproduce it reliably, please?
Comment 5 Kandepu Prasad 2009-01-28 05:38:27 UTC
Nope, not consistently. Is there anything you want me to try? or when it happens again?
Comment 6 Milan Crha 2009-01-28 10:28:41 UTC
The code suggests the problem is that the alarm_notification_dialog is NULL at the moment of the call, or some broken pointer. I do not expect you've this running under gdb and can check for that, though. But if you can make some observation, like whether you have shown the notification dialog already, when it crashes, or whether it was shown at all, or this is the first attempt to show it, then that may influence it too, maybe.
Comment 7 Akhil Laddha 2010-10-01 09:39:28 UTC
*** Bug 596204 has been marked as a duplicate of this bug. ***
Comment 8 Akhil Laddha 2010-10-01 09:40:23 UTC
last dupe in 2.28.x
Comment 9 Milan Crha 2011-03-16 12:34:00 UTC
I would like to ask whether is anyone able to reproduce this in actual development version (coming 2.91.92) or the actual stable (2.32.2), though the git master is preferable, because it'll became stable version soon. Thanks in advance.
Comment 10 Tobias Mueller 2011-05-02 16:34: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!