ForgiveThisNewb
Member
Castle Eggman Zone Act 3 is broken in multiple places on 64-bit Linux.
Problem 1: Boss cannot be attacked.
As shown in the attached screenshot, Robotnik's cage does not properly rise.
Problem 2: Crashing and/or Hanging
Very likely related to the first problem, the game will either instacrash, or hang with the music playing in the background but the screen no longer refreshing. The following is a sample of what is outputted to my terminal during one of these events.
*** Error in `./lsdlsrb2': corrupted double-linked list: 0x0000000005e05940 ***
I've had it also output that it had memory corruption once, a buffer overrun, and others, but now that I'm keeping an eye on it to report the bug, the only exact error message which I keep reliably getting is corrupted double-linked list, with a different 64-bit hex number each time.
Because this error causes a hang and not a crash, it's proven impossible for me to capture a backtrace or other debug information.
I disabled P_Boss4MoveCage by having it immediately return true, and the crash persisted. Ditto for returning false. It seems the problem is bigger than the code for moving the cage.
I created a barebones test map with the player spawn, the boss, and rings, but no cage or any linedef effects. I haven't tested it for an extended period of time, but in the short time I have tested it, no crashes. It's in the attached .zip file, map01 in the wad.
Problem 1: Boss cannot be attacked.
As shown in the attached screenshot, Robotnik's cage does not properly rise.
Problem 2: Crashing and/or Hanging
Very likely related to the first problem, the game will either instacrash, or hang with the music playing in the background but the screen no longer refreshing. The following is a sample of what is outputted to my terminal during one of these events.
*** Error in `./lsdlsrb2': corrupted double-linked list: 0x0000000005e05940 ***
I've had it also output that it had memory corruption once, a buffer overrun, and others, but now that I'm keeping an eye on it to report the bug, the only exact error message which I keep reliably getting is corrupted double-linked list, with a different 64-bit hex number each time.
Because this error causes a hang and not a crash, it's proven impossible for me to capture a backtrace or other debug information.
I disabled P_Boss4MoveCage by having it immediately return true, and the crash persisted. Ditto for returning false. It seems the problem is bigger than the code for moving the cage.
I created a barebones test map with the player spawn, the boss, and rings, but no cage or any linedef effects. I haven't tested it for an extended period of time, but in the short time I have tested it, no crashes. It's in the attached .zip file, map01 in the wad.
Attachments
Last edited by a moderator: