After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 776808 - a svg file makes nautilus crash(Arithmetic exception)
a svg file makes nautilus crash(Arithmetic exception)
Status: RESOLVED OBSOLETE
Product: librsvg
Classification: Core
Component: general
2.40.x
Other Linux
: Normal normal
: ---
Assigned To: librsvg maintainers
librsvg maintainers
Depends on:
Blocks:
 
 
Reported: 2017-01-03 12:28 UTC by Mei Wang
Modified: 2017-12-13 18:25 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
the svg file caused nautilus crash (447 bytes, image/svg+xml)
2017-01-03 12:28 UTC, Mei Wang
Details

Description Mei Wang 2017-01-03 12:28:25 UTC
Created attachment 342761 [details]
the svg file caused nautilus crash

The nautilus crashed when i open the fold contained test svg file.
Step to reproduce:

1. Get the attached test.svg file
2. Put it in in a directory like home 
3. Browse the directory
4. Nautilus crashed

Linux localhost.localdomain 4.2.3-300.fc23.x86_64 #1 SMP Mon Oct 5 15:42:54 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
version: librsvg2-2.40.11-1.fc23.x86_64


Debug information
========================================================

Program received signal SIGFPE, Arithmetic exception.

Thread 140345844389632 (LWP 112119)

  • #0 rsvg_filter_primitive_tile_render
  • #1 rsvg_filter_render
  • #2 rsvg_cairo_pop_discrete_layer
  • #3 rsvg_cairo_render_path
  • #4 rsvg_render_path
  • #5 _rsvg_node_rect_draw
  • #6 rsvg_node_draw
  • #7 rsvg_node_svg_draw
  • #8 rsvg_node_draw
  • #9 rsvg_handle_get_dimensions_sub
  • #10 rsvg_handle_get_dimensions
  • #11 rsvg_handle_get_pixbuf_sub
  • #12 gdk_pixbuf.svg_image_stop_load
  • #13 gdk_pixbuf_loader_close
  • #14 _gdk_pixbuf_new_from_uri_at_scale.constprop.7
  • #15 gnome_desktop_thumbnail_factory_generate_thumbnail
  • #16 thumbnail_thread_start
  • #17 start_thread
  • #18 clone

Comment 1 Mei Wang 2017-01-03 12:34:08 UTC
test.svg

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">

  <filter id="filter1">
    <feImage x="0"
             y="0"
             width="5%"
             height="20%"
             result="raster1" 
             xlink:href="../../../../../testing/crashtest/images/tree.gif" />
    <feTile />
  </filter>

  <rect x="0"
        y="0"
        width="100%"
        height="100%"
        filter="url(#filter1)" />

</svg>
Comment 2 GNOME Infrastructure Team 2017-12-13 18:25:21 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/librsvg/issues/158.