Re: [Inkscape-devel] [Bug 307195] [NEW] crash with two inkscape instances when changing layer
Bulia,
I attached the patch to the bug tracker.
The problem is easy to reproduce as described in the tracker.
pls check. Adib. ---
On Thu, Sep 10, 2009 at 12:36 AM, Launchpad Bug Tracker<307195@...1882...> wrote:
You have been subscribed to a public bug:
Steps to reproduce:
* open first file * open second file * in first window show layers dialog * in second window select (click) some object on canvas * in first window change layer -> crash
Linux, SVN Revision: 20351
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1247754000 (LWP 10472)] 0x081b5e33 in SPDesktop::currentRoot () at io/base64stream.cpp:74 74 */ Current language: auto; currently c++ (gdb) backtrace #0 0x081b5e33 in SPDesktop::currentRoot () at io/base64stream.cpp:74 #1 0x083eb175 in Inkscape::UI::Dialogs::LayersPanel::_pushTreeSelectionToCurrent () at io/base64stream.cpp:74 #2 0x083f3ff3 in sigc::bound_mem_functor0<void, Inkscape::UI::Dialogs::LayersPanel>::operator() () at io/base64stream.cpp:74 #3 0x083f400a in sigc::adaptor_functor<sigc::bound_mem_functor0<void, Inkscape::UI::Dialogs::LayersPanel> >::operator() () at io/base64stream.cpp:74 #4 0x083f4026 in sigc::internal::slot_call0<sigc::bound_mem_functor0<void, Inkscape::UI::Dialogs::LayersPanel>, void>::call_it () at io/base64stream.cpp:74 #5 0xb7b83526 in Glib::SignalProxyNormal::slot0_void_callback () from /usr/lib/libglibmm-2.4.so.1 #6 0xb76f2207 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0 #7 0x00000000 in ?? () (gdb)
More precisely, the access on _layer_hierarchy seems to produce the crash.
SPObject *SPDesktop::currentRoot() const { return _layer_hierarchy ? // <- crashes here _layer_hierarchy->top() : NULL; }
** Affects: inkscape Importance: High Assignee: theAdib (theadib) Status: In Progress
** Tags: crash layers regression
crash with two inkscape instances when changing layer https://bugs.launchpad.net/bugs/307195 You received this bug notification because you are a bug assignee.
participants (1)
-
the Adib