View Issue Details

IDProjectCategoryView StatusLast Update
0002888TechDrawBugpublic2017-02-09 21:13
Reporterhinckel Assigned Towandererfan  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Platform64-bitOSLinux (openSUSE)OS Versionleap 42.2
Product Version0.17 
Target Version0.17 
Summary0002888: crash on deleting view
DescriptionIn the Techdraw WB deleting a view (Page->View) containing dimensions crashes the app.
In some cases it warns about the orphaned dim object, but crashes anyway. I would expect that
it would kill the dims and go on.
Same happens up the tree. (deleting a Page with Views).
Steps To ReproduceIn Part Design create a new body (sketch -> revolution).
Im TechDraw create a new page. Then a View. Then a section View. Then add some dimension in the section view..
In the tree select the view and Del.
Warns about the orphaned dims. Go ahead anyway, kaboomm!
(Or, in attached file delete the View in the tree, or Page or View A-A).
Additional InformationOS: "openSUSE Leap 42.2"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.9944 (Git)
Build type: Unknown
Branch: master
Hash: 9b58d8bd6fe19b0b921ffa0b5712186a0b3be09d
Python version: 2.7.12
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.9.1.oce-0.18
TagsNo tags attached.
FreeCAD Information

Activities

hinckel

2017-02-03 11:02

reporter  

TechDrawTest.fcstd (12,528 bytes)

Kunda1

2017-02-03 12:47

administrator   ~0008191

@hinckel thanks for the bug report.
Some feedback:
1) To avoid tracker bloat it's recommended to open a forum thread first and then as a secondary practice (based on necessity) open a ticket and bidirectionally link thread <=> ticket
2) an extra step you could offer to help expedite the process: attach a backtrace to a crash bug
(https://www.freecadweb.org/wiki/index.php?title=Debugging#Generating_a_Backtrace)
Thanks!

wandererfan

2017-02-04 23:27

manager   ~0008218

confirmed. Line 466 TechDraw/Gui/MDIViewPage.cpp.

Related Changesets

FreeCAD: master 69163cb0

2017-02-05 22:59:20

wandererfan

Details Diff
Fix 0002888 Crash on Delete View Affected Issues
0002888
mod - src/Mod/TechDraw/Gui/MDIViewPage.cpp Diff File
mod - src/Mod/TechDraw/Gui/MDIViewPage.h Diff File
mod - src/Mod/TechDraw/Gui/QGIView.cpp Diff File
mod - src/Mod/TechDraw/Gui/QGVPage.cpp Diff File
mod - src/Mod/TechDraw/Gui/QGVPage.h Diff File
mod - src/Mod/TechDraw/Gui/ViewProviderDrawingView.cpp Diff File

FreeCAD: master 72d23494

2017-02-09 21:12:49

wwmayer


Committer: GitHub Details Diff
Merge pull request 0000512 from WandererFan/Fix2888

TechDraw Fix 0002888
Affected Issues
0002888
mod - src/Mod/TechDraw/App/DrawPage.cpp Diff File
mod - src/Mod/TechDraw/App/DrawViewPart.cpp Diff File
mod - src/Mod/TechDraw/App/DrawViewPart.h Diff File
mod - src/Mod/TechDraw/App/DrawViewSection.cpp Diff File
mod - src/Mod/TechDraw/Gui/MDIViewPage.cpp Diff File
mod - src/Mod/TechDraw/Gui/MDIViewPage.h Diff File
mod - src/Mod/TechDraw/Gui/QGIView.cpp Diff File
mod - src/Mod/TechDraw/Gui/QGVPage.cpp Diff File
mod - src/Mod/TechDraw/Gui/QGVPage.h Diff File
mod - src/Mod/TechDraw/Gui/ViewProviderDrawingView.cpp Diff File

Issue History

Date Modified Username Field Change
2017-02-03 11:02 hinckel New Issue
2017-02-03 11:02 hinckel File Added: TechDrawTest.fcstd
2017-02-03 12:47 Kunda1 Note Added: 0008191
2017-02-04 23:27 wandererfan Note Added: 0008218
2017-02-04 23:27 wandererfan Assigned To => wandererfan
2017-02-04 23:27 wandererfan Status new => confirmed
2017-02-04 23:27 wandererfan Target Version => 0.17
2017-02-09 21:13 wandererfan Changeset attached => FreeCAD Master master 69163cb0
2017-02-09 21:13 Changeset attached => FreeCAD Master master 72d23494
2017-02-09 21:13 guest Status confirmed => closed
2017-02-09 21:13 guest Resolution open => fixed