Jump to content
Eternal Lands Official Forums
massimoC

client crashing

Recommended Posts

Hi, today several client crashes when entering in bethel during invasion; sometimes immediately on entering, other times after some 5 - 10 seconds of game. (grrr... I wasn't able to fire a single arrow...)

 

This happens near the sedicolis entrance of bethel (different objects? more monsters around?). When entering from the south, client crashed as soon as I approached the east entrance to climb on the rocks.

 

I append the log I got from one of the crashes. I also append the potions the client is compiled with (last source from CVS, xcodeproj file by 0ctane with some fixes). If there is advice about how to debug, please feel free to send me suggestions.

 

xam

 

/// I apologize for the mispost, this was for the mac bug reports.

 

 

system

 

Model: PowerBook5,4, BootROM 4.8.4f1, 1 processor, PowerPC G4  (1.1), 1.5 GHz, 1.5 GB
Graphics: kHW_ATIrv360M11Item, ATY,RV360M11, spdisplays_agp_device, 64 MB
Memory Module: SODIMM0/J25LOWER, 512 MB, DDR SDRAM, PC2700U-25330
Memory Module: SODIMM1/J25UPPER, 1 GB, DDR SDRAM, PC2700U-25330
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x4E), Broadcom BCM43xx 1.0 (4.170.25.8)
Modem: Jump, V.92, Version 1.0
Bluetooth: Version 2.1.0f14, 2 service, 0 devices, 1 incoming serial ports
Network Service: Built-in Ethernet, Ethernet, en0

 

client compiled with

 

AFK_FIX ALPHA_ACTORS ALPHA_ACTORS AUTO_UPDATE CACHE_ANIMATIONS CALCULATOR CLICKABLE_CONTINENT_MAP CLUSTER_INSIDES COUNTERS CUSTOM_LOOK CUSTOM_UPDATE CXX_MISC ELC EYE_CANDY FONTS_FIX FUZZY_PATHS GL_EXTENSION_CHECK IDLE_FIX MASKING MINES MINIMAP MISSILES NEW_ACTOR_ANIMATION NEW_ACTOR_SCALE NEW_E3D_FORMAT NEW_FILE_IO NEW_FRUSTRUM NEW_SELECTION NEW_SOUND NEW_TEX NOTEPAD OGG_VORBIS OPTIONS_I18N OSX PNG_SCREENSHOT POPUP SFX SIMPLE_LOD USE_INLINE USE_SEND_VIDEO_INFO USE_SHADER ZLIB

 

crash report

 

Process:		 EternalLands [3937]
Path:			/Users/massimo/Documents/Mac_Programmi/XCODE/elc/macosx/build/Release/EternalLands.app/Contents/MacOS/EternalLands
Identifier:	  com.cvs.EternalLands
Version:		 ??? (1.5.0)
Code Type:	   PPC (Native)
Parent Process:  launchd [63]

Date/Time:	   2008-04-06 21:31:12.021 +0200
OS Version:	  Mac OS X 10.5.2 (9C31)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000842e09c0
Crashed Thread:  2

