bugmldonkey, a multi-networks file-sharing client - Bugs: bug #24456, Segfault when max_upload_slots set...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #24456: Segfault when max_upload_slots set to 3

Submitted by:  José Manuel <morgul>
Submitted on:  Sun 05 Oct 2008 01:41:37 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: Segmentation FaultStatus: Works For Me
Assigned to: NoneOpen/Closed: Closed
Release: 2.9.5Release: 2.9.5
Operating System: LinuxBinaries Origin: Gentoo ebuild
CPU type: x86_64

Thu 09 Oct 2008 09:28:58 PM UTC, comment #3:

I meant that it's working with max_upload_slots set to 3 again.

José Manuel <morgul>
Thu 09 Oct 2008 09:28:04 PM UTC, comment #2:

Nice!, MLDonkey 2.9.6 is working. Thank you spiralvoice.

José Manuel <morgul>
Thu 09 Oct 2008 05:27:53 PM UTC, comment #1:

Please try MLDonkey 2.9.6

2008/08/04: version 2.9.6 = tag release-2-9-6
6599: Allow values lower than max_upload_slots for BT-max_bt_uploaders

spiralvoice <spiralvoice>
Project Administrator
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.

José Manuel <morgul>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by spiralvoice (Posted a comment)
  • -unavailable- added by morgul (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 09 Oct 2008 10:57:35 PM UTCspiralvoiceStatusNone=>Works For Me
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1