aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule 2.1: crash immediately after start  (Read 7125 times)

m2kio

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 152
    • http://little-bat.de
amule 2.1: crash immediately after start
« on: January 02, 2006, 10:51:03 AM »

hi,

i just dl'ed amule 2.1 for Mac. It crashes right way after start:

Main window opens, it connects to server, it downloads the ipfilter.dat (popup window opens) and during this process it dies.

attached is the console output and the crash reporter log.
MacOSX 10.4.3, G4, no special system extensions afaik.

m2kio.
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
Re: amule 2.1: crash immediately after start
« Reply #1 on: January 02, 2006, 01:54:20 PM »

Looks like the initial Mac binary was not built properly. This issue is fixed now, so you can simply redownload the zip file. :)
Logged
Current aMule CVS builds for OS X can be found here.

m2kio

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 152
    • http://little-bat.de
2.1.0 Tiger still crashes on my Tiger
« Reply #2 on: January 04, 2006, 05:32:28 PM »

Hi,

i just downloaded the Tiger-only version and it crashes exacly like 2 days ago. However, the OSX10.3-compatible version seems to work. To my best knowing i have nothing special to my setup except that aMule is set to download the ipfilter.dat on each startup from my http server which runs on the same Mac. The crashes always occur approx. after downloading 50% of the ipfilter.dat which is currently 10 MB in size.

This may be related to a problem which i have with my http server, which seems to be a bug in MacOSX10.4: Sometimes the download of larger files, e.g. images, stalls and is even cached by the browser in the stalled state when i connect locally. I don't know whether or when Apple plans to fix this.

greetings, m2kio.

Update: sorry, it seems it was a case of sheer luck that the 10.3 version launched successfully. It has the same problem but crashes at more random percentages loaded.
« Last Edit: January 04, 2006, 05:37:34 PM by m2kio »
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
Re: amule 2.1: crash immediately after start
« Reply #3 on: January 05, 2006, 02:22:13 PM »

I received a report from another user who experienced the same kind of crashes during downloads of ipfilter.dat. He was using http://www.morph-mod.de/morph/ipfilter/ipfilter.dat as the url, so the issue does not seem to be limited to your http server, m2kio. Like you, he got the crashes with both versions of 2.1.0.

I tried to replicate the crashes but the above ipfilter.dat downloads fine on my current machine (G4 PB running 10.4.3).
Logged
Current aMule CVS builds for OS X can be found here.

m2kio

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 152
    • http://little-bat.de
Re: amule 2.1: crash immediately after start
« Reply #4 on: January 05, 2006, 03:03:30 PM »

hi Lionel,

i don't believe that it has to do s.th. with the content of the ipfilter.dat because the crashes appear at random positions during the download. I think there is something not properly locked for multithreading.

i just made some tests:


startup:
- amule only crashes at startup when both "autoload ipfilter.dat" and "autoconnect to server" are true.


loading ipfilter.dat manually while running:
- with no server connection in place and amule not trying to connect to a server: works fine.
- while amule tries to connect to a server: crashes.
- while amule is connected to a server: crashes.


i see no difference for the 10.3 and 10.4 version of amule.

hth.

m2kio !
Logged

pizzafunghi

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
RE: amule 2.1: crash immediately after start
« Reply #5 on: January 07, 2006, 02:06:19 PM »

I have the exact same problem here. Crashes on both 2.1 Versions while trying to download the ipfilter.dat.
I´m on a G5 using 10.4.3 and no strange extensions loaded...
Crashlog attached.
Logged

ken

  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 825
Re: amule 2.1: crash immediately after start
« Reply #6 on: January 08, 2006, 09:34:32 PM »

Thanks for the reports guys.  This is a problem we knew about but thought we'd fixed.  The HTTP download progress dialog operates in a separate thread.  We do the proper wx-approved method of doing GUI operations in secondary threads, but the wx implementation is broken and such operations cause these kinds of crashes.

I'll commit the workaround (which disables the progress dialog on the Mac) in a bit.
Logged

pizzafunghi

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: amule 2.1: crash immediately after start
« Reply #7 on: January 10, 2006, 02:32:33 PM »

Quote
I'll commit the workaround (which disables the progress dialog on the Mac) in a bit.

cool, thx!!!!
Logged

Mars_Artis

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
Re: amule 2.1: crash immediately after start
« Reply #8 on: January 11, 2006, 08:27:52 AM »

I can confirm this issue is affecting me too.
Dual G5 os Tiger
Logged

benji

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: amule 2.1: crash immediately after start
« Reply #9 on: January 20, 2006, 08:19:02 PM »

i think i have the same problem. tried to download  new version but the same...
 :baby:
i have a G4 ibook and never had this problem before.

thx

ben
Logged

lionel77

  • Provider of Mac builds, Forum Mod
  • Hero Member
  • *****
  • Karma: 4
  • Offline Offline
  • Posts: 1107
  • Mac OS X 10.4 (Power Mac G5)
Re: amule 2.1: crash immediately after start
« Reply #10 on: January 21, 2006, 12:04:13 AM »

Quote
Originally posted by benji
i think i have the same problem. tried to download  new version but the same...
Wait, which version do you mean by "the new version"? The cvs version that I posted yesterday?
Logged
Current aMule CVS builds for OS X can be found here.