bugmldonkey, a multi-networks file-sharing client - Bugs: bug #975, Bus Error under Jaguar GM

 
 

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

bug #975: Bus Error under Jaguar GM

Submitted by:  None
Submitted on:  Fri 09 Aug 2002 07:22:49 PM UTC  
 
Category:  Core Severity:  3 - Normal
Item Group:  Segmentation Fault Status:  Postponed
Assigned to:  mldonkey admin <mldonkey> Open/Closed:  Closed
Release:  Release:  None
Operating System:  None Binaries Origin:  None
CPU type:  None

( Jump to the original submission)

Mon 03 Mar 2003 10:47:58 PM UTC, comment #18: 

The problem comes from ocaml, and should be currently solved by using the CVS version which uses ocaml 3.06+21

mldonkey admin <mldonkey>
Project AdministratorIn charge of this item.
Tue 01 Oct 2002 03:10:15 AM UTC, comment #17: 

Progress report?

I don't know if this helps, but this is exactly what I get:

Your system supports 256 file descriptors
Network Donkey registered
Loading history file ...done
Network Donkey:server registered
Network Open Napster registered
Network LimeWire registered
Network OpenFT registered
Network Soulseek registered
Network Direct Connect registered
Network Audio Galaxy registered
Network Audio Galaxy disabled
Network Direct Connect disabled
Network Soulseek disabled
Network OpenFT disabled
Network LimeWire disabled
Network Open Napster disabled
Network Donkey:server disabled
Network Donkey enabled
Error loading comments.met: File "donkey/donkey.ml", line 0, characters 4691-4707: Assertion failed
Connection refused : connect
chat_app_host=localhost chat_app_port=5036
No info on incoming/.DS_Store
Welcome to MLdonkey client
Check http://go.to/mldonkey for updates
To command: telnet 127.0.0.1 4000
Or with browser: http://127.0.0.1:4080
NEW SHARED FILE incoming/.DS_Store
Sharing incoming/.DS_Store
Bus error

Anonymous
Sat 21 Sep 2002 08:01:08 AM UTC, comment #16: 

There are 2 messages in Mac OS 10.1 where Mac OS 10.2 crashes with bus error.
tcpBufferedSocket close with READ_DONE Error: Invalid_argument("out-of-bound array or string access") READ_DONE Error: Invalid_argument("out-of-bound array or string access")
tcpBufferedSocket close with  useless client
Both are coming from Method close in File tcpBufferedSocket.ml

I can reproduce the first message with connecting via telnet to the core and than quit the telnet client.
The 2nd message apears once in a while from 1min to several hours

I found the methods where the calls are generated.
One is generated from shutdown in tcpBufferedSocket.ml and one from find_client_zone in donkeyOneFile.ml

I think the problem is that there is a call to close with a non existing socket because of the error:
close with READ_DONE Error: Invalid_argument("out-of-bound array or string access") READ_DONE Error: Invalid_argument("out-of-bound array or string access")
Is this recursive? And if, how do u determine that there is no more socket to close?

I compiled the newest version of ocaml 3.06
I compiled the 1.99 mldonkey from CVS (only the mldonkey part)
I did it with on OS X 10.1.5 with the 10.1.5 Developer Tools because i don't have the 10.2 DevTools
I tried mldonkey on 10.1.5 and 10.2.1

no bus error in over 12 hours!

Anonymous
Wed 18 Sep 2002 05:31:47 PM UTC, comment #15: 

#1173 only happens if you are downloading a file with a different size as expected. All users would not suffer from it !

For the account, e-mail me directly at mldonkey@lachesis.inria.fr. Yes, I'm interested.

mldonkey admin <mldonkey>
Project AdministratorIn charge of this item.
Wed 18 Sep 2002 05:02:41 PM UTC, comment #14: 

btw: i think this is the same bug as #1173

Anonymous
Wed 18 Sep 2002 05:00:47 PM UTC, comment #13: 

would it help if i give u an account for my OS 10.2 computer (dynamic dns) and u can compile it there by urself?

Anonymous
Wed 18 Sep 2002 05:00:10 PM UTC, comment #12: 

would it help if i give u an account for my OS 10.2 computer (dynamic dns) and u can compile it there by urself?

Anonymous
Tue 17 Sep 2002 10:07:19 PM UTC, comment #11: 

OK, I really need more info and an access to a Jaguar computer. Good info would be the fastest configuration of mldonkey, ie the one that crashes after the shortest time :) If you have done strange things before, tell me also (for example, ran out of space during a download, so that some files might be shortened)...

