Announcement: Be excellent to each other.


Caravel Forum : DROD Boards : Bugs : 5.1.1 Alpha: Selecting certain tiles in the editor crashes DROD
New Topic New Poll Post Reply
Poster Message
hyperme
Level: Smitemaster
Avatar
Rank Points: 1064
Registered: 06-23-2006
IP: Logged
icon 5.1.1 Alpha: Selecting certain tiles in the editor crashes DROD (+1)  
As reported by NiroZ in the patch thread:

NiroZ wrote:
There seems to be a new bug created however which is getting in the way of testing. When you're in the hold editor if you click the monster tab, the ice tile, the platform tile, any of the 3 bridge tiles, the spike tile, the heat trap, the image insertion tiles, the light, grey and dark tiles, the checkmark tile, the horns, the beacons and the fluff cloud you get a CTD with no error message I could find.

I've checked and this is on version 5.1.1.alpha.2020-09-23 and this does not happen on 5.1.0.6512.

I've done some quick investigating and found two things:

This only happens in Release builds, not Debug builds
It also happens in DROD RPG builds

____________________________
[Insert witty comment here]
Qzvlkx?
09-24-2020 at 09:51 AM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
mrimer
Level: Legendary Smitemaster
Avatar
Rank Points: 5058
Registered: 02-04-2003
IP: Logged
icon Re: 5.1.1 Alpha: Selecting certain tiles in the editor crashes DROD (0)  
Thank you for the repro steps.

I'm looking into this.

Appears that VS2019 supports debugging a Release build somehow in the IDE. That's nice.

I'm getting the crash pinpointed to here:

CTabbedMenuWidget::SelectTab()
...
CEventHandlerWidget *pEventHandler = GetEventHandlerWidget();

is returning a bad pointer address.



Edit: The exception is:
Exception thrown at 0x83018B66 in drod.exe: 0xC0000005: Access violation executing location 0x83018B66.

Thrown from the lower half of CEditRoomScreen::SetSelectedObject(). Which doesn't make any sense. Still trying to isolate the issue.


____________________________
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 09-24-2020 04:51 PM]
09-24-2020 at 03:48 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: 5058
Registered: 02-04-2003
IP: Logged
icon Re: 5.1.1 Alpha: Selecting certain tiles in the editor crashes DROD (0)  
Well...I found a fix. It also makes no sense, which tells me there's something I'm still not understanding (PR link).

The situation conjures up phantoms of compiler bugs in my mind, but as long as the issue is gone, I guess I'm not going to complain.


____________________________
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.
09-24-2020 at 08:12 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
kieranmillar
Level: Smitemaster
Rank Points: 2670
Registered: 07-11-2014
IP: Logged
icon Re: 5.1.1 Alpha: Selecting certain tiles in the editor crashes DROD (+1)  
For completeness, this is fixed in 5.1.1.alpha.2020-10-18
10-18-2020 at 05:23 PM
View Profile Send Private Message to User Show all user's posts High Scores This architect's holds Quote Reply
New Topic New Poll Post Reply
Caravel Forum : DROD Boards : Bugs : 5.1.1 Alpha: Selecting certain tiles in the editor crashes DROD
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.