aMule Forum

English => Multiplatform => Mac OSX => Topic started by: godard on October 23, 2004, 08:43:21 AM

Title: rc7 crash on launch
Post by: godard on October 23, 2004, 08:43:21 AM
seemed to compile fine, but crashed on launch. Below is the crashlog output, hope it helps.

Date/Time:      2004-10-23 19:37:08 +1300
OS Version:     10.3.5 (Build 7M34)
Report Version: 2

Command: amule
Path:    /Applications/amule.app/Contents/MacOS/amule
Version: 0.1 (0.2.0)
PID:     16756
Thread:  0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000020

Thread 0 Crashed:
0   libSystem.B.dylib                0x90002038 pthread_mutex_lock + 0x18
1   libSystem.B.dylib                0x90072c5c seekdir + 0x3c
2   com.amule                        0x00027774 CDirIterator::FindFirstFile(CDirIterator::FileType, wxString) + 0x34 (CFile.cpp:606)
3   com.amule                        0x0004799c CDownloadQueue::Init() + 0xe0 (DownloadQueue.cpp:159)
4   com.amule                        0x0013d88c CamuleApp::OnInit() + 0x2140 (amule.cpp:699)
5   com.amule                        0x0025447c 0x1000 + 0x25347c
6   libwx_base_carbon-2.5.3.dylib    0x03505c14 wxEntry(int&, char**) + 0x44
7   com.amule                        0x0013b188 main + 0x28 (amule.cpp:180)
8   com.amule                        0x0000280c _start + 0x188 (crt.c:267)
9   dyld                             0x8fe1a558 _dyld_start + 0x64

Thread 1:
0   libSystem.B.dylib                0x900074c8 mach_msg_trap + 0x8
1   libSystem.B.dylib                0x90007018 mach_msg + 0x38
2   com.unsanity.ape                 0xc0002544 __ape_internal + 0xca4
3   com.unsanity.ape                 0xc0001330 __ape_agent + 0x40
4   libSystem.B.dylib                0x900246e8 _pthread_body + 0x28

Thread 2:
0   libSystem.B.dylib                0x9000b20c select + 0xc
1   <<00000000>>    0x90196b18 0 + 0x90196b18
2   libSystem.B.dylib                0x900246e8 _pthread_body + 0x28

PPC Thread State:
  srr0: 0x90002038 srr1: 0x0000d930                vrsave: 0x00000000
    cr: 0x22800244  xer: 0x0000000a   lr: 0x90072c5c  ctr: 0x90002020
    r0: 0x4d555458   r1: 0xbffff2d0   r2: 0xa0002c28   r3: 0x00000020
    r4: 0x00000000   r5: 0x00000000   r6: 0xbffff450   r7: 0x65740000
    r8: 0x65740000   r9: 0x08542aec  r10: 0x4d756c65  r11: 0xa0003d1c
   r12: 0x90002020  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
   r16: 0x00000000  r17: 0x00000000  r18: 0x00000000  r19: 0x00000000
   r20: 0x00000000  r21: 0x00000000  r22: 0x00000000  r23: 0x00000000
   r24: 0x00000000  r25: 0x00000000  r26: 0xbffffeb4  r27: 0x0000000c
   r28: 0xa00011ac  r29: 0x00000000  r30: 0x00000000  r31: 0x90072c28

