Problem in extension with float value

Bug #1112441 reported by suresh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Unassigned

Bug Description

Hi,

Today while playing with extension, I found one strange problem. I was trying to fill some text with Eggbot extension. I draw text, convert it to path and open "Hatchfill" extension of Eggbot, later I decided to not to fill the text, rather open one drawing for editing, which was pending from last 2 days, so I press ESC from the keyboard and I got Segmentation Fault. When I opened the hatch fill dialog focus was set in first spin button, after I found that inkscape crash with every extension If i try to set some value and rather apply press ESC from the keyboard and inkscape crash.

Below is the gdb log when it crashes on float.cpp.

(gdb) up
#1 0x08095be0 in std::list<sigc::slot_base, std::allocator<sigc::slot_base> >::insert (this=0xc54f138, __position=..., __x=...)
    at /usr/include/c++/4.4/bits/list.tcc:101
101 __tmp->hook(__position._M_node);
(gdb)
#2 0x0823e376 in temp_slot_list (this=0xb3e8bd0) at /usr/include/sigc++-2.0/sigc++/signal_base.h:182
182 placeholder = slots_.insert(slots_.end(), slot_base());
(gdb)
#3 sigc::internal::signal_emit0<void, sigc::nil>::emit (this=0xb3e8bd0) at /usr/include/sigc++-2.0/sigc++/signal.h:770
770 temp_slot_list slots(impl->slots_);
(gdb)
#4 sigc::signal0<void, sigc::nil>::emit (this=0xb3e8bd0) at /usr/include/sigc++-2.0/sigc++/signal.h:2671
2671 { return emitter_type::emit(impl_); }
(gdb)
#5 Inkscape::Extension::ParamFloatAdjustment::val_changed (this=0xb3e8bd0) at extension/param/float.cpp:135
135 _changeSignal->emit();

Please look into this bug and If possible give solution, so that I can use extension. Please let me know if you not able to regenerate the bug.

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

- not reproduced on Windows XP, Inkscape rev 12066.
- however, there is a noticeable difference between trunk and Inkscape 0.48.4 in the behaviour of a spin box after editing and hitting Escape button, trunk is better imho.
- could you indicate which OS?, which version of Inkscape?, which extensions other than Hatchfill show this behaviour?

Revision history for this message
suresh (suresh-meetsme) wrote :

@Alvin,

OS: Ubuntu 10.04 LTS
Inkscape version: Inkscape 0.48.1 r

Yes, it is crashing with other extension also, I have also tried Polyhedron extension, it keeps crashing at the same position.

Let me know If you need more information.

Revision history for this message
suresh (suresh-meetsme) wrote :

Any updates...?

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

is it possible for you to upgrade to a newer version, such as Inkscape 0.48.4, or a development build?

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

>> inkscape crash with every extension If i try to set some value and
>> rather apply press ESC from the keyboard and inkscape crash.
>
> Inkscape version: Inkscape 0.48.1 r

Not reproduced with Inkscape 0.48.1 on OS X 10.7.4 (64bit) and Mac OS X 10.5.8 (32bit Intel), using the official Mac OS X package (32bit, compiled with '-O3').

su_v (suv-lp)
tags: added: crash extensions-plugins
removed: extensions
Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Windows XP, Inkscape 0.48.4.
Not reproduced with trunk revision 12119.

Steps:
1. Open a blank new document.
2. Launch Extensions>Render>Barcode
3. Double-click on the Bar Height value.
4. Set another value with the keyboard (not with the arrows!).
5. Press the Esc key.

Changed in inkscape:
importance: Undecided → High
milestone: none → 0.49
status: New → Fix Committed
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
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.