mldonkey admin <mldonkey>
Project AdministratorIn charge of this item.
Tue 17 Sep 2002 05:19:06 PM UTC, comment #10: 

What d'ya need man, I really want this bug fixed, so I will do absolutely anything I can...

Anonymous
Tue 17 Sep 2002 01:08:37 PM UTC, comment #9: 

Not enough informatiom to solve this bug.

mldonkey admin <mldonkey>
Project AdministratorIn charge of this item.
Sat 07 Sep 2002 11:54:03 PM UTC, comment #8: 

I notice that none of the bugs are assigned to anyone...  Is anyone still working on this project?  I wish I could code, I'd fix this damned bug myself...  It's most irritating.

Anonymous
Tue 03 Sep 2002 11:28:45 AM UTC, comment #7: 

one need ocaml 3.06 for the 1.16 mldonkey. it compiles without problems on Jaguar 10.2 (actually 10.2.1 6D42) but the bus error still occurs

Anonymous
Mon 02 Sep 2002 05:49:16 AM UTC, comment #6: 

Please tell me someone is working on this problem...  mldonkey has become virtually useless as of the upgrade to Mac OS X 10.2...  This should be a huge bug priority...  Is there any information you folks require to get to work on remedying this?

Anonymous
Thu 22 Aug 2002 04:14:47 AM UTC, comment #5: 

Recompiling under Jaguar reduces frequency of "Bus Error" bug, but it still exists and can be experienced reliably anywhere from a few minutes to several hours after application is launched.

Anonymous
Mon 19 Aug 2002 12:52:32 AM UTC, comment #4: 

CVS head compiles "out of the box" on Shaguar preview (10.2),
but still reliably dumps core from 1.5 to 15 minutes after mldonkey
starts, with the same problem as noted earlier in this bug.

Also, "quit" at a telnet connection to mldonkey (port 4000),
or quitting the GUI, causes an immediate bus error, unfortunately
without a useful traceback or core dump.

Would a ktrace help?  Preview version allows that, but the output tends
to be B-I-G.

Anonymous
Sun 18 Aug 2002 04:08:22 PM UTC, comment #3: 

possibly useful informatin from crash reports (~/Library/Logs/mldonkey.crash.log) for three SIGBUS deaths where partial state
was available:

Thread 0 Crashed:
 #0   0x000c1470 in LittleEndian__get_int32_32_95
 #1   0x0004a830 in Donkey__fun_1079

Thread 0 Crashed:
 #0   0x0000a734 in DriverControlers__user_reader_634
 #1   0x00105900 in caml_c_call

Thread 0 Crashed:
 #0   0x0000a734 in DriverControlers__user_reader_634
 #1   0x00105900 in caml_c_call

Anonymous
Sat 17 Aug 2002 08:56:14 PM UTC, comment #2: 

The CVS (trunk, 2002 08 17) mldonkey 1.99 gives a bus error
immediately after the following sequence (with verbose=true)

[FOUND FILE][FOUND FILE][FOUND FILE][FOUND FILE][FOUND FILE][QUEUED][FREE][NEXT]Bus error

which of course points to donkey/donkeyOneFile.ml as location of
the culprit code...   This is reliably and trivially repeatable.

Anonymous
Fri 16 Aug 2002 07:23:51 PM UTC, comment #1: 

I'm trying to recompile with Jaguar Developer Tools (We got Jaguar in at the store I work at yesterday) but I keep getting an error message that I don't know what to do about: 
crosis% make
cd ocamlopt-3.05; make
make[1]: *** No rule to make target `asmcomp//arch.ml', needed by `asmcomp/arch.ml'.  Stop.
make: *** [ocamlopt-3.05/ocamlopt] Error 2
crosis%

Course I'm not exactly a developer... :^)

Anonymous
Fri 09 Aug 2002 07:22:49 PM UTC, original submission:  

mldonkey seems to run all right for a couple minutes under Mac OS X 10.2 Jaguar 6C115 (GM), but then reports a bus error and quits.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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

Only logged-in users can vote.

 

 

 

Follow 5 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2003-03-03 mldonkey Open/ClosedOpen => (Error - Not Found)
2002-09-17 mldonkey CategoryNone => (Error - Not Found)
    Item GroupNone => (Error - Not Found)
    StatusNone => (Error - Not Found)
    Assigned toNone => NA

Back to the top


Powered by Savane 3.5