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 142854 - UMR in gdk_pixbuf_scale
UMR in gdk_pixbuf_scale
Status: RESOLVED OBSOLETE
Product: gdk-pixbuf
Classification: Platform
Component: pixops
git master
Other All
: Normal normal
: ---
Assigned To: gdk-pixbuf-maint
gdk-pixbuf-maint
Depends on:
Blocks:
 
 
Reported: 2004-05-20 16:50 UTC by Morten Welinder
Modified: 2018-05-22 13:01 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Sample incomplete jpeg (10.78 KB, image/jpeg)
2004-05-20 16:52 UTC, Morten Welinder
Details

Description Morten Welinder 2004-05-20 16:50:10 UTC
When current gnumeric displays http://www.gnome.org/~gman/namethefilm.xls,
it ends up creating an incomplete jpeg image.  That is gnumeric's problem,
of course, but it reveals a gdk-pixbuf problem:

      UMR: Uninitialized memory read (1272060 times)
      This is occurring while in:
            scale_line     [pixops.c:798 pc=0xfb010230]
            pixops_process [pixops.c:1118 pc=0xfb011b04]
            _pixops_scale  [pixops.c:1595 pc=0xfb0142bc]
            gdk_pixbuf_scale [gdk-pixbuf-scale.c:75 pc=0xfb0017b8]
            gdk_pixbuf_scale_simple [gdk-pixbuf-scale.c:243 pc=0xfb002f14]
            foo_canvas_pixbuf_update [foo-canvas-pixbuf.c:711 pc=0x34e6b8]
      Reading 1 byte from 0x13017e0 in the heap.
      Address 0x13017e0 is 117576 bytes into a malloc'd block at 0x12e4c98 of
128340 bytes.
      This block was allocated from:
            malloc         [rtlib.o pc=0x6a738]
            g_try_malloc   [gmem.c:193 pc=0xf9e56ae8]
            gdk_pixbuf_new [gdk-pixbuf.c:279 pc=0xfaff4f10]
            gdk_pixbuf__jpeg_image_load_increment [io-jpeg.c:668 pc=0xf7393674]
            gdk_pixbuf_loader_write [gdk-pixbuf-loader.c:494 pc=0xfafffc64]
            soi_get_pixbuf [sheet-object-image.c:155 pc=0x1a93c4]
Comment 1 Morten Welinder 2004-05-20 16:52:11 UTC
Created attachment 27884 [details]
Sample incomplete jpeg

Sample file that is sent to gdk_pixbuf_loader_write.
Comment 2 Matthias Clasen 2004-08-12 03:51:04 UTC
Loads flawlessly for me, valgrind shows nothing.
Comment 3 Matthias Clasen 2004-12-16 17:58:55 UTC
Can you provide a testcase which shows the problematic behaviour ?
Comment 4 Morten Welinder 2004-12-16 18:09:14 UTC
I did, in comment #1.

