aMule Forum

English => aMule crashes => Topic started by: HipHopPunkSuperStar on January 02, 2005, 11:18:55 AM

Title: Latest aMule Mac binary Crashes
Post by: HipHopPunkSuperStar on January 02, 2005, 11:18:55 AM
I experience a couple of aMule crashes the last couple of days with the latest Mac-Binary

first aMule hangs a while, not reacting at all to my input, the up/download stats freeze and than it crashes.
Here is the log:

Date/Time:      2005-01-02 01:43:08 +0000
OS Version:     10.3.7 (Build 7S215)
Report Version: 2

Command: amule
Path:    /Applications/aMule.app/Contents/MacOS/amule
Version: 0.1 (2.0.0)
PID:     501
Thread:  1

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

Thread 0:
0   <<00000000>>    0xffff85d8 __spin_lock_relinquish + 0x18
1   com.apple.CoreFoundation         0x901a267c __CFSocketPerform + 0x70
2   com.apple.CoreFoundation         0x90193ca8 __CFRunLoopDoSources0 + 0x1fc
3   com.apple.CoreFoundation         0x90191560 __CFRunLoopRun + 0x1b0
4   com.apple.CoreFoundation         0x90195e8c CFRunLoopRunSpecific + 0x148
5   com.apple.HIToolbox              0x927d5f60 RunCurrentEventLoopInMode + 0xac
6   com.apple.HIToolbox              0x927dc6c8 ReceiveNextEventCommon + 0x17c
7   com.apple.HIToolbox              0x9284d7d4 ReceiveNextEventInMode + 0x48
8   libwx_mac_core-2.5.3.dylib       0x016e3854 wxApp::MacDoOneEvent() + 0x4c
9   libwx_mac_core-2.5.3.dylib       0x016e34e8 wxApp::MainLoop() + 0x24
10  libwx_base_carbon-2.5.3.dylib    0x013ef6e0 wxEntry(int&, char**) + 0x60
11  com.amule                        0x0017ad28 main + 0x18
12  com.amule                        0x00002258 _start + 0x188 (crt.c:267)
13  com.amule                        0x000020cc start + 0x30

Thread 1 Crashed:
0   <<00000000>>    0xffff8260 __spin_lock + 0
1   com.apple.CoreFoundation         0x901eb1a4 CFRunLoopCopyCurrentMode + 0x40
2   com.apple.CoreFoundation         0x901abf54 __CFSocketCopyRunLoopToWakeUp + 0x9c
3   com.apple.CoreFoundation         0x901a56ac __CFSocketHandleRead + 0x570
4   com.apple.CoreFoundation         0x90196e8c __CFSocketManager + 0x578
5   libSystem.B.dylib                0x900246e8 _pthread_body + 0x28

PPC Thread State:
  srr0: 0xffff8260 srr1: 0x0000d030                vrsave: 0x00000000
    cr: 0x44000024  xer: 0x00000004   lr: 0x901eb1a4  ctr: 0x900f5f6c
    r0: 0x901eb1a4   r1: 0xf00079b0   r2: 0xa018b16c   r3: 0x00000008
    r4: 0x00000000   r5: 0x02000000   r6: 0xfa4a8770   r7: 0xfa4a8770
    r8: 0xfa4a8770   r9: 0x00000002  r10: 0x00000000  r11: 0xa0191f78
   r12: 0x900f5f6c  r13: 0x00000000  r14: 0xa019691c  r15: 0x00000009
   r16: 0xa019691c  r17: 0xa019691c  r18: 0xa019691c  r19: 0xa019691c
   r20: 0x01c2cda0  r21: 0x01c2cdb0  r22: 0xa019691c  r23: 0xa0195144
   r24: 0x05b57890  r25: 0x22377490  r26: 0x00000001  r27: 0xa00011ac
   r28: 0x00000000  r29: 0x00000000  r30: 0x00000008  r31: 0x901eb16c

