#678 Crash when systray exits

v1.7
open-fixed
Lars Windolf
Misc (88)
5
2014-01-15
2008-05-14
No

Liferea crashes with sigsegv when the system tray exits.
Other apps (e.g. skype) happily survive such events and then re-render the tray icon when the tray is run again.

Discussion

  • Lars Windolf
    Lars Windolf
    2008-10-24

    I retested with 1.4.21 and the GNOME 2.22.3 systray and cannot reproduce any problems. Does this still happen for you? Which tray implementation do you use?

     
  • Lars Windolf
    Lars Windolf
    2008-10-24

    • status: open --> pending-works-for-me
     
    • status: pending-works-for-me --> open-works-for-me
     
  • I use xystray (http://stlman.fm.interia.pl/xystray/) together with fvwm. It's liferea-1.4.15 here on a Gentoo box and whatever is current with Ubuntu-8.04 on another. Both crash. FWIW, both are 64bit.

     
  • Lars Windolf
    Lars Windolf
    2008-10-26

    Ok, another systray applet might have different behaviour which Liferea doesn't expect.

    Could you please provide a backtrace of the crash to pinpoint the exact crash location?

     
  • (liferea:18790): Gdk-WARNING **: GdkWindow 0x340001e unexpectedly destroyed

    (liferea:18790): Gdk-WARNING **: GdkWindow 0x3400003 unexpectedly destroyed

    (liferea:18790): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `
    GtkWidget'

    (liferea:18790): Gtk-CRITICAL **: gtk_widget_get_display: assertion `GTK_IS_WIDG
    ET (widget)' failed

    (liferea:18790): Gdk-CRITICAL **: gdk_xid_table_lookup_for_display: assertion `G
    DK_IS_DISPLAY (display)' failed

    (liferea:18790): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `
    GtkWidget'

    (liferea:18790): Gtk-CRITICAL **: gtk_widget_get_display: assertion `GTK_IS_WIDG
    ET (widget)' failed

    (liferea:18790): Gdk-CRITICAL **: gdk_x11_display_get_xdisplay: assertion `GDK_I
    S_DISPLAY (display)' failed

    Program received signal SIGSEGV, Segmentation fault.
    0x00007fccb88331a1 in XGrabServer () from /usr/lib/libX11.so.6

     
    • status: open-works-for-me --> pending-fixed
     
  • This is now fixed in trunk. We may also workaround it for 1.6.

     
  • Actually this is not really fixed yet. Liferea doesn't crash anymore, but we get an X Window System error and Liferea dies. Thus reopening.

     
    • milestone: 703360 --> v1.7
    • status: pending-fixed --> open-accepted
     
  • Lars Windolf
    Lars Windolf
    2012-07-31

    • assigned_to: nobody --> llando
    • status: open-accepted --> pending-accepted
     
  • Lars Windolf
    Lars Windolf
    2012-07-31

    Is this still an open problem in 1.8?

     
  • Lars Windolf
    Lars Windolf
    2014-01-15

    • status: pending-accepted --> open-fixed
     
  • Lars Windolf
    Lars Windolf
    2014-01-15

    This will be permanently fixed in 1.11 were the tray icon is handled in a Python plugin. Then it should be impossible for the application to crash :-)