https://bugs.winehq.org/show_bug.cgi?id=50544
Bug ID: 50544 Summary: Application crashes when external database called Product: Wine Version: 5.0.3 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: critical Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: frank.heinz@gmx.de Distribution: ---
Created attachment 69214 --> https://bugs.winehq.org/attachment.cgi?id=69214 shell output while starting the application via shell / application works fine until line 16, the crash starts with "Unkown reason"
The windows application WISO2021.exe works fine until any function with an external database call is invoked (e.g., trying to receive data from connected tax authorities). Such a function leads to crash (immediate termination)
Wine version: 5.0.3 Wine architecture: 32 bit Native DLLs: msvcp140, vcruntime140 core fonts installed Windows version set to Windows 7
The shell log is attached.
https://bugs.winehq.org/show_bug.cgi?id=50544
Frank frank.heinz@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Distribution|--- |Ubuntu
https://bugs.winehq.org/show_bug.cgi?id=50544
Helmut helmut@f-schindlbeck.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |helmut@f-schindlbeck.de
https://bugs.winehq.org/show_bug.cgi?id=50544
--- Comment #1 from Frank frank.heinz@gmx.de --- Created attachment 69219 --> https://bugs.winehq.org/attachment.cgi?id=69219 Debug trace, switches -relay,+loaddll,+seh,+tid (+relay leads to 178GB trace!)
It seems the last DLL correctly loaded is ericapi.dll, a file provided by the tax office (so-called Elster-Schnittstelle). This thing raises an exception that is not handled. At the end it seems the last exception handler in the chain tries to throw a message what also failed.
This fixme message that pops up whenever MSVCRT__stdio_common_vfprintf is called deserves attention, too, I think.
https://bugs.winehq.org/show_bug.cgi?id=50544
--- Comment #2 from Gijs Vermeulen gijsvrm@gmail.com --- This could cause these issues, it would be good fix them.
002b:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 002b:err:winediag:ODBC32_SQLDrivers No ODBC drivers could be found. Check the settings for your libodbc provider.
https://bugs.winehq.org/show_bug.cgi?id=50544
Gijs Vermeulen gijsvrm@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|critical |normal
https://bugs.winehq.org/show_bug.cgi?id=50544
--- Comment #3 from Frank frank.heinz@gmx.de --- (In reply to Gijs Vermeulen from comment #2)
This could cause these issues, it would be good fix them.
002b:err:winediag:SECUR32_initNTLMSP ntlm_auth was not found or is outdated. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution. 002b:err:winediag:ODBC32_SQLDrivers No ODBC drivers could be found. Check the settings for your libodbc provider.
Both issues are fixed: - SECURE32 ...: by re-installing winbind - ODBC driver: by pointing LIB_ODBC_DRIVER_MANAGER=odbc32.dll.so in the /wine folder in the /lib directory tree
The programm still crashes
https://bugs.winehq.org/show_bug.cgi?id=50544
Frank frank.heinz@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #69219|0 |1 is obsolete| |
--- Comment #4 from Frank frank.heinz@gmx.de --- Created attachment 69245 --> https://bugs.winehq.org/attachment.cgi?id=69245 New debug trace (same parameters) after fixing WINBIND and ODBC
https://bugs.winehq.org/show_bug.cgi?id=50544
Frank frank.heinz@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #69214|0 |1 is obsolete| |
--- Comment #5 from Frank frank.heinz@gmx.de --- Created attachment 69246 --> https://bugs.winehq.org/attachment.cgi?id=69246 New shell output after fixing WINBIND and ODBC
https://bugs.winehq.org/show_bug.cgi?id=50544
Bernhard besentv@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |besentv@gmail.com
--- Comment #6 from Bernhard besentv@gmail.com --- Why it crashes: https://bugs.winehq.org/show_bug.cgi?id=50698
https://bugs.winehq.org/show_bug.cgi?id=50544
--- Comment #7 from Frank frank.heinz@gmx.de --- That does not solve the issue. After updating to wine 6.6 and re-installing WISO (including its latest update), when invoking the "ELSTER" function which calls the external database, now the program freezes instead of crashing. It shows an empty window with no controls.
https://bugs.winehq.org/show_bug.cgi?id=50544
--- Comment #8 from Frank frank.heinz@gmx.de --- (In reply to Frank from comment #7) Sorry, my mistake. The function that did crash indeed is something different (ELSTER -> generates PDF preview of tax-related data). The download of data from the tax office works, so the fix seems to work for the specific problem it addresses.
https://bugs.winehq.org/show_bug.cgi?id=50544
--- Comment #9 from Frank frank.heinz@gmx.de --- Download and editing data works, uploading data does not work, program crashes. I'll give up and continue with another program.
https://bugs.winehq.org/show_bug.cgi?id=50544
--- Comment #10 from Bernhard besentv@gmail.com --- I'd like to debug this, but I (obviously) need to finish my tax return first, and I don't really have time for either things right now. Though I would appreciate it if you could upload a log of the crash which would make debugging a bit easier. :)
https://bugs.winehq.org/show_bug.cgi?id=50544
--- Comment #11 from Frank frank.heinz@gmx.de --- I've tried to create a debug trace. However, the program does not load the data anymore. I don't know what's going on but I don't think it makes much sense. Two observations: 1) The program always crashed when using a preview function like the "ELSTER" button 2) I've carried out the tax declaration on a windows machine and observed that the first thing the program does before transferring data is to call a preview function. Maybe that helps.
https://bugs.winehq.org/show_bug.cgi?id=50544
Wolfram Sang wolfram@the-dreams.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |wolfram@the-dreams.de
--- Comment #12 from Wolfram Sang wolfram@the-dreams.de ---
Two observations:
- The program always crashed when using a preview function like the
"ELSTER" button 2) I've carried out the tax declaration on a windows machine and observed that the first thing the program does before transferring data is to call a preview function. Maybe that helps.
What you describe is Bug #51139 and there is a workaround for it and a proposed fix now (not related to databases).
https://bugs.winehq.org/show_bug.cgi?id=50544
--- Comment #13 from Frank frank.heinz@gmx.de --- Yes it does, kind of. Indeed, it is a preview function that was first called and then crashed.
New attempt with new software: - wine upgraded to 7.0-rc3 - WISO2022 installed - Preview tried, it works fine. Download of data from tax office tried (only master data available right now), this works fine as well.
Given this, I think we can consider the bug closed with wine 7.0.
https://bugs.winehq.org/show_bug.cgi?id=50544
Frank frank.heinz@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #14 from Frank frank.heinz@gmx.de --- Bug closed, with wine 7.0-rc3 and WISO2022, the preview (and the subsequent database call) works fine.
https://bugs.winehq.org/show_bug.cgi?id=50544
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #15 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.0-rc4.
https://bugs.winehq.org/show_bug.cgi?id=50544
Frank frank.heinz@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|FIXED |--- Status|CLOSED |UNCONFIRMED
--- Comment #16 from Frank frank.heinz@gmx.de --- The bug is back with 7.0-rc5, unfortunately.
https://bugs.winehq.org/show_bug.cgi?id=50544
--- Comment #17 from Frank frank.heinz@gmx.de --- With 7.0-rc6, the programme does not crash anymore in the preview. The preview popup opens, displays buttons for submitting and closing and closes correctly.
Furthermore the popup provides three different previews - (1) form preview, (2) overview of calculations and (3) the tax declaration. (1) and (2) work fine, (3) does not.
I guess I need to be patient and wait for the final version of release 7.0 but maybe the above observations are helpful.
https://bugs.winehq.org/show_bug.cgi?id=50544
Frank frank.heinz@gmx.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #18 from Frank frank.heinz@gmx.de --- It works well enough with wine-7.0, so therefore resolved.
https://bugs.winehq.org/show_bug.cgi?id=50544
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #19 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 7.1.