Sun 05 Oct 2008 01:41:37 PM UTC, original submission:
Hi, I've been using MLNet for a long time (different versions of it). But since I updated it to version 2.9.5, it kept crashing with a segmentation fault after a few seconds of running the mlnet executable from console. I tried a lot of times on different days, but always the same result: segmentation fault, and mlnet died.
I tried recompiling/installing (I have a Gentoo Linux OS) mldonkey, lablgtk and ocaml. But no luck, same result every time.
Yesterday, I thought about renaming my .mldonkey configuration directory and starting mlnet with the default config it takes from scratch. I launched mlnet, and this time it worked!
So I started changing the configuration values to enter the ones I had before. And, very soon, I guess I found the trouble making cause. All values where changing fine, but when I changed the value max_upload_slots from its default 5 to 3 (the value I had before), it didn't even gave me the confirmation message on my web browser... the web interface stopped working. And in the console I saw mlnet died with a segmentation fault.
I tried doing that a few times more, with same results: when you change max_upload_slots to 3, mlnet segfaults (IIRC, that happens before mlnet saves that config option, so next time you run mlnet it works, but because it still have the default 5 value). I also checked that with that value on the config file, mlnet fails with a segmentation fault after a few seconds.
So I removed the new (stock) configuration directory, and the renamed again the old one to the original .mldonkey name, without changing anything from it. I tried running mlnet... segmentation fault as always, after a few seconds. Then I changed by hand the max_upload_slots configuration value on .mldonkey/downloads.ini to the default 5 value. I tried again to start mlnet, and it worked!, and has been running and working fine for about 12 hours now :D
My system is a PC with an AMD64 3200+ processor, running a 64/32 bits Gentoo system (though all of mlnet and its dependencies are 64 bits on my system). Version of mlnet and some (maybe) related packages I have installed:
- dev-lang/ocaml-3.10.2
- dev-ml/lablgl-1.03-r1
- sys-devel/gcc-4.1.2
- sys-libs/glibc-2.6.1
- dev-ml/lablgtk-2.10.1
- net-p2p/mldonkey-2.9.5
If you need any more information, just ask ;)
By the way, I want this fixed, because with my low upload speed (my Internet connection is asymmetric 4Mbits download, 128Kbits upload), with the default 5 upload slots, people need lots of patience to download from me :D The previous 3 value I had is what worked for me the best before 2.9.5.
|