Here's the current barfage from gnumeric under purify when inserting that
truncated image.  I'm not sure if the jpeg_CreateDecompress is relevant.

      UMR: Uninitialized memory read
      This is occurring while in:
            jpeg_CreateDecompress [libjpeg.so.62.0.0 pc=0xfb940a1c]
            gdk_pixbuf__jpeg_image_load [io-jpeg.c:311 pc=0xf7c81bec]
            _gdk_pixbuf_generic_image_load [gdk-pixbuf-io.c:760 pc=0xfb309c88]
            gdk_pixbuf_new_from_file [gdk-pixbuf-io.c:872 pc=0xfb30a0d0]
            update_preview_cb [gui-file.c:335 pc=0x106890]
            g_cclosure_marshal_VOID__VOID [gmarshal.c:77 pc=0xfa8a8e5c]
            g_closure_invoke [gclosure.c:437 pc=0xfa87e084]
            signal_emit_unlocked_R [gsignal.c:2485 pc=0xfa8a66c8]
            g_signal_emit_valist [gsignal.c:2244 pc=0xfa8a32fc]
            g_signal_emit_by_name [gsignal.c:2312 pc=0xfa8a43ec]
            delegate_update_preview [gtkfilechooserutils.c:335 pc=0xfad567f4]
            g_cclosure_marshal_VOID__VOID [gmarshal.c:77 pc=0xfa8a8e5c]
            g_closure_invoke [gclosure.c:437 pc=0xfa87e084]
            signal_emit_unlocked_R [gsignal.c:2485 pc=0xfa8a66c8]
            g_signal_emit_valist [gsignal.c:2244 pc=0xfa8a32fc]
            g_signal_emit_by_name [gsignal.c:2312 pc=0xfa8a43ec]
            delegate_update_preview [gtkfilechooserutils.c:335 pc=0xfad567f4]
            g_cclosure_marshal_VOID__VOID [gmarshal.c:77 pc=0xfa8a8e5c]
            g_closure_invoke [gclosure.c:437 pc=0xfa87e084]
            signal_emit_unlocked_R [gsignal.c:2485 pc=0xfa8a66c8]
            g_signal_emit_valist [gsignal.c:2244 pc=0xfa8a32fc]
            g_signal_emit_by_name [gsignal.c:2312 pc=0xfa8a43ec]
            check_preview_change [gtkfilechooserdefault.c:5375 pc=0xfad54360]
            list_selection_changed [gtkfilechooserdefault.c:5573 pc=0xfad548dc]
            g_cclosure_marshal_VOID__VOID [gmarshal.c:77 pc=0xfa8a8e5c]
      Reading 4 bytes from 0xffbe9c04 on the stack.
      Address 0xffbe9c04 is       12 bytes past start of local variable "cinfo"
in function gdk_pixbuf__jpeg_image_load.
      UMR: Uninitialized memory read (114 times)
      This is occurring while in:
            process_pixel  [pixops.c:947 pc=0xfb31ceb4]
            pixops_process [pixops.c:1116 pc=0xfb31deec]
            _pixops_scale  [pixops.c:1605 pc=0xfb3204b8]
            gdk_pixbuf_scale [gdk-pixbuf-scale.c:77 pc=0xfb30e2ec]
            gdk_pixbuf_scale_simple [gdk-pixbuf-scale.c:256 pc=0xfb30f064]
            foo_canvas_pixbuf_update [foo-canvas-pixbuf.c:711 pc=0x2f73a4]
            foo_canvas_item_invoke_update [foo-canvas.c:433 pc=0x307a3c]
            foo_canvas_group_update [foo-canvas.c:1383 pc=0x30a900]
            foo_canvas_item_invoke_update [foo-canvas.c:433 pc=0x307a3c]
            foo_canvas_group_update [foo-canvas.c:1383 pc=0x30a900]
            foo_canvas_item_invoke_update [foo-canvas.c:433 pc=0x307a3c]
            do_update      [foo-canvas.c:2926 pc=0x30fcd8]
            idle_handler   [foo-canvas.c:2961 pc=0x30fe14]
            g_idle_dispatch [gmain.c:3821 pc=0xfa440784]
            g_main_dispatch [gmain.c:1947 pc=0xfa43af20]
            g_main_context_dispatch [gmain.c:2497 pc=0xfa43cf04]
            g_main_context_iterate [gmain.c:2578 pc=0xfa43d628]
            g_main_loop_run [gmain.c:2782 pc=0xfa43e1e4]
            bonobo_main    [bonobo-main.c:297 pc=0xfab2866c]
            main           [main-application.c:358 pc=0x207188]
            _start         [crt1.o pc=0x6b940]
      Reading 1 byte from 0x1329458 in the heap.
      Address 0x1329458 is 117576 bytes into a malloc'd block at 0x130c910 of
