Comment 9 for bug 1294741

Revision history for this message
su_v (suv-lp) wrote :

Steps with which I managed to reproduce the crash with local builds of the stable release branch (but not with trunk):

1) launch inkscape with default (new) prefs, locale: en_US.UTF-8
2) open 'Document Properties > Snap'
3) Change 'Snap to guides' to '[x] Always snap'
4) close 'Document Properties' dialog (Ctrl+W)
5) Enable grid (menu 'View > Grid')
6) create a guide
7) delete the guide (hover until highlighted & delete it with <Backspace>)

--> crash:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xffffffffffffffff
0x0000000100449d13 in sp_guideline_destroy (object=0x1198e7590) at guideline.cpp:93
93 if (SP_GUIDELINE(object)->origin != NULL && SP_IS_CTRLPOINT(SP_GUIDELINE(object)->origin)) {

The odd thing is that on my system (OS X 10.7.5) this crash only seems to occur with some of the local builds: apparently only those which use the most recent stable versions of the dependencies (gtk2 2.24.23, gtkmm 2.24.4, glib2 2.38.2, glibmm 2.38.1, libsigc++ 2.2.11, cairo 1.12.16, etc.) and are compiled with clang, but not with the builds of the same revisions using older versions and compiled with llvm-gcc-4.2.