aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 [2]

Author Topic: aMule (various versions tested) crashes when downloading a "large" file  (Read 18604 times)

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule (various versions tested) crashes when downloading a "large" file
« Reply #15 on: April 10, 2009, 09:46:02 PM »

Freddy77, is obfuscation working on your Mips router ?
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

freddy77

  • Developer
  • Full Member
  • *****
  • Karma: 20
  • Offline Offline
  • Posts: 113
Re: aMule (various versions tested) crashes when downloading a "large" file
« Reply #16 on: April 11, 2009, 08:34:59 AM »

Freddy77, is obfuscation working on your Mips router ?

mmm... good question? How to check it? In log I got no errors...
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule (various versions tested) crashes when downloading a "large" file
« Reply #17 on: April 11, 2009, 12:40:34 PM »

What can make the obfuscated connection attempt fail on all the servers? I can connect to them all only without obfuscation (according to the logfile; I don't know how to verify if this is true or false).
There should be a log message that connection was established without obfuscation only as I understand it.
Also try checking "accept only obfuscated connections" and see if you still can connect to a server.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

GuybrushThreepwood

  • Jr. Member
  • **
  • Karma: 6
  • Offline Offline
  • Posts: 75
Re: aMule (various versions tested) crashes when downloading a "large" file
« Reply #18 on: April 15, 2009, 10:57:25 PM »

It could very well be a cpu-specific bug, as much as I tried avoiding those.

Someone's gonna have to look into that... Or write a test unit for it.

Hi and thanks for your reply! :) Yes, I've tought that this issue could be related to my specific environment too: I'd like to have some kind of advice from freddy77 who uses aMule on a mips router as I do.

@freddy77

Do you confirm that your logfile is fine? I always get this error in mine:

Code: [Select]
Connecting
Failed to connect to all obfuscated servers listed. Making another pass without obfuscation.

Without obfuscation, I can connect with ease and I always receive an high ID; the router inbound filters are well configured. I'm still using the SVN 9548: I haven't still found some spare time to cross-compile the latest 2.2.4 release. Just another question (more on topic ;) ): does amule.cpp still need to be patched in order to be compiled with older versions of uClib avoiding the 1Gb "bug"? Thanks for your reply and have a good day! :)
« Last Edit: April 15, 2009, 11:11:05 PM by GuybrushThreepwood »
Logged

freddy77

  • Developer
  • Full Member
  • *****
  • Karma: 20
  • Offline Offline
  • Posts: 113
Re: aMule (various versions tested) crashes when downloading a "large" file
« Reply #19 on: April 16, 2009, 06:35:01 PM »

Well... with amulegui I enabled "Safe connect" on "Servers" tab than "Accept only obfuscated connections" on "Security" tab, then I terminated amuled and started again (just to be sure!). It connects to server and is actually transferring (currently only upload). Log is

Code: [Select]
2009-04-16 18:24:41: amuled: OnInit - starting timer
 2009-04-16 18:24:41: Error: Cannot get the official hostname (error 2: No such file or directory)
 2009-04-16 18:24:41: Error: Cannot convert from the charset 'ASCII'!
 2009-04-16 18:24:41: Initialising aMuled SVN using  v2.8.9 (Snapshot: rev. 9549)
 2009-04-16 18:24:41: Checking if there is an instance already running...
 2009-04-16 18:24:41: No other instances are running.
!2009-04-16 18:24:41: ERROR: WARNING Warning! You are running aMule as root.
!2009-04-16 18:24:41: Doing so is not recommended for security reasons,
!2009-04-16 18:24:41: and you are advised to run aMule as an normal
!2009-04-16 18:24:41: user instead.
 2009-04-16 18:24:42: Creditfile loaded, 3555 clients are known
 2009-04-16 18:24:42: Loading IP-filters 'ipfilter.dat' and 'ipfilter_static.dat'.
 2009-04-16 18:25:42: Loaded 247768 IP-ranges from '/var/usb/amule/.aMule/ipfilter.dat'. 0 malformed lines were discarded.
 2009-04-16 18:25:42: Loaded 0 IP-ranges from '/var/usb/amule/.aMule/ipfilter_static.dat'. 0 malformed lines were discarded.
 2009-04-16 18:25:43: *** TCP socket (ECServer) listening on 192.168.1.1:4712
 2009-04-16 18:25:43: Created Server UDP-Socket at port 24665
 2009-04-16 18:25:43: ListenSocket: Ok.
 2009-04-16 18:25:43: Created Client UDP-Socket at port 24672
 2009-04-16 18:25:43: amuled: forking to background - see you
 2009-04-16 18:25:43: Loading server.met file: /var/usb/amule/.aMule/server.met
!2009-04-16 18:25:43: 7 servers in server.met found
 2009-04-16 18:25:43: Loading temp files from ./Temp.
 2009-04-16 18:25:43: Loading PartFile 1 of 3
 2009-04-16 18:25:44: Loading PartFile 2 of 3
 2009-04-16 18:25:44: Loading PartFile 3 of 3
 2009-04-16 18:25:44: All PartFiles Loaded.
 2009-04-16 18:25:44: Found 3 part files
 2009-04-16 18:25:44: Adding file ./Temp/001.part.met to shares
 2009-04-16 18:25:44: Adding file ./Temp/002.part.met to shares
 2009-04-16 18:25:44: Found 30 known shared files
!2009-04-16 18:25:44: Connecting
 2009-04-16 18:25:44: Connecting to eDonkeyServer No2 (212.63.206.35 - 212.63.206.35:4242)
!2009-04-16 18:25:44: Kad network disabled on preferences, not connecting.
!2009-04-16 18:25:45: web server running on pid 7214
 2009-04-16 18:25:45: Lost connection to eDonkeyServer No2 (212.63.206.35:4242)
!2009-04-16 18:25:45: Connection lost
 2009-04-16 18:25:45: Command `'amuleweb' '--amule-config-file=/var/usb/amule/.aMule/amule.conf'' with pid `7214' has finished with status code `0'.
 2009-04-16 18:25:47: New external connection accepted
 2009-04-16 18:25:47: Connecting client: amule-remote 0x0001
 2009-04-16 18:25:47: Access granted.
 2009-04-16 18:26:09: Connection attempt to eDonkeyServer No2 (212.63.206.35:4242) timed out.
 2009-04-16 18:26:09: Connecting to Sharing Kingdom 2 (89.248.172.50 - 89.248.172.50:4500)
 2009-04-16 18:26:09: Connected to Sharing Kingdom 2 (89.248.172.50:4500)
!2009-04-16 18:26:13: Connection established on: Sharing Kingdom 2
!2009-04-16 18:26:13: Connected to Sharing Kingdom 2 with HighID
 2009-04-16 18:26:13: New clientid is 2522628445
 2009-04-16 18:26:13: ServerMessage: server version 17.15 (lugdunum)
...

seems ok.
Logged

freddy77

  • Developer
  • Full Member
  • *****
  • Karma: 20
  • Offline Offline
  • Posts: 113
Re: aMule (various versions tested) crashes when downloading a "large" file
« Reply #20 on: April 16, 2009, 07:14:31 PM »

Now is even downloading  :)
Logged

GuybrushThreepwood

  • Jr. Member
  • **
  • Karma: 6
  • Offline Offline
  • Posts: 75
Re: aMule (various versions tested) crashes when downloading a "large" file
« Reply #21 on: April 16, 2009, 08:10:33 PM »

@freddy77

Thanks for your reply and for sharing your logfile. I've looked at it and I've seen that you've problems connecting to eDonkey server no.2 like me (in fact aMule has finally established a connection with Sharing Kingdom 2. My options are exactly as yours with the only exception for the autoconnect option that I keep enabled for staticservers only. I have only eDonkey server no.2 in my staticservers.dat file (it's a choice) and this explains everything: I hadn't taken this into account. The question now is: "why eDonkey server no. 2 always fails the obfuscated connection?". It's surely a server related issue but I'd like to understand why...
You haven't replied to the other question: let's say that I want to compile aMule 2.2.4; do I need to patch amule.cpp as already done with the older versions to avoid the 1Gb "bug" with my toolchain? Thanks again! :)
« Last Edit: April 16, 2009, 08:13:34 PM by GuybrushThreepwood »
Logged

freddy77

  • Developer
  • Full Member
  • *****
  • Karma: 20
  • Offline Offline
  • Posts: 113
Re: aMule (various versions tested) crashes when downloading a "large" file
« Reply #22 on: April 16, 2009, 08:47:45 PM »

You haven't replied to the other question: let's say that I want to compile aMule 2.2.4; do I need to patch amule.cpp as already done with the older versions to avoid the 1Gb "bug" with my toolchain? Thanks again! :)

I used plain development branch. I don't know is the fix was backported to stable branch or even 2.2.4...
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: aMule (various versions tested) crashes when downloading a "large" file
« Reply #23 on: April 18, 2009, 07:02:57 PM »

let's say that I want to compile aMule 2.2.4
Forget it, use the trunk development version. Freddy77's low memory optimizations were not backported to 2.2.4 - it has only bugfixes.

I used plain development branch. I don't know is the fix was backported to stable branch or even 2.2.4...
The "stable branch" (2.2.x) should end with 2.2.4 (which is simply a final snapshot of this branch). Hell, it should have ended with 2.2.3. 2.2.4 is lacking features we had for ages, like the log view in the remote gui.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

GuybrushThreepwood

  • Jr. Member
  • **
  • Karma: 6
  • Offline Offline
  • Posts: 75
Re: aMule (various versions tested) crashes when downloading a "large" file
« Reply #24 on: April 20, 2009, 09:25:14 PM »

let's say that I want to compile aMule 2.2.4
Forget it, use the trunk development version. Freddy77's low memory optimizations were not backported to 2.2.4 - it has only bugfixes.

Thanks for confirming this to me! :)
Logged
Pages: 1 [2]