On Sun, 01 Jul 2012 14:55:25 +0200 Robert Fox <[email protected]> wrote:
> On Tue, 2012-06-19 at 19:46 +0200, Thierry Vignaud wrote: > > On 19 June 2012 16:01, Robert Fox <[email protected]> wrote: > > > So for some unexplained reason it segfaults and I have to start it > > > again. > > > > Please: > > 1) install perl-debug glibc-debug perl-Glib-debug perl-Gtk2-debug > > gtk2.0-debug gdb > > 2) run "gdb perl /usr/bin/net_applet" > > 3) type "run" to start it from the debuger > > 4) type "bt" to get a backstrace once it segfaulted > > 5) paste the backtrace in a text file you'll _attach_ to a bug report > > Finally got around to trying this - here is the output so far: > > [rfox@ThinkFox ~]$ gdb perl /usr/bin/net_applet > GNU gdb (GDB) 7.3.50.20110722-4.mga2 (Mageia release 2) > Copyright (C) 2011 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show > copying" > and "show warranty" for details. > This GDB was configured as "x86_64-mageia-linux-gnu". > For bug reporting instructions, please see: > <http://www.gnu.org/software/gdb/bugs/>... > Reading symbols from /usr/bin/perl...Reading symbols > from /usr/lib/debug/usr/bin/perl5.16.0.debug...done. > done. > "/usr/bin/net_applet" is not a core dump: File format not recognized > (gdb) run > Starting program: /usr/bin/perl > [Thread debugging using libthread_db enabled] > Using host libthread_db library "/lib64/libthread_db.so.1". > > and it just sits there - program doesn't start. > > Didn't get very far . . . > That's the wrong way to invoke gdb. You need: $ gdb /usr/bin/perl And in the gdb prompt: $ r /usr/bin/net_applet You can also use a --command start-up flag for that. Regards, Shlomi Fish -- ----------------------------------------------------------------- Shlomi Fish http://www.shlomifish.org/ Freecell Solver - http://fc-solve.shlomifish.org/ Mastering ‘cat’ is almost as difficult as herding cats. — http://www.shlomifish.org/humour/bits/Mastering-Cat/ Please reply to list if it's a mailing list post - http://shlom.in/reply .
