Referencer crashes when importing folder

Bug #192279 reported by Allan Day
0
Affects Status Importance Assigned to Milestone
Referencer
Fix Released
Undecided
Unassigned

Bug Description

I have a collection of nearly 400 documents (pdf, html, odt, doc...). When I try and import them into referencer (using Documents > Add folder), the 'Add Document Files' dialogue comes up, but the whole application crashes after it has processed about 50 documents. I get the same result every time I try this operation. I also get the same error in the terminal every time it crashes:

(referencer:9907): GdkPixbuf-CRITICAL **: gdk_pixbuf_scale_simple: assertion `dest_height > 0' failed
Segmentation fault (core dumped)

I'm running referencer 1.1.0 on an up to date Gutsy system.

Revision history for this message
John S (jcspray) wrote :

Sounds as if an external thumbnail is (wrongly) giving referencer a zero-sized image. If you're working from source you could try the attached patch, alternatively figure out which file is causing the problem and attach it here.

Changed in referencer:
status: New → Fix Committed
Revision history for this message
Allan Day (allanday) wrote :

Thanks for your response, John. I've identified two files (in fact, they're html files, each with an accompanying directory of images, etc) which seem to be the cause of the problem. I've attached a tarball which contains the offending items.

Revision history for this message
John S (jcspray) wrote :

I thought they might be html. The behaviour completely depends on what you have installed for thumbnailing html documents: on my (ubuntu) system they don't get thumbnailed at all. The fix I mention above is in the just-released version 1.1.1 of referencer, so give that a try.

Revision history for this message
Allan Day (allanday) wrote :

That's great. Thanks John. I'll definitely give the new version a try.

Changed in referencer:
milestone: none → 1.2.0
Changed in referencer:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.