News:

Simutrans.com Portal
Our Simutrans site. You can find everything about Simutrans from here.

[120.0.1 Mac]Crashing on installation

Started by THLeaderH, March 06, 2015, 11:46:15 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

THLeaderH

Hello everyone.
I've tried searching this in the forum and the post I found did not resolve this issue.

I've played simutrans in old version, 112.3. I tried to upgrade simutrans to 120.0.1. However, the new simutrans crashed when I opened the simutrans binary. Simutrans 120.0.1 also contains "simutrans.app". So I also tried this, but it also crashed.

Here is the data of my machine
OS version:10.7.5
CPU:Core 2 Duo

When I opened the simutrans binary, I got the following message in Terminal.
Illegal instruction: 4
Only this was what I got :-X

When I opened the "simutrans.app", I got the following message in a crash reporting window.
Process:         launchd [2561]
Path:            /Users/USER/Desktop/*/simutrans.app/Contents/MacOS/simutrans
Identifier:      org.simutrans.simutrans
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  launchd [293]

Date/Time:       2015-03-06 20:43:05.793 +0900
OS Version:      Mac OS X 10.7.5 (11G63)
Report Version:  9

Interval Since Last Report:          158694 sec
Crashes Since Last Report:           43
Per-App Crashes Since Last Report:   24
Anonymous UUID:                      FF14403B-F151-490B-ADCE-14B36ACED4ED

Crashed Thread:  Unknown

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00007fff5fc01028

Backtrace not available

Unknown thread crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000055  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x0000000000000000
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000
  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000
  rip: 0x00007fff5fc01028  rfl: 0x0000000000010203  cr2: 0x00007fff5fc01028
Logical CPU: 1

Binary images description not available


External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 1
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 5168
    thread_create: 1
    thread_set_state: 0


I also installed SDL2. What should I do?

TurfIt

Assuming you downloaded simumac-sdl2-120-0-1.zip given your reference to SDL2, then try simumac-120-0-1.zip instead. It was compiled on a much older cross compiler, and requires SDL1. I suspect the SDL2 compile is targeting a too new CPU for your system. It was made on 10.9.x, with a IvyBridge CPU, and I cannot find any way to tell clang what CPU to target... (surely they wouldn't omit such a vital feature??)

Note the SDL2 version was created due to many reports of extremely poor performance with SDL1. If SDL1 does run for you, but slowly, at this point you'd have to self compile to get a runnable SDL2 I think.

THLeaderH

I tried the SDL1 version of simutrans. It contains only simutrans.app. So, I opened this but it crushed with no message. I used Terminal to find some error log. Then I got the following message.
LSOpenURLsWithRole() failed with error -10810 for the file /Users/USER/Downloads/simutrans/simutrans.app.

I complied simutrans from the source code. I selected the SDL2 version in config.default. Then, I succeeded. It works :) . Thank you for your help!