That one I was able to reproduce. Committed fix to trunk.
-Nicholas
On Jan 17, 2008 6:47 PM, Felipe Sanches <felipe.sanches@...400...> wrote:
can you please check whether this procedure crashes on your computer, please?
svn r17117: 1.open the file: http://tavmjong.free.fr/INKSCAPE/W3C_SVG/svggen/filters-comptran-01-b.svg
- open the filter effects dialog
- at the filters column, click on any of the 4 available filters ()
inkscape crashes
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1228892464 (LWP 26598)] 0xb7e361ad in Gtk::Widget::set_sensitive () from /usr/lib/libgtkmm-2.4.so.1 (gdb) bt #0 0xb7e361ad in Gtk::Widget::set_sensitive () from /usr/lib/libgtkmm-2.4.so.1 #1 0x08210085 in Inkscape::UI::Dialog::FilterEffectsDialog::update_settings_sensitivity (this=0xb1f6a00) at ui/dialog/filter- effects-dialog.cpp:2137 #2 0x08210274 in Inkscape::UI::Dialog::FilterEffectsDialog::update_settings_view (this=0xb1f6a00) at ui/dialog/filter-effects-dialog.cpp:2105 #3 0x08215107 in Inkscape::UI::Dialog::FilterEffectsDialog::PrimitiveList::on_primitive_selection_changed (this=0xb1f6c9c) at /usr/include/sigc++-2.0/sigc++/signal.h:544 #4 0xb7b1433a in Glib::SignalProxyNormal::slot0_void_callback () from /usr/lib/libglibmm-2.4.so.1 #5 0xb75109d9 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject- 2.0.so.0 #6 0xb750362b in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0 #7 0xb75143f1 in ?? () from /usr/lib/libgobject-2.0.so.0 #8 0x0b1fe3e0 in ?? () #9 0x00000000 in ?? () (gdb)
On Jan 17, 2008 8:58 PM, Felipe Sanches <felipe.sanches@...400...> wrote:
yeah, you're right. I have compiler r17109 and it crashes too.
So, your patch is ok an I will extend it to the other filters not
implemented yet.
I will also investigate what happens on feimage that makes it crash
On Jan 17, 2008 8:01 PM, Nicholas Bishop <nicholasbishop@...400...> wrote:
Could you check to be sure that this crash wasn't already happening before the change I committed? I begin to suspect the crash may be caused by something in the filter rendering code, rather than the UI. Unfortunately it appears that your build is either lacking debugging symbols, or there's a corrupt stackframe, so it's hard to be sure exactly what's going on.
-Nicholas
On Jan 17, 2008 4:55 PM, Felipe Sanches < felipe.sanches@...400...>
wrote:
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1228294448 (LWP 19042)] 0xb6ef7989 in free () from /lib/libc.so.6 (gdb) bt #0 0xb6ef7989 in free () from /lib/libc.so.6 #1 0xb734f131 in g_free () from /usr/lib/libglib- 2.0.so.0 #2 0xb77621cd in ?? () from /usr/lib/libgdk_pixbuf-2.0.so.0 #3 0xb4290008 in ?? () #4 0xb7774450 in ?? () from /usr/lib/libgdk_pixbuf-2.0.so.0 #5 0xbfc9a858 in ?? () #6 0xb7761c70 in ?? () from /usr/lib/libgdk_pixbuf- 2.0.so.0 #7 0xb4290008 in ?? () #8 0x00000000 in ?? () (gdb)
I dont know whether this is useful (or it I did it right) Please tell
me if
this is not what you need.
On Jan 17, 2008 7:28 PM, Nicholas Bishop < nicholasbishop@...400...>
wrote:
Still no crash for me. Can you send me a backtrace?
-Nicholas
On Jan 17, 2008 4:20 PM, Felipe Sanches < felipe.sanches@...400...>
wrote:
you should also download the png and place it on ../images
http://tavmjong.free.fr/INKSCAPE/W3C_SVG/images/image1.jpg
On Jan 17, 2008 7:18 PM, Felipe Sanches <
felipe.sanches@...400...>
wrote:
> > I have used this test from the W3C SVG test suite: >
http://tavmjong.free.fr/INKSCAPE/W3C_SVG/htmlInkscapeHarness/full-filters-im...
> > > > > > > > On Jan 17, 2008 7:09 PM, Nicholas Bishop <
nicholasbishop@...400...>
wrote:
> > > Hmm, I wasn't able to reproduce this, although I've tried
several
> > files. Can you send me a file that crashes for you? > > > > -Nicholas > > > > > > > > > > On Jan 17, 2008 3:23 PM, Felipe Sanches <
felipe.sanches@...400...>
wrote: > > > no. It's not OK. It is crashing. > > > > > > steps to reproduce: > > > 1. open a .svg that uses feImage > > > 2. open the filter effects dialog > > > 3. select the filter that uses the feImage primitive > > > 4. try to add another primitive > > > > > > then it crashes > > > > > > Program received signal SIGSEGV, Segmentation fault. > > > [Switching to Thread -1228871984 (LWP 15357)] > > > 0xb6e6a989 in free () from /lib/libc.so.6 > > > > > > > > > > > > >