I did in an attempt to track down a problem I reported that sometimes the save
as file dialog comes up empty.
I found several places that show uninitialized memory reads, one when the
first image is loaded, one when generating the histogram for the levels
dialog and the preview when you press on the navigate button on the lower
right corner of the image window...
regards
Karl Günter Wünsch
==7078== Memcheck, a memory error detector.
==7078== Copyright (C) 2002-2007, and GNU GPL'd, by Julian Seward et al.
==7078== Using LibVEX rev 1732, a library for dynamic binary translation.
==7078== Copyright (C) 2004-2007, and GNU GPL'd, by OpenWorks LLP.
==7078== Using valgrind-3.2.3, a dynamic binary instrumentation framework.
==7078== Copyright (C) 2000-2007, and GNU GPL'd, by Julian Seward et al.
==7078== For more details, rerun with: -v
==7078==
dcraw -i '/digicambilder/bilder46/20071004-libelle-terasse/img_0063.jpg'
Cannot decode file /digicambilder/bilder46/20071004-libelle-terasse/img_0063.jpg
==7078== Use of uninitialised value of size 4
==7078==at 0x80C23AC: gimp_display_shell_render (gimpdisplayshell-render.c:564)
==7078==by 0x80B9582: gimp_display_shell_draw_area (gimpdisplayshell-draw.c:574)
==7078==by 0x80B4BED: gimp_display_shell_canvas_expose (gimpdisplayshell-callbacks.c:421)
==7078==by 0x42DCFED: (within /usr/lib/libgtk-x11-2.0.so.0.1200.0)
==7078==by 0x4B4D0F9: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.1400.1)
==7078==
==7078== Use of uninitialised value of size 4
==7078==at 0x80C23BC: gimp_display_shell_render (gimpdisplayshell-render.c:565)
==7078==by 0x80B9582: gimp_display_shell_draw_area (gimpdisplayshell-draw.c:574)
==7078==by 0x80B4BED: gimp_display_shell_canvas_expose (gimpdisplayshell-callbacks.c:421)
==7078==by 0x42DCFED: (within /usr/lib/libgtk-x11-2.0.so.0.1200.0)
==7078==by 0x4B4D0F9: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.1400.1)
==7078==
==7078== Use of uninitialised value of size 4
==7078==at 0x80C23CC: gimp_display_shell_render (gimpdisplayshell-render.c:566)
==7078==by 0x80B9582: gimp_display_shell_draw_area (gimpdisplayshell-draw.c:574)
==7078==by 0x80B4BED: gimp_display_shell_canvas_expose (gimpdisplayshell-callbacks.c:421)
==7078==by 0x42DCFED: (within /usr/lib/libgtk-x11-2.0.so.0.1200.0)
==7078==by 0x4B4D0F9: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.1400.1)
==7078==
==7078== Syscall param write(buf) points to uninitialised byte(s)
==7078==at 0x47B51F3: __write_nocancel (in /lib/libpthread-2.5.so)
==7078==by 0x46E576D: (within /usr/lib/libX11.so.6.2.0)
==7078== Address 0x4DF4DA0 is 32 bytes inside a block of size 16,384 alloc'd
==7078==at 0x4020B3D: calloc (in /usr/lib/valgrind/x86-linux/vgpreload_memcheck.so)
==7078==by 0x46C6CBB: XOpenDisplay (in /usr/lib/libX11.so.6.2.0)
==7078==
==7078== Use of uninitialised value of size 4
==7078==at 0x82E1C29: gimp_histogram_calculate_sub_region (gimphistogram.c:732)
==7078==by 0x82E3D16: pixel_regions_process_parallel_valist (pixel-processor.c:210)
==7078==by 0x82E3E9A: pixel_regions_process_parallel (pixel-processor.c:475)
==7078==by 0x82E1419: gimp_histogram_calculate (gimphistogram.c:109)
==7078==by 0x823C2E9: gimp_drawable_calculate_histogram (gimpdrawable-histogram.c:73)
==7078==by 0x80EF5EB: gimp_levels_tool_initialize (gimplevelstool.c:267)
==7078==by 0x810CF0E: gimp_tool_initialize (gimptool.c:425)
==7078==by 0x80CF59E: tool_manager_initialize_active (tool_manager.c:236)
==7078==by 0x4B5A74F: g_cclosure_marshal_VOID__STRING (in /usr/lib/libgobject-2.0.so.0.1400.1)
==7078==by 0x64762D7: ???
==7078==
==7078== Use of uninitialised value of size 4
==7078==at 0x82E1C3E: gimp_histogram_calculate_sub_region (gimphistogram.c:733)
==7078==by 0x82E3D16: pixel_regions_process_parallel_valist (pixel-processor.c:210)
==7078==by 0x82E3E9A: pixel_regions_process_parallel (pixel-processor.c:475)
==7078==by 0x82E1419: gimp_histogram_calculate (gimphistogram.c:109)
==7078==by 0x823C2E9: gimp_drawable_calculate_histogram (gimpdrawable-histogram.c:73)
==7078==by 0x80EF5EB: gimp_levels_tool_initialize (gimplevelstool.c:267)
==7078==by 0x810CF0E: gimp_tool_initialize (gimptool.c:425)
==7078==by 0x80CF59E: tool_manager_initialize_active (tool_manager.c:236)
==7078==by 0x4B5A74F: g_cclosure_marshal_VOID__STRING (in /usr/lib/libgobject-2.0.so.0.1400.1)
==7078==by 0x64762D7: ???
==7078==
==7078== Use of uninitialised value of size 4
==7078==at 0x82E1C53: gimp_histogram_calculate_sub_region (gimphistogram.c:734)
==7078==by 0x82E3D16: pixel_regions_process_parallel_valist (pixel-processor.c:210)
==7078==by 0x82E3E9A: pixel_regions_process_parallel (pixel-processor.c:475)
==7078==by 0x82E1419: gimp_histogram_calculate (gimphistogram.c:109)
==7078==by 0x823C2E9: gimp_drawable_calculate_histogram (gimpdrawable-histogram.c:73)
==7078==by 0x80EF5