Crash when toggling guides after opening Document Properties from 'Duplicate Window'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
High
|
Unassigned |
Bug Description
Inkscape crashes when toggling visibility of guides after having opened 'Document Properties' dialog from a duplicate document window.
Steps to reproduce:
1) launch inkscape (default prefs, default new document)
2) open menu 'View > Duplicate Window'
3) open Document Properties (Shift+Ctrl+D) while focus is in duplicate window
4) close Document Properties (Ctrl+W)
5) close duplicate window (Ctrl+W)
6) toggle guides (click on ruler, or menu 'View > Guides')
--> crash:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_
SPDocument::getRoot (this=0x0) at document.h:129
129 SPRoot *getRoot() { return root; }
Crash was first noticed with Inkscape 0.91+devel r14267 on OS X 10.7.5.
Testing with stable releases and archived builds:
- not reproduced with Inkscape 0.48.5 r10040,
- not reproduced with Inkscape 0.48+devel rev <= 9944,
- reproduced with Inkscape 0.48+devel rev >= 9950,
- reproduced with Inkscape 0.91 r13725;
the cash is likely related to the changes of the C++ification merge in rev 9946:
https:/
Revision 9946: GSoC C++-ificiation merge and cleanup.
https:/
Notes:
* backtraces with earlier trunk builds slightly differ from those with latest trunk
* Inkscape 0.48.5 and trunk builds older than r9944 produced console messages too but did not crash:
(inkscape-
(inkscape-
(inkscape-
** (inkscape-
** (inkscape-
** (inkscape-
** (inkscape-
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
Also reproduced on Windows XP (32bit), Inkscape trunk rev. 14195.