Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Versions after 5203 crash in Linux+Wine #83
Application would start normally.
It crashes immediately.
Failure information (for bugs)
Immediately crashes upon launching the software after the installer is finished.
Also tried launching the software from outside the installer and it crashes the same way.
Consistently crashes on two different computers. Both are running the same Linux and Wine versions, but on one the crash was seen after upgrading from HeidiSQL 184.108.40.20602, while on the other it was a fresh installation of both Wine and HeidiSQL, so prior configs cannot be an issue.
Once I install version 220.127.116.1103 then it works properly again.
Steps to reproduce
The relevant lines 3 + 4 look like this:
Size := D2D1SizeU(ClientWidth, ClientHeight); FRenderTarget.Resize(Size);
So the crash possibly happens due to missing Direct2D API on Wine. Could that be the case? I read that Wine 1.8 introduced Direct2D support, but you wrote you are already on 3.0-rc5. Hm.
Jan 25, 2018
I had progress with this issue. By tweaking the Wine configuration, the latest HeidiSQL version runs without any issue. I'm attaching a screenshot:
@ansgarbecker It would be nice if there would be a way to alert other Wine users about this workaround.
Awesome finding. Thanks a lot!
Thank you, Vasillis. That work-around was successful for me, too.…
On Sun, 25 Mar 2018 06:05:18 -0700 Vasilis Lourdas wrote: I had progress with this issue. By tweaking the Wine configuration, the latest HeidiSQL version runs without any issue. I'm attaching a screenshot: wine_config_for_heidisql <https://user-images.githubusercontent.com/397916/37875326-e1181b40-3045-11e8-8509-0b15f9dd620b.png> So, you must run winecfg, go to Libraries, add |d2d1|, click on edit and select |Native (Windows)|. All other options did not work and crashed the application. I'm happy this workaround works for me and HeidiSQL runs fine. @ansgarbecker <https://github.com/ansgarbecker> It would be nice if there would be a way to alert other Wine users about this workaround. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub <#83 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ASdS5D3EPcaTukuKByFb8AT-xHF2p3kKks5th5YOgaJpZM4RYL5j>.
referenced this issue
May 16, 2018
If I understand correctly, the crash happens only after calling a missing API. If that is a correct assumption, a fix can be applied on program startup early enough so that it is being executed before the crash occures.
@alexalok IMHO, a missing API function that doesn't exist in a emulated host environment (Wine) is not an excuse to put such a fix you mention inside the program's code. HeidiSQL is written for Windows and it works excellent there. Since a workaround is found for Wine, I guess that's all it matters.
@ansgarbecker What do you think?