Invalid memory reference with shinyswitcher

Bug #235280 reported by Julien Lavergne
2
Affects Status Importance Assigned to Milestone
Awn Extras
Invalid
Undecided
moonbeam
avant-window-navigator (Debian)
Fix Released
Unknown

Bug Description

Shiny switcher crash with this backtrace :
Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 0x7fdc3bc63780 (LWP 29002)]
0x00007fdc3a698ea5 in waitpid () from /lib/libpthread.so.0
#0 0x00007fdc3a698ea5 in waitpid () from /lib/libpthread.so.0
#1 0x00007fdc3b985c49 in ?? () from /usr/lib/debreaper/libviaticum.so
#2 <signal handler called>
#3 awn_cairo_string_to_color (string=0x0, color=0xa0a2fc)
    at awn-cairo-utils.c:94
#4 0x00007fdc30ab7cb0 in ?? ()
   from /usr/lib/awn/applets/shinyswitcher/shinyswitcher.so
#5 0x00007fdc30ab7f4d in init_config ()
   from /usr/lib/awn/applets/shinyswitcher/shinyswitcher.so
#6 0x00007fdc30ab80a3 in applet_new ()
   from /usr/lib/awn/applets/shinyswitcher/shinyswitcher.so
#7 0x00007fdc30ab4975 in awn_applet_factory_initp ()
   from /usr/lib/awn/applets/shinyswitcher/shinyswitcher.so
#8 0x0000000000401645 in _awn_plug_new (
    path=0x9ff5d0 "/usr/lib/awn/applets/shinyswitcher/shinyswitcher.so",
    uid=0x9c1e50 "1211891667", orient=0, height=36) at main.c:241
#9 0x000000000040197f in main (argc=1, argv=0x7fff43da26b8) at main.c:180
#10 0x00007fdc3a3611c4 in __libc_start_main () from /lib/libc.so.6
#11 0x0000000000401529 in _start ()

Thread 1 (Thread 0x7fdc3bc63780 (LWP 29002)):
#0 0x00007fdc3a698ea5 in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#1 0x00007fdc3b985c49 in ?? () from /usr/lib/debreaper/libviaticum.so
No symbol table info available.
#2 <signal handler called>
No symbol table info available.
#3 awn_cairo_string_to_color (string=0x0, color=0xa0a2fc)
    at awn-cairo-utils.c:94
 colors = {1.5058286e-38, 0, 1.47521472e-38, 0}
#4 0x00007fdc30ab7cb0 in ?? ()
   from /usr/lib/awn/applets/shinyswitcher/shinyswitcher.so
No symbol table info available.
#5 0x00007fdc30ab7f4d in init_config ()
   from /usr/lib/awn/applets/shinyswitcher/shinyswitcher.so
No symbol table info available.
#6 0x00007fdc30ab80a3 in applet_new ()
   from /usr/lib/awn/applets/shinyswitcher/shinyswitcher.so
No symbol table info available.
#7 0x00007fdc30ab4975 in awn_applet_factory_initp ()
   from /usr/lib/awn/applets/shinyswitcher/shinyswitcher.so
No symbol table info available.
#8 0x0000000000401645 in _awn_plug_new (
    path=0x9ff5d0 "/usr/lib/awn/applets/shinyswitcher/shinyswitcher.so",
    uid=0x9c1e50 "1211891667", orient=0, height=36) at main.c:241
 module = <value optimized out>
 applet = <value optimized out>
 plug = <value optimized out>
 init_func = <value optimized out>
 initp_func = <value optimized out>
#9 0x000000000040197f in main (argc=1, argv=0x7fff43da26b8) at main.c:180
 len = 21
 nlen = <value optimized out>
 error = (GError *) 0x0
 context = <value optimized out>
 item = (AwnDesktopItem *) 0x9f1c90
 plug = <value optimized out>
 exec = (
    const gchar *) 0x9ff5d0 "/usr/lib/awn/applets/shinyswitcher/shinyswitcher.so"
 name = (const gchar *) 0x9ffb50 "Shiny Switcher"
 type = (const gchar *) 0xe <Address 0xe out of bounds>
#10 0x00007fdc3a3611c4 in __libc_start_main () from /lib/libc.so.6
No symbol table info available.
#11 0x0000000000401529 in _start ()
No symbol table info available.
#0 0x00007fdc3a698ea5 in waitpid () from /lib/libpthread.so.0

See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=477367 for more information.

Mark Lee (malept)
Changed in awn-extras:
assignee: nobody → rcryderman
Revision history for this message
moonbeam (rcryderman) wrote :

Possible fix pushed:

Cause is suspected incorrect key type in configuration. Which was not being handled gracefully. Should now deal with said situation along with some console output when situation occurs.

core: rev 249
extras: rev 506

Changed in awn-extras:
status: New → In Progress
Changed in avant-window-navigator:
status: Unknown → New
Revision history for this message
Julien Lavergne (gilir) wrote :

Problem occur on Intrepid now.

Applied patch but still crash. Terminal output :
Creating new applet :/usr/share/awn/applets/shinyswitcher.desktop uid:1224017036
WM=Metacity

** (awn-applet-activation:15056): WARNING **: Failed to read config key: applet_border_colour

** (awn-applet-activation:15056): WARNING **: Failed to read config key: desktop_colour

ShinySwitcher Message: attempting to configure workspaces

(awn-applet-activation:15056): Wnck-CRITICAL **: wnck_screen_change_workspace_count: assertion `count >= 1' failed

(awn-applet-activation:15056): Wnck-CRITICAL **: wnck_screen_try_set_workspace_layout: assertion `rows != 0 || columns != 0' failed
Failed to acquire ownership of workspace layout
cols = 2, rows=1

(awn-applet-activation:15056): Gdk-CRITICAL **: gdk_pixmap_new: assertion `(width != 0) && (height != 0)' failed

(awn-applet-activation:15056): Gdk-CRITICAL **: gdk_drawable_set_colormap: assertion `GDK_IS_DRAWABLE (drawable)' failed

(awn-applet-activation:15056): Gdk-CRITICAL **: gdk_cairo_create: assertion `GDK_IS_DRAWABLE (drawable)' failed

Revision history for this message
Julien Lavergne (gilir) wrote :

I think I found the real problem : the schemas was not installed properly in the Debian package. If I install the schemas, the applet works.

Changed in avant-window-navigator:
status: New → Fix Released
onox (onox)
Changed in awn-extras:
milestone: none → 0.3.2
Revision history for this message
moonbeam (rcryderman) wrote :

Marking invalid in awn-extras as it was a Debian packaging issue

Changed in awn-extras:
status: In Progress → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

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