Binary Images Description:
    0x1000 -   0x325fff com.amule 0.1 (0.2.0)   /Applications/amule.app/Contents/MacOS/amule
 0x3029000 -  0x302afff libgmodule-1.2.0.dylib    /usr/local/lib/libgmodule-1.2.0.dylib
 0x3033000 -  0x3035fff libdl.1.dylib    /usr/local/lib/libdl.1.dylib
 0x303d000 -  0x304cfff libwx_base_carbon_xml-2.5.3.dylib    /usr/local/lib/libwx_base_carbon_xml-2.5.3.dylib
 0x3063000 -  0x306bfff libintl.1.dylib    /usr/local/lib/libintl.1.dylib
 0x3092000 -  0x30b2fff libwx_base_carbon_net-2.5.3.dylib    /usr/local/lib/libwx_base_carbon_net-2.5.3.dylib
 0x30cf000 -  0x30f6fff libpng.3.dylib    /usr/local/lib/libpng.3.dylib
 0x3205000 -  0x3251fff libwx_mac_xrc-2.5.3.dylib    /usr/local/lib/libwx_mac_xrc-2.5.3.dylib
 0x3292000 -  0x32eafff libwx_mac_html-2.5.3.dylib    /usr/local/lib/libwx_mac_html-2.5.3.dylib
 0x3337000 -  0x3387fff libwx_mac_adv-2.5.3.dylib    /usr/local/lib/libwx_mac_adv-2.5.3.dylib
 0x33dd000 -  0x340afff libglib-1.2.0.dylib    /usr/local/lib/libglib-1.2.0.dylib
 0x342a000 -  0x3469fff libgdk-1.2.0.dylib    /usr/local/lib/libgdk-1.2.0.dylib
 0x34d3000 -  0x355dfff libwx_base_carbon-2.5.3.dylib    /usr/local/lib/libwx_base_carbon-2.5.3.dylib
 0x35d2000 -  0x3602fff libssl.0.9.7.dylib    /sw/lib/libssl.0.9.7.dylib
 0x3615000 -  0x3631fff libexpat.0.dylib    /usr/local/lib/libexpat.0.dylib
 0x37a4000 -  0x37adfff com.unsanity.paranoidandroid Paranoid Android Version 1.2 (1.2)   /Users/garyelshaw/Library/Application Enhancers/Paranoid Android.ape/Contents/MacOS/Paranoid Android
 0x37d9000 -  0x37f2fff com.unsanity.shapeshifter ShapeShifter Version 1.2 (1.2)   /Users/garyelshaw/Library/Application Enhancers/ShapeShifter.ape/Contents/MacOS/ShapeShifter
 0x4008000 -  0x41c0fff libgtk-1.2.0.dylib    /usr/local/lib/libgtk-1.2.0.dylib
 0x4205000 -  0x42d3fff libcrypto.0.9.7.dylib    /sw/lib/libcrypto.0.9.7.dylib
 0x4332000 -  0x4407fff libiconv.2.dylib    /usr/local/lib/libiconv.2.dylib
 0x4451000 -  0x4653fff libwx_mac_core-2.5.3.dylib    /usr/local/lib/libwx_mac_core-2.5.3.dylib
 0x48b2000 -  0x48c0fff com.unsanity.shapeshifter ShapeShifter Version 1.2 (1.2)   /Users/garyelshaw/Library/Application Enhancers/ShapeShifter.ape/Contents/PlugIns/CocoaStuff.plugIn/Contents/MacOS/CocoaStuff
0x20010000 - 0x200e5fff libiconv.2.dylib    /sw/lib/libiconv.2.dylib
0x85c90000 - 0x85c9bfff libXext.6.dylib    /usr/X11R6/lib/libXext.6.dylib
0x85ef0000 - 0x85fbbfff libX11.6.dylib    /usr/X11R6/lib/libX11.6.dylib
0x882a0000 - 0x882c6fff libConverter.dylib    /System/Library/Printers/Libraries/libConverter.dylib
0x8a4b5000 - 0x8a4bcfff libLW8Utils.dylib    /System/Library/Printers/Libraries/libLW8Utils.dylib
0x8bf00000 - 0x8bf3ffff libLW8Converter.dylib    /System/Library/Printers/Libraries/libLW8Converter.dylib
0x8fe00000 - 0x8fe4ffff dyld    /usr/lib/dyld
0x90000000 - 0x90122fff libSystem.B.dylib    /usr/lib/libSystem.B.dylib
0xc0000000 - 0xc000efff com.unsanity.ape 1.4.4   /Library/Frameworks/ApplicationEnhancer.framework/Versions/A/ApplicationEnhancer
0xefedc000 - 0xefee0fff libintl.1.dylib    /sw/lib/libintl.1.dylib
Title: Re: rc7 crash on launch
Post by: stefanero on October 23, 2004, 08:46:38 AM
hey

I dont use MacOS but since this sometimes is a problem on linux aswell

rm .eMule file ---- this is the file containing your settings..dont know where it is located on MacOS and if it got teh same name....
rm .aMule/clients.met
sometimes this file is corrupt aswell...its located in the aMule dir with all your other personal aMule files like cryptkey.dat and so on

hope that helps....

stefanero
Title: Re: rc7 crash on launch
Post by: lionel77 on October 23, 2004, 09:37:13 AM
maybe you wanna try whether kio's version (nodebug should be fine: http://little-bat.de/temp/) works on your machine or not.
if it does you know that something with the compilation of either amule or wxwidgets went wrong, if it still doesn't work there could be an interference between amule and another program you have installed (i noticed you have ape on your machine, that could be a candidate for this)...
Title: Re: rc7 crash on launch
Post by: Jacobo221 on October 23, 2004, 09:37:37 AM
> cryptkey.dat and so on
avoid removing cryptkey.day and preferences.dat whn possible, since you will loose all your credits.
Greetings!
Title: Re: rc7 crash on launch
Post by: godard on October 23, 2004, 03:13:01 PM
I've tried Kio's version (without debugging) and it didn't launch. I also tried disabling ape, but no joy there either. I'll keep playing and see if there's anything else i can do. Thank you all for your suggestions.
Title: Re: rc7 crash on launch
Post by: charnobo on October 23, 2004, 05:25:39 PM
why is amule prefs in a invisable folder called .amule in user dir ?

why not a visible folder in application support ?
Title: Re: rc7 crash on launch
Post by: Kry on October 23, 2004, 06:27:34 PM
.aMule has not config files but internal data.


The file for config is on ~/Library/Preferences/eMule Preferences

Standard Mac behaviour :P


(btw - removing that file will fix your problem)
Title: Re: rc7 crash on launch
Post by: charnobo on October 23, 2004, 08:08:50 PM
ok found emule prefs. but why the invisible .amule folder containg server.met and other files ?
Title: Re: rc7 crash on launch
Post by: Kry on October 23, 2004, 08:29:11 PM
because that folder should never be changed by the user
Title: Re: rc7 crash on launch
Post by: charnobo on October 23, 2004, 08:41:44 PM
I see your point, but if one change computer and did not see that invisible file, all credits will be lost I would think at least
Title: Re: rc7 crash on launch
Post by: Kry on October 23, 2004, 10:35:12 PM
What can I say.
Title: Re: rc7 crash on launch
Post by: lionel77 on October 24, 2004, 02:05:35 AM
Quote
Originally posted by charnobo
I see your point, but if one change computer and did not see that invisible file, all credits will be lost I would think at least
usually when you switch machines you copy the whole home folder to the new mac, so you would not lose that invisible folder.
granted, the proper os x location for these files would be ~/Library/Application Support/aMule but a couple other (cross-platform) programs do the same thing and create invisible files/folders in the home folder.

if it really bugs you you can change the location of the folder in the preferences, just modify the following line accordingly:
OSDirectory=/Users/JoeDoe/.aMule/
Title: Re: rc7 crash on launch
Post by: godard on October 24, 2004, 03:21:22 AM
OK, removing eMule Preferences enables a launch, and i managed to update the server.met. Unfortunately now i have the spinning wheel of death at startup, does this pretty much match where most folks are at?
Title: Re: rc7 crash on launch
Post by: lionel77 on October 24, 2004, 09:37:25 AM
Quote
Originally posted by godard
OK, removing eMule Preferences enables a launch, and i managed to update the server.met. Unfortunately now i have the spinning wheel of death at startup, does this pretty much match where most folks are at?
yup, pretty much, unfortunately. to be more precise, it's actually not necessary at startup but during most attempts to connect to a server (if you disable auto-connect you can postpone the crash/freeze until you manually connect to a server). read the rest here (http://forum.amule.org/thread.php?threadid=3875&sid=).
oh and interestingly, "most folks" seems to equal "all folks with single cpu macs"...
Title: Re: rc7 crash on launch
Post by: Jacobo221 on October 24, 2004, 04:03:34 PM
About moving to another computer:
you should never use the same internal data from any ed2k client on TWO computers at the same time. you could get banned in the network since servers might think you are trying to cheat.

So, there's one more point in having that directory hidden.

Greetings!

P.S.: If someone want to reinstall system, askling in this forums or having a quick look should unveil that there's a hidden folder ;-) It's not that hard IMHO
Title: Re: rc7 crash on launch
Post by: Kry on October 29, 2004, 09:39:07 PM
Fixed.
Title: Re: rc7 crash on launch
Post by: lionel77 on October 30, 2004, 09:19:57 AM
do you mean fixed as in "the folder is now somewhere else yada yada yada" or fixed as in "the nasty freeze on server connect is now history, yeah!"?
Title: Re: rc7 crash on launch
Post by: Kry on October 30, 2004, 01:24:53 PM
Fixed as in 'godard's bug is not crashing anymore'