128340 bytes.
      This block was allocated from:
            malloc         [rtlib.o pc=0x73b60]
            g_try_malloc   [gmem.c:194 pc=0xfa446bd0]
            gdk_pixbuf_new [gdk-pixbuf.c:300 pc=0xfb304ee8]
            gdk_pixbuf__jpeg_image_load_increment [io-jpeg.c:668 pc=0xf7c82fec]
            gdk_pixbuf_loader_write [gdk-pixbuf-loader.c:503 pc=0xfb30d284]
            soi_get_pixbuf [sheet-object-image.c:240 pc=0x1b0e74]
            sheet_object_image_new_view [sheet-object-image.c:303 pc=0x1b10a8]
            sheet_object_new_view [sheet-object.c:402 pc=0x1a52e8]
            scg_object_create_view [sheet-control-gui.c:2688 pc=0x19c1ac]
            sc_object_create_view [sheet-control.c:121 pc=0x19259c]
            sheet_object_set_sheet [sheet-object.c:325 pc=0x1a4e9c]
            ig_obj_create_begin [item-grid.c:702 pc=0x11a40c]
            item_grid_button_press [item-grid.c:758 pc=0x11a684]
            item_grid_event [item-grid.c:1058 pc=0x11b478]
            foo_canvas_marshal_BOOLEAN__BOXED [foo-canvas-marshal.c:125 pc=0x3132c8]
            g_type_class_meta_marshal [gclosure.c:514 pc=0xfa87e444]
            g_closure_invoke [gclosure.c:437 pc=0xfa87e084]
            signal_emit_unlocked_R [gsignal.c:2523 pc=0xfa8a71ec]
            g_signal_emit_valist [gsignal.c:2254 pc=0xfa8a3380]
            g_signal_emit  [gsignal.c:2288 pc=0xfa8a3830]
            emit_event     [foo-canvas.c:2533 pc=0x30e434]
            foo_canvas_button [foo-canvas.c:2739 pc=0x30f2e0]
            _gtk_marshal_BOOLEAN__BOXED [gtkmarshalers.c:83 pc=0xfaddebe8]
            g_type_class_meta_marshal [gclosure.c:514 pc=0xfa87e444]
            g_closure_invoke [gclosure.c:437 pc=0xfa87e084]
Comment 5 Matthias Clasen 2004-12-16 18:12:45 UTC
Note that I was asking about a testcase, as in a small c program, as opposed to
a) a stacktrace or b) test data, since I couldn't reproduce the problem with my
test programs (see comment 2)
Comment 6 Morten Welinder 2004-12-16 18:40:08 UTC
"gdk-pixbuf-csource foo.jpg" will do.

       UMR: Uninitialized memory read
      This is occurring while in:
            jpeg_CreateDecompress [libjpeg.so.62.0.0 pc=0xfafd0a1c]
            gdk_pixbuf__jpeg_image_load [io-jpeg.c:311 pc=0xfb021bec]
            _gdk_pixbuf_generic_image_load [gdk-pixbuf-io.c:760 pc=0xfbcb9c88]
            gdk_pixbuf_new_from_file [gdk-pixbuf-io.c:872 pc=0xfbcba0d0]
            main           [gdk-pixbuf-csource.c:100 pc=0x58310]
            _start         [crt1.o pc=0x22c28]
      Reading 4 bytes from 0xffbed58c on the stack.
      Address 0xffbed58c is       12 bytes past start of local variable "cinfo"
