Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#16053·OpenTTD

[Crash]: Screensaver mode crashes shortly after panning

Author: perryprogCreated Oct 1, 2026Updated Oct 1, 2026

Version of OpenTTD

master build (badc9696e22482ad9b89404bc2e3de44cf53f9e8), macOS

Steps to reproduce

  1. Lay down a depot and some rail.
  2. Send out a train.
  3. Start screensaver mode.
  4. Pan away from the train, interrupting the screensaver mode. (I use scroll to pan if that ends up mattering.)
  5. Crash a few seconds later.

Upload crash files

Archive.zip Don't have Breakpad so no dmp but here's an LLDB stack trace instead

(lldb) r
There is a running process, kill it and restart?: [Y/n] y
Process 79387 exited with status = 9 (0x00000009) killed
Process 79621 launched: '/Users/perry/git/OpenTTD/build/openttd' (arm64)
[2026-09-30 23:22:31] dbg: [driver:0] Could not change to foreground application. Error -50
2026-09-30 23:22:31.121357-0400 openttd[79621:15163778] [Connection] Unable to get synchronousRemoteObjectProxy, error: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.linkd.autoShortcut" UserInfo={NSDebugDescription=connection to service named com.apple.linkd.autoShortcut}
2026-09-30 23:22:31.121378-0400 openttd[79621:15163778] [Application] Error registering app with intents framework: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.linkd.autoShortcut" UserInfo={NSDebugDescription=connection to service named com.apple.linkd.autoShortcut}
2026-09-30 23:22:31.121633-0400 openttd[79621:15163779] [Connection] Unable to get synchronousRemoteObjectProxy, error: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.linkd.autoShortcut" UserInfo={NSDebugDescription=connection to service named com.apple.linkd.autoShortcut}
2026-09-30 23:22:31.121652-0400 openttd[79621:15163779] [Connection] Unable to re-register with Process Instance Registry, error: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.linkd.autoShortcut" UserInfo={NSDebugDescription=connection to service named com.apple.linkd.autoShortcut}
2026-09-30 23:22:31.121867-0400 openttd[79621:15163774] [Connection] Unable to get synchronousRemoteObjectProxy, error: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.linkd.autoShortcut" UserInfo={NSDebugDescription=connection to service named com.apple.linkd.autoShortcut}
2026-09-30 23:22:31.121875-0400 openttd[79621:15163774] [Connection] Unable to re-register with Process Instance Registry, error: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.linkd.autoShortcut" UserInfo={NSDebugDescription=connection to service named com.apple.linkd.autoShortcut}
2026-09-30 23:22:31.122090-0400 openttd[79621:15163774] [Connection] Will NOT re-try to establish the connection
2026-09-30 23:22:31.122124-0400 openttd[79621:15163778] [Connection] Unable to get synchronousRemoteObjectProxy, error: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.linkd.autoShortcut" UserInfo={NSDebugDescription=connection to service named com.apple.linkd.autoShortcut}
2026-09-30 23:22:31.122137-0400 openttd[79621:15163778] [Connection] Unable to re-register with Process Instance Registry, error: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.linkd.autoShortcut" UserInfo={NSDebugDescription=connection to service named com.apple.linkd.autoShortcut}
2026-09-30 23:22:31.370818-0400 openttd[79621:15163739] [plugin] AddInstanceForFactory: No factory registered for id <CFUUID 0x88b3097c0> F8BB1C28-BAE8-11D6-9C31-00039315CD46
2026-09-30 23:22:31.405184-0400 openttd[79621:15163739] [logging-persist] cannot open file at line 51044 of [f0ca7bba1c]
2026-09-30 23:22:31.405199-0400 openttd[79621:15163739] [logging-persist] os_unix.c:51044: (2) open(/private/var/db/DetachedSignatures) - No such file or directory
2026-09-30 23:22:31.406082-0400 openttd[79621:15163739] [carc] Failed to read entitlements for process.
2026-09-30 23:22:31.648062-0400 openttd[79621:15163739] [carc] Reporter disconnected. { function=sendMessage, reporterID=341969591074818 }
2026-09-30 23:22:32.038493-0400 openttd[79621:15163820] [AMCP]          HALC_ProxyIOContext.cpp:1623  HALC_ProxyIOContext::IOWorkLoop: skipping cycle due to overload
2026-09-30 23:22:32.075625-0400 openttd[79621:15163775] [Common] Unable to obtain a task name port right for pid 404: (os/kern) failure (0x5)
Process 79621 stopped
* thread #13, name = 'ottd:game', stop reason = EXC_BAD_ACCESS (code=1, address=0x53e1e9)
      frame #0: 0x000000010000c7a8 openttd`std::__1::__tree_node_base<void*>* std::__1::__tree_min[abi:nqe220106]<std::__1::__tree_node_base<void*>*>(__x=0x000000000053e1e9) at __tree:175:15
   172 	template <class _NodePtr>
   173 	inline _LIBCPP_HIDE_FROM_ABI _NodePtr __tree_min(_NodePtr __x) _NOEXCEPT {
   174 	  _LIBCPP_ASSERT_INTERNAL(__x != nullptr, "Root node shouldn't be null");
-> 175 	  while (__x->__left_ != nullptr)
    	              ^
   176 	    __x = __x->__left_;
   177 	  return __x;
   178 	}
