On 8/4/11 22:45, Krzysztof Kosiński wrote:
W dniu 8 kwietnia 2011 22:30 użytkownik Krzysztof Kosiński <tweenk.pl@...400...> napisał:
Looks like there is no way in Launchpad to do this. I'm now uploading it with ~inkscape.dev as the owner.
The inkscape.dev-owned branch is now available at: lp:~inkscape.dev/inkscape/cairo-rendering
Building the branch 'cairo-renderer' (r9586) on Mac OS X 10.5.8 this time ran through without failure, but inkscape crashes when launching the GUI ('inkscape --version' or 'inkscape--verb-list' is ok). Preferences are default (new).
Backtrace attached - a proposed fix by Johan on jabber didn't help:
in /display/nr-style.cpp try changing from line 198 to : void NRStyle::update() { // force pattern update if (fill_pattern) cairo_pattern_destroy(fill_pattern); if (stroke_pattern) cairo_pattern_destroy(stroke_pattern); fill_pattern = NULL; stroke_pattern = NULL; } maybe that will fix your crash
Dependencies (using the X11 backend of GTK+): gtk2 @2.24.4 gtkmm @2.22.0 glib2 @2.28.5 glibmm @2.24.2 cairo @1.10.2
~suv
Program received signal EXC_BAD_ACCESS, Could not access memory. Reason: KERN_INVALID_ADDRESS at address: 0xf0f0f0f4 0x02fbadfc in cairo_pattern_destroy () (gdb) bt #0 0x02fbadfc in cairo_pattern_destroy () #1 0x0027edc7 in NRStyle::update () at display/nr-style.cpp:201 #2 0x0027edc7 in NRStyle::set (this=0xf0f0f0f0, style=0x6887b70) at display/nr-style.cpp:140 #3 0x00258941 in nr_arena_shape_set_style (shape=0x643ce00, style=0x6887b70) at display/nr-arena-shape.cpp:543 #4 0x0018f7c8 in SPShape::sp_shape_show (item=0x65f1a28, arena=0x4fa6f80) at sp-shape.cpp:859 #5 0x001572a0 in SPItem::invoke_show (this=0x65f1a28, arena=0x4fa6f80, key=1, flags=1) at sp-item.cpp:1045 #6 0x00158b26 in CGroup::_showChildren (this=0x6887ad0, arena=0x4fa6f80, ai=0x4fa8a00, key=1, flags=1) at sp-item-group.cpp:770 #7 0x001599b0 in CGroup::show (this=0x6887ad0, arena=0x4fa6f80, key=1, flags=1) at sp-item-group.cpp:757 #8 0x0015b792 in sp_group_show (item=0x65f4120, arena=0x4fa6f80, key=1, flags=1) at sp-item-group.cpp:319 #9 0x001572a0 in SPItem::invoke_show (this=0x65f4120, arena=0x4fa6f80, key=1, flags=1) at sp-item.cpp:1045 #10 0x001a7346 in sp_use_show (item=0x37061a8, arena=0x4fa6f80, key=1, flags=1) at sp-use.cpp:359 #11 0x001572a0 in SPItem::invoke_show (this=0x37061a8, arena=0x4fa6f80, key=1, flags=1) at sp-item.cpp:1045 #12 0x00158b26 in CGroup::_showChildren (this=0x6200720, arena=0x4fa6f80, ai=0x4fa8c00, key=1, flags=1) at sp-item-group.cpp:770 #13 0x001599b0 in CGroup::show (this=0x6200720, arena=0x4fa6f80, key=1, flags=1) at sp-item-group.cpp:757 #14 0x0015b792 in sp_group_show (item=0x3739218, arena=0x4fa6f80, key=1, flags=1) at sp-item-group.cpp:319 #15 0x001890cd in sp_root_show (item=0x3739218, arena=0x4fa6f80, key=1, flags=1) at sp-root.cpp:622 #16 0x001572a0 in SPItem::invoke_show (this=0x3739218, arena=0x4fa6f80, key=0, flags=57905688) at sp-item.cpp:1045 #17 0x004126c6 in IconImpl::load_svg_pixels (names=@0xbfffebcc, psize=16, stride=@0xbfffebf4) at widgets/icon.cpp:1296 #18 0x00413fad in IconImpl::prerenderIcon (name=0x5db439c "edit-select-all-layers", lsize=GTK_ICON_SIZE_SMALL_TOOLBAR, psize=16) at widgets/icon.cpp:1430 #19 0x00415a6f in Inkscape::queueIconPrerender (name=@0xbfffed0c, lsize=Inkscape::ICON_SIZE_SMALL_TOOLBAR) at widgets/icon.cpp:1339 #20 0x00427999 in create_action_for_verb (verb=0x2, view=<value temporarily unavailable, due to optimizations>, size=Inkscape::ICON_SIZE_SMALL_TOOLBAR) at widgets/select-toolbar.cpp:387 #21 0x00429434 in sp_select_toolbox_prep (desktop=0x4fa3d80, mainActions=0x5f39428, holder=0x37de0a8) at widgets/select-toolbar.cpp:405 #22 0x00458af4 in setup_aux_toolbox (toolbox=0x507e328, desktop=0x4fa3d80) at widgets/toolbox.cpp:1901 #23 0x0044a560 in Inkscape::UI::ToolboxFactory::setToolboxDesktop (toolbox=0x507e328, desktop=0x4fa3d80) at widgets/toolbox.cpp:1667 #24 0x00491232 in std::_Rb_tree<SPDesktop*, std::pair<SPDesktop* const, std::vector<_GtkWidget*, std::allocator<_GtkWidget*> > >, std::_Select1st<std::pair<SPDesktop* const, std::vector<_GtkWidget*, std::allocator<_GtkWidget*> > > >, std::less<SPDesktop*>, std::allocator<std::pair<SPDesktop* const, std::vector<_GtkWidget*, std::allocator<_GtkWidget*> > > > >::_M_begin () at stl_tree.h:230 #25 0x00491232 in std::map<SPDesktop*, std::vector<_GtkWidget*, std::allocator<_GtkWidget*> >, std::less<SPDesktop*>, std::allocator<std::pair<SPDesktop* const, std::vector<_GtkWidget*, std::allocator<_GtkWidget*> > > > >::lower_bound () at ui/uxmanager.cpp:1146 #26 std::_Rb_tree<SPDesktop*, std::pair<SPDesktop* const, std::vector<_GtkWidget*, std::allocator<_GtkWidget*> > >, std::_Select1st<std::pair<SPDesktop* const, std::vector<_GtkWidget*, std::allocator<_GtkWidget*> > > >, std::less<SPDesktop*>, std::allocator<std::pair<SPDesktop* const, std::vector<_GtkWidget*, std::allocator<_GtkWidget*> > > > >::lower_bound () at stl_tree.h:336 #27 Inkscape::UI::UXManagerImpl::connectToDesktop (this=0x5d0e030, toolboxes=@0xbffff0d8, desktop=0x4fa3d80) at stl_map.h:540 #28 0x003fad2f in ~_Vector_base [inlined] () at widgets/desktop-widget.cpp:1476 #29 0x003fad2f in ~vector [inlined] () at stl_vector.h:273 #30 0x003fad2f in SPDesktopWidget::createInstance (namedview=0x370f7f0) at widgets/desktop-widget.cpp:1478 #31 0x003faec2 in sp_desktop_widget_new (namedview=0x370f7f0) at widgets/desktop-widget.cpp:1425 #32 0x00078152 in sp_file_new (templ=@0xbffff1ac) at file.cpp:125 #33 0x0007878a in sp_file_new_default () at file.cpp:177 #34 0x0000557e in ptr_fun<bool> [inlined] () at functors/ptr_fun.h:982 #35 0x0000557e in sp_main_gui (argc=1, argv=0xbffff2d0) at main.cpp:985 #36 0x00004216 in start () (gdb) quit