Thread 0:
0   libSystem.B.dylib			 	0xffff8580 __pthread_self + 0
1   libz.1.dylib					  0x93c8efd4 inflateInit2_ + 148
2   libz.1.dylib					  0x93c8e790 gz_open + 524
3   com.cvs.EternalLands			  0x000a7f08 eternal_lands::el_file::open_gzip(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 40
4   com.cvs.EternalLands			  0x000a85d0 eternal_lands::el_file::open(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, eternal_lands::el_file::file_type) + 232
5   com.cvs.EternalLands			  0x000a870c eternal_lands::el_file::open_if_exist(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool) + 68
6   com.cvs.EternalLands			  0x000a8888 eternal_lands::el_file::el_file(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) + 332
7   com.cvs.EternalLands			  0x000a9770 el_open + 108
8   com.cvs.EternalLands			  0x000a71e8 load_e3d_detail + 192
9   com.cvs.EternalLands			  0x000067d4 draw_3d_object_detail + 88
10  com.cvs.EternalLands			  0x000071b4 draw_3d_objects + 1356
11  com.cvs.EternalLands			  0x00007974 display_objects + 220
12  com.cvs.EternalLands			  0x000979b4 display_game_handler + 876
13  com.cvs.EternalLands			  0x0003d130 draw_window + 424
14  com.cvs.EternalLands			  0x0003d2b0 display_windows + 116
15  com.cvs.EternalLands			  0x00033348 draw_scene + 372
16  com.cvs.EternalLands			  0x000bf450 start_rendering + 308
17  com.cvs.EternalLands			  0x000bf754 SDL_main + 56
18  com.cvs.EternalLands			  0x00003d78 -[SDLMain applicationDidFinishLaunching:] + 52
19  com.apple.Foundation			  0x923c5ea4 _nsnote_callback + 372
20  com.apple.CoreFoundation		  0x9214d95c _CFXNotificationPostNotification + 920
21  com.apple.Foundation			  0x923c36d8 -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
22  com.apple.AppKit				  0x94797a00 -[NSApplication _postDidFinishNotification] + 108
23  com.apple.AppKit				  0x94797918 -[NSApplication _sendFinishLaunchingNotification] + 80
24  com.apple.AppKit				  0x9471f218 -[NSApplication(NSAppleEventHandling) _handleAEOpen:] + 260
25  com.apple.AppKit				  0x9471ea50 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 88
26  com.apple.Foundation			  0x923e66fc -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 480
27  com.apple.Foundation			  0x923e64d0 _NSAppleEventManagerGenericHandler + 236
28  com.apple.AE					  0x92d90ce0 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 164
29  com.apple.AE					  0x92d90be8 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 40
30  com.apple.AE					  0x92d909ec aeProcessAppleEvent + 212
31  com.apple.HIToolbox		   	0x90adfe84 AEProcessAppleEvent + 52
32  com.apple.AppKit				  0x9471c5f4 _DPSNextEvent + 1148
33  com.apple.AppKit				  0x9471bd84 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 112
34  com.apple.AppKit				  0x94715a40 -[NSApplication run] + 736
35  com.cvs.EternalLands			  0x00003d18 CustomApplicationMain + 216
36  com.cvs.EternalLands			  0x00003f98 main + 244
37  com.cvs.EternalLands			  0x00002808 _start + 756
38  com.cvs.EternalLands			  0x0000250c start + 44

Thread 1:
0   libSystem.B.dylib			 	0x9430538c __semwait_signal + 12
1   libSystem.B.dylib			 	0x94341f40 _pthread_cond_wait + 1580
2   libGLProgrammability.dylib		0x929342e8 glvmDoWork + 120
3   libSystem.B.dylib			 	0x94340b98 _pthread_start + 316

Thread 2 Crashed:
0   com.cvs.EternalLands			  0x0000e068 next_command + 5140
1   com.cvs.EternalLands			  0x000febf0 my_timer + 224
2   SDL						   	0x3000a4b0 SDL_ThreadedTimerCheck + 228
3   SDL						   	0x30039fa8 SDL_SYS_StopTimer + 88
4   SDL						   	0x3002bf5c SDL_RunThread + 68
5   SDL						   	0x30039cfc SDL_SYS_KillThread + 20
6   libSystem.B.dylib			 	0x94340b98 _pthread_start + 316

Thread 3:
0   libSystem.B.dylib			 	0x94348314 select$DARWIN_EXTSN$NOCANCEL + 12
1   libSystem.B.dylib			 	0x9439e54c select + 68
2   SDL_net					   	0x33000dd8 SDLNet_CheckSockets + 252
3   com.cvs.EternalLands			  0x000c6ba8 get_message_from_server + 120
4   SDL						   	0x3002bf5c SDL_RunThread + 68
5   SDL						   	0x30039cfc SDL_SYS_KillThread + 20
6   libSystem.B.dylib			 	0x94340b98 _pthread_start + 316

Thread 2 crashed with PPC Thread State 32:
 srr0: 0x0000e068  srr1: 0x0000f030   dar: 0x842e09c0 dsisr: 0x40000000
r0: 0x00000020	r1: 0xf0102bc0	r2: 0x042e09c0	r3: 0x00000000
r4: 0x00000000	r5: 0x00000000	r6: 0x0000f638	r7: 0x00000000
r8: 0x0c9fc080	r9: 0x80000000   r10: 0x00000001   r11: 0x43300000
  r12: 0x94309034   r13: 0x00000000   r14: 0x00000000   r15: 0x00000000
  r16: 0x00000000   r17: 0x00000000   r18: 0x00000000   r19: 0x00000000
  r20: 0x300668d0   r21: 0x3006a3d4   r22: 0x300668d4   r23: 0x00150000
  r24: 0x00150000   r25: 0x00000002   r26: 0x08287200   r27: 0x00000035
  r28: 0x00000001   r29: 0x09ec1424   r30: 0x09ec1418   r31: 0x005fe018
cr: 0x24000242   xer: 0x00000000	lr: 0x0000def4   ctr: 0x94309034
vrsave: 0x00000000

Binary Images:
0x1000 -   0x14bffd +com.cvs.EternalLands ??? (1.5.0) /Users/massimo/Documents/Mac_Programmi/XCODE/elc/macosx/build/Release/EternalLands.app/Contents/MacOS/EternalLands
 0xb9f000 -   0xbf7fc7  com.apple.carbonframeworktemplate 1.0 (1.0) /Users/massimo/Documents/Mac_Programmi/XCODE/elc/macosx/build/Release/EternalLands.app/Contents/Frameworks/cal3d.framework/Versions/A/cal3d
 0xc58000 -   0xc5bfff +ogg ??? (???) /Users/massimo/Documents/Mac_Programmi/XCODE/elc/macosx/build/Release/EternalLands.app/Contents/Frameworks/ogg.framework/Versions/A/ogg
 0xc5e000 -   0xc7bffb +com.yourcompany.yourcocoaframework ??? (1.0) /Users/massimo/Documents/Mac_Programmi/XCODE/elc/macosx/build/Release/EternalLands.app/Contents/Frameworks/png.framework/Versions/A/png
 0xc82000 -   0xca4ff3 +vorbis ??? (???) <bdf4bdce94833edeb32394da65dfaeab> /Users/massimo/Documents/Mac_Programmi/XCODE/elc/macosx/build/Release/EternalLands.app/Contents/Frameworks/vorbis.framework/Versions/A/vorbis
 0xdc2000 -   0xde6ffd  com.apple.audio.OpenAL 1.2 (1.2) <e9637c9a9cb03991a1c8fac9d56b0e35> /System/Library/Frameworks/OpenAL.framework/Versions/A/OpenAL
0x47e7000 -  0x4803fff  GLRendererFloat ??? (???) <17ff484eef00f3edd67aa00532862e08> /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLRendererFloat.bundle/GLRendererFloat
0x5be6000 -  0x5d5cffb  GLEngine ??? (???) <e2e867ff7fc2c1c1c8408364c3a0f2be> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
0x5d8e000 -  0x5fddff9  com.apple.ATIRadeon9700GLDriver 1.5.24 (5.2.4) <c6aba7d3356052028fa704ee0bcb1ed4> /System/Library/Extensions/ATIRadeon9700GLDriver.bundle/Contents/MacOS/ATIRadeon9700GLDriver
0x729d000 -  0x736cff3  com.apple.RawCamera.bundle 2.0.2 (2.0.2) /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0xad09000 -  0xad0cfff  com.apple.ink.component 1.3 (81) <82ced9734cb9205654fe47f4fe8d1d28> /System/Library/Components/Ink.component/Contents/MacOS/Ink
0x30000000 - 0x30060ff3 +SDL 1.2.9 (1.2.10) /Users/massimo/Documents/Mac_Programmi/XCODE/elc/macosx/build/Release/EternalLands.app/Contents/Frameworks/SDL.framework/Versions/A/SDL
0x31000000 - 0x31028fd7 +SDL_image 1.2.3 (1.2.3) /Users/massimo/Documents/Mac_Programmi/XCODE/elc/macosx/build/Release/EternalLands.app/Contents/Frameworks/SDL_image.framework/Versions/A/SDL_image
0x33000000 - 0x33001fe3 +SDL_net 1.2.5 (1.2.5) /Users/massimo/Documents/Mac_Programmi/XCODE/elc/macosx/build/Release/EternalLands.app/Contents/Frameworks/SDL_net.framework/Versions/A/SDL_net
0x8fe00000 - 0x8fe30b23  dyld 96.2 (???) <39109181acbf30fed542e6c9abcf1798> /usr/lib/dyld
0x90003000 - 0x9001bffb  com.apple.DictionaryServices 1.0.0 (1.0.0) <fe37191e732eeb66189185cd000a210b> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x9006d000 - 0x90078fff  com.apple.speech.recognition.framework 3.7.24 (3.7.24) <ae3dc890a43a9269388301f6b59d3091> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x90079000 - 0x900baffb  libTIFF.dylib ??? (???) <0d0a3107d26786c3708e6a511d5acec9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x900bb000 - 0x900c7ff3  com.apple.audio.SoundManager 3.9.2 (3.9.2) <79588842bcaf6c747a95b2120304397a> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound
0x900c8000 - 0x900e7fff  com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x9012a000 - 0x9012dfff  com.apple.help 1.1 (36) <7106d6e074a3b9835ebf1e6cc6c822ce> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x9012e000 - 0x90139ff9  com.apple.helpdata 1.0 (14) /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x9017a000 - 0x90234fff  libcrypto.0.9.7.dylib ??? (???) <4ea3d7e9a1c28ac7b17ed80873fe6598> /usr/lib/libcrypto.0.9.7.dylib
0x90235000 - 0x9024efff  com.apple.CoreVideo 1.5.0 (1.5.0) <f1e561d4ba585d5740e3d4990729b8de> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x90293000 - 0x90807ff7  com.apple.CoreGraphics 1.351.21 (???) <44bbf8c3a4e8bc97e8b3e35737001742> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x90808000 - 0x90823ffb  libPng.dylib ??? (???) <c51ec88c87a3f0a646471165e16acd43> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x90832000 - 0x90837ff6  libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x90838000 - 0x908c7ffb  com.apple.DesktopServices 1.4.5 (1.4.5) <b6bd34467a57cc899612152caac2a789> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x908c8000 - 0x90aabffb  com.apple.security 5.0.2 (33001) <5e841904ba22d381672679180d4b0f4a> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x90aac000 - 0x90de5ff3  com.apple.HIToolbox 1.5.2 (???) <687d476c6a3809efaba68bc11dc894c1> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x90e36000 - 0x90ec0fff  libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x90ec1000 - 0x90ec1ffb  com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallServer
0x91bb9000 - 0x91bbbffd  libRadiance.dylib ??? (???) <3d70fcb7557347829c96c9753074b3f1> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x91bbd000 - 0x91be8ff7  libauto.dylib ??? (???) <b3a3a4b0f09653bd6d58f1847922b533> /usr/lib/libauto.dylib
0x91be9000 - 0x91be9fff  com.apple.Carbon 136 (136) <6a6a209ec9179368db7ead8382b8ee63> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x91bea000 - 0x91c6ffff  libsqlite3.0.dylib ??? (???) <f2a33fe2663eab9c7f4806d2cf05b4ee> /usr/lib/libsqlite3.0.dylib
0x91caf000 - 0x91d11ffb  com.apple.htmlrendering 68 (1.1.3) <e852db1c007de975fae2f0c2769c88ef> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering
0x91fdf000 - 0x91fecfff  libCSync.A.dylib ??? (???) <e7073e93982e6872ed72e5873b791462> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x91fed000 - 0x9200cfff  com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x9200d000 - 0x92034fff  libxslt.1.dylib ??? (???) <3700d04090629deddb436aa2d516c56d> /usr/lib/libxslt.1.dylib
0x92035000 - 0x920c8fff  com.apple.framework.IOKit 1.5.1 (???) <590e7f24d3cbfc072c8659173d2141e3> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x920c9000 - 0x92101fff  com.apple.SystemConfiguration 1.9.1 (1.9.1) <50bc5b4d50a2e1f7743e729381467537> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x92102000 - 0x92227ffb  com.apple.CoreFoundation 6.5.1 (476.10) <e71eaa358523eae0e45280bca8a90e98> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x92287000 - 0x9230ffff  com.apple.ink.framework 101.3 (86) <66a99ad6bc695390a66dd24789e23dcc> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x92351000 - 0x9239cffb  com.apple.Metadata 10.5.2 (398.7) <f0c3c28205af67a29a2ed728ee297648> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x9239d000 - 0x923a6fff  com.apple.DiskArbitration 2.2.1 (2.2.1) <a389b4c2badce39540f24402f7df35e7> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x923bd000 - 0x92601ffb  com.apple.Foundation 6.5.4 (677.15) <0cb0eec2a47f915404236f64abf7c384> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x92602000 - 0x926d4fff  com.apple.CoreServices.OSServices 224.4 (224.4) <1972b141810adcc01c30c31fcbab5af3> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x926db000 - 0x927c4fff  libxml2.2.dylib ??? (???) <6f383df1e1e775be0158ba947784ae13> /usr/lib/libxml2.2.dylib
0x927c5000 - 0x9290dff3  libicucore.A.dylib ??? (???) <250daed2fb2e6bf114480e2e4da0728b> /usr/lib/libicucore.A.dylib
0x9290e000 - 0x92d43ffa  libGLProgrammability.dylib ??? (???) <6d71574167a838789ab0ee27f92af626> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x92d71000 - 0x92d7cffb  libgcc_s.1.dylib ??? (???) <ea47fd375407f162c76d14d64ba246cd> /usr/lib/libgcc_s.1.dylib
0x92d8e000 - 0x92dc3fff  com.apple.AE 402.2 (402.2) <0b15a08da8ec38b74fb9dd6e579ed25f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x92de0000 - 0x92f29ffb  com.apple.ImageIO.framework 2.0.1 (2.0.1) <ea98d04f3ecfec65edfafe3796d6d442> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x93572000 - 0x93898fff  com.apple.QuickTime 7.4.1 (14) <3087ee45234222a1563007c962626f3a> /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime
0x93899000 - 0x9389dffe  libGIF.dylib ??? (???) <d6e2a570359313a39c6783c2ecfee608> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x93914000 - 0x939adfc3  libvDSP.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x93aba000 - 0x93b21ffb  libstdc++.6.dylib ??? (???) <a4e9b10268b3ffac26d0296499b24e8e> /usr/lib/libstdc++.6.dylib
0x93c8e000 - 0x93c9cfff  libz.1.dylib ??? (???) <1a70dd3594a8c5ad39d785af5da23237> /usr/lib/libz.1.dylib
0x93dc2000 - 0x93e91fff  com.apple.ColorSync 4.5.0 (4.5.0) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x93e92000 - 0x93eb2ff7  libJPEG.dylib ??? (???) <92341083256fbcd28888a179ebf941ef> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x93eb3000 - 0x93f78ffb  com.apple.CoreData 100.1 (186) <9cf54cb19b18e53ee22edb7ababa6e6c> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x940bd000 - 0x940e6ffb  com.apple.shortcut 1 (1.0) <032016a45147a2f3f191ce70187587c9> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
0x940e7000 - 0x94181ff7  com.apple.ApplicationServices.ATS 3.2 (???) <4258842969dc8d4fa37e01a80aa3d409> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x94182000 - 0x94183fff  libffi.dylib ??? (???) <11b77dbce4aa0f0b66d40014230abd1d> /usr/lib/libffi.dylib
0x941ea000 - 0x94280ff3  com.apple.LaunchServices 286.5 (286.5) <1a1a73b91deacb172d15745ec73e5959> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x94281000 - 0x942fcfff  com.apple.SearchKit 1.2.0 (1.2.0) <1b448fbae02460eae76ee1c6883f45d6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x942fd000 - 0x94496fe3  libSystem.B.dylib ??? (???) <754231f5e52ed8418f89f1f3369caf58> /usr/lib/libSystem.B.dylib
0x94497000 - 0x944edfff  libGLU.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x944ee000 - 0x944eeffa  com.apple.CoreServices 32 (32) <42b6dda539f7411606187335d9eae0c5> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x944ef000 - 0x9459ffff  edu.mit.Kerberos 6.0.12 (6.0.12) <debbca3bb1c622cbbe915ba168ad3cf0> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x945a0000 - 0x945c5fff  libcups.2.dylib ??? (???) <031506c73661ca7c7cec6154ee6d21dd> /usr/lib/libcups.2.dylib
0x945c6000 - 0x945c6ff8  com.apple.Cocoa 6.5 (???) <e9a4f1c636d00893db0494c4040176ba> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x945c7000 - 0x946dbffa  com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x946dc000 - 0x946dcfff  com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x946e0000 - 0x94e55fff  com.apple.AppKit 6.5.2 (949.26) <8d6ce96921254cbc787b9fe0526bef42> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x94e56000 - 0x951b3ff2  com.apple.QuartzCore 1.5.1 (1.5.1) <f364682e96d58c5849cad532f6bf2f91> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x95219000 - 0x95220fff  com.apple.CommonPanels 1.2.4 (85) <0d1256175c5512c911ede094d767acfe> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x952ad000 - 0x95327ffd  com.apple.CFNetwork 221.5 (221.5) <ef2672379d6fcb1470dc9361ce68e7f7> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x95328000 - 0x9533bffb  com.apple.speech.synthesis.framework 3.6.59 (3.6.59) <7c299626d6167de473e85327699cdb9c> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x95348000 - 0x95902fff  libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x9596e000 - 0x959aafff  libRIP.A.dylib ??? (???) <7bc908a7317a00fe3c659571c50cdd46> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x95b4c000 - 0x95bacfff  com.apple.CoreText 2.0.1 (???) <2ecbcac842c4864bdd3de0a68e4d2f2c> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x95bb4000 - 0x95bd8ffb  libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x95c27000 - 0x95c2fffb  libCGATS.A.dylib ??? (???) <f08869e380cd4b55e14714fe723cbc66> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x95c41000 - 0x95cc2fff  com.apple.print.framework.PrintCore 5.5.2 (245.1) <df7cf3aa9f046c543b9e27f08860b692> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x95cc3000 - 0x95cd6fff  com.apple.LangAnalysis 1.6.4 (1.6.4) <c184bb5b2859e82c5740a6fdb1e3d0bc> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
0x95dec000 - 0x95df9ff3  com.apple.opengl 1.5.6 (1.5.6) <4ec145eba41b94cff1322a041dfdb437> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x95dfa000 - 0x95e41fff  com.apple.NavigationServices 3.5.1 (161) <b245f17b2b2902e1f9eeaaa6773f8126> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x95e42000 - 0x95f25feb  libobjc.A.dylib ??? (???) <23a407d7dac6090562827e97bac3cb86> /usr/lib/libobjc.A.dylib
0x95f26000 - 0x95f75ff7  libGLImage.dylib ??? (???) <1b1db85f633ad1eed75cd6645ec99a5c> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x95f76000 - 0x96094ff7  com.apple.audio.toolbox.AudioToolbox 1.5.1 (1.5.1) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x96095000 - 0x963befe7  libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x963d5000 - 0x963ecffb  com.apple.ImageCapture 4.0 (5.0.0) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x963ed000 - 0x9649dfff  com.apple.QD 3.11.52 (???) <f33191c288897dd4d2e2c4b87bcc09b4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x9649e000 - 0x964a6fff  libbsm.dylib ??? (???) <c1fca3cbe3b1c21e9b31bc89b920f34c> /usr/lib/libbsm.dylib
0x964b7000 - 0x964d6fff  libresolv.9.dylib ??? (???) <181fb3defd2942f00201507cfa4efdb5> /usr/lib/libresolv.9.dylib
0x965a5000 - 0x965a6ff8  com.apple.ApplicationServices 34 (34) <6aa5ee485bb2e656531b3505932b845f> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x96647000 - 0x966ceffb  com.apple.audio.CoreAudio 3.1.0 (3.1) <880a5a35ef1c5158271ee4b305b35626> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x966d6000 - 0x966d6fff  com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x9678b000 - 0x96792ffb  com.apple.print.framework.Print 218.0.2 (220.1) <c7e0e618d5867ae227403ae385aacd82> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x967df000 - 0x9683bffb  com.apple.HIServices 1.7.0 (???) <48d200891cc9dd795ee547d526c6a45b> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x9683c000 - 0x9686dfff  com.apple.coreui 1.1 (61) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x9686e000 - 0x96b6fff7  com.apple.CoreServices.CarbonCore 785.8 (785.8) <d56076bc0fe62dd58002bdd581a3f3c0> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x96b70000 - 0x96b8bffb  com.apple.openscripting 1.2.6 (???) <12270fbb14905644f78975f227328a98> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x96b8c000 - 0x96c82ffc  libiconv.2.dylib ??? (???) <05ae1fcc97404173b2f9caef8f8be797> /usr/lib/libiconv.2.dylib
0x96c83000 - 0x96c86ffb  com.apple.securityhi 3.0 (30817) <e50c0cac9048f8923b95797753d50b5c> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0xfffec000 - 0xfffeffff  libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
0xffff8000 - 0xffff9703  libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib

Edited by massimoC

Share this post


Link to post
Share on other sites
I append the log I got from one of the crashes. I also append the potions the client is compiled with (last source from CVS, xcodeproj file by 0ctane with some fixes). If there is advice about how to debug, please feel free to send me suggestions.

BTW, grats on getting it to compile with my xcode project. Not to many people try. As far as your report, this is fantastic. You provided system info, the crash log, plus the compile flags you used. ;)

