SVG file opening failed (inkscape:zoom)

Bug #626636 reported by Yann Papouin
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Medium
Unassigned

Bug Description

The file saved 2 days ago cannot be opened anymore (even with 0.48), the CPU load and memory footprint shows Inkscape activity.

I found a workaround to correctly load the file into inkscape, I changed (inkscape:zoom="1.8101934") to (inkscape:zoom="0.8101934").

I'm reporting this bug because it seems critical for a lambda user, the inscape activity let me think about an endless loop in the filter rendering.

Config:
Windows 7 64bits
Intel i7 860
Ram 4Go

Revision history for this message
Yann Papouin (yann-papouin) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Not reproduced with Inkscape 0.48 and 0.48+devel r9731 on OS X 10.5.8:

The file 'PN-AlarmeIntrusionBroken.svg' (unchanged) opens in Inkscape without error (besides the missing referenced bitmap files) and it does not hang when rendering the initial view / zoom level (but it takes some seconds for rendering, because it has to render it twice - the window is resized to full-screen mode).

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

Possibly similar issue as in bug #615556 “inkscape crashes on opening file”?

Can you test loading the file (without changing the zoom level) without loading the bitmap files as well? (i.e. temporarily move them to a different location, in the file manager).

Revision history for this message
Yann Papouin (yann-papouin) wrote :

The same thing happened when bitmaps are not found.

I'm adding something new, when the file is finally opened and I zoom-in/zoom-out quickly (with mousewheel) on the white rectangle with blue stroke on the bottom right of the page a crash occurred. I've done a trace of it:

Starting program: C:\Users\Yann\Documents\Depots\inkscape\inkscape/inkscape.exe
[New thread 2772.0x1344]
Error: dll starting at 0x77980000 not found.
Error: dll starting at 0x77180000 not found.
Error: dll starting at 0x77980000 not found.
Error: dll starting at 0x77aa0000 not found.
[New thread 2772.0x17e0]
[New thread 2772.0x119c]
[New thread 2772.0x1634]
[New thread 2772.0x140c]
[New thread 2772.0x7a0]
[New thread 2772.0x13c8]
[New thread 2772.0x12b0]
[New thread 2772.0xe6c]
[New thread 2772.0x12e0]
[New thread 2772.0x11d0]
[New thread 2772.0x9f8]

Program received signal SIGSEGV, Segmentation fault.
0x00979ae9 in Inkscape::Filters::Filter::render ()
(gdb) backtrace
#0 0x00979ae9 in Inkscape::Filters::Filter::render ()
#1 0x005f3640 in nr_arena_item_invoke_render ()
#2 0x00637061 in nr_arena_group_render ()
#3 0x005f2e43 in nr_arena_item_invoke_render ()
#4 0x00637061 in nr_arena_group_render ()
#5 0x005f33c2 in nr_arena_item_invoke_render ()
#6 0x00637061 in nr_arena_group_render ()
#7 0x005f33c2 in nr_arena_item_invoke_render ()
#8 0x00710191 in sp_canvas_arena_render ()
#9 0x0056ddf6 in sp_canvas_group_render ()
#10 0x0056ddf6 in sp_canvas_group_render ()
#11 0x0057022c in sp_canvas_paint_rect_internal ()
#12 0x0056fbf0 in sp_canvas_paint_rect_internal ()
#13 0x0056fbf0 in sp_canvas_paint_rect_internal ()
#14 0x0056fbf0 in sp_canvas_paint_rect_internal ()
#15 0x0056faf2 in sp_canvas_paint_rect_internal ()
#16 0x0056fbf0 in sp_canvas_paint_rect_internal ()
#17 0x005705cc in sp_canvas_paint_rect ()
#18 0x00570b48 in do_update ()
#19 0x00570c18 in idle_handler ()
#20 0x685eb50b in g_main_context_dispatch () from C:\Users\Yann\Documents\Depots\inkscape\inkscape\libglib-2.0-0.dll
#21 0x685ee5f5 in g_main_context_iterate () from C:\Users\Yann\Documents\Depots\inkscape\inkscape\libglib-2.0-0.dll
#22 0x685ee9e4 in g_main_loop_run () from C:\Users\Yann\Documents\Depots\inkscape\inkscape\libglib-2.0-0.dll
#23 0x618625dc in gtk_main () from C:\Users\Yann\Documents\Depots\inkscape\inkscape\libgtk-win32-2.0-0.dll
#24 0x01543c3f in Gtk::Main::run () from C:\Users\Yann\Documents\Depots\inkscape\inkscape\libgtkmm-2.4-1.dll
#25 0x004063b0 in sp_main_gui ()
#26 0x0042b25a in Inkscape::NSApplication::Application::run ()
#27 0x00403109 in main ()

Revision history for this message
Yann Papouin (yann-papouin) wrote :

If Inkscape is opened from gdb, I'm able to open original file without modification

su_v (suv-lp)
tags: added: filters-svg
Revision history for this message
jazzynico (jazzynico) wrote :

Reproduced on Ubuntu 10.04, Inkscape trunk revision 9742.
It take forever to open the image with the original zoom, but unzooming with Ctrl+MMB solves the issue.
No change when run from gdb.

Changed in inkscape:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
jazzynico (jazzynico) wrote :

Still very slow on Windows XP, Inkscape trunk rev. 14007.

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.