[Slackbuilds-users] nicotine-segmentation fault

Iskar Enev iskar.enev at gmail.com
Wed Mar 14 16:34:16 UTC 2007


I think gdb doesn't support debugging python programs.
You could use the python debugger module pdb. Then in the prompt type 
"r" to run nicotine:
python -m pdb /usr/bin/nicotine
(Pdb) r

You can make strace -f /usr/bin/nicotine as well but it will produce a 
huge output and you'll have to attach it as a text file. Try the python 
debugger first.

Iskar Enev

Martin Ivanov wrote:
> Thank you for your responsiveness.
> Here is what I have:
> 
> marto at marto:~$ ls /var/adm/packages/python*
> /var/adm/packages/python-2.4.3-i486-4*
> 
> marto at marto:~$ ls /var/adm/packages/*{gtk,GTK}*
> /var/adm/packages/gtk+-1.2.10-i386-3*        /var/adm/packages/libgtkhtml-2.6.3-i486-1*
> /var/adm/packages/gtk+2-2.8.20-i486-1*       /var/adm/packages/pygtk-2.10.4-i486-1_SBo
> /var/adm/packages/gtkhtml-3.10.3-i486-1frg*  /var/adm/packages/wxGTK-2.8.0-i486-2_SBo
> /var/adm/packages/gtkspell-2.0.11-i486-2sl
> 
> gdb /usr/bin/nicotine
> GNU gdb 6.5
> Copyright (C) 2006 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 "i486-slackware-linux"..."/usr/bin/nicotine": not in executable format: File format not recognized
> 
> (gdb)  run /usr/bin/nicotine
>  Starting program:  /usr/bin/nicotine
> No executable file specified.
> Use the "file" or "exec-file" command.
> gdb) file /usr/bin/nicotine
> "/usr/bin/nicotine": not in executable format: File format not recognized
> (gdb) exec-file /usr/bin/nicotine
> "/usr/bin/nicotine": not in executable format: File format not recognized
> (gdb)                                                                       
> 
> 
> "ls -l /usr/bin/nicotine" gives:
> -rwxr-xr-x 1 root root 4373 2007-03-13 19:27 /usr/bin/nicotine*
> 
> and finally:
> marto at marto:~$ ls /var/adm/packages/nicotine*
> /var/adm/packages/nicotine+-1.2.7.1-i486-2_SBo
> 
> I hope this will give some clues.
> 
> Regards,
> Martin
> 
> 
> -----------------------------------------------------------------
> http://auto-motor-und-sport.bg/ 
> С бензин в кръвта
> _______________________________________________
> Slackbuilds-users mailing list
> Slackbuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users




More information about the Slackbuilds-users mailing list