! 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 in menu editor
Status:
CLOSED: FIXED
Product:
Xfce4-menueditor
Component:
General

Comments

Description Nick Schermer editbugs 2006-06-12 11:54:11 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060315 Firefox/1.5 (Swiftfox)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8) Gecko/20060315 Firefox/1.5 (Swiftfox)

I've compiled 1 PC for debugging Xfce and I found this crash in the menueditor.

Reproducible: Always




Starting program: /opt/xfce4/bin/xfce4-menueditor

Program received signal SIGSEGV, Segmentation fault.
0xb7743916 in IA__g_str_hash (v=0xff0a0000) at gstring.c:95
95      gstring.c: No such file or directory.
        in gstring.c
(gdb) bt
#0  0xb7743916 in IA__g_str_hash (v=0xff0a0000) at gstring.c:95
#1  0xb770e5dc in g_hash_table_lookup_node (hash_table=0x8063460,
    key=0xff0a0000) at ghash.c:242
#2  0xb770e56d in IA__g_hash_table_lookup (hash_table=0x8063460,
    key=0xff0a0000) at ghash.c:280
#3  0xb7966e3b in IA__gdk_atom_intern (
    atom_name=0xff0a0000 <Address 0xff0a0000 out of bounds>, only_if_exists=0)
    at gdkproperty-x11.c:365
#4  0xb7bb50b4 in IA__gtk_target_list_add_table (list=0x8147188,
    targets=0xbfae13f4, ntargets=3) at gtkselection.c:443
#5  0xb7bb4902 in IA__gtk_target_list_new (targets=0xbfae13f4, ntargets=3)
    at gtkselection.c:204
#6  0xb7a8bc45 in IA__gtk_drag_dest_set (widget=0x80a5a70, flags=0,
    targets=0xbfae13f4, n_targets=3, actions=GDK_ACTION_COPY) at gtkdnd.c:1076
#7  0xb7c960a6 in IA__gtk_tree_view_enable_model_drag_dest (
    tree_view=0x80a5a70, targets=0xbfae13f4, n_targets=3,
    actions=GDK_ACTION_COPY) at gtktreeview.c:11962
#8  0x08054e09 in create_main_window (me=0x8061008) at menueditor.c:1013
#9  0x08051a69 in main (argc=1, argv=0xbfae1524) at menueditor.c:72
Comment 1 Nick Schermer editbugs 2006-06-12 12:02:16 CEST
Created attachment 600 
Fix crash

I wonder why DND_TARGET_MENUEDITOR is in menueditor.h. Because it's not used anywhere.
Comment 2 Jean-François Wauthy editbugs 2006-06-12 12:04:42 CEST
i found it before you had time to send your patch :)

fixed with revision 22073

anyway the menueditor code is a mess and is leaking memory and DnD is a real pain, i'll revisit it in the next weeks
Comment 3 Nick Schermer editbugs 2006-06-12 12:06:03 CEST
Damn that was fast :P.

Bug #1913

Reported by:
Nick Schermer
Reported on: 2006-06-12
Last modified on: 2009-07-14

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Attachments

Fix crash (946 bytes, patch)
2006-06-12 12:02 CEST , Nick Schermer
no flags

Additional information