seh:call_stack_handlers nested exception

Questions about Wine on Linux
Locked
SouthAfrica
Newbie
Newbie
Posts: 3
Joined: Tue Feb 25, 2020 2:32 am

seh:call_stack_handlers nested exception

Post by SouthAfrica »

Our app runs into an SEH exception in a very intensive operation. The exceptions happens here or there which we have not seen before.

With WINEDEBUG=+seh the debugging info is

0009:fixme:seh:call_stack_handlers nested exception
0009:fixme:seh:call_stack_handlers nested exception
0009:fixme:seh:call_stack_handlers nested exception

I have found a kind of a workaround by adding a simple Sleep of 10 milliseconds in the relevant code section. Then no execption happens.
Increasing the reserve stack size of the Windows exe from 1M (default) to 8M does not help.

Wine version: Wine-5.0 x64, Wine-5.2 x64
OS: Linux Ubuntu 18.04 LTS, macOS El Capitan through macOS Catalina

We could live with adding such Sleep of 10 milliseconds, however a more professional solution would be advantageous.

Any advice is highly appreciated. Thx in advance.
SouthAfrica
Newbie
Newbie
Posts: 3
Joined: Tue Feb 25, 2020 2:32 am

Re: seh:call_stack_handlers nested exception

Post by SouthAfrica »

I want to report that this problem is resolved. It is not an issue or bug in Wine. Concurrent processes interfere and cause the issue highly probable on Wine but the issue exits on Windows as well. After managing the processes with a semaphore no exception happens anymore. Sorry, if I had confused somebody. The lessons learned are that a clean process interworking is essential..
Locked