Menu editor crashes when I try to open /usr/lib
Álvaro Lopes
alvieboy at alvie.com
Sat Jan 20 10:22:06 CET 2007
TerryJ wrote:
> Jean-François Wauthy wrote:
>> On Sat, 2007-01-20 at 10:35 +1100, TerryJ wrote:
>>
>>> There was no appearance of the editor in each case. I conclude that gdb
>>> cannot run the xfce menu editor. =-O
>>>
>> Oh yes it can :p
>>
>> use gdb xfce4-menueditor as command
>>
>> (gdb) run
>>
>> wait for a crash (or not :)), if it crashes
>> (gdb) bt
>>
>> HTH
>
> This sort of thing is all in a day's work for you, I suppose. My
> interpretation of your message and the results follow:
>
> - - - quote - - -
> [terry at localhost xfl]$ gdb xfce4-menueditor
> GNU gdb 6.3
> Copyright 2004 Free Software Foundation, Inc.
> GDB is free software, covered by the GNU General Public License, and you are
> welcome to change it and/or distribute copies of it under certain
> conditions.
> Type "show copying" to see the conditions.
> There is absolutely no warranty for GDB. Type "show warranty" for details.
> This GDB was configured as "i586-mandrake-linux-gnu"...
> (no debugging symbols found)
> Using host libthread_db library "/lib/i686/libthread_db.so.1".
>
> (gdb) run
> Starting program: /usr/bin/xfce4-menueditor
>
> [2]+ Stopped gdb xfce4-menueditor
> - - - end quote - - -
>
> I'm guessing the problem is "(no debugging symbols found)" and I have to
> employ Synaptic again or unearth some configuration file and do strange
> things with a text editor. Mutter, mutter. He said it was easy,
> mutter, mutter.
>
Try launching the menu editor normally. Then, before you open /usr/lib, open a xfterm:
Get the PID of the xfce4-menueditor: "pidof xfce4-menueditor" or "ps xau| grep xfce4-menueditor".
Launch gdb, and write "attach PID", where PID is the xfce4-menueditor pid. Then issue the command "cont".
Open "/usr/lib" and watch the errors in gdb (see [2]). Issue a backtrace.
Send us the backtrace.
Example:
$ pidof xfce4-menueditor
7270
$ gdb
(gdb) attach 7270
[debug info here]
0xb77727e6 in poll () from /lib/tls/libc.so.6
(gdb) cont
Continuing.
[2 - app crashes]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218025792 (LWP 7270)]
0xb77727e6 in poll () from /lib/tls/libc.so.6
(gdb) backtrace
#0 0xb77727e6 in poll () from /lib/tls/libc.so.6
#1 0xb78197d9 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2 0xb7819b67 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#3 0xb7d89281 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
Álvaro
More information about the Xfce
mailing list