in function gdk_pixbuf__jpeg_image_load.
     UMR: Uninitialized memory read (155 times)
      This is occurring while in:
            diff2_rgb      [gdk-pixdata.c:233 pc=0xfbcc19c0]
            gdk_pixdata_from_pixbuf [gdk-pixdata.c:362 pc=0xfbcc2310]
            print_csource  [gdk-pixbuf-csource.c:62 pc=0x581b4]
            main           [gdk-pixbuf-csource.c:110 pc=0x5836c]
            _start         [crt1.o pc=0x22c28]
      Reading 1 byte from 0xe38d1 in the heap.
      Address 0xe38d1 is 825 bytes into a malloc'd block at 0xe3598 of 128340 bytes.
      This block was allocated from:
            malloc         [rtlib.o pc=0x2ae48]
            g_try_malloc   [gmem.c:194 pc=0xfbb46cd4]
            gdk_pixbuf_new [gdk-pixbuf.c:300 pc=0xfbcb4ee8]
            gdk_pixbuf__jpeg_image_load [io-jpeg.c:335 pc=0xfb021e50]
            _gdk_pixbuf_generic_image_load [gdk-pixbuf-io.c:760 pc=0xfbcb9c88]
            gdk_pixbuf_new_from_file [gdk-pixbuf-io.c:872 pc=0xfbcba0d0]
            main           [gdk-pixbuf-csource.c:100 pc=0x58310]
            _start         [crt1.o pc=0x22c28]
      UMR: Uninitialized memory read (154 times)
      This is occurring while in:
            diff2_rgb      [gdk-pixdata.c:233 pc=0xfbcc198c]
            gdk_pixdata_from_pixbuf [gdk-pixdata.c:362 pc=0xfbcc2310]
            print_csource  [gdk-pixbuf-csource.c:62 pc=0x581b4]
            main           [gdk-pixbuf-csource.c:110 pc=0x5836c]
            _start         [crt1.o pc=0x22c28]
      Reading 1 byte from 0xe38d1 in the heap.
      Address 0xe38d1 is 825 bytes into a malloc'd block at 0xe3598 of 128340 bytes.
      This block was allocated from:
            malloc         [rtlib.o pc=0x2ae48]
            g_try_malloc   [gmem.c:194 pc=0xfbb46cd4]
            gdk_pixbuf_new [gdk-pixbuf.c:300 pc=0xfbcb4ee8]
            gdk_pixbuf__jpeg_image_load [io-jpeg.c:335 pc=0xfb021e50]
            _gdk_pixbuf_generic_image_load [gdk-pixbuf-io.c:760 pc=0xfbcb9c88]
            gdk_pixbuf_new_from_file [gdk-pixbuf-io.c:872 pc=0xfbcba0d0]
            main           [gdk-pixbuf-csource.c:100 pc=0x58310]
            _start         [crt1.o pc=0x22c28]
      UMR: Uninitialized memory read (465 times)
      This is occurring while in:
            gdk_pixdata_to_csource [gdk-pixdata.c:835 pc=0xfbcc81fc]
            print_csource  [gdk-pixbuf-csource.c:63 pc=0x58218]
            main           [gdk-pixbuf-csource.c:110 pc=0x5836c]
            _start         [crt1.o pc=0x22c28]
      Reading 1 byte from 0x12293b in the heap.
      Address 0x12293b is 835 bytes into a malloc'd block at 0x1225f8 of 126860
bytes.
      This block was allocated from:
            malloc         [rtlib.o pc=0x2ae48]
            g_malloc       [gmem.c:137 pc=0xfbb46a74]
            gdk_pixdata_serialize [gdk-pixdata.c:123 pc=0xfbcc1304]
            gdk_pixdata_to_csource [gdk-pixdata.c:757 pc=0xfbcc3488]
            print_csource  [gdk-pixbuf-csource.c:63 pc=0x58218]
            main           [gdk-pixbuf-csource.c:110 pc=0x5836c]
            _start         [crt1.o pc=0x22c28]
Comment 7 Bastien Nocera 2014-10-22 16:12:20 UTC
With the current git master:

