MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
2.8.7 crashes immediately after launch

 
Post new topic   Reply to topic    MLDonkey Forum Index -> Windows
View previous topic :: View next topic  
Author Message
pstrg
neophyte


Joined: 05 Jul 2007
Posts: 5

PostPosted: Fri Jul 06, 2007 12:47 am    Post subject: 2.8.7 crashes immediately after launch Reply with quote

If I try to launch mlnet.exe (2.8.7) directly, it immediately crashes.

Error report window shows
mlnet.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
Error signature
AppName: mlnet.exe AppVer: 2.8.7.0 ModName: mlnet.exe
ModVer: 2.8.7.0 Offset: 002f6850


With 2.8.6, exactly the same happens; offset is 002f64d0


Incidentally, if I try to launch using sancho, besides the error report window, the Core DOS window shows
availableProcessors: 1
maximumMem: 9223372036854775807
totalMem: 3608576
freeMem: 1245184


and the Core not found window shows
127.0.0.1:4001 does not accept connections (core not found), try again?
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Fri Jul 06, 2007 8:19 am    Post subject: Reply with quote

Which Windows version do you use?
Did you disable any firewall/antivirus software to see if it interferes?
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
pstrg
neophyte


Joined: 05 Jul 2007
Posts: 5

PostPosted: Fri Jul 06, 2007 12:42 pm    Post subject: Reply with quote

Windows XP Pro SP2, fully updated.
Set exception for mlnet.exe on
- Windows Firewall and
- NOD32 IMON (as directed on "Windows specific annoyances").

Disabling Windows Firewall and IMON has no effect on the problem - report error message is the same as before.
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Fri Jul 06, 2007 3:07 pm    Post subject: Reply with quote

CPU? Do you use DES or similar security related features?
I never saw such an error myself and you are the first one to report it.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
pstrg
neophyte


Joined: 05 Jul 2007
Posts: 5

PostPosted: Fri Jul 06, 2007 4:55 pm    Post subject: Reply with quote

CPU is a 800 MHz Via C3 (the machine is a very small one I maintain always on as file server) with 256 M memory.
No DES.

Do you think the problem may be CPU-related?
Is there any test I could perform to be sure?
Until now no problem with other software has been observed with that machine.

I must add that I just tried mlnet on another machine and it behaved well.
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Sat Jul 07, 2007 8:14 pm    Post subject: Reply with quote

If you got mlnet.exe from http://sourceforge.net/projects/mldonkey its compiled for i686.

According to http://de.wikipedia.org/wiki/VIA_C3 (german) a 800MHz Via C3
CPU can only be the Ezra or Ezra-T which are, unlike their successor
Nehemiah(+), not i686-compatible because they lack the cmov command.

Here are more details about it:
https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.17/+bug/59338/comments/6

I will try to compile mlnet.exe for i586 and will drop a note here when ready.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
pstrg
neophyte


Joined: 05 Jul 2007
Posts: 5

PostPosted: Sat Jul 07, 2007 9:14 pm    Post subject: Reply with quote

Good!
The lack of the cmov instruction is most certainly the cause of the problem; I was not aware of that until now.
The i586 compile may be of use to others too.
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Sun Jul 08, 2007 11:20 pm    Post subject: Reply with quote

Well, it took me a while to setup a 586 build environment, but I took the time
to update to Windows build guide as well:
http://mldonkey.sourceforge.net/Windows#MinGW_Installation

Hopefully this binary will work on your machine, its todays CVS checkout:
Quote:
./configure --enable-checks --host=i586-pc-mingw32
...
checking build system type... i686-pc-mingw32
checking host system type... i586-pc-mingw32
...
Compilers:
- Ocaml version 3.10.0
- gcc version 3.4.5
- g++ version 3.4.5

http://mldonkey.sourceforge.net/spiralvoice/mldonkey-2.8.7.CVS20070703.static.i586.Windows.exe
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
pstrg
neophyte


Joined: 05 Jul 2007
Posts: 5

PostPosted: Mon Jul 09, 2007 10:58 am    Post subject: Reply with quote

Indeed it works!
Thank you very much for your time and dedication.
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Mon Jul 09, 2007 11:08 am    Post subject: Reply with quote

Ok, future binary versions on sf.net will be compiled in the new i586 environment.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Schlumpf
user


Joined: 28 Mar 2004
Posts: 128
Location: Germany

PostPosted: Mon Jul 09, 2007 6:46 pm    Post subject: Reply with quote

spiralvoice wrote:
Ok, future binary versions on sf.net will be compiled in the new i586 environment.

Why not i386? if you like to don't use i686 arch. for Windows precompiled cores i think the best alternative is to build it as i386
_________________
MLDonkey FAQ/WIKI
MLDonkey Downloads (source tarballs, compiled cores, Windows installer)
Back to top
View user's profile Send private message Visit poster's website
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3982
Location: Germany

PostPosted: Mon Jul 09, 2007 7:04 pm    Post subject: Reply with quote

IMHO using MLDonkey on Windows with i386 or i486 CPUs does not make sense.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Windows All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sourceforge.net Logo