http://bugs.winehq.org/show_bug.cgi?id=26859
Summary: Segmentation Fault when attempting to run Cronos.exe Product: Wine Version: 1.3.13 Platform: x86 OS/Version: Solaris Status: UNCONFIRMED Severity: normal Priority: P2 Component: loader AssignedTo: wine-bugs@winehq.org ReportedBy: client902@mail.ru
Attempting to run Cronos.exe (Russian DBMS, http://www.cronos.ru) causes Segmentation Fault. I discovered that the mentioned error occurs during windows libraries loading (according their dependencies).
More precisely description (See file dlls/ntdlls/loader.c; function find_forwarded_export()):
Finding the final function pointer for a forwarded function OleCreateFontIndirect() in oleaut32.dll leads to loading this library in memory followed by its initialization through calling attach_process(). But this happens during a recursive call of fixup_imports(), i.e. before switching to an alternative stack (in the functions call_on_stack() and switch_to_stack()). Thus, we have a case when the DllMain() function executed on improper stack, causing its overflow.
PS If it happens that the unswitched stack size is large enough for normal operation of process_attach(), then the program looks like working correctly.
http://bugs.winehq.org/show_bug.cgi?id=26859
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|loader |-unknown
http://bugs.winehq.org/show_bug.cgi?id=26859
--- Comment #1 from Dmitry Timoshkov dmitry@codeweavers.com 2011-04-20 07:53:45 CDT --- Does anything else (like built-in notepad, winecfg or regedit) work?
http://bugs.winehq.org/show_bug.cgi?id=26859
--- Comment #2 from Sergey client902@mail.ru 2011-04-21 03:00:00 CDT --- All built-in programs, as well as any external programs (among those I tested) work properly. But, I want to emphasize that the Wine has the potential ability to call library initialization function (DllMain) using the wrong stack. This is exactly what happened when running cronos.
http://bugs.winehq.org/show_bug.cgi?id=26859
--- Comment #3 from butraxz@gmail.com 2013-10-18 13:39:31 CDT --- This ticket has not been updated for over 900 days. Development recommends to check the status on your bug every release or two and let to be known if the bug is still present. If not, mark it fixed. If you are no longer able to put effort to this ticket, you can abandon it.
Is this still an issue with 1.7.4 or higher ?
https://bugs.winehq.org/show_bug.cgi?id=26859
Ken Sharp imwellcushtymelike@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |RESOLVED URL| |http://www.cronos.ru/ Resolution|--- |ABANDONED
--- Comment #4 from Ken Sharp imwellcushtymelike@gmail.com --- Abandoned.
https://bugs.winehq.org/show_bug.cgi?id=26859
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Austin English austinenglish@gmail.com --- Closing.