copy/paste crashes Inkscape

Bug #308456 reported by Janne Moren
6
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

I tried to copy and paste an object - a rectangle. I would open inkscape, draw a rectangle, right-click to select "copy", then right-click to select "paste". This would crash inkscape every time. Then I noticed that just selecting "paste" without even selecting "copy" first is enough; it is likely trying to refer to some earlier data in the clipboard that is no longer there.

If I make sure the clipboard is empty before opening inkscape things work normally.

Backtrace for "paste" only:

(gdb) bt
#0 0xb7f44430 in __kernel_vsyscall ()
#1 0xb6668880 in raise () from /lib/tls/i686/cmov/libc.so.6
#2 0xb666a248 in abort () from /lib/tls/i686/cmov/libc.so.6
#3 0xb68a66f8 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#4 0xb68a45d5 in ?? () from /usr/lib/libstdc++.so.6
#5 0xb68a4612 in std::terminate () from /usr/lib/libstdc++.so.6
#6 0xb68a474a in __cxa_throw () from /usr/lib/libstdc++.so.6
#7 0xb7a85313 in Glib::FileError::throw_func ()
   from /usr/lib/libglibmm-2.4.so.1
#8 0xb7a92122 in Glib::Error::throw_exception ()
   from /usr/lib/libglibmm-2.4.so.1
#9 0xb7b6f9f3 in Gdk::Pixbuf::save () from /usr/lib/libgdkmm-2.4.so.1
#10 0x080a9716 in ?? ()
#11 0x083b523d in ?? ()
#12 0xb724e3d4 in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
#13 0xb7240c4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0xb7257095 in ?? () from /usr/lib/libgobject-2.0.so.0
#15 0xb72587ac in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0xb7258c26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#17 0xb778a477 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#18 0xb767cf70 in gtk_menu_shell_activate_item ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb767eb4d in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#20 0xb76754fb in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#21 0xb766f036 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#22 0xb723f3c9 in ?? () from /usr/lib/libgobject-2.0.so.0
#23 0xb7240c4b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#24 0xb7256d3d in ?? () from /usr/lib/libgobject-2.0.so.0
#25 0xb725862b in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#26 0xb7258c26 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0xb778433e in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#28 0xb7667b4c in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
#29 0xb7668ef7 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#30 0xb74ff50a in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#31 0xb71a36f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#32 0xb71a6da3 in ?? () from /usr/lib/libglib-2.0.so.0
#33 0xb71a72c2 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#34 0xb76693a9 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#35 0xb7dad4c7 in Gtk::Main::run_impl () from /usr/lib/libgtkmm-2.4.so.1
#36 0xb7dad2c2 in Gtk::Main::run () from /usr/lib/libgtkmm-2.4.so.1
#37 0x080864c9 in ?? ()
#38 0x081c5652 in ?? ()
#39 0x080868fd in ?? ()
#40 0xb6653685 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
---Type <return> to continue, or q <return> to quit---
#41 0x08085931 in ?? ()
(gdb)

Revision history for this message
Alvin Penner (apenner) wrote :

- is this the stable release of Inkscape 0.46 from April 1?
- if so, the copy/paste routine has been rewritten since then, you may want to try a more recent development build.

Revision history for this message
Janne Moren (jan-moren-gmail) wrote :

It's what Ubuntu ships with Intrepid (8.10). It's easy enough to get around so I'll just wait until it is updated in the repositories.

Revision history for this message
mahfiaz (mahfiaz) wrote :

If you are adventurous the you can follow instructions at http://www.inkscape.org/wiki/index.php/CompilingUbuntu to see if development version has it fixed.

Revision history for this message
David Nadasi (macrophone) wrote :

I've got exactly the same problem with Inkscape 0.46 (built Oct 24 2008) shipped on Ubuntu 8.10.

Revision history for this message
pumpkin (pumpkin-gmx) wrote :

Same thing here. Ubuntu 8.10, with all updates, release 0.46 Oct 24 2008. But there is a workaround: create a new, empty layer before doing the first paste.

I guess nobody is using it, cause bugs like that alienate most users first go.

summary: - copyt/paste crashes Inkscape
+ copy/paste crashes Inkscape
tags: added: clipboard crash
Revision history for this message
su_v (suv-lp) wrote :

Marking this report as duplicate of bug #211607. if you don't agree please add a comment and revert the duplicate status.

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.