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

Leaving and re-entering a world crashes #972

Open
IntegratedQuantum opened this issue Jan 26, 2025 · 0 comments
Open

Leaving and re-entering a world crashes #972

IntegratedQuantum opened this issue Jan 26, 2025 · 0 comments
Labels
bug something isn't working in the intended way engine
Milestone

Comments

@IntegratedQuantum
Copy link
Member

Segmentation fault at address 0x78f4a0835000
/home/mint/Cubyz/src/items.zig:1169:7: 0x157b985 in clear (Cubyzig)
  self.item = null;
      ^
/home/mint/Cubyz/src/Inventory.zig:1815:14: 0x1571b5d in loadFromZon (Cubyzig)
  stack.clear();
             ^
/home/mint/Cubyz/src/game.zig:438:24: 0x14ca86e in loadFrom (Cubyzig)
  inventory.loadFromZon(zon.getChild("inventory"));
                       ^
/home/mint/Cubyz/src/game.zig:643:18: 0x14ca5d7 in finishHandshake (Cubyzig)
  Player.loadFrom(zon.getChild("player"));
                 ^
/home/mint/Cubyz/src/network.zig:694:47: 0x144886b in receive (Cubyzig)
      try conn.manager.world.?.finishHandshake(zon);
                                              ^
/home/mint/Cubyz/src/network.zig:1672:14: 0x1796115 in collectPackets (Cubyzig)
     try prot(self, data);
             ^
/home/mint/Cubyz/src/network.zig:1724:27: 0x1796cc7 in flawedReceive (Cubyzig)
   try self.collectPackets();
                          ^
/home/mint/Cubyz/src/network.zig:1681:21: 0x1734b53 in receive (Cubyzig)
  self.flawedReceive(data) catch |err| {
                    ^
/home/mint/Cubyz/src/network.zig:531:18: 0x16bed98 in onReceive (Cubyzig)
     conn.receive(data);
                 ^
/home/mint/Cubyz/src/network.zig:562:19: 0x1635bdd in run (Cubyzig)
    self.onReceive(data, source);
                  ^
/home/mint/Cubyz/compiler/zig/lib/std/Thread.zig:409:13: 0x158f29a in callFn__anon_39456 (Cubyzig)
            @call(.auto, f, args);
            ^
/home/mint/Cubyz/compiler/zig/lib/std/Thread.zig:678:30: 0x14e1412 in entryFn (Cubyzig)
                return callFn(f, args_ptr.*);
                             ^
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something isn't working in the intended way engine
Projects
None yet
Development

No branches or pull requests

1 participant