PTtiff2psd fails when more than 5 tiffs are added

Bug #686474 reported by Yuv on 2008-03-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panotools
Undecided
Unassigned

Bug Description

SVN 833, Ubuntu 64bit

works well with <6 TIFFs. With >5 it fails with the following dump:

$ PTtiff2psd -o nad.psd nad.tif nad0000.tif nad0001.tif nad0002.tif nad0003.tif nad0004.tif
PTtiff2psd Version 2.9.13 , based on PTstitcher by Helmut Dersch, rewritten by Daniel M German

Creating output file nad.psd
Converting TIFF to PSD 16%It is cropped 1
 83%*** glibc detected *** PTtiff2psd: munmap_chunk(): invalid pointer: 0x0000000000604ad0 ***
======= Backtrace: =========
/lib/libc.so.6(cfree+0x1b6)[0x2abb1fe5c826]
/usr/local/lib/libpano13.so.0(addLayerToFile+0x26d6)[0x2abb1f7277f6]
/usr/local/lib/libpano13.so.0(panoPSDCreate+0x17b)[0x2abb1f75030b]
PTtiff2psd[0x400f11]
/lib/libc.so.6(__libc_start_main+0xf4)[0x2abb1fe04b44]
PTtiff2psd[0x400bf9]
======= Memory map: ========
00400000-00402000 r-xp 00000000 03:07 1585004 /usr/local/bin/PTtiff2psd
00601000-00602000 rw-p 00001000 03:07 1585004 /usr/local/bin/PTtiff2psd
00602000-00b73000 rw-p 00602000 00:00 0 [heap]
2abb1f4e4000-2abb1f501000 r-xp 00000000 03:07 1762572 /lib/ld-2.6.1.so
2abb1f501000-2abb1f505000 rw-p 2abb1f501000 00:00 0
2abb1f700000-2abb1f702000 rw-p 0001c000 03:07 1762572 /lib/ld-2.6.1.so
2abb1f702000-2abb1f767000 r-xp 00000000 03:07 897632 /usr/local/lib/libpano13.so.0.0.0
2abb1f767000-2abb1f967000 ---p 00065000 03:07 897632 /usr/local/lib/libpano13.so.0.0.0
2abb1f967000-2abb1f969000 rw-p 00065000 03:07 897632 /usr/local/lib/libpano13.so.0.0.0
2abb1f969000-2abb1f98b000 r-xp 00000000 03:07 1437964 /usr/lib/libjpeg.so.62.0.0
2abb1f98b000-2abb1fb8b000 ---p 00022000 03:07 1437964 /usr/lib/libjpeg.so.62.0.0
2abb1fb8b000-2abb1fb8c000 rw-p 00022000 03:07 1437964 /usr/lib/libjpeg.so.62.0.0
2abb1fb8c000-2abb1fbe4000 r-xp 00000000 03:07 1438194 /usr/lib/libtiff.so.4.2.1
2abb1fbe4000-2abb1fde4000 ---p 00058000 03:07 1438194 /usr/lib/libtiff.so.4.2.1
2abb1fde4000-2abb1fde7000 rw-p 00058000 03:07 1438194 /usr/lib/libtiff.so.4.2.1
2abb1fde7000-2abb1ff39000 r-xp 00000000 03:07 1763072 /lib/libc-2.6.1.so
2abb1ff39000-2abb20138000 ---p 00152000 03:07 1763072 /lib/libc-2.6.1.so
2abb20138000-2abb2013b000 r--p 00151000 03:07 1763072 /lib/libc-2.6.1.so
2abb2013b000-2abb2013d000 rw-p 00154000 03:07 1763072 /lib/libc-2.6.1.so
2abb2013d000-2abb20143000 rw-p 2abb2013d000 00:00 0
2abb20143000-2abb20167000 r-xp 00000000 03:07 1436262 /usr/lib/libpng12.so.0.15.0
2abb20167000-2abb20367000 ---p 00024000 03:07 1436262 /usr/lib/libpng12.so.0.15.0
2abb20367000-2abb20368000 rw-p 00024000 03:07 1436262 /usr/lib/libpng12.so.0.15.0
2abb20368000-2abb2037e000 r-xp 00000000 03:07 1438252 /usr/lib/libz.so.1.2.3.3
2abb2037e000-2abb2057e000 ---p 00016000 03:07 1438252 /usr/lib/libz.so.1.2.3.3
2abb2057e000-2abb2057f000 rw-p 00016000 03:07 1438252 /usr/lib/libz.so.1.2.3.3
2abb2057f000-2abb205ff000 r-xp 00000000 03:07 1763530 /lib/libm-2.6.1.so
2abb205ff000-2abb207fe000 ---p 00080000 03:07 1763530 /lib/libm-2.6.1.so
2abb207fe000-2abb20800000 rw-p 0007f000 03:07 1763530 /lib/libm-2.6.1.so
2abb20800000-2abb2080a000 rw-p 2abb20800000 00:00 0
2abb2081d000-2abb2082a000 r-xp 00000000 03:07 1762626 /lib/libgcc_s.so.1
2abb2082a000-2abb20a2a000 ---p 0000d000 03:07 1762626 /lib/libgcc_s.so.1
2abb20a2a000-2abb20a2b000 rw-p 0000d000 03:07 1762626 /lib/libgcc_s.so.1
7fff8b5b1000-7fff8b5c6000 rw-p 7fff8b5b1000 00:00 0 [stack]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vdso]
Aborted (core dumped)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers