segfault when duplicate curve is moved by arrows

Bug #505400 reported by r
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
High
Unassigned

Bug Description

I am using inkscape (0.47.0-1ubuntu2) in Karmic Koala (had to update a few libs from Lucid Lynx to get it to work). I'm also having the same crash on Mac OS (will gdb that next) and have to try on Windows.

Here is the gdb:

Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
[New Thread 0xb760ab70 (LWP 3136)]

Program received signal SIGSEGV, Segmentation fault.
0x08282072 in ?? ()
(gdb) bt
#0 0x08282072 in ?? ()
#1 0x080ef3d2 in ?? ()
#2 0x0810f363 in ?? ()
#3 0x080f49ad in ?? ()
#4 0x080c3b57 in ?? ()
#5 0x080c3f34 in ?? ()
#6 0x080c40ec in ?? ()
#7 0x08547205 in ?? ()
#8 0x08093bf1 in ?? ()
#9 0x08242ecf in ?? ()
#10 0x00d96072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#11 0x00dab7a8 in ?? () from /usr/lib/libgobject-2.0.so.0
#12 0x00dac9b8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#13 0x011dd8de in gtk_signal_emit () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x0856ee06 in ?? ()
#15 0x0856ee67 in ?? ()
#16 0x08243168 in ?? ()
#17 0x00d946f9 in ?? () from /usr/lib/libgobject-2.0.so.0
#18 0x00d96072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#19 0x00dab49e in ?? () from /usr/lib/libgobject-2.0.so.0
#20 0x00dac9b8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#21 0x011dd8de in gtk_signal_emit () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x081bcacf in ?? ()
#23 0x01059474 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00d946f9 in ?? () from /usr/lib/libgobject-2.0.so.0
#25 0x00d95f98 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#26 0x00dab49e in ?? () from /usr/lib/libgobject-2.0.so.0
#27 0x00dac9b8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#28 0x00dacfb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#29 0x0117595e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x0118a44a in gtk_window_propagate_key_event ()
   from /usr/lib/libgtk-x11-2.0.so.0
#31 0x0118d6dc in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#32 0x00577b81 in Gtk::Widget_Class::key_press_event_callback(_GtkWidget*, _GdkEventKey*) () from /usr/lib/libgtkmm-2.4.so.1
#33 0x01059474 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#34 0x00d946f9 in ?? () from /usr/lib/libgobject-2.0.so.0
#35 0x00d96072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#36 0x00dab49e in ?? () from /usr/lib/libgobject-2.0.so.0
#37 0x00dac9b8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#38 0x00dacfb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#39 0x0117595e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#40 0x01051ceb in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#41 0x01052ea9 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#42 0x0025a62a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#43 0x00c18e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#44 0x00c1c730 in ?? () from /lib/libglib-2.0.so.0
#45 0x00c1cb9f in g_main_loop_run () from /lib/libglib-2.0.so.0
#46 0x01053419 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#47 0x004ec5e7 in Gtk::Main::run_impl() () from /usr/lib/libgtkmm-2.4.so.1
#48 0x004ec3e2 in Gtk::Main::run() () from /usr/lib/libgtkmm-2.4.so.1
#49 0x0808856b in ?? ()
#50 0x08164cea in ?? ()
#51 0x080879f2 in ?? ()
#52 0x0461eb56 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#53 0x08086aa1 in ?? ()

jazzynico (jazzynico)
Changed in inkscape:
importance: Undecided → High
jazzynico (jazzynico)
tags: added: crash
Revision history for this message
jazzynico (jazzynico) wrote :

Could you please provide some detailed steps to reproduce this bug?

I've tried (Ubuntu 9.10, Inkscape 0.47pre4 and bzr8961) with:
1. Draw a path with the pencil (or a shape with the rectangle tool).
2. Duplicate with Ctrl+D.
3. Move the path with the keyboard arrows.
But everything works as expected (no crash).

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

not reproduced with Inkscape 0.47 r22583 and Inkscape 0.47+devel r8961 on OS X 10.5.8, with default preferences

I tried these steps:
1) open new document
2) draw curve: 'b', drag-click, drag-click, return
3) switch to select tool & duplicate: <space>, <ctrl>+d
4) use arrow keys to move the duplicate path

no crash.

Revision history for this message
r (endura29) wrote : Re: [Bug 505400] Re: segfault when duplicate curve is moved by arrows
Download full text (6.1 KiB)

Here is how I reproduced it with Inkscape 0.47 r22583 on Mac OS X 10.6
0) gdb Inkscape in /Applications/Inkscape.app/MacOS/
1) open new document
2) draw freehand lines (sorry I didn't realize you have a different curve
button, I thought of this one as curve. Might be the confusion right
there...) alt + p
3) drag-click, release
4) alt + s for cursor
5) control + d for duplicate
6) shift + right arrow for move to the side.
7) repeat 4x, on the 5th freehand line/curve, inkscape crashes: "Inkscape
encountered an error"
8) click "Close"
9) type bt enter but this didn't give me info like when I did the same thing
in Inkscape in Ubuntu.

Here is the gdb for this though:

gdb) run
Starting program: /Applications/Inkscape.app/Contents/MacOS/Inkscape
Reading symbols for shared libraries
.+++++++.......................................................................................
done
Reading symbols for shared libraries . done
Reading symbols for shared libraries ...... done
Warning: AppleCollationOrder setting not found, using AppleLocale.
Setting Language: .UTF-8

(process:83522): Gtk-WARNING **: Locale not supported by C library.
Using the fallback 'C' locale.
Xlib: extension "RANDR" missing on display "/tmp/launch-Vv2XL0/:0".

(inkscape-bin:83522): Gtk-WARNING **: Could not find the icon
'object-visible'. The 'hicolor' theme
was not found either, perhaps you need to install it.
You can get a copy from:
http://icon-theme.freedesktop.org/releases

Emergency save activated!

Emergency save document locations:
  /Users/Ga/New document 1.2010_01_10_20_29_50.0.svg
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix
it.

bt

Program exited normally.
--------

I will do this again in Ubuntu in another few hours as I have some work to
get back to, but thanks for the quick response guys that was awesome. :-)

~R

On Sun, Jan 10, 2010 at 4:21 AM, ~suv <email address hidden> wrote:

> not reproduced with Inkscape 0.47 r22583 and Inkscape 0.47+devel r8961
> on OS X 10.5.8, with default preferences
>
> I tried these steps:
> 1) open new document
> 2) draw curve: 'b', drag-click, drag-click, return
> 3) switch to select tool & duplicate: <space>, <ctrl>+d
> 4) use arrow keys to move the duplicate path
>
> no crash.
>
> --
> segfault when duplicate curve is moved by arrows
> https://bugs.launchpad.net/bugs/505400
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Inkscape: A Vector Drawing Tool: New
>
> Bug description:
> I am using inkscape (0.47.0-1ubuntu2) in Karmic Koala (had to update a few
> libs from Lucid Lynx to get it to work). I'm also having the same crash on
> Mac OS (will gdb that next) and have to try on Windows.
>
> Here is the gdb:
>
> Starting program: /usr/bin/inkscape
> [Thread debugging using libthread_db enabled]
> [New Thread 0xb760ab70 (LWP 3136)]
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x08282072 in ?? ()
> (gdb) bt
> #0 0x08282072 in ?? ()
> #1 0x080ef3d2 in ?? ()
> #2 0x0810f363 in ?? ()
> #3 0x080f49ad in ??...

Read more...

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

not reproduced with Inkscape 0.47 r22583 on OS X 10.5.8

Please attach the report saved in '~/Library/Logs/CrashReporter' or in '~/Library/Logs/DiagnosticReports' for the process 'inkscape-bin' with the time-stamp of this crash. It includes a full backtrace for the crash. You can't run gdb like on linux with a bundled OS X application - Contents/MacOS/Inkscape in this case is only a small launcher that didn't crash, thus you got no backtrace.

Revision history for this message
jazzynico (jazzynico) wrote :

Not reproduced on Windows XP, Inkscape 0.47 (no gdb).
Does it happen if you don't use gdb?

Revision history for this message
r (endura29) wrote :
Download full text (4.3 KiB)

Yes, it happens when I am not in gdb. Do you want me to make a film of it or
something like that?

Here are those crash reports.

