! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Crash when adding a menu item
Status:
RESOLVED: FIXED
Product:
Xfdesktop
Component:
General

Comments

Description Harold Aling 2007-03-30 18:05:23 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.3) Gecko/20061201 Firefox/2.0.0.3 (Ubuntu-feisty)
Build Identifier: 

When adding an item to the menu by installing/reinstalling/removing an application, both xfdesktop and the panel menu plugin crash...

Reproducible: Always

Steps to Reproduce:
1.Add an item to the menu
2.Xfdesktop and the panel plugin both crash
3.

Actual Results:  
Backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1220094272 (LWP 12229)]
0xb4fb1e4f in desktop_menu_add_items (desktop_menu=0x80faea0, xfce_menu=0x8392870, menu=0x83e3620,
    watch_dirs=0x840e4e0) at desktop-menu.c:210
210     desktop-menu.c: No such file or directory.
        in desktop-menu.c
(gdb) bt
#0  0xb4fb1e4f in desktop_menu_add_items (desktop_menu=0x80faea0, xfce_menu=0x8392870, menu=0x83e3620,
    watch_dirs=0x840e4e0) at desktop-menu.c:210
#1  0xb4fb2406 in _generate_menu (desktop_menu=0x80faea0, force=0) at desktop-menu.c:323
#2  0xb4fb1c1d in desktop_menu_directory_changed (monitor=0x80ad600, handle=0x80fe800,
    event=THUNAR_VFS_MONITOR_EVENT_CREATED, handle_path=0x80ff648, event_path=0x80e6028, user_data=0x80faea0)
    at desktop-menu.c:132
#3  0xb7ea5595 in thunar_vfs_monitor_notifications_timer (user_data=0x80ad600) at thunar-vfs-monitor.c:367
#4  0xb76dd3c6 in g_timeout_dispatch (source=0x81c01f0, callback=0, user_data=0x80ad600) at gmain.c:3422
#5  0xb76dcdf2 in IA__g_main_context_dispatch (context=0x80ac388) at gmain.c:2045
#6  0xb76dfdcf in g_main_context_iterate (context=0x80ac388, block=1, dispatch=1, self=0x8088048) at gmain.c:2677
#7  0xb76e0179 in IA__g_main_loop_run (loop=0x80fd0d0) at gmain.c:2881
#8  0xb7bf2044 in IA__gtk_main () at gtkmain.c:1177
#9  0x080569f0 in main (argc=1, argv=0xbfb18c14) at main.c:404
(gdb)
Comment 1 Brian J. Tarricone (not reading bugmail) 2007-08-09 04:23:45 CEST
*** Bug 3327 has been marked as a duplicate of this bug. ***
Comment 2 Brian J. Tarricone (not reading bugmail) 2007-10-20 01:34:19 CEST
*** Bug 3538 has been marked as a duplicate of this bug. ***
Comment 3 Brian J. Tarricone (not reading bugmail) 2007-10-20 01:41:31 CEST
Ok, I'd like to try to get to the bottom of this.  Unfortunately, I've been
having trouble reproducing it lately.  Is everyone else still seeing this with
current svn trunk?

Jannis, any idea what could be going on?  Am I freeing something that's private
to libxfce4menu?  I read some code, and I don't think so, but it's possible
I've missed it.
Comment 4 Scott H 2007-10-20 02:08:32 CEST
(In reply to comment #3)
> Ok, I'd like to try to get to the bottom of this.  Unfortunately, I've been
> having trouble reproducing it lately.  Is everyone else still seeing this with
> current svn trunk?

Yes, I'm still seeing it with rvn 26127. Happens everytime with fam running.

Comment 5 Brian J. Tarricone (not reading bugmail) 2008-09-25 09:59:48 CEST
Should be fixed now...

Bug #3079

Reported by:
Harold Aling
Reported on: 2007-03-30
Last modified on: 2009-07-14
Duplicates (2):
  • 3327 xfdesktop crashes when rebuilding application menu
  • 3538 xfdesktop svn 26052 segfaults when compiled with menu support

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
7 users

Version

Version:
4.5.91 (4.6 beta 1)

Attachments

Additional information