Process:		 EternalLands [3937]

Path: /Users/massimo/Documents/Mac_Programmi/XCODE/elc/macosx/build/Release/EternalLands.app/Contents/MacOS/EternalLands

Identifier: com.cvs.EternalLands

Version: ??? (1.5.0)

Code Type: PPC (Native)

Parent Process: launchd [63]

 

Date/Time: 2008-04-06 21:31:12.021 +0200

OS Version: Mac OS X 10.5.2 (9C31)

Report Version: 6

 

Exception Type: EXC_BAD_ACCESS (SIGSEGV)

Exception Codes: KERN_INVALID_ADDRESS at 0x00000000842e09c0

Crashed Thread: 2

 

...

 

Thread 2 Crashed:

0 com.cvs.EternalLands 0x0000e068 next_command + 5140

1 com.cvs.EternalLands 0x000febf0 my_timer + 224

2 SDL 0x3000a4b0 SDL_ThreadedTimerCheck + 228

3 SDL 0x30039fa8 SDL_SYS_StopTimer + 88

4 SDL 0x3002bf5c SDL_RunThread + 68

5 SDL 0x30039cfc SDL_SYS_KillThread + 20

6 libSystem.B.dylib 0x94340b98 _pthread_start + 316

 

I have cut out the unnecessary parts of the crash log. You will see that "Crashed Thread: 2" is reported, so you really only need to supply the trace of that thread. Here you can see that there is something going wrong with [i]next_command[/i]. What it is, well, I have no clue right now. However, since we know where the problem exists, we can look into it a bit more.