Binary Images Description:
    0x1000 -   0x2a5fff com.amule 0.1 (2.0.0)   /Applications/aMule.app/Contents/MacOS/amule
  0x653000 -   0x67cfff libwx_base_carbon_xml-2.5.3.dylib    /Applications/aMule.app/Contents/MacOS/../Frameworks/libwx_base_carbon_xml-2.5.3.dylib
  0x6a9000 -   0x6f7fff libwx_mac_xrc-2.5.3.dylib    /Applications/aMule.app/Contents/MacOS/../Frameworks/libwx_mac_xrc-2.5.3.dylib
  0x75e000 -   0x760fff com.apple.textencoding.unicode 1.6.4   /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
  0x775000 -   0x795fff libwx_base_carbon_net-2.5.3.dylib    /Applications/aMule.app/Contents/MacOS/../Frameworks/libwx_base_carbon_net-2.5.3.dylib
 0x1008000 -  0x1060fff libwx_mac_html-2.5.3.dylib    /Applications/aMule.app/Contents/MacOS/../Frameworks/libwx_mac_html-2.5.3.dylib
 0x1205000 -  0x1255fff libwx_mac_adv-2.5.3.dylib    /Applications/aMule.app/Contents/MacOS/../Frameworks/libwx_mac_adv-2.5.3.dylib
 0x1388000 -  0x1393fff ??? ??? (0.0.1d1)   /Applications/CodeTek VirtualDesktop Pro.app/Contents/Resources/patch.bundle/Contents/Resources/thePatchCarbon.bundle/Contents/MacOS/thePatchCarbon
 0x13bc000 -  0x1455fff libwx_base_carbon-2.5.3.dylib    /Applications/aMule.app/Contents/MacOS/../Frameworks/libwx_base_carbon-2.5.3.dylib
 0x16d8000 -  0x18fefff libwx_mac_core-2.5.3.dylib    /Applications/aMule.app/Contents/MacOS/../Frameworks/libwx_mac_core-2.5.3.dylib
0x880a0000 - 0x880a7fff libLW8Utils.dylib    /System/Library/Printers/Libraries/libLW8Utils.dylib
0x882a0000 - 0x882c6fff libConverter.dylib    /System/Library/Printers/Libraries/libConverter.dylib
0x8bea0000 - 0x8bedffff libLW8Converter.dylib    /System/Library/Printers/Libraries/libLW8Converter.dylib
0x8fe00000 - 0x8fe4ffff dyld    /usr/lib/dyld
0x90000000 - 0x90122fff libSystem.B.dylib    /usr/lib/libSystem.B.dylib
0x90190000 - 0x9023dfff com.apple.CoreFoundation 6.3.6 (299.33)   /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x90280000 - 0x904f9fff com.apple.CoreServices.CarbonCore 10.3.6 (10.3.5)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x90570000 - 0x905dffff com.apple.framework.IOKit 1.3.6 (???)   /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90610000 - 0x9069afff com.apple.CoreServices.OSServices 3.0.1   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x90700000 - 0x90700fff com.apple.CoreServices 10.3 (???)   /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x90720000 - 0x90787fff com.apple.audio.CoreAudio 2.1.2   /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x907f0000 - 0x907f9fff com.apple.DiskArbitration 2.0.4   /System/Library/PrivateFrameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x90810000 - 0x90810fff com.apple.ApplicationServices 1.0 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x90830000 - 0x9089ffff libobjc.A.dylib    /usr/lib/libobjc.A.dylib
0x90910000 - 0x90983fff com.apple.DesktopServices 1.2.3   /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x909c0000 - 0x909ddfff com.apple.audio.SoundManager 3.8   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x909f0000 - 0x90b4bfff com.apple.Foundation 6.3.5 (500.56)   /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x90d00000 - 0x90d1bfff com.apple.SystemConfiguration 1.7.1 (???)   /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x90d40000 - 0x90d40fff com.apple.Carbon 10.3 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x90df0000 - 0x90df4fff com.apple.JavaVM 1.4.2 (1.4.2 Release 2)   /System/Library/Frameworks/JavaVM.framework/Versions/A/JavaVM
0x90ec0000 - 0x90ec0fff com.apple.Cocoa 6.3 (???)   /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x910b0000 - 0x91101fff com.apple.bom 1.2.5 (63.2)   /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
0x9110d000 - 0x91176fff com.apple.htmlrendering 1.1.2   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x916e0000 - 0x91773fff com.apple.print.framework.PrintCore 3.3   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x917e0000 - 0x917f0fff com.apple.speech.recognition.framework 3.3   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x91810000 - 0x9182afff com.apple.openscripting 1.2.1 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x91850000 - 0x91860fff com.apple.ImageCapture 2.1.5   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x91890000 - 0x9189cfff com.apple.help 1.0.1   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x918c0000 - 0x918cdfff com.apple.CommonPanels 1.2.1 (1.0)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x918f0000 - 0x9193efff com.apple.print.framework.Print 3.3   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x91990000 - 0x9199bfff com.apple.securityhi 1.2 (90)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x919c0000 - 0x91a33fff com.apple.NavigationServices 3.3.2   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x91a90000 - 0x91a90fff com.apple.audio.units.AudioUnit 1.3.2   /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x91ab0000 - 0x91ac4fff libCGATS.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x91ae0000 - 0x91aebfff libCSync.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x91b10000 - 0x91b2afff libPDFRIP.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPDFRIP.A.dylib
0x91b50000 - 0x91b5ffff libPSRIP.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libPSRIP.A.dylib
0x91b80000 - 0x91b93fff libRIP.A.dylib    /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x91bb0000 - 0x91d45fff com.apple.QuickTime 6.5.2   /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x92070000 - 0x92096fff com.apple.FindByContent 1.4 (1.2)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/FindByContent.framework/Versions/A/FindByContent
0x920c0000 - 0x922a7fff com.apple.security 2.4 (177)   /System/Library/Frameworks/Security.framework/Versions/A/Security
0x92430000 - 0x92468fff com.apple.LaunchServices 10.3.5 (98.4)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x92740000 - 0x92777fff com.apple.CFNetwork 1.2.1 (7)   /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x927d0000 - 0x92b54fff com.apple.HIToolbox 1.3.5 (???)   /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x92d30000 - 0x92d80fff com.apple.HIServices 1.4.1 (0.0.1d1)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x92dc0000 - 0x932bffff com.apple.AppKit 6.3.6 (743.33)   /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x935d0000 - 0x938a8fff com.apple.CoreGraphics 1.203.27 (???)   /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x99000000 - 0x9901bfff libcurl.2.dylib    /Applications/aMule.app/Contents/MacOS/../Frameworks/libcurl.2.dylib