I'm using a MacBook 2.4 GHz Intel Core 2 Duo w. 4 GB of ram and an Intel GMA
X3100 video card. This card had been a problem for Blender until the new
drivers came out with 10.6. Not sure if that might be it?

Let me know what else you might like me to do. I can perhaps try in a
Windows install?

Thanks

On Mon, Jan 11, 2010 at 2:31 AM, JazzyNico <email address hidden> wrote:

> Not reproduced on Windows XP, Inkscape 0.47 (no gdb).
> Does it happen if you don't use gdb?
>
> --
> segfault when duplicate curve is moved by arrows
> https://bugs.launchpad.net/bugs/505400
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Inkscape: A Vector Drawing Tool: New
>
> Bug description:
> I am using inkscape (0.47.0-1ubuntu2) in Karmic Koala (had to update a few
> libs from Lucid Lynx to get it to work). I'm also having the same crash on
> Mac OS (will gdb that next) and have to try on Windows.
>
> Here is the gdb:
>
> Starting program: /usr/bin/inkscape
> [Thread debugging using libthread_db enabled]
> [New Thread 0xb760ab70 (LWP 3136)]
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x08282072 in ?? ()
> (gdb) bt
> #0 0x08282072 in ?? ()
> #1 0x080ef3d2 in ?? ()
> #2 0x0810f363 in ?? ()
> #3 0x080f49ad in ?? ()
> #4 0x080c3b57 in ?? ()
> #5 0x080c3f34 in ?? ()
> #6 0x080c40ec in ?? ()
> #7 0x08547205 in ?? ()
> #8 0x08093bf1 in ?? ()
> #9 0x08242ecf in ?? ()
> #10 0x00d96072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
> #11 0x00dab7a8 in ?? () from /usr/lib/libgobject-2.0.so.0
> #12 0x00dac9b8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
> #13 0x011dd8de in gtk_signal_emit () from /usr/lib/libgtk-x11-2.0.so.0
> #14 0x0856ee06 in ?? ()
> #15 0x0856ee67 in ?? ()
> #16 0x08243168 in ?? ()
> #17 0x00d946f9 in ?? () from /usr/lib/libgobject-2.0.so.0
> #18 0x00d96072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
> #19 0x00dab49e in ?? () from /usr/lib/libgobject-2.0.so.0
> #20 0x00dac9b8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
> #21 0x011dd8de in gtk_signal_emit () from /usr/lib/libgtk-x11-2.0.so.0
> #22 0x081bcacf in ?? ()
> #23 0x01059474 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #24 0x00d946f9 in ?? () from /usr/lib/libgobject-2.0.so.0
> #25 0x00d95f98 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
> #26 0x00dab49e in ?? () from /usr/lib/libgobject-2.0.so.0
> #27 0x00dac9b8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
> #28 0x00dacfb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
> #29 0x0117595e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #30 0x0118a44a in gtk_window_propagate_key_event ()
> from /usr/lib/libgtk-x11-2.0.so.0
> #31 0x0118d6dc in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #32 0x00577b81 in Gtk::Widget_Class::key_press_event_callback(_GtkWidget*,
> _GdkEventKey*) () from /usr/lib/libgtkmm-2.4.so.1
> #33 0x01059474 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
> #34 0x00d946f9 in ?? () from /usr/lib/libgobject-2.0.so.0
> #35 0x00d96072 in g_closure_invoke...

Read more...

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

reproduced with Inkscape 0.47 r22853 on OS X 10.5.8

steps to reproduce:
1) new document
2) pen tool: Spiro mode, Smoothing 50, Shape 'Triangle in'
3) draw curve: drag-click fast or click twice to create a straight short path (without typical spiro splines)
4) select (<space>), duplicate (ctrl+d), move (<shift>+cursor), pen (<space>)
5) repeat 3+4 until crash

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

reproduced with Inkscape 0.47+devel r8972 custom on OS X 10.5.8

Changed in inkscape:
status: New → Confirmed
su_v (suv-lp)
tags: added: livepatheffects
Revision history for this message
Johan Engelen (johanengelen) wrote :

I can't make it crash (Windows, r9199).
The backtraces are very different too, so... don't know if it is the same crash all the time.
Can you try with a build with more debug info? (line numbers)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.