stratagus icon indicating copy to clipboard operation
stratagus copied to clipboard

Network Desync.

Open Zombie-Ryushu opened this issue 1 year ago • 7 comments

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 avatar Nov 17 '23 03:11 Zombie-Ryushu

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

Zombie-Ryushu avatar Nov 17 '23 03:11 Zombie-Ryushu

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

timfel avatar Nov 18 '23 12:11 timfel

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

Zombie-Ryushu avatar Nov 18 '23 15:11 Zombie-Ryushu

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.

timfel avatar Nov 18 '23 16:11 timfel

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 avatar Nov 18 '23 16:11 Zombie-Ryushu

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

Zombie-Ryushu avatar Nov 18 '23 19:11 Zombie-Ryushu

Sending more debugging logs. remote-debugging2.txt

Zombie-Ryushu avatar Nov 18 '23 20:11 Zombie-Ryushu