nicotine-plus: segmentation fault
Hello!
I could not run nicotine-plus :(. I am running Slackware Linux 11.0 with kernel test26.s. I downloaded and installed: pygtk-2.10.4,pycairo-1.0.2,pygobject2.12.3,pyogg-1.3,pyvorbis-1.4, psyco-1.5.2 and nicotine+-1.2.6. Everything compiled and installed correctly, however when I type "nicotine" in the console, all I get is the notorious message "segmentation fault". When I installed nicotine+-1.2.7.1, I got the same message. I used the slackbuild script from slackbuilds.org to compile nicotine. Has someone managed to install nicotine on slack 11, and if so, how? Any suggestions will be appreciated. Regards, Martin |
nicotine plus is a python app, there is nothing to compile.
I would be looking at your Python installation as a source of problems, and perhaps Psyco. Have you tried just downloading the source and running that directly? Should be fine as long as the deps are satisfied. |
gtk+ or gtk+2? will upgrade cause trouble?
Quote:
/var/adm/packages/gtk+-1.2.10-i386-3 /var/adm/packages/gtk+2-2.8.20-i486-1 Which of the two packages do I have to upgrade? What is actually the dofference between gtk+2 and gtk+ ? It seems to me that I have to upgrade gtk+-1.2.10-i386-3 to gtk+-2.2, but won't it cause trouble to my system? Regards, Martin |
gtk+-1.2.10-i386-3 is a legacy library that's around for compatibility, don't try and upgrade it to 2.
gtk+2-2.8.20-i486-1 is the requirement you're comparing with, and i'd say 2.8 > 2.2, so GTK looks ok. Quote:
Also consider installing "by hand" and running the commands for configure/build/install one by one, see which one actually throws the paddy. - Piete. |
tramni1980:
I am running version 1.2.7.1, downloaded direct from http://nicotine-plus.sourceforge.net/ and it is working fine. If the same source is segfaulting for you I would definitely start with Python and work your way through the deps to see what is causing the segfault. 'strace' can be a big help with this.... |
Quote:
strace -f /usr/bin/nicotine 1 > nicotine.log 2>&1 and I got an enormous file. I could send it to you, if you can figure something out of it. I only noticed that there are a lot of messages like "no such file or directory". The program was looking for some python libraries at some places specified in my LD_LIBRARY_PATH environmental variable. So I unset that variable and then ran strace -f /usr/bin/nicotine 1 > nicotine.log 2>&1 again. The "no such file or directory" messages were less, but still I get segmentation fault. I am really at a loss now. My system is: /var/adm/packages/nicotine+-1.2.7.1-i486-2_SBo /var/adm/packages/gtk+-1.2.10-i386-3* /var/adm/packages/gtk+2-2.8.20-i486-1 var/adm/packages/pycairo-1.0.2-i486-1_SBo /var/adm/packages/pygtk-2.10.3-i486-2_SBo /var/adm/packages/pycrypto-2.0.1-noarch-2sl* /var/adm/packages/python-2.4.3-i486-4 /var/adm/packages/pygobject-2.12.3-i486-2_SBo I also installed pyvorbis-1.4/, psyco-1.5.2/ and pyogg-1.3/ following the instructions in their READMEs. Do you think this could cause the problem? These packages have no configure scripts, so I had to install them running python as root. Maybe I have messed something up ... I as well tried with other versions of pygtk, precompiled in slacky.it or develia.org. Again segmentation fault. I am really at a loss now. Regards, Martin. |
Martin,
what you want to do with strace is see what call was made right before the segfault. Should help isolate what is causing it. Perhaps post the _last_ 50-75 lines of your strace output here... |
Quote:
Thank you for your attention. Regards, Martin |
All times are GMT -5. The time now is 01:58 PM. |