$ libtool --mode=execute valgrind.sh gdk-pixbuf-csource foo.jpg 
==17868== Memcheck, a memory error detector
==17868== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Seward et al.
==17868== Using Valgrind-3.10.0 and LibVEX; rerun with -h for copyright info
==17868== Command: /home/hadess/Projects/jhbuild/gdk-pixbuf/gdk-pixbuf/.libs/lt-gdk-pixbuf-csource foo.jpg
==17868== 
==17868== Conditional jump or move depends on uninitialised value(s)
==17868==    at 0x4E45D4B: diff2_rgb (gdk-pixdata.c:252)
==17868==    by 0x4E4651C: rl_encode_rgbx (gdk-pixdata.c:280)
==17868==    by 0x4E4651C: gdk_pixdata_from_pixbuf (gdk-pixdata.c:384)
==17868==    by 0x4011B6: print_csource (gdk-pixbuf-csource.c:59)
==17868==    by 0x400EC5: main (gdk-pixbuf-csource.c:104)
==17868==  Uninitialised value was created by a heap allocation
==17868==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17868==    by 0x7BA00D3: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7BA0326: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B8FC37: jinit_d_main_controller (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B9312F: jinit_master_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B89D54: jpeg_start_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x796F63A: gdk_pixbuf__jpeg_image_load (io-jpeg.c:581)
==17868==    by 0x4E405A9: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1096)
==17868==    by 0x400EA6: main (gdk-pixbuf-csource.c:94)
==17868== 
==17868== Conditional jump or move depends on uninitialised value(s)
==17868==    at 0x4E45D4B: diff2_rgb (gdk-pixdata.c:252)
==17868==    by 0x4E466BF: rl_encode_rgbx (gdk-pixdata.c:293)
==17868==    by 0x4E466BF: gdk_pixdata_from_pixbuf (gdk-pixdata.c:384)
==17868==    by 0x4011B6: print_csource (gdk-pixbuf-csource.c:59)
==17868==    by 0x400EC5: main (gdk-pixbuf-csource.c:104)
==17868==  Uninitialised value was created by a heap allocation
==17868==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17868==    by 0x7BA00D3: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7BA0326: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B8FC37: jinit_d_main_controller (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B9312F: jinit_master_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B89D54: jpeg_start_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x796F63A: gdk_pixbuf__jpeg_image_load (io-jpeg.c:581)
==17868==    by 0x4E405A9: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1096)
==17868==    by 0x400EA6: main (gdk-pixbuf-csource.c:94)
==17868== 
==17868== Conditional jump or move depends on uninitialised value(s)
==17868==    at 0x4E45D4B: diff2_rgb (gdk-pixdata.c:252)
==17868==    by 0x4E464E1: rl_encode_rgbx (gdk-pixdata.c:274)
==17868==    by 0x4E464E1: gdk_pixdata_from_pixbuf (gdk-pixdata.c:384)
==17868==    by 0x4011B6: print_csource (gdk-pixbuf-csource.c:59)
==17868==    by 0x400EC5: main (gdk-pixbuf-csource.c:104)
==17868==  Uninitialised value was created by a heap allocation
==17868==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17868==    by 0x7BA00D3: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7BA0326: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B8FC37: jinit_d_main_controller (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B9312F: jinit_master_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B89D54: jpeg_start_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x796F63A: gdk_pixbuf__jpeg_image_load (io-jpeg.c:581)
==17868==    by 0x4E405A9: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1096)
==17868==    by 0x400EA6: main (gdk-pixbuf-csource.c:94)
==17868== 
==17868== Conditional jump or move depends on uninitialised value(s)
==17868==    at 0x4E4723A: save_uchar (gdk-pixdata.c:562)
==17868==    by 0x4E4723A: gdk_pixdata_to_csource (gdk-pixdata.c:836)
==17868==    by 0x4011E7: print_csource (gdk-pixbuf-csource.c:60)
==17868==    by 0x400EC5: main (gdk-pixbuf-csource.c:104)
==17868==  Uninitialised value was created by a heap allocation
==17868==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17868==    by 0x7BA00D3: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7BA0326: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B8FC37: jinit_d_main_controller (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B9312F: jinit_master_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B89D54: jpeg_start_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x796F63A: gdk_pixbuf__jpeg_image_load (io-jpeg.c:581)
==17868==    by 0x4E405A9: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1096)
==17868==    by 0x400EA6: main (gdk-pixbuf-csource.c:94)
==17868== 
==17868== Use of uninitialised value of size 8
==17868==    at 0x6304151: _itoa_word (_itoa.c:181)
==17868==    by 0x6308C21: vfprintf (vfprintf.c:1641)
==17868==    by 0x6333552: vasprintf (vasprintf.c:62)
==17868==    by 0x58B7FF0: g_vasprintf (gprintf.c:316)
==17868==    by 0x589724E: g_string_append_vprintf (gstring.c:1160)
==17868==    by 0x5897456: g_string_append_printf (gstring.c:1264)
==17868==    by 0x4E47494: save_uchar (gdk-pixdata.c:564)
==17868==    by 0x4E47494: gdk_pixdata_to_csource (gdk-pixdata.c:836)
==17868==    by 0x4011E7: print_csource (gdk-pixbuf-csource.c:60)
==17868==    by 0x400EC5: main (gdk-pixbuf-csource.c:104)
==17868==  Uninitialised value was created by a heap allocation
==17868==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17868==    by 0x7BA00D3: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7BA0326: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B8FC37: jinit_d_main_controller (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B9312F: jinit_master_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B89D54: jpeg_start_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x796F63A: gdk_pixbuf__jpeg_image_load (io-jpeg.c:581)
==17868==    by 0x4E405A9: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1096)
==17868==    by 0x400EA6: main (gdk-pixbuf-csource.c:94)
==17868== 
==17868== Conditional jump or move depends on uninitialised value(s)
==17868==    at 0x6304158: _itoa_word (_itoa.c:181)
==17868==    by 0x6308C21: vfprintf (vfprintf.c:1641)
==17868==    by 0x6333552: vasprintf (vasprintf.c:62)
==17868==    by 0x58B7FF0: g_vasprintf (gprintf.c:316)
==17868==    by 0x589724E: g_string_append_vprintf (gstring.c:1160)
==17868==    by 0x5897456: g_string_append_printf (gstring.c:1264)
==17868==    by 0x4E47494: save_uchar (gdk-pixdata.c:564)
==17868==    by 0x4E47494: gdk_pixdata_to_csource (gdk-pixdata.c:836)
==17868==    by 0x4011E7: print_csource (gdk-pixbuf-csource.c:60)
==17868==    by 0x400EC5: main (gdk-pixbuf-csource.c:104)
==17868==  Uninitialised value was created by a heap allocation
==17868==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17868==    by 0x7BA00D3: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7BA0326: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B8FC37: jinit_d_main_controller (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B9312F: jinit_master_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B89D54: jpeg_start_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x796F63A: gdk_pixbuf__jpeg_image_load (io-jpeg.c:581)
==17868==    by 0x4E405A9: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1096)
==17868==    by 0x400EA6: main (gdk-pixbuf-csource.c:94)
==17868== 
==17868== Conditional jump or move depends on uninitialised value(s)
==17868==    at 0x6308C92: vfprintf (vfprintf.c:1641)
==17868==    by 0x6333552: vasprintf (vasprintf.c:62)
==17868==    by 0x58B7FF0: g_vasprintf (gprintf.c:316)
==17868==    by 0x589724E: g_string_append_vprintf (gstring.c:1160)
==17868==    by 0x5897456: g_string_append_printf (gstring.c:1264)
==17868==    by 0x4E47494: save_uchar (gdk-pixdata.c:564)
==17868==    by 0x4E47494: gdk_pixdata_to_csource (gdk-pixdata.c:836)
==17868==    by 0x4011E7: print_csource (gdk-pixbuf-csource.c:60)
==17868==    by 0x400EC5: main (gdk-pixbuf-csource.c:104)
==17868==  Uninitialised value was created by a heap allocation
==17868==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17868==    by 0x7BA00D3: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7BA0326: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B8FC37: jinit_d_main_controller (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B9312F: jinit_master_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B89D54: jpeg_start_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x796F63A: gdk_pixbuf__jpeg_image_load (io-jpeg.c:581)
==17868==    by 0x4E405A9: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1096)
==17868==    by 0x400EA6: main (gdk-pixbuf-csource.c:94)
==17868== 
==17868== Conditional jump or move depends on uninitialised value(s)
==17868==    at 0x63087BE: vfprintf (vfprintf.c:1641)
==17868==    by 0x6333552: vasprintf (vasprintf.c:62)
==17868==    by 0x58B7FF0: g_vasprintf (gprintf.c:316)
==17868==    by 0x589724E: g_string_append_vprintf (gstring.c:1160)
==17868==    by 0x5897456: g_string_append_printf (gstring.c:1264)
==17868==    by 0x4E47494: save_uchar (gdk-pixdata.c:564)
==17868==    by 0x4E47494: gdk_pixdata_to_csource (gdk-pixdata.c:836)
==17868==    by 0x4011E7: print_csource (gdk-pixbuf-csource.c:60)
==17868==    by 0x400EC5: main (gdk-pixbuf-csource.c:104)
==17868==  Uninitialised value was created by a heap allocation
==17868==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17868==    by 0x7BA00D3: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7BA0326: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B8FC37: jinit_d_main_controller (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B9312F: jinit_master_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B89D54: jpeg_start_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x796F63A: gdk_pixbuf__jpeg_image_load (io-jpeg.c:581)
==17868==    by 0x4E405A9: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1096)
==17868==    by 0x400EA6: main (gdk-pixbuf-csource.c:94)
==17868== 
==17868== Conditional jump or move depends on uninitialised value(s)
==17868==    at 0x630884E: vfprintf (vfprintf.c:1641)
==17868==    by 0x6333552: vasprintf (vasprintf.c:62)
==17868==    by 0x58B7FF0: g_vasprintf (gprintf.c:316)
==17868==    by 0x589724E: g_string_append_vprintf (gstring.c:1160)
==17868==    by 0x5897456: g_string_append_printf (gstring.c:1264)
==17868==    by 0x4E47494: save_uchar (gdk-pixdata.c:564)
==17868==    by 0x4E47494: gdk_pixdata_to_csource (gdk-pixdata.c:836)
==17868==    by 0x4011E7: print_csource (gdk-pixbuf-csource.c:60)
==17868==    by 0x400EC5: main (gdk-pixbuf-csource.c:104)
==17868==  Uninitialised value was created by a heap allocation
==17868==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17868==    by 0x7BA00D3: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7BA0326: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B8FC37: jinit_d_main_controller (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B9312F: jinit_master_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B89D54: jpeg_start_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x796F63A: gdk_pixbuf__jpeg_image_load (io-jpeg.c:581)
==17868==    by 0x4E405A9: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1096)
==17868==    by 0x400EA6: main (gdk-pixbuf-csource.c:94)
==17868== 
==17868== Conditional jump or move depends on uninitialised value(s)
==17868==    at 0x4E4720D: save_uchar (gdk-pixdata.c:547)
==17868==    by 0x4E4720D: gdk_pixdata_to_csource (gdk-pixdata.c:836)
==17868==    by 0x4011E7: print_csource (gdk-pixbuf-csource.c:60)
==17868==    by 0x400EC5: main (gdk-pixbuf-csource.c:104)
==17868==  Uninitialised value was created by a heap allocation
==17868==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17868==    by 0x7BA00D3: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7BA0326: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B8FC37: jinit_d_main_controller (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B9312F: jinit_master_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B89D54: jpeg_start_decompress (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x796F63A: gdk_pixbuf__jpeg_image_load (io-jpeg.c:581)
==17868==    by 0x4E405A9: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1096)
==17868==    by 0x400EA6: main (gdk-pixbuf-csource.c:94)
==17868== 
==17868== Conditional jump or move depends on uninitialised value(s)
==17868==    at 0x4E47260: save_uchar (gdk-pixdata.c:579)
==17868==    by 0x4E47260: gdk_pixdata_to_csource (gdk-pixdata.c:836)
==17868==    by 0x4011E7: print_csource (gdk-pixbuf-csource.c:60)
==17868==    by 0x400EC5: main (gdk-pixbuf-csource.c:104)
==17868==  Uninitialised value was created by a heap allocation
==17868==    at 0x4C29BCF: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==17868==    by 0x7B9FAF6: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B900C9: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B91079: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B8F17C: ??? (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B897C6: jpeg_consume_input (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x7B89AA2: jpeg_read_header (in /usr/lib64/libjpeg.so.62.1.0)
==17868==    by 0x796F620: gdk_pixbuf__jpeg_image_load (io-jpeg.c:576)
==17868==    by 0x4E405A9: gdk_pixbuf_new_from_file (gdk-pixbuf-io.c:1096)
==17868==    by 0x400EA6: main (gdk-pixbuf-csource.c:94)
==17868==
Comment 8 GNOME Infrastructure Team 2018-05-22 13:01:52 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/gdk-pixbuf/issues/4.