FS#935Isometric projection: crash when projecting complex texts
- Type
- Bug
- Status
- Closed
- Resolution
- Fixed
- Category
- QCAD (main)
- Severity
- Low
- Priority
- Low
- Reported version
- 3.3.2
- Operating system
- All
- Reported
- 2013-10-04 by anonymous
- Closed
- 2013-10-04 by andrew
Projecting text into an isometric plane crashes QCAD - unless the text is first exploded, which is not always an acceptable appearance.
Comments (5)
Thanks Clive.
I cannot reproduce this at the moment.
Could you please check if this happens with any text or a text entity in particular or attach the drawing in question? Thanks.
Sure.
It may be something to do with this computer I'm using at the moment (Vista)?
The message given says something about data protection?
More Info about "Data Execution Prevention":
http://en.wikipedia.org/wiki/Data_Execution_Prevention
Crash is likely caused by a variable being cleaned up by the garbage collector while the internal pointer to the same entity is still being used.
Relevant code:
'entity' at the right is a QSharedPointer which is replaced by the internal pointer, which becomes invalid when the shared pointer is being cleaned up.
Great, thanks Andrew for the fix :)