Share this post


Link to post
Share on other sites

Next guess:

next_command() gets called from timers.c in my_timer(), but only when NEW_ACTOR_MOVEMENT is *not* defined. But it should be.

 

Another issue may be that next_command() works heavily on the actors_list but the list doesn't get locked in my_timer().

 

So, first thing should be to set NEW_ACTOR_MOVEMENT and retry.

Share this post


Link to post
Share on other sites

Yes, archery is strongly dependent of NEW_ACTOR_MOVEMENT for this purpose. So like everybody was shooting arrows near the sedicolis entrance, it's quite normal that you were crashing.

Share this post


Link to post
Share on other sites
First, can you see if there is anything relevant in the errors log? Maybe a file couldn't be found or something.

 

I lost the relevant log at 21:32, probably it got overwritten or was not saved at all. However I have the error.log from following crashes, which is probably the same. Entropy's suggestion is right (there are missing files) as well as other suggestions (I noticed have strange errors, arrows I draw often fly astray, while those of other charachters appear follow their correct path; I will check more carefully that).

 

I cannot look a t the client now, I post the relevant part of the logs. I will recompile with NEW_ACTOR_MOVEMENT and take a closer look at the logs.

 

Info I did not supply before: when the option "use vertex actor" (don't remember the exat name, can't look up) i sactivated in the clinet, all characters disappear (not rendered: the names and health bars are still there).

