https://bugs.winehq.org/show_bug.cgi?id=48803
Bug ID: 48803 Summary: FITietokanta crashes every time after ADD-button is pressed Product: Wine Version: 4.0.1 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: major Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: radiomies@yahoo.com Distribution: ---
Created attachment 66718 --> https://bugs.winehq.org/attachment.cgi?id=66718 Additional information button of error notification provides this list
The program FITietokanta (records dog test results) is found https://koiratietokanta.fi/koetallennus/index.html -> "Lataa uusi koetallennusohjelma". After Boot,popup window ->click OK, -> Tiedosto (it is File) -> Perusasetukset (Basic Settings) -> Choose "DRAJ / DKAJ- kokeet" -> OK -> Selaa kokeita (Browse tests) -> popup window ->click OK -> DRAJ-kokeet -> click button "+ lisää" (Add) - >>>> CRASH! (There should be a web page where you can choose which test event you want to deal with)
The program works on all windows. Attention, 64 bit Windows only!
Not work any linux, I tried LMDE4, MINT 19, UBUNTU 16, LUBUNTU 16
https://bugs.winehq.org/show_bug.cgi?id=48803
Roman Pišl rpisl@seznam.cz changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |rpisl@seznam.cz
--- Comment #1 from Roman Pišl rpisl@seznam.cz --- Created attachment 66719 --> https://bugs.winehq.org/attachment.cgi?id=66719 WINEDEBUG=+edit
Confirming. Attaching trace.
https://bugs.winehq.org/show_bug.cgi?id=48803
--- Comment #2 from Roman Pišl rpisl@seznam.cz --- Created attachment 66720 --> https://bugs.winehq.org/attachment.cgi?id=66720 Fix for the crash
This patch fixes the crash.
https://bugs.winehq.org/show_bug.cgi?id=48803
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|major |normal
https://bugs.winehq.org/show_bug.cgi?id=48803
--- Comment #3 from Roman Pišl rpisl@seznam.cz --- This bug is a duplicate of bug 19239. The presented patch also fixes app in bug 37144.
https://bugs.winehq.org/show_bug.cgi?id=48803
--- Comment #4 from Roman Pišl rpisl@seznam.cz --- Created attachment 66727 --> https://bugs.winehq.org/attachment.cgi?id=66727 WINEDEBUG=+msg,+win,+edit,+relay
Attaching detailed trace. Patch sent: https://source.winehq.org/patches/data/181860 but providing a test case seems to be not trivial for me as it requires to send EM_SETSEL just after WM_NCCREATE and before WM_CREATE somehow..
https://bugs.winehq.org/show_bug.cgi?id=48803
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 66730 --> https://bugs.winehq.org/attachment.cgi?id=66730 patch
Hi, Roman.
Attach a test that shows how to intercept as early as NCCREATE/CREATE. You'll see that with proposed change format rectangle will be set too early on NCCREATE, while on Windows it's set on CREATE. So it changes something that already works correctly.
Patch also contains a fix for one case of division by zero, it fixes EM_SETSEL(0,0) test crash, I haven't tried actual application. There is a couple more places we have to review and possibly fix as well.
https://bugs.winehq.org/show_bug.cgi?id=48803
--- Comment #6 from Roman Pišl rpisl@seznam.cz --- Thank you, I learned something again. I sent a second version to wine-devel, but the list seems to be stalled.
I tried to follow your approach and modify all occurrences of division without check, but there are so many of them that it would lead to huge code modification, that would be too hard to handle and review.
So my approach is to do minimal work during initialization - set properly font metrics.
I will do my best in following days if modifications will be required.
https://bugs.winehq.org/show_bug.cgi?id=48803
--- Comment #7 from Roman Pišl rpisl@seznam.cz --- Fixed by https://source.winehq.org/git/wine.git/commit/571489fde199368ec7bcf367a8ab2a.... The application does not start anymore unless clock is set back before 03/2020. Bug 37144 is a duplicate.
https://bugs.winehq.org/show_bug.cgi?id=48803
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |571489fde199368ec7bcf367a8a | |b2af347a37b7e CC| |infyquest@gmail.com
--- Comment #8 from Vijay Kamuju infyquest@gmail.com --- As confirmed by Roman
https://bugs.winehq.org/show_bug.cgi?id=48803
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net URL| |https://koiratietokanta.fi/ | |koetallennus/FITietokanta_s | |etup.exe Keywords| |download Component|-unknown |comctl32
https://bugs.winehq.org/show_bug.cgi?id=48803
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.7.
https://bugs.winehq.org/show_bug.cgi?id=48803
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |5.0.x
https://bugs.winehq.org/show_bug.cgi?id=48803
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|5.0.x |---
--- Comment #10 from Michael Stefaniuc mstefani@winehq.org --- Removing the 5.0.x milestone from bug fixes included in 5.0.2.