Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : TSS Steam: Instant crash at several rooms
New Topic New Poll Post Reply
Poster Message
uncopy2002
Level: Smiter
Rank Points: 365
Registered: 07-28-2014
IP: Logged

File: 20161119192649.jpg (3 KB)
Downloaded 656 times.
License: Public Domain
icon TSS Steam: Instant crash at several rooms (+1)  
There are some rooms which, if ever previewed, either by selecting it at Restore screen or entering it from the hold, the game crashes.

Rooms with this problem that I've stumbled on:
Somewhere Under the Ocean: Entrance
Security Gates: Entrance, 2W and 3W

drod-tss.err says this:
Assertion error in line 4488 of .\BitmapManager.cpp: "pSurface->pixels"


Looking at the offending rooms and guessing from the error log, it seems that this animating gear NPC is the cause of the problem:


Also, due to the rooms crashing, some challenges are currently unreachable.

[Last edited by uncopy2002 at 11-19-2016 11:36 AM]
11-19-2016 at 11:32 AM
View Profile Send Private Message to User Show all user's posts High Scores Quote Reply
usbdriver
Level: Roachling
Avatar
Rank Points: 13
Registered: 11-23-2008
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (0)  
Same problem here, after entering Somewhere Under the Ocean I immediately crash. Entering "change location" or "restore" menu also crashes if another hold isn't selected.

____________________________
The only antidote to the poison of life is humor. XD
11-19-2016 at 03:30 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Red-XIII
Level: Smitemaster
Avatar
Rank Points: 561
Registered: 08-05-2012
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (0)  
Actually, I have no problem at all with these rooms, from the restore screen I see all the gears moving, everything works fine. I have version 5.1.0.6512 for Windows.

____________________________
There's not some other world out there where everything's gonna be okay. There's just this one, just this rock
-33th Skywatcher
11-19-2016 at 04:08 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
uncopy2002
Level: Smiter
Rank Points: 365
Registered: 07-28-2014
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (0)  
quote:
Red-XIII wrote:
Actually, I have no problem at all with these rooms, from the restore screen I see all the gears moving, everything works fine. I have version 5.1.0.6512 for Windows.

5.1.0.6512 is the non-Steam version. This bug occurs in Steam version, which should have a version number of 5.1.0.6540.
11-19-2016 at 04:38 PM
View Profile Send Private Message to User Show all user's posts High Scores Quote Reply
MarkL
Level: Roachling
Rank Points: 10
Registered: 11-22-2016
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (0)  
My game is now unplayable due to this bug. My game saved at the black screen with the typical builder conversation. Every time I load it, I see the conversation, then a crash.
11-22-2016 at 05:15 AM
View Profile Send Private Message to User Show all user's posts Quote Reply
Pento
Level: Roachling
Rank Points: 10
Registered: 11-07-2013
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (0)  
I have the same problem.

quote:
MarkL wrote:
My game is now unplayable due to this bug. My game saved at the black screen with the typical builder conversation. Every time I load it, I see the conversation, then a crash.