In the last crashes I had almost all eye-candy disabled, as well as framebuffer support, reflections and all shadows.

 

 

Log started at 2008-04-06 22:34:31 localtime (CEST)

[22:34:31] Using the server profile: main
[22:34:34] Error opening sound configuration file
[22:34:38] * server www.eternal-lands.com filename http://www.eternal-lands.com/
updates160/files.lst
[22:34:38] Downloading http://www.eternal-lands.com/updates160/files.lst from ww
w.eternal-lands.com
[22:34:38] Finished downloading http://www.eternal-lands.com/updates160/files.ls
t
[22:34:39] * server www.eternal-lands.com filename http://www.eternal-lands.com/
updates160/files.lst
[22:34:39] Downloading http://www.eternal-lands.com/updates160/files.lst from ww
w.eternal-lands.com
[22:34:39] Finished downloading http://www.eternal-lands.com/updates160/files.ls
t
[22:34:39] Failed to download (files.lst) 3 times. Giving up.
[22:34:44] EXTENDED EXCEPTION(1:file_not_found): Can't find file ./2dobjects/gro
und/stones1.2d0 in el_file at /Users/massimo/Documents/Mac_Programmi/XCODE/elc/m
acosx/../io/elfile.cpp (line 179)
[22:34:44] Error: Can't open file "./2dobjects/ground/stones1.2d0"
[22:34:44] Error: Can't load 2d object: ./2dobjects/ground/stones1.2d0
[22:34:44] EXTENDED EXCEPTION(1:file_not_found): Can't find file ./2dobjects/gro
und/stones4.2d0 in el_file at /Users/massimo/Documents/Mac_Programmi/XCODE/elc/m
acosx/../io/elfile.cpp (line 179)
[22:34:44] Error: Can't open file "./2dobjects/ground/stones4.2d0"
[22:34:44] Error: Can't load 2d object: ./2dobjects/ground/stones4.2d0
Last message repeated 1 time 
[22:34:44] EXTENDED EXCEPTION(1:file_not_found): Can't find file ./2dobjects/gro
und/stones3.2d0 in el_file at /Users/massimo/Documents/Mac_Programmi/XCODE/elc/m
acosx/../io/elfile.cpp (line 179)
[22:34:44] Error: Can't open file "./2dobjects/ground/stones3.2d0"
[22:34:44] Error: Can't load 2d object: ./2dobjects/ground/stones3.2d0
Last message repeated 1 time

 

