Soulseek 2014-11-30 bug on Ubuntu 14.04
Submitted by nplezka on Sun, 01/11/2015 - 13:34
Forums:
I've got a strange and annoying bug on latest linux version of Soulseek: sometimes the app closed randomly when started downloading something.
And now it's completely unusable, it crashes everytime I download tracks and I don't know what to do. Help me, I really need SoulseekQt :(
- Log in to post comments
Do you know how to run stuff
Do you know how to run stuff in gdb? I can send you a debug version so we can see where it crashes.
Actually we don't even need
Actually we don't even need gdb, should be easy to just generate a core file:
http://stackoverflow.com/questions/17965/generate-a-core-dump-in-linux
Let me know if you're on Linux 32 or 64-bit, I'll post a debug version.
Can you help me doing this
Can you help me doing this core file? I don't understand this guide at all... anyway I'm on Linux 64bit
Update, maybe could help or
Update, maybe could help or something: now it works, but I know it will crash. It's really strange because of its randomness. I do nothing but downloading tracks and share my library (30GB of music) in ./Music. I didn't modify download folder, I also tried deleting some log files but nothing. It seems working when opening an old version found in this forum and reopening 1130 version but... I really don't know. I wanna help anyway
UPDATE:
UPDATE:
Terminal gives me: natasha@nplezka:~/Soulseekdbg$ ./SoulseekQt
QEventDispatcherUNIXPrivate(): Unable to create thread pipe: Troppi file aperti [translated "too much opened files"]
QEventDispatcherUNIXPrivate(): Can not continue without a thread pipe
Annullato (core dump creato) [translated "Aborted (core dump created)]
I tried removing some folders from share library, it seems working. Anybody can confirm me the error is caused by too big share libraries?
Sounds like you need to
Sounds like you need to increase the file handle limit. This can get complicated, but the general gist of it is that you can type:
ulimit -n
to see what the file handle limit is and something like:
ulimit -n 50000
for example to set the file handle limit to 50,000. You can find more information by googling "linux file handle limit".
Cheers, Nir
Maybe it's better for me to
Maybe it's better for me to not modify system files because of bad experiences... are there any other solutions? :s
The ulimit setting only
The ulimit setting only applies to the terminal you use it in, so it won't affect the rest of the system. You can use the ulimit command and then start the client from the same terminal.
natasha@nplezka:~$ ulimit -n
natasha@nplezka:~$ ulimit -n 50000
bash: ulimit: open files: cannot modify limit: Operation not permitted
I tried sudo ulimit -n 50000 but nothing. What's the mistake?
Sounds like you might need to
Sounds like you might need to be root to do this...
OMG I forgot to enter sudo -s
OMG I forgot to enter sudo -s, you're right! Let's try this; I must run ulimit -n 50000 everytime I open SoulseekQt?
Yes, but I recommend using su
Yes, but I recommend using su instead of sudo. If you sudo ulimit chances are it won't affect the non-root login. so su root, ulimit -n 50000, SoulseekQt
Thank you! You're so helpful,
Thank you! You're so helpful, eheh. Only a question: will this thing change? Windows users haven't these problems. XD
You're very welcome. There's
You're very welcome. There's nothing I can do about these things on the application level. Linux is just more complicated.