On revision 8938:
Program received signal SIGSEGV, Segmentation fault. 0x000000000047c747 in persp3d_VP_is_finite (persp_impl=0x0, axis=Proj::X) at persp3d.cpp:331 331 persp3d_VP_is_finite (Persp3DImpl *persp_impl, Proj::Axis axis) { (gdb) bt #0 0x000000000047c747 in persp3d_VP_is_finite (persp_impl=0x0, axis=Proj::X) at persp3d.cpp:331 #1 0x00000000007191ba in box3d_toolbox_prep (desktop=0x1997c00, mainActions=<value optimized out>, holder=0x2905b40) at widgets/toolbox.cpp:3464 #2 0x000000000070d2ff in setup_aux_toolbox (toolbox=<value optimized out>, desktop=0x1997c00) at widgets/toolbox.cpp:1745 #3 0x00000000006fe485 in toolbox_set_desktop (toolbox=0x1144e70, desktop=0x1997c00, setup_func=0x70d070 <setup_aux_toolbox>, update_func=0x6fe750 <update_aux_toolbox>, conn=0x28fde80) at widgets/toolbox.cpp:1635 #4 0x00000000006d96a1 in sp_desktop_widget_new (namedview=0x1f78030) at widgets/desktop-widget.cpp:1378 #5 0x00000000004627b4 in sp_file_new (templ=<value optimized out>) at file.cpp:129 #6 0x0000000000462aee in sp_file_new_default () at file.cpp:177 #7 0x0000000000453ef7 in sp_main_gui (argc=1, argv=0x7fffffffe3f8) at main.cpp:949 #8 0x0000000000453419 in main (argc=1, argv=<value optimized out>) at main.cpp:689
Maximilian? :)
Alexandre
On 2/1/10 23:58, Alexandre Prokoudine wrote:
On revision 8938:
Program received signal SIGSEGV, Segmentation fault. 0x000000000047c747 in persp3d_VP_is_finite (persp_impl=0x0, axis=Proj::X) at persp3d.cpp:331 331 persp3d_VP_is_finite (Persp3DImpl *persp_impl, Proj::Axis axis) { (gdb) bt
Bug #500507 https://bugs.launchpad.net/inkscape/+bug/500507 “crash on opening a document with 'inkscape:perspective' in <defs>”:
~suv
2010/1/2 ~suv <suv-sf@...58...>:
On 2/1/10 23:58, Alexandre Prokoudine wrote:
On revision 8938:
Program received signal SIGSEGV, Segmentation fault. 0x000000000047c747 in persp3d_VP_is_finite (persp_impl=0x0, axis=Proj::X) at persp3d.cpp:331 331 persp3d_VP_is_finite (Persp3DImpl *persp_impl, Proj::Axis axis) { (gdb) bt
Bug #500507 https://bugs.launchpad.net/inkscape/+bug/500507 “crash on opening a document with 'inkscape:perspective' in <defs>”:
Sorry, guys!!! I was cut off the internet for a while and only saw this now, but I'll try to look into it as soon as possible (when I'm at my Laptop again).
Max
On Jan 3, 2010, at 8:50 AM, Maximilian Albert wrote:
Sorry, guys!!! I was cut off the internet for a while and only saw this now, but I'll try to look into it as soon as possible (when I'm at my Laptop again).
I just tripped over it with a simple (well, large file) map from Wikipedia.
When launched directly, it appears the document does not have things set up but the toolbox tries to use it:
Persp3DImpl *persp_impl = document->getCurrentPersp3DImpl();
is null in
static void box3d_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GObject* holder)
Hi all,
I finally got access to my code repository again and committed a quick fix to avoid the crash. Sorry for the long delay despite the apparent severity of the bug!!! I will have to double-check whether my fix is the 'correct' solution (as in, if something should prevent the pointer from being NULL in the first place) but at least it shouldn't affect users any more.
Max
participants (4)
-
Alexandre Prokoudine
-
Jon Cruz
-
Maximilian Albert
-
~suv