11-27-2016 at 02:12 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
aurora
Level: Roachling
Rank Points: 11
Registered: 08-29-2010
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (0)  
Same problem here :( ... seems, that i am unable to play the game anylonger, because "resume" wants to load "under the ocean". The game also crashes when selecting "restore" from the menu.

[Last edited by aurora at 11-28-2016 04:36 PM]
11-28-2016 at 04:30 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 4335
Registered: 02-04-2003
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (0)  
Yikes! Sorry about the trouble here. I'll work to resolve this asap.

Can someone post or PM me a link to a saved game that either reproduces the problem or is close to the problem location, with instructions on how to reproduce it from that point?

Thanks so much!

____________________________
Gandalf? Yes... That's what they
used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the
turn of the tide.
11-29-2016 at 03:54 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 4335
Registered: 02-04-2003
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (0)  
I received a player file. Thanks so much! This should be sufficient for me to investigate. I'll fix this asap.

____________________________
Gandalf? Yes... That's what they
used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the
turn of the tide.
11-29-2016 at 04:33 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 4335
Registered: 02-04-2003
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (+3)  
I figured this out. It's an obscure issue triggered with SDL2 related to how we load PNG images with transparency enabled, causing the pixel buffer for the image to be removed from access because RLE was being requested. (I guess these gears have an alpha layer configured.)

I had to dig into the guts of the SDL2 codebase to figure this out, but in the end it turned out to be a one-line fix.

This issue is technically also in GatEB and RPG, though I'm not sure whether any user-made holds include these gears yet. I'll provide a fix for each of these and upload them to Steam presently.

Edit: uploaded

____________________________
Gandalf? Yes... That's what they
used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the
turn of the tide.

[Last edited by mrimer at 11-30-2016 05:46 PM]
11-30-2016 at 05:22 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
uncopy2002
Level: Smiter
Rank Points: 365
Registered: 07-28-2014
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (+1)  
quote:
mrimer wrote:
This issue is technically also in GatEB and RPG, though I'm not sure whether any user-made holds include these gears yet. I'll provide a fix for each of these and upload them to Steam presently.

I don't recall any published holds using them, but there are rooms in Entry Point which uses those gears, and I just tested in GatEB and indeed a crash has triggered as well.

[Last edited by uncopy2002 at 11-30-2016 05:41 PM]
11-30-2016 at 05:39 PM
View Profile Send Private Message to User Show all user's posts High Scores Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 4335
Registered: 02-04-2003
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (0)  
quote:
uncopy2002 wrote:
quote:
mrimer wrote:
This issue is technically also in GatEB and RPG, though I'm not sure whether any user-made holds include these gears yet. I'll provide a fix for each of these and upload them to Steam presently.

I don't recall any published holds using them, but there are rooms in Entry Point which uses those gears, and I just tested in GatEB and indeed a crash has triggered as well.
Thanks for confirming. I've uploaded a new Windows build. Please try again.

____________________________
Gandalf? Yes... That's what they
used to call me.
Gandalf the Grey. That was my name.
I am Gandalf the White.
And I come back to you now at the
turn of the tide.

[Last edited by mrimer at 11-30-2016 05:46 PM]
11-30-2016 at 05:46 PM
View Profile Send Private Message to User Send Email to User Show all user's posts High Scores This architect's holds Quote Reply
uncopy2002
Level: Smiter
Rank Points: 365
Registered: 07-28-2014
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (+2)  
quote:
mrimer wrote:
quote:
uncopy2002 wrote:
quote:
mrimer wrote:
This issue is technically also in GatEB and RPG, though I'm not sure whether any user-made holds include these gears yet. I'll provide a fix for each of these and upload them to Steam presently.

I don't recall any published holds using them, but there are rooms in Entry Point which uses those gears, and I just tested in GatEB and indeed a crash has triggered as well.
Thanks for confirming. I've uploaded a new Windows build. Please try again.

Just confirmed that the gears no longer cause crashes in rooms that use them.

Verifying the fix in RPG would be hard since I don't know what would trigger the bug there, but I guess if TSS and GatEB is fine, it should be fine there as well.

Edit: I think a news should be posted at the steam community hub for TSS since lots of players have been waiting so long there.

[Last edited by uncopy2002 at 11-30-2016 06:06 PM]
11-30-2016 at 05:59 PM
View Profile Send Private Message to User Show all user's posts High Scores Quote Reply
komachi
Level: Master Delver
Rank Points: 103
Registered: 07-30-2012
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (0)  
Can confirm the problem with the gears is solved in steam (5.1.0.6545) in my save.

but still have some beeps when I'm in the world map and some places aren't shown in Akandia and Ephelna .
drod-tss.err tells me this:
Assertion error in line 544 of .\DrodBitmapManager.cpp: "!"Unrecognized image format""



[Last edited by komachi at 11-30-2016 06:15 PM]
11-30-2016 at 06:15 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
Dragon Fogel
Level: Smitemaster
Rank Points: 900
Registered: 06-21-2014
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (0)  
It would be best to post a new thread for that problem, to be sure it gets attention.
11-30-2016 at 07:20 PM
View Profile Send Private Message to User Show all user's posts High Scores Quote Reply
komachi
Level: Master Delver
Rank Points: 103
Registered: 07-30-2012
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (0)  
The problem is basically this one after search a bit:
http://forum.caravelgames.com/viewtopic.php?TopicID=38490
going to follow the steps and hope it works.
11-30-2016 at 08:54 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
jdyer
Level: Smiter
Rank Points: 316
Registered: 03-19-2003
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (+1)  
You might also want to post something in your news. When you get an update in Steam for TSS and click view updates you get a blank page. It should explain what the update fixes for those who don't look at forums but ran into the bug.
11-30-2016 at 09:58 PM
View Profile Send Private Message to User Send Email to User Show all user's posts This architect's holds Quote Reply
aurora
Level: Roachling
Rank Points: 11
Registered: 08-29-2010
IP: Logged
icon Re: TSS Steam: Instant crash at several rooms (0)  
quote:
mrimer wrote:
I figured this out. It's an obscure issue triggered with SDL2 related to how we load PNG images with transparency enabled, causing the pixel buffer for the image to be removed from access because RLE was being requested. (I guess these gears have an alpha layer configured.)

I had to dig into the guts of the SDL2 codebase to figure this out, but in the end it turned out to be a one-line fix.

This issue is technically also in GatEB and RPG, though I'm not sure whether any user-made holds include these gears yet. I'll provide a fix for each of these and upload them to Steam presently.

Edit: uploaded


Did you fix it in the other Builds as well? I am still at 5.1.0.6540 on Mac OS X and it still crashes :(

11-30-2016 at 11:54 PM
View Profile Send Private Message to User Show all user's posts Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : TSS Steam: Instant crash at several rooms
Surf To:


Forum Rules:
Can I post a new topic? No
Can I reply? No
Can I read? Yes
HTML Enabled? No
UBBC Enabled? Yes
Words Filter Enable? No

Contact Us | CaravelGames.com

Powered by: tForum tForumHacks Edition b0.98.8
Originally created by Toan Huynh (Copyright © 2000)
Enhanced by the tForumHacks team and the Caravel team.