On 9/4/11 03:48, Krzysztof Kosiński wrote:
W dniu 9 kwietnia 2011 03:30 użytkownik ~suv <suv-sf@...58...> napisał:
Same error after 'make clean' and rebuilding with '-O0'.
~suv
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0xf0f0f0f4 0x03c77dfc in cairo_pattern_destroy () (gdb) bt #0 0x03c77dfc in cairo_pattern_destroy () #1 0x002e5e94 in NRStyle::update (this=0x713eec4) at display/nr-style.cpp:201 #2 0x002e6974 in NRStyle::set (this=0x713eec4, style=0x7587aa0) at display/nr-style.cpp:140
This looks like uninitialized memory in NRStyle. I added explicit NULL initializers in rev. 9588, see whether it fixes the crash.
Success! :)
Inkscape (cairo-renderer r9588) up and running on osx too (this is still with '-O0'). I'll do some tests and rebuild with '-O3' tomorrow, and maybe also a quartz-based version.
Thank you for making this work, ~suv