Skip to content

Fix build#3

Draft
def- wants to merge 2 commits into
TeeworldsCN:mainfrom
def-:pr-fix-build
Draft

Fix build#3
def- wants to merge 2 commits into
TeeworldsCN:mainfrom
def-:pr-fix-build

Conversation

@def-

@def- def- commented Feb 1, 2025

Copy link
Copy Markdown
Contributor

Very hacky, but I just need client to compile to take screenshots.

@def-

def- commented Feb 1, 2025

Copy link
Copy Markdown
Contributor Author

Still just hangs on startup for me:

[2025-02-01 08:26:33][sdl]: SDL version 2.30.5 (compiled = 2.0.20)
[2025-02-01 08:26:39][gfx]: Created OpenGL 3.0 context.
[2025-02-01 08:26:40][gfx]: unable to create OpenGL context: Failed creating OpenGL context at version requested
[2025-02-01 08:26:40][sdl]: SDL version 2.30.5 (compiled = 2.0.20)
[2025-02-01 08:26:40][gfx]: unable to create OpenGL context: Failed creating OpenGL context at version requested
[2025-02-01 08:26:40][sdl]: SDL version 2.30.5 (compiled = 2.0.20)
[2025-02-01 08:26:40][gfx]: Created OpenGL 2.0 context.
[2025-02-01 08:26:40][opengl]: Vendor string: Apple
[2025-02-01 08:26:40][opengl]: Version string: 2.1 Metal - 89.3
Process 26853 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00000001977e5e8c libsystem_kernel.dylib`sem_wait + 8
libsystem_kernel.dylib`sem_wait:
->  0x1977e5e8c <+8>:  b.lo   0x1977e5eac    ; <+40>
    0x1977e5e90 <+12>: pacibsp
    0x1977e5e94 <+16>: stp    x29, x30, [sp, #-0x10]!
    0x1977e5e98 <+20>: mov    x29, sp
Target 0: (DDNet) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00000001977e5e8c libsystem_kernel.dylib`sem_wait + 8
    frame #1: 0x000000010005a780 DDNet`CGraphicsBackend_Threaded::WaitForIdle() [inlined] CSemaphore::Wait(this=0x0000000151f06068) at threading.h:14:16 [opt]
    frame #2: 0x000000010005a778 DDNet`CGraphicsBackend_Threaded::WaitForIdle(this=0x0000000151f06040) at backend_sdl.cpp:131:16 [opt]
    frame #3: 0x000000010005a6c4 DDNet`CGraphicsBackend_Threaded::RunBuffer(this=0x0000000151f06040, pBuffer=0x0000600000aa0540) at backend_sdl.cpp:118:2 [opt]
    frame #4: 0x0000000100088928 DDNet`CGraphics_Threaded::Swap() [inlined] CGraphics_Threaded::KickCommandBuffer(this=0x0000000148008000) at graphics_threaded.cpp:656:14 [opt]
    frame #5: 0x0000000100088914 DDNet`CGraphics_Threaded::Swap(this=0x0000000148008000) at graphics_threaded.cpp:2543:2 [opt]
    frame #6: 0x00000001000d279c DDNet`CMenus::RenderLoading(this=0x00000001005c2c90) at menus.cpp:1379:14 [opt]
    frame #7: 0x00000001000d3100 DDNet`CMenus::MenuImageScan(pName="local_server.png", IsDir=<unavailable>, DirType=1, pUser=0x00000001005c2c90) at menus.cpp:3143:9 [opt]
    frame #8: 0x000000010004ce98 DDNet`fs_listdir(dir=<unavailable>, cb=(DDNet`CMenus::MenuImageScan(char const*, int, int, void*) at menus.cpp:3068), type=1, user=0x00000001005c2c90) at system.c:2036:6 [opt]
    frame #9: 0x0000000100043cb4 DDNet`CStorage::ListDirectory(this=0x000000015200ea00, Type=<unavailable>, pPath="menuimages", pfnCallback=(DDNet`CMenus::MenuImageScan(char const*, int, int, void*) at menus.cpp:3068), pUser=0x00000001005c2c90) at storage.cpp:316:5 [opt]
    frame #10: 0x000000010010e358 DDNet`CGameClient::OnInit(this=0x00000001001b8620) at gameclient.cpp:325:28 [opt]
    frame #11: 0x0000000100073a7c DDNet`CClient::Run(this=0x0000000158020000) at client.cpp:3096:16 [opt]
    frame #12: 0x0000000100079224 DDNet`TWMain(argc=1, argv=0x000000016fdff350) at client.cpp:4387:11 [opt]
    frame #13: 0x0000000197498274 dyld`start + 2840

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

Successfully merging this pull request may close these issues.

1 participant