OpenClonk Bugtracker - OpenClonk
View Issue Details
0002028OpenClonkEngine - GUIpublic2018-04-07 16:262018-04-24 19:59
ReporterClonkonaut 
Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
StatusnewResolutionopen 
PlatformPCOSWindowsOS Version10
Product Versiongit master 
Target VersionFixed in Version 
Summary0002028: Hover states in Left/Right/Top/Bottom entries crash the game
DescriptionI don't know if the title really depicts the correct bug description here. I couldn't come up with a minimal example, so sorry for the rather cluttered test scenario. The relevant code is in:
OIM_NewStyle.ocd/Script.c lines 493 and 496

Basically, I tried using Hover states in Left and Bottom entries in a GUI. This doesn't immediately crash the game though. Only when I reopen the menu. Release 8.1 works fine, only my engine built from git HEAD crashes.
Steps To ReproduceStart Interaction_Menu_Crash.ocs
Press E to open the Interaction Menu once.
Press E again to close it.
Press E again, game crashes.
Additional Informationline 493
var left = { Std = "2.25em", OnHover = "2em" };

line 496
var bottom = { Std = "1.75em", OnHover = "2em" };

in conjunction with

OnMouseIn = GuiAction_SetTag("OnHover"),
OnMouseOut = GuiAction_SetTag("Std"),
TagsNo tags attached.
Attached Files? Interaction_Menu_Crash.ocs (309,000) 2018-04-07 16:32
https://bugs.openclonk.org/file_download.php?file_id=708&type=bug
log OpenClonk.log (45,298) 2018-04-07 16:32
https://bugs.openclonk.org/file_download.php?file_id=709&type=bug
? openclonk-crash-2018-04-07-16-23-47.dmp (112,789) 2018-04-07 16:33
https://bugs.openclonk.org/file_download.php?file_id=710&type=bug

Notes
(0006177)
Clonkonaut   
2018-04-07 16:31   
@Zapper
I think you know this code best.
(0006188)
Clonkonaut   
2018-04-24 19:59   
I'll try again because apparently sending mails didn't work:

@Zapper

Issue History
2018-04-07 16:26ClonkonautNew Issue
2018-04-07 16:27ClonkonautDescription Updatedbug_revision_view_page.php?rev_id=1379#r1379
2018-04-07 16:27ClonkonautAdditional Information Updatedbug_revision_view_page.php?rev_id=1381#r1381
2018-04-07 16:29ClonkonautNote Added: 0006176
2018-04-07 16:31ClonkonautNote Added: 0006177
2018-04-07 16:32ClonkonautFile Added: Interaction_Menu_Crash.ocs
2018-04-07 16:32ClonkonautFile Added: OpenClonk.log
2018-04-07 16:33ClonkonautFile Added: openclonk-crash-2018-04-07-16-23-47.dmp
2018-04-07 16:33ClonkonautNote Deleted: 0006176
2018-04-07 21:59ClonkonautNote View State: 0006177: private
2018-04-07 21:59ClonkonautNote View State: 0006177: public
2018-04-24 19:59ClonkonautNote Added: 0006188