ryanqq / openjpeg

Automatically exported from code.google.com/p/openjpeg
Other
0 stars 0 forks source link

NR-ENC-random-issue-0005.tif-12-encode segfault #293

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As per dashboard:

http://my.cdash.org/testDetails.php?test=14152687&build=581105

*** glibc detected *** 
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/o
pj_compress: double free or corruption (!prev): 0x000000000107be40 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x76d76)[0x7f990f296d76]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f990f29bb1c]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(+0x3b9a8)[0x7f99101619a8]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(+0x3af7c)[0x7f9910160f7c]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(opj_tcd_destroy+0x1f)[0x7f991015dbb1]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(+0x21041)[0x7f9910147041]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(+0x197a6)[0x7f991013f7a6]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(opj_j2k_end_compress+0x3f)[0x7f9910145e50]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(opj_end_compress+0x60)[0x7f991014f1ee]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/o
pj_compress(main+0xa5a)[0x4070a6]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f990f23eead]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/o
pj_compress[0x403359]
======= Memory map: ========
00400000-0041d000 r-xp 00000000 08:01 28315708                           
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/o
pj_compress
0061c000-0061d000 r--p 0001c000 08:01 28315708                           
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/o
pj_compress
0061d000-0061e000 rw-p 0001d000 08:01 28315708                           
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/o
pj_compress
01048000-013ac000 rw-p 00000000 00:00 0                                  [heap]
7f9908000000-7f9908021000 rw-p 00000000 00:00 0 
7f9908021000-7f990c000000 ---p 00000000 00:00 0 
7f990df0b000-7f990df20000 r-xp 00000000 08:01 23068676                   
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f990df20000-7f990e120000 ---p 00015000 08:01 23068676                   
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f990e120000-7f990e121000 rw-p 00015000 08:01 23068676                   
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f990e13a000-7f990ebd7000 rw-p 00000000 00:00 0 
7f990edd8000-7f990ee12000 r-xp 00000000 08:01 21114509                   
/usr/lib/x86_64-linux-gnu/libjpeg.so.8.4.0
7f990ee12000-7f990f011000 ---p 0003a000 08:01 21114509                   
/usr/lib/x86_64-linux-gnu/libjpeg.so.8.4.0
7f990f011000-7f990f012000 rw-p 00039000 08:01 21114509                   
/usr/lib/x86_64-linux-gnu/libjpeg.so.8.4.0
7f990f012000-7f990f01d000 r-xp 00000000 08:01 21114513                   
/usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f990f01d000-7f990f21d000 ---p 0000b000 08:01 21114513                   
/usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f990f21d000-7f990f220000 rw-p 0000b000 08:01 21114513                   
/usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f990f220000-7f990f3a2000 r-xp 00000000 08:01 23071750                   
/lib/x86_64-linux-gnu/libc-2.13.so
7f990f3a2000-7f990f5a1000 ---p 00182000 08:01 23071750                   
/lib/x86_64-linux-gnu/libc-2.13.so
7f990f5a1000-7f990f5a5000 r--p 00181000 08:01 23071750                   
/lib/x86_64-linux-gnu/libc-2.13.so
7f990f5a5000-7f990f5a6000 rw-p 00185000 08:01 23071750                   
/lib/x86_64-linux-gnu/libc-2.13.so
7f990f5a6000-7f990f5ab000 rw-p 00000000 00:00 0 
7f990f5ab000-7f990f62c000 r-xp 00000000 08:01 23075551                   
/lib/x86_64-linux-gnu/libm-2.13.so
7f990f62c000-7f990f82b000 ---p 00081000 08:01 23075551                   
/lib/x86_64-linux-gnu/libm-2.13.so
7f990f82b000-7f990f82c000 r--p 00080000 08:01 23075551                   
/lib/x86_64-linux-gnu/libm-2.13.so
7f990f82c000-7f990f82d000 rw-p 00081000 08:01 23075551                   
/lib/x86_64-linux-gnu/libm-2.13.so
7f990f82d000-7f990f87c000 r-xp 00000000 08:01 21129053                   
/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.5
7f990f87c000-7f990fa7c000 ---p 0004f000 08:01 21129053                   
/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.5
7f990fa7c000-7f990fa7d000 r--p 0004f000 08:01 21129053                   
/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.5
7f990fa7d000-7f990fa82000 rw-p 00050000 08:01 21129053                   
/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.5
7f990fa82000-7f990fae5000 r-xp 00000000 08:01 21114516                   
/usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f990fae5000-7f990fce4000 ---p 00063000 08:01 21114516                   
/usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f990fce4000-7f990fce7000 r--p 00062000 08:01 21114516                   
/usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f990fce7000-7f990fce8000 rw-p 00065000 08:01 21114516                   
/usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f990fce8000-7f990fcfe000 r-xp 00000000 08:01 23068762                   
/lib/x86_64-linux-gnu/libz.so.1.2.7
7f990fcfe000-7f990fefd000 ---p 00016000 08:01 23068762                   
/lib/x86_64-linux-gnu/libz.so.1.2.7
7f990fefd000-7f990fefe000 r--p 00015000 08:01 23068762                   
/lib/x86_64-linux-gnu/libz.so.1.2.7
7f990fefe000-7f990feff000 rw-p 00016000 08:01 23068762                   
/lib/x86_64-linux-gnu/libz.so.1.2.7
7f990feff000-7f990ff25000 r-xp 00000000 08:01 23071789                   
/lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f990ff25000-7f9910124000 ---p 00026000 08:01 23071789                   
/lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f9910124000-7f9910125000 r--p 00025000 08:01 23071789                   
/lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f9910125000-7f9910126000 rw-p 00026000 08:01 23071789                   
/lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f9910126000-7f991016e000 r-xp 00000000 08:01 28315703                   
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.2.1.0
7f991016e000-7f991036e000 ---p 00048000 08:01 28315703                   
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.2.1.0
7f991036e000-7f991036f000 r--p 00048000 08:01 28315703                   
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.2.1.0
7f991036f000-7f9910371000 rw-p 00049000 08:01 28315703                   
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.2.1.0
7f9910371000-7f9910391000 r-xp 00000000 08:01 23075566                   
/lib/x86_64-linux-gnu/ld-2.13.so
7f991046e000-7f9910575000 rw-p 00000000 00:00 0 
7f991058d000-7f9910590000 rw-p 00000000 00:00 0 
7f9910590000-7f9910591000 r--p 0001f000 08:01 23075566                   
/lib/x86_64-linux-gnu/ld-2.13.so
7f9910591000-7f9910592000 rw-p 00020000 08:01 23075566                   
/lib/x86_64-linux-gnu/ld-2.13.so
7f9910592000-7f9910593000 rw-p 00000000 00:00 0 
7fffb31ec000-7fffb320d000 rw-p 00000000 00:00 0                          [stack]
7fffb3384000-7fffb3385000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  
[vsyscall]
[INFO] tile number 1 / 1

Original issue reported on code.google.com by mathieu.malaterre on 14 Mar 2014 at 10:49

GoogleCodeExporter commented 9 years ago
Same symptoms for : NR-ENC-tmp-issue-0062.raw-13-encode 

*** glibc detected *** 
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/o
pj_compress: free(): invalid next size (normal): 0x0000000000ba5fe0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x76d76)[0x7f952037dd76]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x6c)[0x7f9520382b1c]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(+0x3b9a8)[0x7f95212489a8]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(+0x3af7c)[0x7f9521247f7c]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(opj_tcd_destroy+0x1f)[0x7f9521244bb1]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(+0x21041)[0x7f952122e041]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(+0x197a6)[0x7f95212267a6]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(opj_j2k_end_compress+0x3f)[0x7f952122ce50]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.7(opj_end_compress+0x60)[0x7f95212361ee]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/o
pj_compress(main+0xa5a)[0x4070a6]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7f9520325ead]
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/o
pj_compress[0x403359]
======= Memory map: ========
00400000-0041d000 r-xp 00000000 08:01 28315708                           
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/o
pj_compress
0061c000-0061d000 r--p 0001c000 08:01 28315708                           
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/o
pj_compress
0061d000-0061e000 rw-p 0001d000 08:01 28315708                           
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/o
pj_compress
00b8c000-00c91000 rw-p 00000000 00:00 0                                  [heap]
7f9518000000-7f9518021000 rw-p 00000000 00:00 0 
7f9518021000-7f951c000000 ---p 00000000 00:00 0 
7f951fa8e000-7f951faa3000 r-xp 00000000 08:01 23068676                   
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f951faa3000-7f951fca3000 ---p 00015000 08:01 23068676                   
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f951fca3000-7f951fca4000 rw-p 00015000 08:01 23068676                   
/lib/x86_64-linux-gnu/libgcc_s.so.1
7f951fcbd000-7f951febf000 rw-p 00000000 00:00 0 
7f951febf000-7f951fef9000 r-xp 00000000 08:01 21114509                   
/usr/lib/x86_64-linux-gnu/libjpeg.so.8.4.0
7f951fef9000-7f95200f8000 ---p 0003a000 08:01 21114509                   
/usr/lib/x86_64-linux-gnu/libjpeg.so.8.4.0
7f95200f8000-7f95200f9000 rw-p 00039000 08:01 21114509                   
/usr/lib/x86_64-linux-gnu/libjpeg.so.8.4.0
7f95200f9000-7f9520104000 r-xp 00000000 08:01 21114513                   
/usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f9520104000-7f9520304000 ---p 0000b000 08:01 21114513                   
/usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f9520304000-7f9520307000 rw-p 0000b000 08:01 21114513                   
/usr/lib/x86_64-linux-gnu/libjbig.so.0.0.0
7f9520307000-7f9520489000 r-xp 00000000 08:01 23071750                   
/lib/x86_64-linux-gnu/libc-2.13.so
7f9520489000-7f9520688000 ---p 00182000 08:01 23071750                   
/lib/x86_64-linux-gnu/libc-2.13.so
7f9520688000-7f952068c000 r--p 00181000 08:01 23071750                   
/lib/x86_64-linux-gnu/libc-2.13.so
7f952068c000-7f952068d000 rw-p 00185000 08:01 23071750                   
/lib/x86_64-linux-gnu/libc-2.13.so
7f952068d000-7f9520692000 rw-p 00000000 00:00 0 
7f9520692000-7f9520713000 r-xp 00000000 08:01 23075551                   
/lib/x86_64-linux-gnu/libm-2.13.so
7f9520713000-7f9520912000 ---p 00081000 08:01 23075551                   
/lib/x86_64-linux-gnu/libm-2.13.so
7f9520912000-7f9520913000 r--p 00080000 08:01 23075551                   
/lib/x86_64-linux-gnu/libm-2.13.so
7f9520913000-7f9520914000 rw-p 00081000 08:01 23075551                   
/lib/x86_64-linux-gnu/libm-2.13.so
7f9520914000-7f9520963000 r-xp 00000000 08:01 21129053                   
/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.5
7f9520963000-7f9520b63000 ---p 0004f000 08:01 21129053                   
/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.5
7f9520b63000-7f9520b64000 r--p 0004f000 08:01 21129053                   
/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.5
7f9520b64000-7f9520b69000 rw-p 00050000 08:01 21129053                   
/usr/lib/x86_64-linux-gnu/liblcms2.so.2.0.5
7f9520b69000-7f9520bcc000 r-xp 00000000 08:01 21114516                   
/usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f9520bcc000-7f9520dcb000 ---p 00063000 08:01 21114516                   
/usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f9520dcb000-7f9520dce000 r--p 00062000 08:01 21114516                   
/usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f9520dce000-7f9520dcf000 rw-p 00065000 08:01 21114516                   
/usr/lib/x86_64-linux-gnu/libtiff.so.4.3.6
7f9520dcf000-7f9520de5000 r-xp 00000000 08:01 23068762                   
/lib/x86_64-linux-gnu/libz.so.1.2.7
7f9520de5000-7f9520fe4000 ---p 00016000 08:01 23068762                   
/lib/x86_64-linux-gnu/libz.so.1.2.7
7f9520fe4000-7f9520fe5000 r--p 00015000 08:01 23068762                   
/lib/x86_64-linux-gnu/libz.so.1.2.7
7f9520fe5000-7f9520fe6000 rw-p 00016000 08:01 23068762                   
/lib/x86_64-linux-gnu/libz.so.1.2.7
7f9520fe6000-7f952100c000 r-xp 00000000 08:01 23071789                   
/lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f952100c000-7f952120b000 ---p 00026000 08:01 23071789                   
/lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f952120b000-7f952120c000 r--p 00025000 08:01 23071789                   
/lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f952120c000-7f952120d000 rw-p 00026000 08:01 23071789                   
/lib/x86_64-linux-gnu/libpng12.so.0.49.0
7f952120d000-7f9521255000 r-xp 00000000 08:01 28315703                   
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.2.1.0
7f9521255000-7f9521455000 ---p 00048000 08:01 28315703                   
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.2.1.0
7f9521455000-7f9521456000 r--p 00048000 08:01 28315703                   
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.2.1.0
7f9521456000-7f9521458000 rw-p 00049000 08:01 28315703                   
/home/voxxl/Dashboards/MyTests/openjpeg-continuous-linux_gcc47-trunk-debug/bin/l
ibopenjp2.so.2.1.0
7f9521458000-7f9521478000 r-xp 00000000 08:01 23075566                   
/lib/x86_64-linux-gnu/ld-2.13.so
7f95214ae000-7f952165c000 rw-p 00000000 00:00 0 
7f9521673000-7f9521677000 rw-p 00000000 00:00 0 
7f9521677000-7f9521678000 r--p 0001f000 08:01 23075566                   
/lib/x86_64-linux-gnu/ld-2.13.so
7f9521678000-7f9521679000 rw-p 00020000 08:01 23075566                   
/lib/x86_64-linux-gnu/ld-2.13.so
7f9521679000-7f952167a000 rw-p 00000000 00:00 0 
7fffb268c000-7fffb26ad000 rw-p 00000000 00:00 0                          [stack]
7fffb2756000-7fffb2757000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  
[vsyscall]

Raw file parameters: 512,512,1,16 Unsigned
[INFO] tile number 1 / 1

Original comment by mathieu.malaterre on 14 Mar 2014 at 10:52

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2730.

Original comment by mathieu.malaterre on 14 Mar 2014 at 10:54

GoogleCodeExporter commented 9 years ago
For reference something similar was done in the past see r1703 (issue 5)

Original comment by mathieu.malaterre on 14 Mar 2014 at 10:55