cairo-menu-applet - ERROR:cairo-menu-applet.c:165:cairo_menu_applet_constructed: assertion failed: (module)

Bug #591508 reported by leigh123linux
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Awn Extras
Fix Released
Medium
moonbeam

Bug Description

Bug forwarded from https://bugzilla.redhat.com/show_bug.cgi?id=601616

Link to backtrace https://bugzilla.redhat.com/attachment.cgi?id=422135

abrt 1.1.1 detected a crash.

architecture: x86_64
Attached file: backtrace
cmdline: awn-applet -p
/usr/share/avant-window-navigator/applets/cairo-menu.desktop -u 1275992293 -w
58735820 -i 1
component: avant-window-navigator
crash_function: g_assertion_message
executable: /usr/bin/awn-applet
global_uuid: 6832fe47c40ffe496f7feca775875fa9e646725f
kernel: 2.6.33.5-112.fc13.x86_64
package: avant-window-navigator-0.4.0-1.fc13
rating: 3
reason: Process /usr/bin/awn-applet was killed by signal 6 (SIGABRT)
release: Fedora release 13 (Goddard)

How to reproduce
-----
1. Start AWN
2. Add Cairo Menu

[leigh@localhost ~]$ avant-window-navigator
Screen is composited
** (avant-window-navigator:30808): DEBUG: Updating dialog colours
** (avant-window-navigator:30808): DEBUG: Spawned awn-applet[30809] for "quick-prefs.desktop", UID: 1, XID: 88080429
** (avant-window-navigator:30808): DEBUG: Spawned awn-applet[30811] for "taskmanager.desktop", UID: 3, XID: 88080430
** (avant-window-navigator:30808): DEBUG: Spawned awn-applet[30812] for "bandwidth-monitor.desktop", UID: 1272792611, XID: 88080431
** (avant-window-navigator:30808): DEBUG: Spawned awn-applet[30813] for "slickswitcher.desktop", UID: 1272792646, XID: 88080432
** (avant-window-navigator:30808): DEBUG: Spawned awn-applet[30814] for "sysmon.desktop", UID: 1272792675, XID: 88080433
** (avant-window-navigator:30808): DEBUG: Spawned awn-applet[30815] for "weather.desktop", UID: 1272792740, XID: 88080434
** (avant-window-navigator:30808): DEBUG: Spawned awn-applet[30816] for "stacks.desktop", UID: 1273407868, XID: 88080435
** (avant-window-navigator:30808): DEBUG: Spawned awn-applet[30817] for "digital-clock.desktop", UID: 1275936840, XID: 88080436
** (avant-window-navigator:30808): DEBUG: Spawned awn-applet[30818] for "cairo-menu.desktop", UID: 1276039862, XID: 88080437
** (awn-applet:30814): DEBUG: awn_sysmon_constructed: sysmon, 1272792675
**
ERROR:cairo-menu-applet.c:165:cairo_menu_applet_constructed: assertion failed: (module)
** (awn-applet:30814): DEBUG: client_baseconf = 0x1f3d480

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

leigh123linux ,

Can you confirm that gnome-menu-builder.so is being installed by the Fedora packages and that it is located in /usr/lib/awn/applets/cairo-menu/ ?

Changed in awn-extras:
status: New → Incomplete
Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

Hi Moonbeam,

On x86_64

[leigh@localhost ~]$ ls -l /usr/lib64/awn/applets/cairo-menu/
total 116
-rwxr-xr-x. 1 root root 54016 Jun 5 18:30 cairo-menu.so
-rwxr-xr-x. 1 root root 49584 Jun 5 18:30 gnome-menu-builder.so
[leigh@localhost ~]$

Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :
Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

I can't reproduce this on Fedora 13 with awn-extras-applets-0.4.0-18.fc13 (i686, can't test x86_64).
The module path is defined in cairo-menu-applet.c in line 158:
  gchar * filename = LIBDIR"/awn/applets/cairo-menu/gnome-menu-builder";

LIBDIR is somehow defined in configure.ac. I guess it's not pointing to /usr/lib64 but probably to /usr/lib. I don't much about automake and how to fix it.

Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

I am using the 0.4.0 release for the fedora package, this issue appears to be fixed by commit 1286.

http://bazaar.launchpad.net/~awn-extras/awn-extras/trunk/revision/1286

I will apply the diff and report back if it fixes the issue on 64 bit

Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

It fails to build with the 1286 diff

  GEN awn-applet-cairo-menu.schemas
cairo-menu.c: In function 'cairo_menu_class_init':
cairo-menu.c:177:19: warning: unused variable 'widget_class'
cairo-main-icon.c: In function 'cairo_main_icon_constructed':
cairo-main-icon.c:138:15: warning: unused variable 'pbuf'
cairo-main-icon.c: In function '_deactivate_event':
cairo-main-icon.c:381:1: warning: no return statement in function returning non-void
cairo-menu-applet.c: In function 'cairo_menu_applet_constructed':
cairo-menu-applet.c:155:3: warning: "/*" within comment
cairo-menu-applet.c:159:22: error: 'LIBDIR' undeclared (first use in this function)
cairo-menu-applet.c:159:22: note: each undeclared identifier is reported only once for each function it appears in
cairo-menu-applet.c:159:28: error: expected ',' or ';' before string constant
cairo-menu-applet.c:158:12: warning: unused variable 'error'
cairo-menu-applet.c:157:11: warning: unused variable 'iter'
cairo-menu-applet.c: In function 'cairo_menu_applet_get_cmd':
cairo-menu-applet.c:312:28: warning: unused variable 'priv'
cairo-menu-applet.c: In function 'cairo_menu_applet_append_hidden_menu':
cairo-menu-applet.c:377:28: warning: unused variable 'priv'
cairo-menu-applet.c: In function 'cairo_menu_applet_check_hidden_menu':
cairo-menu-applet.c:394:28: warning: unused variable 'priv'
cairo-menu-applet.c: In function 'cairo_menu_applet_remove_hidden_menu':
cairo-menu-applet.c:433:22: warning: unused variable 's'
cairo-menu-applet.c:422:28: warning: unused variable 'priv'
cairo-menu-applet.c: In function 'cairo_menu_applet_remove_icon':
cairo-menu-applet.c:475:22: warning: unused variable 's'
cairo-menu-applet.c:454:11: warning: unused variable 'iter'
cairo-menu-applet.c:451:11: warning: unused variable 's'
cairo-menu-applet.c: In function 'cairo_menu_applet_add_icon':
cairo-menu-applet.c:504:11: warning: unused variable 'iter'
misc.c: In function '_get_recent_menu':

Revision history for this message
Gabor Karsay (gabor-karsay) wrote :
Revision history for this message
leigh123linux (leigh123linux-deactivatedaccount) wrote :

Ok I think you can mark this bug as fixed.

Thanks

Leigh

Revision history for this message
Gabor Karsay (gabor-karsay) wrote :

Fix committed in revisions 1285 and 1286.

Changed in awn-extras:
importance: Undecided → Medium
milestone: none → 0.4.2
status: Incomplete → Fix Committed
Povilas Kanapickas (p12)
Changed in awn-extras:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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