https://bugs.winehq.org/show_bug.cgi?id=57483
Bug ID: 57483 Summary: Hero Lab Unhandled Stack Overflow On Certain tabs Product: Wine Version: 9.22 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: wes.schlosser1337@protonmail.com Distribution: ---
# Issue
Hero lab, specifically the Pathfinder module, produces a stack overflow error when opening certain tabs. This same error occurrs for both new and existing character files. The error happens for both Herolab.exe and Herolab64.exe
## Error
wine: unhandled stack overflow at address 7A7711FB (thread 0170), starting debugger... 0170:err:virtual:virtual_setup_exception stack overflow 1408 byes addr 0x7bd0e3 f1 stack 0xba0a80 (0xba0000-oxba1000-0xca0000)
## Steps to Reproduce Error
1. Install hero lab, and wine version 9.22 2. Open hero lab (wine Herolab64.exe) 3. Open the Pathfinder module 4. Open a new or existing character 5. Click on the 'background' tab.
### Result
Hero Lab hangs for a moment gets an 'hero lab is not responding, do you want to force quit or wait' window. Terminal shows the above error. Waiting will cause the error to happen again, force quit kills the exe.
### Expected Result
Background tab opens and hero lab doesn't hang with a stack overflow error.
# Attempted Resolutions and Other notes
## Resolution 1
I've completely removed wine from my system and tried reinstalling ONLY the dev version per the offical documentation (https://gitlab.winehq.org/wine/wine/-/wikis/Debian-Ubuntu)
## More info
Hero Lab desktop version (8.9). This has not been updated in some time. Hero Lab worked fine on a previous wine version (unsure which, maybe early 9 or 8?) on Ubuntu version 22.04 (64 bit).
OS version: Ubuntu 24.04 (64 bit) Wine packages installed: * Wine-devel-amd64 * wine-devel-i386 * wine-devel * winehq-devel
All 4 of the above are 9.22 version
https://bugs.winehq.org/show_bug.cgi?id=57483
--- Comment #1 from Rafał Mużyło galtgendo@o2.pl --- Attach full output or at least a bigger portion of it for context.
Also, on a completely random note, would you check wine 9.18 ?
https://bugs.winehq.org/show_bug.cgi?id=57483
--- Comment #2 from Wes wes.schlosser1337@protonmail.com --- Created attachment 77497 --> https://bugs.winehq.org/attachment.cgi?id=77497 Full Output Attached
Hi, I've attached the full output. I'm working on getting the version downgraded currently and will get back to you.
https://bugs.winehq.org/show_bug.cgi?id=57483
--- Comment #3 from Wes wes.schlosser1337@protonmail.com --- Created attachment 77498 --> https://bugs.winehq.org/attachment.cgi?id=77498 Error Not Present in Wine 9.18
https://bugs.winehq.org/show_bug.cgi?id=57483
--- Comment #4 from Wes wes.schlosser1337@protonmail.com --- I've downgraded wine to 9.18 and confirmed Hero Lab works as expected. See 'error not present in Wine 9.18' for confirmation. I've clicked through each tab in the hero lab UI for existing and new characters, there's no stack overflow errors reported.
Let me know if you need more info.
Thanks, Wes
https://bugs.winehq.org/show_bug.cgi?id=57483
--- Comment #5 from Rafał Mużyło galtgendo@o2.pl --- OK, to narrow things down, see also if it crashes in 9.19 (though it might be a slightly different crash).
(I might be a bit butthurt, but I've got a suspect for this crash, even though yours is significantly different than other instances)
https://bugs.winehq.org/show_bug.cgi?id=57483
--- Comment #6 from Wes wes.schlosser1337@protonmail.com --- (In reply to Rafał Mużyło from comment #5)
OK, to narrow things down, see also if it crashes in 9.19 (though it might be a slightly different crash).
(I might be a bit butthurt, but I've got a suspect for this crash, even though yours is significantly different than other instances)
It doesn't appear to crash in 9.19 for both existing and new characters. I'll try mucking around with it longer to see if the crash happens.
https://bugs.winehq.org/show_bug.cgi?id=57483
--- Comment #7 from Wes wes.schlosser1337@protonmail.com --- Hero Lab didn't crash at all during testing on 9.19. I tested characters w/ many different configurations, and on 9.22 each would have at least crashed once. I can try on 9.2 and 9.21 later, if not this evening then tomorrow.
Thanks