Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
NothanUmber
6 discussion posts
SolveSpace (https://solvespace.com), an open source CAD program crashes in certain situations when DisplayFusion is active. The developers have started to investigate and it seemed that DisplayFusion provoked some bugs in SolveSpace that they could identify. But the behavior change looks odd and might also indicate some potential bugs in DisplayFusion.
So it might be good to have a look at it from your side, too.

Here the stance of one of the SolveSpace devs after investigating the issue:

"However after looking much more carefully at he code I can fairly confidently say that DisplayFusion does something bad/buggy. Probably after injecting itself into each process - to achieve it's... windows management? functions - it makes bad Win32 calls that cause GetLastError to be non zero."

https://github.com/solvespace/solvespace/issues/817

Switching off DisplayFusion solves the program crashes. But I am quite used to the convenience DisplayFusion offers, so a fix would be really great! :)
Nov 25, 2020  • #1
User Image
NothanUmber
6 discussion posts
P.S.: Just tried it with DisplayFusion Pro 9.7.1 Beta (upgraded from 9.6 Pro). The problem still occurs with the latest beta version.
Nov 25, 2020  • #2
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

If they're able to tell us which function calls we're making incorrectly, then we can look into it further. It's strange that it's only running into issues with their application.

In the meantime, if you head into the compatibility settings in Display Fusion, add the application, and check off "Disable application hooks", that may stop the crashing for the time being.

Thanks!
Nov 27, 2020 (modified Nov 27, 2020)  • #3
User Image
NothanUmber
6 discussion posts
Hi, I am not developer of SolveSpace, just somebody evaluating CAD programs for a hobby project :)

As far as I understand the commit, after e.g. calling IsWindowVisible or ShowWindow GetLastError returns an error when DisplayFusion is loaded and no error if it isn't.

https://github.com/solvespace/solvespace/pull/829

Disabling application hooks seems to have helped also.
Dec 2, 2020  • #4
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

We've made some changes in our latest beta, version 9, that might fix this. Can you try updating, and see if the issue persists?

Thanks!
Dec 10, 2020  • #5
User Image
NothanUmber
6 discussion posts
Tested Beta 7, checked whether I could still reproduce the problem (yes, I could) and then updated to Beta 9. Now the problem seems to be gone. Thanks, perfect!
Dec 15, 2020  • #6
Owen Muhlethaler (BFS)'s profile on WallpaperFusion.com
Hello,

Glad to hear it's working! If you have any other questions, feel free to reach out to us.

Thanks!
Dec 16, 2020  • #7
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)