many more messages like these follow. More relevant to archery :

 

[22:34:44] Creedka <8F>PL (776): unable to add a reload action, the queue is emp
ty!
[22:34:44] Creedka <8F>PL (776): unable to add a missed shot action, the queue i
s empty!
[22:34:44] Creedka <8F>PL (776): unable to add a fire action, the queue is empty
!
[22:34:44] Raz <8F>IRON (1): unable to add a reload action, the queue is empty!
[22:34:44] Raz <8F>IRON (1): unable to add a fire action, the queue is empty!
[22:34:44] flexus <8F>DeL (11): unable to add a reload action, the queue is empt
y!
[22:34:44] flexus <8F>DeL (11): unable to add a missed shot action, the queue is
empty!
[22:34:44] flexus <8F>DeL (11): unable to add a fire action, the queue is empty!
[22:34:45] missiles_fire_a_to_xyz: target (-0.000000,nan,0.000000) is out of the
map!
[22:34:46] EXTENDED EXCEPTION(1:file_not_found): Can't find file ./2dobjects/gro

 

I suppose what follows is the log right before a client crash, as after that I immediately restarted, in time to se the charater coming out of invisibility and being smashed by a giant; moreover a bunch of "2d file not found" follow, which I believe are related to the scene moving to hell.

 

