View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001357 | FreeCAD | Bug | public | 2014-01-16 20:20 | 2014-03-18 00:06 |
Reporter | falrus | Assigned To | wmayer | ||
Priority | normal | Severity | crash | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x86_64 | OS | Linux | OS Version | 3.12.7-2-ARCH |
Product Version | 0.13 | ||||
Summary | 0001357: Freecad fails when sketch being deleted | ||||
Description | When I try to delete sketch "Sketch004002004010003007" from attached file, Freecad fails. | ||||
Steps To Reproduce | Open file, delete sketch "Sketch004002004010003007" | ||||
Tags | No tags attached. | ||||
FreeCAD Information | |||||
|
|
|
This does not crash here. There is a recursive paint error in the terminal output. This has to do with a bug in Qt(we think). As a work around, move the scroll bar off of the bottom in the tree view and it won't crash. |
|
It doesn't crash for me either. This is my verison of Qt, please check what yours is? (FreeCAD->Help->About FreeCAD->Copy to clipboard) OS: Debian GNU/Linux testing (jessie) Platform: 64-bit Version: 0.14.3064 (Git) Branch: master Hash: 69cc7ec90138b3d045085c27085e273eea2c3847 Python version: 2.7.6 Qt version: 4.8.6 Coin version: 4.0.0a SoQt version: 1.6.0a OCC version: 6.6.0 |
|
This might be a work around: http://forum.freecadweb.org/viewtopic.php?f=3&t=4536&start=10#p48113 |
|
I got setup to debug qt this morning. Found the code where the recursive paint warning was being generated. I will upload the back trace. It is pretty easy to spot the recursion. pointer "0xa4da50" is first scene at entry 56 and is the source of the warning at entry 0. It's hard to get a back trace when this warning isn't generated as every widget on the screen runs through this code. So I am guessing that entries 39-43 are somehow different when the scroll bar is not at the bottom. It looks like someone has dealt with this before. I forced "MainWindow::showMessage" to use the MetaObject::invokeMethod instead of the direct call. My recursive repaint warnings went away. Wondering if we can just leave the queued connection for all versions of qt? |
|
|
|
OK, chrisf confirmed that this also fixes his crash. http://forum.freecadweb.org/viewtopic.php?f=3&t=4536&sid=b2db7e26de2a788419f32b3610782a46&start=10#p48174 I'll activate the work around for Qt >= 4.6 because with prior versions there was no crash. |
Date Modified | Username | Field | Change |
---|---|---|---|
2014-01-16 20:20 | falrus | New Issue | |
2014-01-16 20:20 | falrus | File Added: airsoft_part_base2.fcstd | |
2014-01-16 21:03 | tanderson69 | Note Added: 0004085 | |
2014-01-28 20:44 | yorik | Note Added: 0004128 | |
2014-01-28 20:44 | yorik | Assigned To | => yorik |
2014-01-28 20:44 | yorik | Status | new => feedback |
2014-02-24 15:23 | yorik | Assigned To | yorik => |
2014-03-10 14:56 | wmayer | Note Added: 0004405 | |
2014-03-10 16:28 | tanderson69 | Note Added: 0004408 | |
2014-03-10 16:28 | tanderson69 | File Added: repaintBacktrace.txt | |
2014-03-10 16:29 | tanderson69 | Note Edited: 0004408 | |
2014-03-11 09:18 | wmayer | Note Added: 0004425 | |
2014-03-11 09:39 | wmayer | Changeset attached | => FreeCAD Master master 1818d375 |
2014-03-11 09:39 | wmayer | Assigned To | => wmayer |
2014-03-11 09:39 | wmayer | Status | feedback => closed |
2014-03-11 09:39 | wmayer | Resolution | open => fixed |
2014-03-18 00:06 | wmayer | Relationship added | related to 0001480 |