(PS: Is it okay to post my Mac Crash-logs here or should I post them to the Mac-Forum?)
Title: RE: Latest aMule Mac binary Crashes
Post by: sssnake on January 02, 2005, 12:10:00 PM
Hi HipHopSuperWhatever,
I had those crashes too, some after one hour, some after 16 hours with Mac aMule 2rc8. And the backtrace was not always the same. See this thread: http://forum.amule.org/thread.php?threadid=4566&sid=, but read it fully.
I think this should fix it for you too, itis a lengthy way, but worth it:
http://www.amule.org/wiki/index.php/HowTo_compile_on_Mac and the attention-part how to do that)
* before compiling wxWidgets, make shure, you apply the changes in the thread mentioned above (in the one file in src/unix/gsocket.cpp, line 583). You can do this in TextEdit or another text-editor or vi in the shell. Maybe, the changes have already applied by ken to wxWidgets cvs, but i think not.
* compile wxWidgets and install it like described in the wiki
* compile aMule2rc8 source, it will be linked against your newly compiled wxWidgets library. Thereby use ./configure --disable-systray --disable-gtk --with-wx-config=/usr/local/bin/wx-config --enable-debug --disable-optimise, so you can later report crashes with gdb, if this doesn't fix the problem anyway
[/list]
the stuff with gdb in the thread mentioned above is only needed, if this is not helping you. Let me know, if you encounter problems on the way and if this fixed the crashes...
cheers ssnake
Title: Re: Latest aMule Mac binary Crashes
Post by: HipHopPunkSuperStar on January 02, 2005, 07:36:56 PM
Okay, for now it compiled fine, lets see how long it lasts...

BTW: For the Wiki: In line 14 it says:
Quote
14. Copy the amule binnary to the app-Container directory: cp src/amule amule.app/Contents/MacOS/
but at least I didn't find no "MacOS"-Folder, had to create it myself...
[/SIZE]
Title: Re: Latest aMule Mac binary Crashes
Post by: sssnake on January 02, 2005, 11:51:20 PM
Hi HipHopPunkSuperStar,
good. I definetly think that was the bug, 'cause my amule has run since that fix for 28 hours without a problem now (no crash an not a single error-output with gdb).
For the wikki: just edit the page, I would say. That's what the wikki is for, after all :-)
I don't have CVS access, so you should ask one of the devs to include the folder, probably kry on irc. Or rather to create the folder during make :-)
sssnake