Skip to content

Consistent Segfault on World Exit #2906

@UnsaltedScholar

Description

@UnsaltedScholar

Steps to Reproduce and Observed Behavior

After one of the last few updates (something between ac54ee2 and e0dac49), I now get consistent segfaults when exiting a world with the following error message:

Disconnected
Disconnected
Segmentation fault at address 0xa38
???:?:?: 0x7f6c71150f69 in ??? (/usr/lib/libGLdispatch.so.0)
Unwind error at address `/usr/lib/libGLdispatch.so.0:0x7f6c71150f69` (unwind info unavailable), remaining frames may be incorrect
/home/richardb/src/Cubyz/src/entityModel.zig:291:15: 0x13e3737 in reset (Cubyz)
  model.deinit();
              ^
/home/richardb/src/Cubyz/src/server/world.zig:328:27: 0x13734c0 in deinit (Cubyz)
  main.assets.unloadAssets();
                          ^
/home/richardb/src/Cubyz/src/server/server.zig:681:14: 0x1320ebf in startFromExistingThread (Cubyz)
 defer deinit();
             ^
/home/richardb/src/Cubyz/src/server/server.zig:675:25: 0x14a284e in startFromNewThread (Cubyz)
 startFromExistingThread(name, port);
                        ^
???:?:?: 0x7f6c9aea7960 in ??? (/usr/lib/libc.so.6)
./debug_linux.sh: line 31: 13751 Aborted                    (core dumped) ./zig-out/bin/Cubyz

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething isn't working in the intended way

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions