http://bugs.winehq.org/show_bug.cgi?id=6829
------- Additional Comments From oberon@wildwein.de 2006-05-12 01:52 ------- Sorry, that was the first bug I submitted to WineHQ bugzilla.
To reproduce the error:
Install BlackBox Component Builder (an Open Source development IDE). It is available here: http://www.oberon.ch/zip/SetupBlackBox15.exe A liittle bit more info can be found here: http://www.oberon.ch/blackbox.html
If the installer does not run under Wine (I don't know): It is possible to install under M$-Windows (W98, W2K or XP) and copy/use the installation directory under Wine.
Then use menu File->Open and Cancel that dialog. A so-called trap viewer openes, which allows you to inspect the local variables of the procedure where an assertion on the return value occured. The first line of that trap viewer shows you the kind of trap, the next line the source position. The blue diamonds are hyperlinks, the left one links you into a viewer with the global variables and the right one links into the source at the error position of the module.
In the hope that this is enough information to reproduce the problem ... sure, I could try to write a demo program in C, but since I don't like C, this would take too long ...
I verified the correct return value under XP by inserting a HALT(0) statement just before line 375 containing the ASSERT(res=0,100). Wine returns here 4104.
regards Bernhard Treutwein