Replace color extension crashes

Bug #1276917 reported by oscar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

Ubuntu 12.04 32 bits, Kernel Linux 3.2.0-58-generic-pae (verified on two computers)
Inkscape 0.48.3.1 r9886

Extensions > Color > Replace color...
try changing FF0000 to FFFFFF
"... working, please wait ..."
Crashes

Log:
~~~~
oscar@DellHome:~/growth/plasticity$ gdb /usr/bin/inkscape
GNU gdb (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.launchpad.net/gdb-linaro/>...
Reading symbols from /usr/bin/inkscape...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/inkscape
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb7c5fb40 (LWP 4547)]
[New Thread 0xb72ffb40 (LWP 4548)]
[New Thread 0xb41f0b40 (LWP 4549)]
[Thread 0xb41f0b40 (LWP 4549) exited]
[New Thread 0xb41f0b40 (LWP 4596)]
[Thread 0xb41f0b40 (LWP 4596) exited]

Program received signal SIGSEGV, Segmentation fault.
0x083f1500 in Inkscape::Extension::Implementation::Script::effect(Inkscape::Extension::Effect*, Inkscape::UI::View::View*, Inkscape::Extension::Implementation::ImplementationDocumentCache*) ()
(gdb) bt
#0 0x083f1500 in Inkscape::Extension::Implementation::Script::effect(Inkscape::Extension::Effect*, Inkscape::UI::View::View*, Inkscape::Extension::Implementation::ImplementationDocumentCache*) ()
#1 0x08776013 in Inkscape::Extension::ExecutionEnv::run() ()
#2 0x083ec187 in Inkscape::Extension::Effect::effect(Inkscape::UI::View::View*) ()
#3 0x087766db in Inkscape::Extension::PrefDialog::on_response(int) ()
#4 0x002d5187 in Gtk::Dialog_Class::response_callback(_GtkDialog*, int) ()
   from /usr/lib/i386-linux-gnu/libgtkmm-2.4.so.1
#5 0x00ec16a3 in g_cclosure_marshal_VOID(int0_t) ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#6 0x00ebe2fd in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#7 0x00ebf484 in g_closure_invoke ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#8 0x00ed170d in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#9 0x00ed92cc in g_signal_emit_valist ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#10 0x00ed9443 in g_signal_emit ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#11 0x0080b942 in gtk_dialog_response ()
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#12 0x00ec1243 in g_cclosure_marshal_VOID__VOIDv ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#13 0x00ebf727 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#14 0x00ed8a19 in g_signal_emit_valist ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#15 0x00ed9443 in g_signal_emit ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#16 0x007d721a in gtk_button_clicked ()
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#17 0x007d8630 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#18 0x00ec11ec in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#19 0x00ebe2fd in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#20 0x00ebf484 in g_closure_invoke ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#21 0x00ed1535 in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#22 0x00ed92cc in g_signal_emit_valist ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#23 0x00ed9443 in g_signal_emit ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#24 0x007d713a in gtk_button_released ()
---Type <return> to continue, or q <return> to quit---
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#25 0x007d7184 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#26 0x008968a2 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#27 0x00ebe2fd in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#28 0x00ebf484 in g_closure_invoke ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#29 0x00ed170d in ?? () from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#30 0x00ed8fe5 in g_signal_emit_valist ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#31 0x00ed9443 in g_signal_emit ()
   from /usr/lib/i386-linux-gnu/libgobject-2.0.so.0
#32 0x009d0413 in ?? () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#33 0x00894a6e in gtk_propagate_event ()
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#34 0x00894e00 in gtk_main_do_event ()
   from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#35 0x00c1d758 in ?? () from /usr/lib/i386-linux-gnu/libgdk-x11-2.0.so.0
#36 0x00f47d46 in g_main_context_dispatch ()
   from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x00f480e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#38 0x00f4852b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#39 0x00893b8f in gtk_main () from /usr/lib/i386-linux-gnu/libgtk-x11-2.0.so.0
#40 0x00302194 in Gtk::Main::run_impl() ()
   from /usr/lib/i386-linux-gnu/libgtkmm-2.4.so.1
#41 0x00302bcf in Gtk::Main::run() ()
   from /usr/lib/i386-linux-gnu/libgtkmm-2.4.so.1
#42 0x0827192d in sp_main_gui(int, char const**) ()
#43 0x0834f9ad in Inkscape::NSApplication::Application::run() ()
#44 0x0824f52a in main ()
(gdb)
(gdb) quit
A debugging session is active.

 Inferior 1 [process 4544] will be killed.

Quit anyway? (y or n) y
oscar@DellHome:~/growth/plasticity$

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

Based on
> Inkscape 0.48.3.1 r9886
and the backtrace, this is likely another duplicate report of the known regression in Inkscape 0.48.3.1 (fixed in 0.48.4):
- Bug #944077 “inkscape crashed with SIGSEGV in Inkscape::Extension::Implementation::Script::effect()”
  <https://bugs.launchpad.net/inkscape/+bug/944077>

Workaround for affected files:
<https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/944077/comments/11>

Note that the same trigger (id string for <namedview> element) is e.g. present when opening PDF/PS/EPS files in Inkscape for editing, as described in
<https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/944077/comments/10>

Could you please attach a sample file which triggers this crash on your system to allow verification whether it is indeed the same underlying issue? (Note that the crash tracked in bug #944077 does not happen in a new document based on Inkscape's default template).

tags: added: crash extensions-plugins
Changed in inkscape:
status: New → Incomplete
Revision history for this message
oscar (garcia-unbc) wrote : Re: [Bug 1276917] Re: Replace color extension crashes

Thanks, the problem file is attached. The workaround works as advertised.

--
Oscar Garcia - Professor
FRBC / West Fraser Endowed Chair in Forest Growth and Yield
University of Northern British Columbia
3333 University Way, Prince George, B.C., Canada V2N 4Z9
Fax +1(250) 960-5539. Tel. +1(250) 960-5004
<email address hidden>, http://forestgrowth.unbc.ca, http://web.unbc.ca/~garcia

On 14-02-05 11:02 PM, ~suv wrote:
> Based on
>> Inkscape 0.48.3.1 r9886
> and the backtrace, this is likely another duplicate report of the known regression in Inkscape 0.48.3.1 (fixed in 0.48.4):
> - Bug #944077 “inkscape crashed with SIGSEGV in Inkscape::Extension::Implementation::Script::effect()”
> <https://bugs.launchpad.net/inkscape/+bug/944077>
>
> Workaround for affected files:
> <https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/944077/comments/11>
>
> Note that the same trigger (id string for <namedview> element) is e.g. present when opening PDF/PS/EPS files in Inkscape for editing, as described in
> <https://bugs.launchpad.net/ubuntu/+source/inkscape/+bug/944077/comments/10>
>
>
> Could you please attach a sample file which triggers this crash on your system to allow verification whether it is indeed the same underlying issue? (Note that the crash tracked in bug #944077 does not happen in a new document based on Inkscape's default template).
>
> ** Tags added: crash extensions-plugins
>
> ** Changed in: inkscape
> Status: New => Incomplete
>

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

Marking this report as duplicate of bug #944077 based on the reporter's feedback and the provided sample SVG file (with 'id="namedview5479"').

Changed in inkscape:
status: Incomplete → New
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

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