Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crashes on Mac OS X 9 Mavericks #12

Closed
lnxbil opened this issue Oct 25, 2013 · 3 comments
Closed

Crashes on Mac OS X 9 Mavericks #12

lnxbil opened this issue Oct 25, 2013 · 3 comments

Comments

@lnxbil
Copy link

lnxbil commented Oct 25, 2013

The program terminates itself after opening with an error message:

Process:         EternalLands [29474]
Path:            /Users/USER/Downloads/*/EternalLands.app/Contents/MacOS/EternalLands
Identifier:      com.eternal-lands.EternalLands
Version:         1.9.3
Code Type:       X86 (Native)
Parent Process:  launchd [321]
Responsible:     EternalLands [29474]
User ID:         501

Date/Time:       2013-10-25 19:14:05.899 +0200
OS Version:      Mac OS X 10.9 (13A603)
Report Version:  11
Anonymous UUID:  XX123


Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x97848952 __pthread_kill + 10
1   libsystem_pthread.dylib         0x96fae167 pthread_kill + 101
2   libsystem_c.dylib               0x97698340 abort + 155
3   com.eternal-lands.EternalLands  0x001b765d __eprintf + 77
4   com.eternal-lands.EternalLands  0x001980eb CalCoreModel_ELLoadCoreAnimation + 251
5   com.eternal-lands.EternalLands  0x0002e3bb cal_load_anim + 315
6   com.eternal-lands.EternalLands  0x0000b912 parse_actor_frames + 3026
7   com.eternal-lands.EternalLands  0x00010daa parse_emotes_defs + 362
8   com.eternal-lands.EternalLands  0x00010fd8 read_emotes_defs + 200
9   com.eternal-lands.EternalLands  0x000c5f61 init_stuff + 897
10  com.eternal-lands.EternalLands  0x000de87c SDL_main + 92
11  com.eternal-lands.EternalLands  0x00003a88 -[SDLMain applicationDidFinishLaunching:] + 56
12  com.apple.Foundation            0x98ab0692 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke + 49
13  com.apple.CoreFoundation        0x9b9917e4 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 20
14  com.apple.CoreFoundation        0x9b8733fb _CFXNotificationPost + 3435
15  com.apple.Foundation            0x98a9eebf -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
16  com.apple.AppKit                0x93c387d5 -[NSApplication _postDidFinishNotification] + 367
17  com.apple.AppKit                0x93c38475 -[NSApplication _sendFinishLaunchingNotification] + 239
18  com.apple.AppKit                0x93c34da4 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 840
19  com.apple.AppKit                0x93c34691 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 277
20  libobjc.A.dylib                 0x96e1d304 -[NSObject performSelector:withObject:withObject:] + 77
21  com.apple.Foundation            0x98abf3fa __76-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke + 121
22  com.apple.Foundation            0x98abef31 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 430
23  com.apple.Foundation            0x98abed3b _NSAppleEventManagerGenericHandler + 218
24  com.apple.AE                    0x91681b15 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 387
25  com.apple.AE                    0x91650ed6 dispatchEventAndSendReply(AEDesc const*, AEDesc*) + 44
26  com.apple.AE                    0x91650dce aeProcessAppleEvent + 318
27  com.apple.HIToolbox             0x982f47c1 AEProcessAppleEvent + 55
28  com.apple.AppKit                0x93c303a8 _DPSNextEvent + 1089
29  com.apple.AppKit                0x93c2fad0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
30  com.apple.AppKit                0x93c2235c -[NSApplication run] + 727
31  com.eternal-lands.EternalLands  0x00003a1c CustomApplicationMain + 236
32  com.eternal-lands.EternalLands  0x00003c80 main + 176
33  com.eternal-lands.EternalLands  0x00002ee2 _start + 216
34  com.eternal-lands.EternalLands  0x00002e09 start + 41
@pjbroad
Copy link
Collaborator

pjbroad commented Oct 26, 2013

Looks like the same error reported in issue 9:
#9
If so, the latest source has a fix applied. Can you building from source?

@Sir-Odie
Copy link
Collaborator

You can also try this client, it contains that fix: http://www.gm.fh-koeln.de/~linke/EL-Downloads/EL-MAC.zip

@lnxbil
Copy link
Author

lnxbil commented Oct 26, 2013

So, I needed to fix some things in the XCode file to get it to compile, yet it doesn't link to the default cal3d.framework from the official client. I got a linking error (no clue why, the symbols should be there).

Undefined symbols for architecture i386:
  "CalCoreMesh::setFilename(std::__1::basic_string, std::__1::allocator > const&)", referenced from:
      _CalLoader_ELLoadCoreMesh in cal3d_io_wrapper.o
      _CalCoreModel_ELLoadCoreMesh in cal3d_io_wrapper.o
  "CalCoreMaterial::setFilename(std::__1::basic_string, std::__1::allocator > const&)", referenced from:
      _CalLoader_ELLoadCoreMaterial in cal3d_io_wrapper.o
      _CalCoreModel_ELLoadCoreMaterial in cal3d_io_wrapper.o
  "CalCoreAnimation::setFilename(std::__1::basic_string, std::__1::allocator > const&)", referenced from:
      _CalLoader_ELLoadCoreAnimation in cal3d_io_wrapper.o
      CalAnimationCache::loadAnimation(std::__1::basic_string, std::__1::allocator > const&, float) in cal3d_io_wrapper.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

But: The Sir-Odie-Version works (at least as far as I tested it for now. It starts without a crash).
@Sir-Odie: Vielen dank und schöne Grüße an den Rhein!

@lnxbil lnxbil closed this as completed Oct 26, 2013
pjbroad added a commit that referenced this issue Mar 25, 2018
… sound system disbled. Also fix issue that sound effects would get turned on if started with just muic urned on.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants