Hi,
I have a QT based app. When I try to launch it via a macro it takes down FreeCad after a short amount of time. I'm not sure if it is crashing or some unwanted side effect. It even ejects me from a debugger (while single stepping).
When I run the very same app via an embedded FreeCad it runs quite stable.
My current suspicion is that it is somehow connected to the quiting of some QThread workers I'm using.
Anybody any ideas?
Regards,
Rolf
Macro crash problem
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: Macro crash problem
Can you provide something - preferably simple - that others can test?
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
Re: Macro crash problem
Simple? rather not.
For a start I was hoping that someone knows about any problems to look for in such a multi-threaded scenario with respect to macro vs embedded
For a start I was hoping that someone knows about any problems to look for in such a multi-threaded scenario with respect to macro vs embedded
Re: Macro crash problem
Threading gives to many problems. Nasty stack buffer overflow and the like. I had to disable most of the threading stuff. But now it works in both versions.
This is what the little thing looks like.
If there's interest, I can share it.
This is what the little thing looks like.
If there's interest, I can share it.