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

Network Desync. #569

Open
Zombie-Ryushu opened this issue Nov 17, 2023 · 7 comments
Open

Network Desync. #569

Zombie-Ryushu opened this issue Nov 17, 2023 · 7 comments

Comments

@Zombie-Ryushu
Copy link

Network out of sync seed: 87654321!=87654321 , hash: 3118210E!=31182108 Cycle 145
GameCycle: 145d, new SyncHash: 206020a (unit: 0:unit-gold-mine, order: 1, refs: 1)
backtrace() returned 8 addresses
war1gus(+0x4a0b4)[0x55db494780b4]
war1gus(+0x101ef1)[0x55db4952fef1]
war1gus(+0x80a7f)[0x55db494aea7f]
war1gus(+0x1d897b)[0x55db4960697b]
/usr/lib64/liblua5.1.so.5(+0xc8d0)[0x7f600c20c8d0]
/usr/lib64/liblua5.1.so.5(+0x1747f)[0x7f600c21747f]
/usr/lib64/liblua5.1.so.5(+0xcd7d)[0x7f600c20cd7d]
/usr/lib64/liblua5.1.so.5(+0xc09e)[0x7f600c20c09e]
GameCycle: 145d, new SyncHash: 40c44148 (unit: 1:unit-gold-mine, order: 1, refs: 1)
backtrace() returned 8 addresses
war1gus(+0x4a0b4)[0x55db494780b4]
war1gus(+0x101ef1)[0x55db4952fef1]
war1gus(+0x80a7f)[0x55db494aea7f]
war1gus(+0x1d897b)[0x55db4960697b]
/usr/lib64/liblua5.1.so.5(+0xc8d0)[0x7f600c20c8d0]
/usr/lib64/liblua5.1.so.5(+0x1747f)[0x7f600c21747f]
/usr/lib64/liblua5.1.so.5(+0xcd7d)[0x7f600c20cd7d]
/usr/lib64/liblua5.1.so.5(+0xc09e)[0x7f600c20c09e]
GameCycle: 145d, new SyncHash: 188c2900 (unit: 2:unit-gold-mine, order: 1, refs: 1)
backtrace() returned 8 addresses
war1gus(+0x4a0b4)[0x55db494780b4]
war1gus(+0x101ef1)[0x55db4952fef1]
war1gus(+0x80a7f)[0x55db494aea7f]
war1gus(+0x1d897b)[0x55db4960697b]
/usr/lib64/liblua5.1.so.5(+0xc8d0)[0x7f600c20c8d0]
/usr/lib64/liblua5.1.so.5(+0x1747f)[0x7f600c21747f]
/usr/lib64/liblua5.1.so.5(+0xcd7d)[0x7f600c20cd7d]
/usr/lib64/liblua5.1.so.5(+0xc09e)[0x7f600c20c09e]
GameCycle: 145d, new SyncHash: 1181200b (unit: 3:unit-gold-mine, order: 1, refs: 1)
backtrace() returned 8 addresses
war1gus(+0x4a0b4)[0x55db494780b4]
war1gus(+0x101ef1)[0x55db4952fef1]
war1gus(+0x80a7f)[0x55db494aea7f]
war1gus(+0x1d897b)[0x55db4960697b]
/usr/lib64/liblua5.1.so.5(+0xc8d0)[0x7f600c20c8d0]
/usr/lib64/liblua5.1.so.5(+0x1747f)[0x7f600c21747f]
/usr/lib64/liblua5.1.so.5(+0xcd7d)[0x7f600c20cd7d]
/usr/lib64/liblua5.1.so.5(+0xc09e)[0x7f600c20c09e]
GameCycle: 145d, new SyncHash: 3020016a (unit: 4:unit-gold-mine, order: 1, refs: 1)
backtrace() returned 8 addresses
war1gus(+0x4a0b4)[0x55db494780b4]
war1gus(+0x101ef1)[0x55db4952fef1]
war1gus(+0x80a7f)[0x55db494aea7f]
war1gus(+0x1d897b)[0x55db4960697b]
/usr/lib64/liblua5.1.so.5(+0xc8d0)[0x7f600c20c8d0]
/usr/lib64/liblua5.1.so.5(+0x1747f)[0x7f600c21747f]
/usr/lib64/liblua5.1.so.5(+0xcd7d)[0x7f600c20cd7d]
/usr/lib64/liblua5.1.so.5(+0xc09e)[0x7f600c20c09e]
GameCycle: 145d, new SyncHash: 4042d4e (unit: 5:unit-gold-mine, order: 1, refs: 1)
backtrace() returned 8 addresses
war1gus(+0x4a0b4)[0x55db494780b4]
war1gus(+0x101ef1)[0x55db4952fef1]
war1gus(+0x80a7f)[0x55db494aea7f]
war1gus(+0x1d897b)[0x55db4960697b]
/usr/lib64/liblua5.1.so.5(+0xc8d0)[0x7f600c20c8d0]
/usr/lib64/liblua5.1.so.5(+0x1747f)[0x7f600c21747f]
/usr/lib64/liblua5.1.so.5(+0xcd7d)[0x7f600c20cd7d]
/usr/lib64/liblua5.1.so.5(+0xc09e)[0x7f600c20c09e]
GameCycle: 145d, new SyncHash: 8081a9c8 (unit: 6:unit-peasant, order: 1, refs: 1)
backtrace() returned 8 addresses
war1gus(+0x4a0b4)[0x55db494780b4]
war1gus(+0x101ef1)[0x55db4952fef1]
war1gus(+0x80a7f)[0x55db494aea7f]
war1gus(+0x1d897b)[0x55db4960697b]
/usr/lib64/liblua5.1.so.5(+0xc8d0)[0x7f600c20c8d0]
/usr/lib64/liblua5.1.so.5(+0x1747f)[0x7f600c21747f]
/usr/lib64/liblua5.1.so.5(+0xcd7d)[0x7f600c20cd7d]
/usr/lib64/liblua5.1.so.5(+0xc09e)[0x7f600c20c09e]
GameCycle: 145d, new SyncHash: 10213918 (unit: 7:unit-peon, order: 5, refs: 1)
backtrace() returned 8 addresses
war1gus(+0x4a0b4)[0x55db494780b4]
war1gus(+0x101ef1)[0x55db4952fef1]
war1gus(+0x80a7f)[0x55db494aea7f]
war1gus(+0x1d897b)[0x55db4960697b]
/usr/lib64/liblua5.1.so.5(+0xc8d0)[0x7f600c20c8d0]
/usr/lib64/liblua5.1.so.5(+0x1747f)[0x7f600c21747f]
/usr/lib64/liblua5.1.so.5(+0xcd7d)[0x7f600c20cd7d]
/usr/lib64/liblua5.1.so.5(+0xc09e)[0x7f600c20c09e]

@Zombie-Ryushu
Copy link
Author

This was done between an OpenSuse on x86_64 vs. a Debian System on ARM64

@timfel
Copy link
Member

timfel commented Nov 18, 2023

It will be a little easier to debug this if you can get the logs from both machines.

@Zombie-Ryushu
Copy link
Author

How would you like me to ask the other remote user to debug this?

@timfel
Copy link
Member

timfel commented Nov 18, 2023

How would you like me to ask the other remote user to debug this?

I just thought you might have access to both logs. Was worth a try 😉 Will be a bit harder, because with just one side's log, all we can do is guess which of the around 5000 lines of code between the last sync and the desync could be buggy.

@Zombie-Ryushu
Copy link
Author

The other user is a MacOSX User runing Debian Bookworm in a VM on ARM64. I can request his cooperation but as a Mac User, this other person does not have the same level of experience I do. If you can give me simple instructions I can pass to the ARM Linux user, I will see what I can do.

@Zombie-Ryushu
Copy link
Author

I have some new backtraces.
debugging.txt
remote-debugging.txt

@Zombie-Ryushu
Copy link
Author

Sending more debugging logs.
remote-debugging2.txt

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

No branches or pull requests

2 participants