[Nautilus-list] Nautilus crashes when trying to generate thumbnail for invalid image file



I just submitted this to bugzilla.eazel.com, but I thought I'd send it
to the list in case no one's checking bug reports there right now.



My digital camera's battery died while I was trying to download some
images (saved as .jpg).  Whenever I try to switch Nautilus to view the
directory to which I was saving the photos, it crashes.  Here's a
backtrace:


Delayed SIGSTOP caught for LWP 8442.
libpng error: Invalid image size in IHDR

** CRITICAL **: file gdk-pixbuf.c: line 354 (gdk_pixbuf_get_rowstride):
assertion `pixbuf != NULL' failed.

** CRITICAL **: file gdk-pixbuf.c: line 306 (gdk_pixbuf_get_pixels):
assertion
`pixbuf != NULL' failed.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 6045)]
pixel_matches_value (pixels=0x0, value=255) at nautilus-thumbnails.c:649
warning: Source file is more recent than executable.

649
	if (*test_pixel++ != value) {
(gdb) bt
#0  pixel_matches_value (pixels=0x0, value=255) at
nautilus-thumbnails.c:649
#1  0x4009baba in pixbuf_is_framed (pixbuf=0x0) at
nautilus-thumbnails.c:673
#2  0x4009bb3c in nautilus_thumbnail_load_framed_image (
    path=0x8153a10
"/opt/photos/Nephew/.thumbnails/Dylan_010804-005.jpg.png", 
    anti_aliased_frame=1) at nautilus-thumbnails.c:699
#3  0x40086602 in load_icon_from_path (
    path=0x8153a10
"/opt/photos/Nephew/.thumbnails/Dylan_010804-005.jpg.png", 
    size_in_pixels=48, custom=1, is_emblem=0, optimized_for_aa=1)
    at nautilus-icon-factory.c:1897
#4  0x4008674c in load_specific_icon (scalable_icon=0x8502e08, 
    size_in_pixels=48, optimized_for_aa=1,
type=REQUEST_PICKY_CUSTOM_ONLY)
    at nautilus-icon-factory.c:1956
#5  0x400871d7 in get_icon_from_cache (scalable_icon=0x8502e08, 
    size=0xbffff120, type=REQUEST_PICKY_CUSTOM_ONLY)
    at nautilus-icon-factory.c:2336
#6  0x4008690e in load_icon_for_scaling (scalable_icon=0x8502e08, 
    requested_size=48, optimized_for_aa=1,
actual_size_result=0xbffff184)
    at nautilus-icon-factory.c:2031
#7  0x40086e0c in load_icon_scale_if_necessary (scalable_icon=0x8502e08,
    size=0xbffff230) at nautilus-icon-factory.c:2172
#8  0x40087237 in get_icon_from_cache (scalable_icon=0x8502e08, 
    size=0xbffff230, type=REQUEST_NORMAL) at
nautilus-icon-factory.c:2359
#9  0x40087360 in nautilus_icon_factory_get_pixbuf_for_icon (
    scalable_icon=0x8502e08, nominal_width=48, nominal_height=48, 
---Type <return> to continue, or q <return> to quit---
    maximum_width=96, maximum_height=96, optimized_for_aa=1, 
    attach_points=0xbffff2f0, wants_default=1) at
nautilus-icon-factory.c:2406
#10 0x4007e1e6 in nautilus_icon_container_update_icon
(container=0x81ec360, 
    icon=0x82de988) at nautilus-icon-container.c:3749
#11 0x4007e7c4 in finish_adding_icon (container=0x81ec360,
icon=0x82de988)
    at nautilus-icon-container.c:3877
#12 0x4007e8a7 in finish_adding_new_icons (container=0x81ec360)
    at nautilus-icon-container.c:3902
#13 0x40079a7d in redo_layout_internal (container=0x81ec360)
    at nautilus-icon-container.c:1168
#14 0x40079b0f in redo_layout_callback (callback_data=0x81ec360)
    at nautilus-icon-container.c:1193
#15 0x408d43cd in g_idle_dispatch (source_data=0x40079ae0, 
    dispatch_time=0xbffff490, user_data=0x81ec360) at gmain.c:1367
#16 0x408d3390 in g_main_dispatch (dispatch_time=0xbffff490) at
gmain.c:656
#17 0x408d396f in g_main_iterate (block=1, dispatch=1) at gmain.c:877
#18 0x408d3b2b in g_main_run (loop=0x8148e10) at gmain.c:935
#19 0x407eb2b3 in gtk_main () at gtkmain.c:524
#20 0x402868eb in bonobo_main () at bonobo-main.c:283
#21 0x08070eee in main (argc=1, argv=0xbffff75c) at nautilus-main.c:283
#22 0x409831f0 in __libc_start_main () from /lib/libc.so.6







[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]