[23:15:17] Error: Can't load 2d object: ./2dobjects/ground/pineneedles2.2d0
Last message repeated 3 times
[23:15:57] missiles_fire_a_to_xyz: target (-40480524185826410627072.000000,21627769166
3779531443641422364803072.000000,0.000000) is out of the map!
[23:16:21] missiles_fire_a_to_xyz: target (-25537359945829363744768.000000,37044753754
666530768945152.000000,-0.000000) is out of the map!
[23:16:24] missiles_fire_a_to_xyz: target (50782879669299445760.000000,-68930839336608
312810335633408.000000,0.000000) is out of the map!
[23:16:39] missiles_fire_a_to_xyz: target (nan,-3720099259220406094796729754845184.000
000,7440113283793227312590772155189297152.000000) is out of the map!
[23:17:06] missiles_fire_a_to_xyz: target (-0.000000,0.000000,29489467392.000000) is o
ut of the map!
[23:19:11] missiles_fire_a_to_xyz: target (-0.000000,-0.000000,59324269418432690755666
7349499117568.000000) is out of the map!
[23:19:22] missiles_fire_a_to_xyz: target (0.000000,-204.086929,0.000000) is out of th
e map!
[23:19:35] missiles_fire_a_to_xyz: target (0.000000,-175234126380963434052795731279872
.000000,473346048000.000000) is out of the map!
[23:20:07] missiles_fire_a_to_xyz: target (-530.847778,0.000000,385165000704.000000) i
s out of the map!
[23:20:22] xam <91>>FA< (420): unable to add a reload action, the queue is empty!
[23:20:22] xam <91>>FA< (420): unable to add a missed shot action, the queue is empty!
[23:20:22] xam <91>>FA< (420): unable to add a fire action, the queue is empty!
[23:21:02] missiles_fire_a_to_xyz: target (-4711354514527403559763312640.000000,-10559
3030696062943689414017024.000000,11896894396024143935963136.000000) is out of the map!
[23:21:41] missiles_fire_a_to_xyz: target (567382740781914799162640994425372672.000000
,-205083664.000000,0.000000) is out of the map!
[23:21:45] missiles_fire_a_to_xyz: target (-178435835040338409229910016.000000,-108557
0242548265385984.000000,0.000000) is out of the map!
[23:22:14] missiles_fire_a_to_xyz: target (4015341961216.000000,-479200498542377420342
49848341921792.000000,3955926107551996616160313344.000000) is out of the map!
[23:22:18] missiles_fire_a_to_xyz: target (6969000960.000000,-0.000000,0.000000) is ou
t of the map!
[23:23:15] missiles_fire_a_to_xyz: target (0.000000,-413.181671,-0.199174) is out of t
he map!
[23:25:30] missiles_fire_a_to_xyz: target (114909916238404648960.000000,-0.000000,-201
7541830842915757717417766460325888.000000) is out of the map!
[23:26:02] missiles_fire_a_to_xyz: target (-102567409621139456.000000,-0.000000,0.0000
00) is out of the map!
[23:26:54] missiles_fire_a_to_xyz: target (-21775953537049525485568.000000,-178.036163
,14936658231164928.000000) is out of the map!
[23:27:32] Error: Can't load 2d object: ./2dobjects/ground/b_bone1.2d0
Last message repeated 1 time 
[23:27:32] Error: Can't load 2d object: ./2dobjects/ground/b_skeleton2.2d0
[23:27:32] Error: Can't load 2d object: ./2dobjects/ground/b_skeleton1.2d0
[23:27:32] Error: Can't load 2d object: ./2dobjects/ground/b_bone2.2d0

Share this post


Link to post
Share on other sites

Addition to last post: the 2dobjects dir did not get copied in my client's Resource/data , due to a bug in my script (I cut out the data directory from the linux 1.60 client install, but I miswrote a path). This accounts for the failures in opening the 2D files, not sure if it can motivate the crashes (NEW_ACTOR_MOVEMENT missing is a more likely culprit). More news as I recompile, cheers

Share this post


Link to post
Share on other sites

FWIW, I updated the mac xcode project file. It might compile better now.

 

If you do a Update Entire Project, the project settings should properly apply.

Edited by 0ctane

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×