Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158237 - media-gfx/f-spot failed assertion on large SVG files
Summary: media-gfx/f-spot failed assertion on large SVG files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-15 12:26 UTC by David Li
Modified: 2007-08-23 00:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
SVG file that crashes f-spot (FCC Allocation Chart.svg.tar.bz2,115.44 KB, application/octet-stream)
2006-12-15 12:29 UTC, David Li
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Li 2006-12-15 12:26:37 UTC
I've been having this problem since media-gfx/f-spot-0.2.0 (possibly older) to 0.3.0. Anyhow, if I import a particularly large SVG, I get this error when I browse for it (f-spot tries to thumbnail it):

f-spot: cairo-ft-font.c:683: _cairo_ft_unscaled_font_set_scale: Assertion `error == 0' failed.
Stacktrace:

  at (wrapper managed-to-native) Gdk.PixbufLoader.gdk_pixbuf_loader_close (intptr,intptr&) <0x00004>
  at (wrapper managed-to-native) Gdk.PixbufLoader.gdk_pixbuf_loader_close (intptr,intptr&) <0xffffffff>
  at Gdk.PixbufLoader.Close () <0x00025>
  at Gdk.PixbufLoader.InitFromStream (System.IO.Stream) <0x0002c>
  at Gdk.PixbufLoader..ctor (System.IO.Stream) <0x00016>
  at Gdk.Pixbuf..ctor (System.IO.Stream) <0x00020>
  at FSpot.Svg.SvgFile.Load (int,int) <0x00035>
  at PixbufLoader.ProcessRequest (PixbufLoader/RequestItem) <0x00086>
  at FSpot.ThumbnailGenerator.ProcessRequest (PixbufLoader/RequestItem) <0x00025>
  at PixbufLoader.WorkerThread () <0x00129>
  at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void () <0xffffffff>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        f-spot [0x8157aeb]
        [0xb7f37440]

That's strange because I thought Image Viewer/Eye of Gnome used cairo and it opens just fine in that. If you want to mark this bug as upstream, could you please report it for me?

PS: I'll attach the file in a minute
Comment 1 David Li 2006-12-15 12:29:05 UTC
Created attachment 104095 [details]
SVG file that crashes f-spot

It's actually a SVG of the FCC allocation chart.
Comment 2 Luis Medinas (RETIRED) gentoo-dev 2007-08-23 00:38:36 UTC
I tested with the file you attached to the bug and it works great using f-spot 0.4.0. I couldn't reproduce the bug. Closing as fixed.
Thanks