You have been subscribed to a public bug:

I tried to use 'gnome-search-tool' to get a list of all of the .svg
files on the system.  When it finds one, it calls on the gdk_pixbuf
loader to get a picture of the .svg file to display in it's list.  After
installing all of the relevant -dbgsym packages (by hand! there ought to
be a tool I can use for that) I ran the search tool like this:

 export G_DEBUG=fatal_criticals
 gnome-search-tool

... which it says to do at:  https://wiki.ubuntu.com/DebuggingGNOME

... and then in another console, ran:

 gdb --pid=$(pidof gnome-search-tool)

... then told it to 'cont' and entered ".svg" into the search box, then
selected "File System", and pressed "Search".  It runs for a while, and
then I get:

Program received signal SIGABRT, Aborted.
[Switching to Thread 47061088791520 (LWP 4201)]
0x0000003320c30cab in raise () from /lib/libc.so.6
(gdb) where
#0  0x0000003320c30cab in raise () from /lib/libc.so.6
#1  0x0000003320c32660 in abort () from /lib/libc.so.6
#2  0x0000003323037b1b in IA__g_logv (log_domain=0x3326612320 "GdkPixbuf", 
log_level=<value optimized out>, format=0x3323060f35 "%s: assertion `%s' 
failed", args1=0x7fff6732fad0)
    at gmessages.c:497
#3  0x0000003323037bb3 in IA__g_log (log_domain=0x1069 <Address 0x1069 out of 
bounds>, log_level=4201, format=0x6 <Address 0x6 out of bounds>) at 
gmessages.c:517
#4  0x000000332400c7da in IA__g_closure_invoke (closure=0x9411f0, 
return_value=0x0, n_param_values=3, param_values=0x7fff6732fe30, 
invocation_hint=0x7fff6732fd00) at gclosure.c:490
#5  0x000000332401c408 in signal_emit_unlocked_R (node=0x6e9530, detail=0, 
instance=0xa62620, emission_return=0x0, instance_and_params=0x7fff6732fe30) at 
gsignal.c:2440
#6  0x000000332401d843 in IA__g_signal_emit_valist (instance=0xa62620, 
signal_id=<value optimized out>, detail=0, var_args=0x7fff673300b0) at 
gsignal.c:2199
#7  0x000000332401da13 in IA__g_signal_emit (instance=0x1069, signal_id=4201, 
detail=6) at gsignal.c:2243
#8  0x0000003326609881 in gdk_pixbuf_loader_size_func (width=0x7fff67330280, 
height=0x7fff67330284, loader=0x1069) at gdk-pixbuf-loader.c:245
#9  0x0000003c4bc24b12 in rsvg_handle_get_dimensions (handle=0x9c4c00, 
dimension_data=0x7fff67330280) at rsvg-base.c:1340
#10 0x0000003c4bc29ca1 in rsvg_handle_get_pixbuf_sub (handle=0x1069, id=0x0) at 
rsvg.c:84
#11 0x00002acd44b18fcd in gdk_pixbuf__svg_image_stop_load (data=0x941360, 
error=0x7fff67330328) at io-svg.c:154
#12 0x0000003326609eb6 in IA__gdk_pixbuf_loader_close (loader=0xa62620, 
error=0x0) at gdk-pixbuf-loader.c:715
#13 0x000000332660811f in IA__gdk_pixbuf_new_from_file_at_scale 
(filename=0x9af1c0 "/usr/share/lilypond/2.10.5/fonts/svg/feta-alphabet16.svg", 
width=24, height=24, 
    preserve_aspect_ratio=<value optimized out>, error=0x0) at 
gdk-pixbuf-io.c:1165
#14 0x000000000040e584 in get_file_pixbuf (gsearch=0x67c030, file=0x9af1c0 
"/usr/share/lilypond/2.10.5/fonts/svg/feta-alphabet16.svg", file_info=0xa62800) 
at gsearchtool-support.c:1154
#15 0x0000000000416bb1 in add_file_to_search_results (file=0x9af1c0 
"/usr/share/lilypond/2.10.5/fonts/svg/feta-alphabet16.svg", store=0x79a680, 
iter=0x67c228, gsearch=0x67c030)
    at gsearchtool.c:871
#16 0x000000000041a4df in handle_search_command_stdout_io (ioc=0x955440, 
condition=<value optimized out>, data=<value optimized out>) at 
gsearchtool.c:1628
#17 0x000000332302fa14 in IA__g_main_context_dispatch (context=0x6516b0) at 
gmain.c:2045
#18 0x000000332303285d in g_main_context_iterate (context=0x6516b0, block=1, 
dispatch=1, self=<value optimized out>) at gmain.c:2677
#19 0x0000003323032b6a in IA__g_main_loop_run (loop=0x917020) at gmain.c:2881
#20 0x0000003327742023 in IA__gtk_main () at gtkmain.c:1177
#21 0x0000000000418421 in main (argc=1, argv=0x7fff673318e8) at 
gsearchtool.c:3187

