Draft workbench throws access violation when started

A forum dedicated to the Draft, Arch and BIM workbenches development.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
vanuan
Posts: 539
Joined: Wed Oct 24, 2018 9:49 pm

Re: Draft workbench throws access violation when started

Post by vanuan »

realthunder wrote: Fri Sep 18, 2020 11:29 am Hmm... looks like you have developed some bias against me, no? The comment you quoted means that the crash on Windows will happen if the code calls repaint(). I fixed it by replacing it with update().

It is not really useful to know where the exception is caught. Can anyone with a Windows debug build reproduce this problem? If so, it will be more useful to catch the exception in the debugger.
Not at all. That means I misunderstood. I thought you only added a comment about the potential crash.

Actually, some people on this forum think that if an exception is caught, it is not a crash:

https://forum.freecadweb.org/viewtopic.php?f=8&t=50314

Maybe it is not a crash, after all...
realthunder
Veteran
Posts: 2190
Joined: Tue Jan 03, 2017 10:55 am

Re: Draft workbench throws access violation when started

Post by realthunder »

vanuan wrote: Fri Sep 18, 2020 11:41 am Actually, some people on this forum think that if an exception is caught, it is not a crash:

https://forum.freecadweb.org/viewtopic.php?f=8&t=50314

Maybe it is not a crash, after all...
It depends. In this case, both Qt and Coin are not friendly with exceptions, especially Coin. If some exception is thrown out while traversing the Coin node tree, serious and hard to diagnose problem will happen later.
Try Assembly3 with my custom build of FreeCAD at here.
And if you'd like to show your support, you can donate through patreon, liberapay, or paypal
Post Reply