[Pkg-gmagick-im-team] Bug#667482: [sparc] convert: free(): invalid pointer when converting jpg files to pdf
Aron Xu
happyaron.xu at gmail.com
Wed Apr 4 11:54:55 UTC 2012
Package: imagemagick
Version:
Severity: important
While trying to convert several jpg files into one pdf file, the
program "convert" crashed. It is 12 scanned files in my case,
2482x3510, black and white, ~700k per file.
Unfortunately I can't provide the images because it's something
confidential, but I wish the following thing can help:
GNU gdb (GDB) 7.4-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "sparc-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
(gdb) exec-file /usr/bin/convert
(gdb) r convert *.jpg test.pdf
Starting program: /usr/bin/convert convert *.jpg test.pdf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/sparc-linux-gnu/libthread_db.so.1".
[New Thread 0x9371bb70 (LWP 18530)]
[New Thread 0x92f1bb70 (LWP 18531)]
[New Thread 0x9271bb70 (LWP 18532)]
*** glibc detected *** /usr/bin/convert: free(): invalid pointer: 0x91d96008 ***
======= Backtrace: =========
/lib/sparc-linux-gnu/libc.so.6(cfree+0x78)[0xf7452518]
/usr/lib/sparc-linux-gnu/libMagickCore.so.5(RelinquishMagickMemory+0x28)[0xf7e4e108]
/usr/lib/sparc-linux-gnu/libMagickCore.so.5(DestroyPixelCache+0x2f0)[0xf7d72370]
/usr/lib/sparc-linux-gnu/libMagickCore.so.5(DestroyImagePixels+0xcc)[0xf7d72c4c]
/usr/lib/sparc-linux-gnu/libMagickCore.so.5(DestroyImage+0x84)[0xf7e353c4]
/usr/lib/sparc-linux-gnu/libMagickCore.so.5(ThumbnailImage+0x6a0)[0xf7eb9c80]
/usr/lib/sparc-linux-gnu/ImageMagick-6.7.4/modules-Q16/coders/pdf.so(+0x59f4)[0x9bc2d9f4]
/usr/lib/sparc-linux-gnu/libMagickCore.so.5(WriteImage+0x2e0)[0xf7da2800]
/usr/lib/sparc-linux-gnu/libMagickCore.so.5(WriteImages+0x19c)[0xf7da307c]
/usr/lib/sparc-linux-gnu/libMagickWand.so.5(ConvertImageCommand+0x2c18)[0xf7c2f898]
/usr/lib/sparc-linux-gnu/libMagickWand.so.5(MagickCommandGenesis+0x21c)[0xf7cb0afc]
/usr/bin/convert[0x106d8]
/lib/sparc-linux-gnu/libc.so.6(__libc_start_main+0x10c)[0xf73e884c]
/usr/bin/convert[0x1074c]
======= Memory map: ========
00010000-00012000 r-xp 00000000 09:00 3558538
/usr/bin/convert.im6
00020000-00022000 r--p 00000000 09:00 3558538
/usr/bin/convert.im6
00022000-00024000 rwxp 00002000 09:00 3558538
/usr/bin/convert.im6
00024000-001da000 rwxp 00000000 00:00 0 [heap]
91a00000-91a4a000 rw-p 00000000 00:00 0
91a4a000-91b00000 ---p 00000000 00:00 0
91c00000-91c6e000 rw-p 00000000 00:00 0
91c6e000-91d00000 ---p 00000000 00:00 0
91d96000-91f1c000 rw-p 00000000 00:00 0
91f1c000-91f1e000 ---p 00000000 00:00 0
91f1e000-9271c000 rw-p 00000000 00:00 0
9271c000-9271e000 ---p 00000000 00:00 0
9271e000-92f1c000 rw-p 00000000 00:00 0
92f1c000-92f1e000 ---p 00000000 00:00 0
92f1e000-9bc0c000 rw-p 00000000 00:00 0
9bc28000-9bc34000 r-xp 00000000 09:00 3558067
/usr/lib/sparc-linux-gnu/ImageMagick-6.7.4/modules-Q16/coders/pdf.so
9bc34000-9bc42000 ---p 0000c000 09:00 3558067
/usr/lib/sparc-linux-gnu/ImageMagick-6.7.4/modules-Q16/coders/pdf.so
9bc42000-9bc44000 r--p 0000a000 09:00 3558067
/usr/lib/sparc-linux-gnu/ImageMagick-6.7.4/modules-Q16/coders/pdf.so
9bc44000-9bc46000 rwxp 0000c000 09:00 3558067
/usr/lib/sparc-linux-gnu/ImageMagick-6.7.4/modules-Q16/coders/pdf.so
9bc46000-f7298000 rw-p 00000000 00:00 0
f7298000-f72a2000 r-xp 00000000 09:00 3558159
/usr/lib/sparc-linux-gnu/ImageMagick-6.7.4/modules-Q16/coders/jpeg.so
f72a2000-f72b0000 ---p 0000a000 09:00 3558159
/usr/lib/sparc-linux-gnu/ImageMagick-6.7.4/modules-Q16/coders/jpeg.so
f72b0000-f72b2000 r--p 00008000 09:00 3558159
/usr/lib/sparc-linux-gnu/ImageMagick-6.7.4/modules-Q16/coders/jpeg.so
f72b2000-f72b4000 rwxp 0000a000 09:00 3558159
/usr/lib/sparc-linux-gnu/ImageMagick-6.7.4/modules-Q16/coders/jpeg.so
f72b4000-f72b8000 r-xp 00000000 09:00 3548272
/usr/lib/sparc-linux-gnu/libXdmcp.so.6.0.0
f72b8000-f72c6000 ---p 00004000 09:00 3548272
/usr/lib/sparc-linux-gnu/libXdmcp.so.6.0.0
f72c6000-f72c8000 rwxp 00002000 09:00 3548272
/usr/lib/sparc-linux-gnu/libXdmcp.so.6.0.0
f72c8000-f72ca000 r-xp 00000000 09:00 3548262
/usr/lib/sparc-linux-gnu/libXau.so.6.0.0
f72ca000-f72d8000 ---p 00002000 09:00 3548262
/usr/lib/sparc-linux-gnu/libXau.so.6.0.0
f72d8000-f72da000 rwxp 00000000 09:00 3548262
/usr/lib/sparc-linux-gnu/libXau.so.6.0.0
f72dc000-f72f4000 r-xp 00000000 09:00 3548283
/usr/lib/sparc-linux-gnu/libxcb.so.1.1.0
f72f4000-f7302000 ---p 00018000 09:00 3548283
/usr/lib/sparc-linux-gnu/libxcb.so.1.1.0
f7302000-f7304000 r--p 00016000 09:00 3548283
/usr/lib/sparc-linux-gnu/libxcb.so.1.1.0
f7304000-f7306000 rwxp 00018000 09:00 3548283
/usr/lib/sparc-linux-gnu/libxcb.so.1.1.0
f7308000-f730c000 r-xp 00000000 09:00 3543259
/lib/sparc-linux-gnu/libuuid.so.1.3.0
f730c000-f731a000 ---p 00004000 09:00 3543259
/lib/sparc-linux-gnu/libuuid.so.1.3.0
f731a000-f731c000 r--p 00002000 09:00 3543259
/lib/sparc-linux-gnu/libuuid.so.1.3.0
f731c000-f731e000 rwxp 00004000 09:00 3543259
/lib/sparc-linux-gnu/libuuid.so.1.3.0
f7320000-f7348000 r-xp 00000000 09:00 3548199
/lib/sparc-linux-gnu/libexpat.so.1.6.0
f7348000-f7356000 ---p 00028000 09:00 3548199
/lib/sparc-linux-gnu/libexpat.so.1.6.0
f7356000-f7358000 r--p 00026000 09:00 3548199
/lib/sparc-linux-gnu/libexpat.so.1.6.0
f7358000-f735a000 rwxp 00028000 09:00 3548199
/lib/sparc-linux-gnu/libexpat.so.1.6.0
f735c000-f7364000 r-xp 00000000 09:00 3540337
/lib/sparc-linux-gnu/librt-2.13.so
f7364000-f7372000 ---p 00008000 09:00 3540337
/lib/sparc-linux-gnu/librt-2.13.so
f7372000-f7374000 r--p 00006000 09:00 3540337
/lib/sparc-linux-gnu/librt-2.13.so
f7374000-f7376000 rwxp 00008000 09:00 3540337
/lib/sparc-linux-gnu/librt-2.13.so
f7378000-f73b8000 r-xp 00000000 09:00 3547972
/lib/sparc-linux-gnu/libpcre.so.3.13.1
f73b8000-f73c6000 ---p 00040000 09:00 3547972
/lib/sparc-linux-gnu/libpcre.so.3.13.1
f73c6000-f73c8000 rwxp 0003e000 09:00 3547972
/lib/sparc-linux-gnu/libpcre.so.3.13.1
f73c8000-f7534000 r-xp 00000000 09:00 3540326
/lib/sparc-linux-gnu/libc-2.13.so
f7534000-f7544000 ---p 0016c000 09:00 3540326
/lib/sparc-linux-gnu/libc-2.13.so
f7544000-f7546000 r--p 0016c000 09:00 3540326
/lib/sparc-linux-gnu/libc-2.13.so
f7546000-f754a000 rwxp 0016e000 09:00 3540326
/lib/sparc-linux-gnu/libc-2.13.so
f754a000-f754c000 rwxp 00000000 00:00 0
f754c000-f761e000 r-xp 00000000 09:00 3540321
/lib/sparc-linux-gnu/libm-2.13.so
f761e000-f762c000 ---p 000d2000 09:00 3540321
/lib/sparc-linux-gnu/libm-2.13.so
f762c000-f762e000 r--p 000d0000 09:00 3540321
/lib/sparc-linux-gnu/libm-2.13.so
f762e000-f7632000 rwxp 000d2000 09:00 3540321
/lib/sparc-linux-gnu/libm-2.13.so
f7634000-f7640000 r-xp 00000000 09:00 3548221
/usr/lib/sparc-linux-gnu/libgomp.so.1.0.0
f7640000-f7650000 ---p 0000c000 09:00 3548221
/usr/lib/sparc-linux-gnu/libgomp.so.1.0.0
f7650000-f7652000 rwxp 0000c000 09:00 3548221
/usr/lib/sparc-linux-gnu/libgomp.so.1.0.0
f7654000-f7770000 r-xp 00000000 09:00 3548303
/usr/lib/sparc-linux-gnu/libX11.so.6.3.0
f7770000-f777e000 ---p 0011c000 09:00 3548303
/usr/lib/sparc-linux-gnu/libX11.so.6.3.0
f777e000-f7784000 rwxp 0011a000 09:00 3548303
/usr/lib/sparc-linux-gnu/libX11.so.6.3.0
f7784000-f7798000 r-xp 00000000 09:00 3554529
/usr/lib/sparc-linux-gnu/libICE.so.6.3.0
f7798000-f77a8000 ---p 00014000 09:00 3554529
/usr/lib/sparc-linux-gnu/libICE.so.6.3.0
f77a8000-f77aa000 rwxp 00014000 09:00 3554529
/usr/lib/sparc-linux-gnu/libICE.so.6.3.0
f77aa000-f77ac000 rwxp 00000000 00:00 0
f77ac000-f77b4000 r-xp 00000000 09:00 3554629
/usr/lib/sparc-linux-gnu/libSM.so.6.0.1
f77b4000-f77c2000 ---p 00008000 09:00 3554629
/usr/lib/sparc-linux-gnu/libSM.so.6.0.1
f77c2000-f77c4000 rwxp 00006000 09:00 3554629
/usr/lib/sparc-linux-gnu/libSM.so.6.0.1
f77c4000-f77c8000 r-xp 00000000 09:00 3540335
/lib/sparc-linux-gnu/libdl-2.13.so
f77c8000-f77d6000 ---p 00004000 09:00 3540335
/lib/sparc-linux-gnu/libdl-2.13.so
f77d6000-f77d8000 r--p 00002000 09:00 3540335
/lib/sparc-linux-gnu/libdl-2.13.so
f77d8000-f77da000 rwxp 00004000 09:00 3540335
/lib/sparc-linux-gnu/libdl-2.13.so
f77dc000-f77e4000 r-xp 00000000 09:00 3554344
/usr/lib/sparc-linux-gnu/libltdl.so.7.3.0
f77e4000-f77f2000 ---p 00008000 09:00 3554344
/usr/lib/sparc-linux-gnu/libltdl.so.7.3.0
f77f2000-f77f4000 rwxp 00006000 09:00 3554344
/usr/lib/sparc-linux-gnu/libltdl.so.7.3.0
f77f4000-f780a000 r-xp 00000000 09:00 3540329
/lib/sparc-linux-gnu/libpthread-2.13.so
f780a000-f781a000 ---p 00016000 09:00 3540329
/lib/sparc-linux-gnu/libpthread-2.13.so
f781a000-f781c000 r--p 00016000 09:00 3540329
/lib/sparc-linux-gnu/libpthread-2.13.so
f781c000-f781e000 rwxp 00018000 09:00 3540329
/lib/sparc-linux-gnu/libpthread-2.13.so
f781e000-f7820000 rwxp 00000000 00:00 0
f7820000-f7836000 r-xp 00000000 09:00 3543458
/usr/lib/sparc-linux-gnu/libz.so.1.2.6
f7836000-f7844000 ---p 00016000 09:00 3543458
/usr/lib/sparc-linux-gnu/libz.so.1.2.6
f7844000-f7846000 rwxp 00014000 09:00 3543458
/usr/lib/sparc-linux-gnu/libz.so.1.2.6
f7848000-f7858000 r-xp 00000000 09:00 3539227
/lib/sparc-linux-gnu/libbz2.so.1.0.4
f7858000-f785a000 rwxp 00010000 09:00 3539227
/lib/sparc-linux-gnu/libbz2.so.1.0.4
f785c000-f78b2000 r-xp 00000000 09:00 3554651
/usr/lib/sparc-linux-gnu/libXt.so.6.0.0
f78b2000-f78c0000 ---p 00056000 09:00 3554651
/usr/lib/sparc-linux-gnu/libXt.so.6.0.0
f78c0000-f78c6000 rwxp 00054000 09:00 3554651
/usr/lib/sparc-linux-gnu/libXt.so.6.0.0
f78c8000-f78da000 r-xp 00000000 09:00 3548314
/usr/lib/sparc-linux-gnu/libXext.so.6.4.0
f78da000-f78e8000 ---p 00012000 09:00 3548314
/usr/lib/sparc-linux-gnu/libXext.so.6.4.0
f78e8000-f78ea000 rwxp 00010000 09:00 3548314
/usr/lib/sparc-linux-gnu/libXext.so.6.4.0
f78ec000-f791a000 r-xp 00000000 09:00 3554314
/usr/lib/sparc-linux-gnu/libfontconfig.so.1.4.4
f791a000-f792a000 ---p 0002e000 09:00 3554314
/usr/lib/sparc-linux-gnu/libfontconfig.so.1.4.4
f792a000-f792c000 rwxp 0002e000 09:00 3554314
/usr/lib/sparc-linux-gnu/libfontconfig.so.1.4.4
f792c000-f7a18000 r-xp 00000000 09:00 3544859
/lib/sparc-linux-gnu/libglib-2.0.so.0.3200.0
f7a18000-f7a26000 ---p 000ec000 09:00 3544859
/lib/sparc-linux-gnu/libglib-2.0.so.0.3200.0
f7a26000-f7a28000 r--p 000ea000 09:00 3544859
/lib/sparc-linux-gnu/libglib-2.0.so.0.3200.0
f7a28000-f7a2a000 rwxp 000ec000 09:00 3544859
/lib/sparc-linux-gnu/libglib-2.0.so.0.3200.0
f7a2c000-f7a3e000 r-xp 00000000 09:00 3557930
/usr/lib/liblqr-1.so.0.3.1
f7a3e000-f7a4c000 ---p 00012000 09:00 3557930
/usr/lib/liblqr-1.so.0.3.1
f7a4c000-f7a4e000 rwxp 00010000 09:00 3557930
/usr/lib/liblqr-1.so.0.3.1
f7a50000-f7a86000 r-xp 00000000 09:00 3555161
/usr/lib/sparc-linux-gnu/libjpeg.so.8.4.0
f7a86000-f7a94000 ---p 00036000 09:00 3555161
/usr/lib/sparc-linux-gnu/libjpeg.so.8.4.0
Program received signal SIGABRT, Aborted.
0xf7400010 in raise () from /lib/sparc-linux-gnu/libc.so.6
Installed packages:
imagemagick: 8:6.7.4.0-3
liblqr-1-0: 0.4.1-1.1
libjpeg8: 8d-1
--
Regards,
Aron Xu
More information about the Pkg-gmagick-im-team
mailing list