In the console where I ran the search tool, I see:

% gnome-search-tool

GdkPixbuf-CRITICAL **: size_prepared_cb: assertion `width > 0 && height > 0' 
failed
aborting...

I went to "/usr/share/lilypond/2.10.5/fonts/svg" with Nautilus, and it
shows a default icon for every file there.  Before setting that G_DEBUG
environment variable, there was 12 of those messages, but of course it
continues... until it gets a floating point exception and crashes.  So,
unsetting that debug option and doing it again, I see:

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 47991293123552 (LWP 3021)]
0x0000003326a54fa1 in fbFetchTransformed (pict=0xaea100, x=<value optimized 
out>, y=196608, width=3, buffer=0x7fffd2b2cbf0, mask=0x7fffd2b2cc08, 
maskBits=4278190080)
    at /build/buildd/libcairo-1.4.2/pixman/src/fbcompose.c:3574
3574    /build/buildd/libcairo-1.4.2/pixman/src/fbcompose.c: No such file or 
directory.
        in /build/buildd/libcairo-1.4.2/pixman/src/fbcompose.c
(gdb) where
#0  0x0000003326a54fa1 in fbFetchTransformed (pict=0xaea100, x=<value optimized 
out>, y=196608, width=3, buffer=0x7fffd2b2cbf0, mask=0x7fffd2b2cc08, 
maskBits=4278190080)
    at /build/buildd/libcairo-1.4.2/pixman/src/fbcompose.c:3574
#1  0x0000003326a529a4 in pixman_compositeGeneral (op=<value optimized out>, 
pSrc=0xaea100, pMask=0xbf4d30, pDst=0xae9e50, xSrc=14, ySrc=3, xMask=0, 
yMask=0, xDst=14, yDst=3, width=3, height=4)
    at /build/buildd/libcairo-1.4.2/pixman/src/fbcompose.c:4138
#2  0x0000003326a125a5 in _cairo_image_surface_composite_trapezoids 
(op=CAIRO_OPERATOR_OVER, pattern=0x7fffd2b33480, abstract_dst=0xb084f0, 
antialias=<value optimized out>, src_x=14, src_y=3, 
    dst_x=14, dst_y=3, width=3, height=4, traps=0x1010e20, num_traps=6) at 
/build/buildd/libcairo-1.4.2/src/cairo-image-surface.c:1016
#3  0x0000003326a1c0c1 in _cairo_surface_composite_trapezoids (op=4294967295, 
pattern=0x7fffd2b33480, dst=0xb084f0, antialias=CAIRO_ANTIALIAS_DEFAULT, 
src_x=14, src_y=3, dst_x=14, dst_y=3, 
    width=3, height=4, traps=0x1010e20, num_traps=6) at 
/build/buildd/libcairo-1.4.2/src/cairo-surface.c:1414
#4  0x0000003326a1f001 in _composite_traps_draw_func (closure=0x7fffd2b33340, 
op=CAIRO_OPERATOR_OVER, src=0x7fffd2b33480, dst=0xb084f0, dst_x=0, dst_y=0, 
extents=0x7fffd2b33360)
    at /build/buildd/libcairo-1.4.2/src/cairo-surface-fallback.c:492
#5  0x0000003326a1e37f in _clip_and_composite (clip=0x0, 
op=CAIRO_OPERATOR_OVER, src=0x7fffd2b33480, draw_func=0x3326a1ef40 
<_composite_traps_draw_func>, draw_closure=0x7fffd2b33340, 
    dst=0xb084f0, extents=0x7fffd2b33360) at 
/build/buildd/libcairo-1.4.2/src/cairo-surface-fallback.c:391
#6  0x0000003326a1ebb7 in _clip_and_composite_trapezoids (src=0x1010b00, 
op=CAIRO_OPERATOR_CLEAR, dst=0xb084f0, traps=0x7fffd2b333d0, clip=0x0, 
antialias=CAIRO_ANTIALIAS_DEFAULT)
    at /build/buildd/libcairo-1.4.2/src/cairo-surface-fallback.c:644
#7  0x0000003326a1eeff in _cairo_surface_fallback_fill (surface=0xb084f0, 
op=CAIRO_OPERATOR_OVER, source=0x7fffd2b33480, path=0x10238c8, 
fill_rule=CAIRO_FILL_RULE_EVEN_ODD, 
    tolerance=<value optimized out>, antialias=CAIRO_ANTIALIAS_DEFAULT) at 
/build/buildd/libcairo-1.4.2/src/cairo-surface-fallback.c:836
#8  0x0000003326a1cbc8 in _cairo_surface_fill (surface=0xb084f0, 
op=CAIRO_OPERATOR_OVER, source=<value optimized out>, path=0x10238c8, 
fill_rule=CAIRO_FILL_RULE_EVEN_ODD, 
    tolerance=0.10000000000000001, antialias=CAIRO_ANTIALIAS_DEFAULT) at 
/build/buildd/libcairo-1.4.2/src/cairo-surface.c:1374
#9  0x0000003326a1057c in _cairo_gstate_fill (gstate=0x1739100, path=0x10238c8) 
at /build/buildd/libcairo-1.4.2/src/cairo-gstate.c:959
#10 0x0000003326a09fd0 in *INT_cairo_fill_preserve (cr=0x1023710) at 
/build/buildd/libcairo-1.4.2/src/cairo.c:2047
#11 0x0000003c4bc29075 in rsvg_cairo_render_path (ctx=0x1746140, 
bpath_def=0x9f9730) at rsvg-cairo-draw.c:575
#12 0x0000003c4bc244f1 in rsvg_render_path (ctx=0x1746140, d=<value optimized 
out>) at rsvg-base.c:1641
#13 0x0000003c4bc1d9b2 in rsvg_node_draw (self=0x0, ctx=0x1746140, dominate=0) 
at rsvg-structure.c:54
#14 0x0000003c4bc1dbe3 in _rsvg_node_draw_children (self=0x10251b0, 
ctx=0x1746140, dominate=0) at rsvg-structure.c:73
#15 0x0000003c4bc1d9b2 in rsvg_node_draw (self=0x0, ctx=0x1746140, dominate=0) 
at rsvg-structure.c:54
#16 0x0000003c4bc1dbe3 in _rsvg_node_draw_children (self=0x1024b40, 
ctx=0x1746140, dominate=0) at rsvg-structure.c:73
#17 0x0000003c4bc1d9b2 in rsvg_node_draw (self=0x0, ctx=0x1746140, dominate=0) 
at rsvg-structure.c:54
#18 0x0000003c4bc1e417 in rsvg_node_svg_draw (self=0x9f8fb0, ctx=0x1746140, 
dominate=<value optimized out>) at rsvg-structure.c:316
#19 0x0000003c4bc1d9b2 in rsvg_node_draw (self=0x0, ctx=0x1746140, dominate=0) 
at rsvg-structure.c:54
#20 0x0000003c4bc29828 in rsvg_handle_render_cairo_sub (handle=0x1711ca0, 
cr=<value optimized out>, id=0x0) at rsvg-cairo-render.c:161
#21 0x0000003c4bc29cfe in rsvg_handle_get_pixbuf_sub (handle=0x1711ca0, id=0x0) 
at rsvg.c:101
#22 0x00002ba5d92fbfcd in gdk_pixbuf__svg_image_stop_load (data=0xafe1e0, 
error=0x7fffd2b33b48) at io-svg.c:154
#23 0x0000003326609eb6 in IA__gdk_pixbuf_loader_close (loader=0x173a7a0, 
error=0x0) at gdk-pixbuf-loader.c:715
#24 0x000000332660811f in IA__gdk_pixbuf_new_from_file_at_scale 
(filename=0xc00100 
"/usr/share/openclipart/svg/tools/natural_gas_pump_well_jo_01.svg", width=24, 
height=24, 
    preserve_aspect_ratio=<value optimized out>, error=0x0) at 
gdk-pixbuf-io.c:1165
#25 0x000000000040e584 in get_file_pixbuf (gsearch=0x692060, file=0xc00100 
"/usr/share/openclipart/svg/tools/natural_gas_pump_well_jo_01.svg", 
file_info=0x1058f60) at gsearchtool-support.c:1154
#26 0x0000000000416bb1 in add_file_to_search_results (file=0xc00100 
"/usr/share/openclipart/svg/tools/natural_gas_pump_well_jo_01.svg", 
store=0x787680, iter=0x692258, gsearch=0x692060)
    at gsearchtool.c:871
#27 0x000000000041a4df in handle_search_command_stdout_io (ioc=0xac18b0, 
condition=<value optimized out>, data=<value optimized out>) at 
gsearchtool.c:1628
#28 0x000000332302fa14 in IA__g_main_context_dispatch (context=0x6515d0) at 
gmain.c:2045
#29 0x000000332303285d in g_main_context_iterate (context=0x6515d0, block=1, 
dispatch=1, self=<value optimized out>) at gmain.c:2677
#30 0x0000003323032b6a in IA__g_main_loop_run (loop=0xa0f2f0) at gmain.c:2881
#31 0x0000003327742023 in IA__gtk_main () at gtkmain.c:1177
#32 0x0000000000418421 in main (argc=1, argv=0x7fffd2b35108) at 
gsearchtool.c:3187

Hmmm... I don't think it's crashing in the same place as before... it's
a different file than I recall from the time I ran it and did not take
notes.  (running it again from the start to see....)  Ok, it is the same
every time, but maybe how many times it keeps going past a critical
error is when it crashes so if you don't have the same set of files
installed it might bomb at a different one?  I have no familiarity with
that software's internals, so I can't fix it.

** Affects: libcairo (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
svg_loader.so fails reading svg font for 'gnome-search-tool'
https://bugs.launchpad.net/bugs/111379

-- 
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs

Reply via email to