Target 0: (openttd) stopped.
(lldb) bt
* thread #13, name = 'ottd:game', stop reason = EXC_BAD_ACCESS (code=1, address=0x53e1e9)
  * frame #0: 0x000000010000c7a8 openttd`std::__1::__tree_node_base<void*>* std::__1::__tree_min[abi:nqe220106]<std::__1::__tree_node_base<void*>*>(__x=0x000000000053e1e9) at __tree:175:15
    frame #2: 0x00000001008451a4 openttd`std::__1::__tree_const_iterator<BaseTimer<TimerGameTick>*, std::__1::__tree_node<BaseTimer<TimerGameTick>*, void*>*, long>::operator++[abi:nqe220106](this=0x000000017048ab88) at __tree:817:14
    frame #3: 0x0000000100845024 openttd`TimerManager<TimerGameTick>::Elapsed(delta=1) at timer_game_tick.cpp:55:18
    frame #4: 0x0000000100c88e98 openttd`StateGameLoop() at openttd.cpp:1256:3
    frame #5: 0x0000000100c892f0 openttd`GameLoop() at openttd.cpp:1378:3
    frame #6: 0x00000001008568d4 openttd`VideoDriver::GameLoop(this=0x00000001042d2eb0) at video_driver.cpp:41:3
    frame #7: 0x0000000100856ae4 openttd`VideoDriver::GameThread(this=0x00000001042d2eb0) at video_driver.cpp:48:9
    frame #8: 0x0000000100856d20 openttd`VideoDriver::GameThreadThunk(drv=0x00000001042d2eb0) at video_driver.cpp:85:7
    frame #9: 0x0000000100858df8 openttd`bool StartNewThread<void (*)(VideoDriver*), VideoDriver*>(std::__1::thread*, std::__1::basic_string_view<char, std::__1::char_traits<char>>, void (*&&)(VideoDriver*), VideoDriver*&&)::'lambda'(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, void (*&&)(VideoDriver*), VideoDriver*&&)::operator()(this=0x000000088a0e1500, name="ottd:game", F=0x000000088a0e1520, A=0x000000088a0e1528) const at thread.h:65:6
    frame #12: 0x00000001008589a8 openttd`void* std::__1::__thread_proxy[abi:nqe220106]<std::__1::tuple<std::__1::unique_ptr<std::__1::__thread_struct, std::__1::default_delete<std::__1::__thread_struct>>, bool StartNewThread<void (*)(VideoDriver*), VideoDriver*>(std::__1::thread*, std::__1::basic_string_view<char, std::__1::char_traits<char>>, void (*&&)(VideoDriver*), VideoDriver*&&)::'lambda'(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, void (*&&)(VideoDriver*), VideoDriver*&&), std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, void (*)(VideoDriver*), VideoDriver*>>(__vp=0x000000088a0e1500) at thread.h:169:3
    frame #13: 0x000000018dc97c58 libsystem_pthread.dylib`_pthread_start + 136

Source: OpenTTD/OpenTTD

View original on GitHubView discussion on GitHub