PTtiff2psd segfaults on OS X 10.8.3

Bug #1181009 reported by Burkhard Höfling
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panotools
Fix Released
Undecided
Unassigned

Bug Description

I'm trying to convert a bunch of tiff files created by nona to a psd stack. However, PTtiff2psd segfaults while still converting the first image. The segfaults occurs both with Hugin 2012 and 2013 beta 1 (same version of PTtiff2psd). Problem is reproducible, re-creating tiff input files via the 2013 Hugin interface didn't change the situation. TIffs are 8 bit RGBA/LZW and can be processed by emblend without problems.

Transcript:

$ PTtiff2psd test00*.tif
PTtiff2psd Version 2.9.18 , based on PTstitcher by Helmut Dersch, rewritten by Daniel M German

Creating output file merged.psd
Converting TIFF to PSD 5%It is cropped 1
 27%Segmentation fault: 11

Crash log:

Process: PTtiff2psd [57252]
Path: /Applications/hugin-mac-2013.0.0/Hugin.app/Contents/MacOS/PTtiff2psd
Identifier: PTtiff2psd
Version: ???
Code Type: X86-64 (Native)
Parent Process: bash [57062]
User ID: 501

Date/Time: 2013-05-16 23:46:28.103 +0200
OS Version: Mac OS X 10.8.3 (12D78)
Report Version: 10

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000100300000

VM Regions Near 0x100300000:
    MALLOC_TINY 0000000100200000-0000000100300000 [ 1024K] rw-/rwx SM=PRV
-->
    MALLOC_SMALL 0000000100800000-0000000101000000 [ 8192K] rw-/rwx SM=PRV

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libpano13.2.dylib 0x0000000100023418 addLayerToFile + 8248
1 libpano13.2.dylib 0x000000010004d5a7 panoPSDCreate + 343
2 PTtiff2psd 0x00000001000017bd main + 925
3 PTtiff2psd 0x0000000100001404 start + 52

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000 rbx: 0x0000000100203a60 rcx: 0x00007fff7f959138 rdx: 0x0000000000000000
  rdi: 0x0000000101000000 rsi: 0x0000000000000001 rbp: 0x00007fff5fbfe750 rsp: 0x00007fff5fbfdca0
   r8: 0x00007fff991892b4 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000101000000
  r12: 0x0000000100300000 r13: 0x000000000003f130 r14: 0x00000001002000e0 r15: 0x00000001002039c0
  rip: 0x0000000100023418 rfl: 0x0000000000010246 cr2: 0x0000000100300000
Logical CPU: 0

Binary Images:
       0x100000000 - 0x100001ff7 +PTtiff2psd (???) <78B60850-FC20-F1B3-6063-FC2B38C95B9E> /Applications/hugin-mac-2013.0.0/*/PTtiff2psd
       0x100004000 - 0x100066fe7 +libpano13.2.dylib (3) <FE61572E-288C-8583-C5D0-D5617FB55334> /Applications/hugin-mac-2013.0.0/Hugin.app/Contents/Libraries/libpano13.2.dylib
       0x100073000 - 0x100096fe7 +libpng14.14.dylib (14) <6780026B-C84C-DC7B-15D1-ECA604E7BF60> /Applications/hugin-mac-2013.0.0/Hugin.app/Contents/Libraries/libpng14.14.dylib
       0x10009d000 - 0x1000effef +libjpeg.8.dylib (13) <F1BCAE52-90A0-75D0-D6A0-41BF6269EA7E> /Applications/hugin-mac-2013.0.0/Hugin.app/Contents/Libraries/libjpeg.8.dylib
       0x1000f4000 - 0x100152ff7 +libtiff.3.dylib (13.4) <5A7D3E41-E715-EA12-0CDE-9C19A80884A7> /Applications/hugin-mac-2013.0.0/Hugin.app/Contents/Libraries/libtiff.3.dylib
       0x10015b000 - 0x10016ffef +libgcc_s.1.dylib (1) <44B1D828-3C23-45DD-4210-C5E918F84E25> /Applications/hugin-mac-2013.0.0/Hugin.app/Contents/Libraries/libgcc_s.1.dylib
    0x7fff6ede0000 - 0x7fff6ee1493f dyld (210.2.3) <36CAA36E-72BC-3E48-96D9-B96A2DF77730> /usr/lib/dyld
    0x7fff8eb90000 - 0x7fff8eb90fff libkeymgr.dylib (25) <CC9E3394-BE16-397F-926B-E579B60EE429> /usr/lib/system/libkeymgr.dylib
    0x7fff8ef9b000 - 0x7fff8ef9cff7 libdnsinfo.dylib (453.19) <14202FFB-C3CA-3FCC-94B0-14611BF8692D> /usr/lib/system/libdnsinfo.dylib
    0x7fff8f830000 - 0x7fff8f85eff7 libsystem_m.dylib (3022.6) <B434BE5C-25AB-3EBD-BAA7-5304B34E3441> /usr/lib/system/libsystem_m.dylib
    0x7fff8ff8e000 - 0x7fff8ff90ff7 libunc.dylib (25) <92805328-CD36-34FF-9436-571AB0485072> /usr/lib/system/libunc.dylib
    0x7fff906d0000 - 0x7fff906ebff7 libsystem_kernel.dylib (2050.22.13) <5A961E2A-CFB8-362B-BC43-122704AEB047> /usr/lib/system/libsystem_kernel.dylib
    0x7fff90b0c000 - 0x7fff90b1aff7 libsystem_network.dylib (77.10) <0D99F24E-56FE-380F-B81B-4A4C630EE587> /usr/lib/system/libsystem_network.dylib
    0x7fff90b29000 - 0x7fff90b2bfff libquarantine.dylib (52) <4BE2E642-A14F-340A-B482-5BD2AEFD9C24> /usr/lib/system/libquarantine.dylib
    0x7fff90dd8000 - 0x7fff90e24ff7 libauto.dylib (185.1) <73CDC482-16E3-3FC7-9BB4-FBA2DA44DBC2> /usr/lib/libauto.dylib
    0x7fff9106e000 - 0x7fff91076fff liblaunch.dylib (442.26.2) <2F71CAF8-6524-329E-AC56-C506658B4C0C> /usr/lib/system/liblaunch.dylib
    0x7fff9107d000 - 0x7fff91092ff7 libdispatch.dylib (228.23) <D26996BF-FC57-39EB-8829-F63585561E09> /usr/lib/system/libdispatch.dylib
    0x7fff91093000 - 0x7fff91096ff7 libdyld.dylib (210.2.3) <F59367C9-C110-382B-A695-9035A6DD387E> /usr/lib/system/libdyld.dylib
    0x7fff920fc000 - 0x7fff92101fff libcache.dylib (57) <65187C6E-3FBF-3EB8-A1AA-389445E2984D> /usr/lib/system/libcache.dylib
    0x7fff940a3000 - 0x7fff9410bff7 libc++.1.dylib (65.1) <20E31B90-19B9-3C2A-A9EB-474E08F9FE05> /usr/lib/libc++.1.dylib
    0x7fff9410c000 - 0x7fff9410dff7 libSystem.B.dylib (169.3) <9089D72D-E714-31E1-80C8-698A8E8B05AD> /usr/lib/libSystem.B.dylib
    0x7fff94d04000 - 0x7fff94e1c92f libobjc.A.dylib (532.2) <90D31928-F48D-3E37-874F-220A51FD9E37> /usr/lib/libobjc.A.dylib
    0x7fff94e24000 - 0x7fff94e5afff libsystem_info.dylib (406.17) <4FFCA242-7F04-365F-87A6-D4EFB89503C1> /usr/lib/system/libsystem_info.dylib
    0x7fff94e6f000 - 0x7fff94e91ff7 libxpc.dylib (140.42) <BBE558BD-5E55-35E4-89ED-1AA6B056D05A> /usr/lib/system/libxpc.dylib
    0x7fff94e92000 - 0x7fff94e97fff libcompiler_rt.dylib (30) <08F8731D-5961-39F1-AD00-4590321D24A9> /usr/lib/system/libcompiler_rt.dylib
    0x7fff965a5000 - 0x7fff965b3fff libcommonCrypto.dylib (60027) <BAAFE0C9-BB86-3CA7-88C0-E3CBA98DA06F> /usr/lib/system/libcommonCrypto.dylib
    0x7fff965c3000 - 0x7fff965c4ff7 libremovefile.dylib (23.2) <6763BC8E-18B8-3AD9-8FFA-B43713A7264F> /usr/lib/system/libremovefile.dylib
    0x7fff965dd000 - 0x7fff965e5ff7 libsystem_dnssd.dylib (379.37) <616FC901-151E-38BF-B2C4-24A351C5FAAD> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff97afe000 - 0x7fff97b05fff libcopyfile.dylib (89) <876573D0-E907-3566-A108-577EAD1B6182> /usr/lib/system/libcopyfile.dylib
    0x7fff98b4e000 - 0x7fff98b4ffff libsystem_blocks.dylib (59) <D92DCBC3-541C-37BD-AADE-ACC75A0C59C8> /usr/lib/system/libsystem_blocks.dylib
    0x7fff98dbc000 - 0x7fff98dc2ff7 libunwind.dylib (35.1) <21703D36-2DAB-3D8B-8442-EAAB23C060D3> /usr/lib/system/libunwind.dylib
    0x7fff99188000 - 0x7fff99254ff7 libsystem_c.dylib (825.26) <4C9EB006-FE1F-3F8F-8074-DFD94CF2CE7B> /usr/lib/system/libsystem_c.dylib
    0x7fff998e6000 - 0x7fff998f1fff libsystem_notify.dylib (98.5) <C49275CC-835A-3207-AFBA-8C01374927B6> /usr/lib/system/libsystem_notify.dylib
    0x7fff9a3ee000 - 0x7fff9a400ff7 libz.1.dylib (43) <2A1551E8-A272-3DE5-B692-955974FE1416> /usr/lib/libz.1.dylib
    0x7fff9aaa3000 - 0x7fff9aac8ff7 libc++abi.dylib (26) <D86169F3-9F31-377A-9AF3-DB17142052E4> /usr/lib/libc++abi.dylib
    0x7fff9ac09000 - 0x7fff9ac0ffff libmacho.dylib (829) <BF332AD9-E89F-387E-92A4-6E1AB74BD4D9> /usr/lib/system/libmacho.dylib
    0x7fff9adf9000 - 0x7fff9ae48ff7 libcorecrypto.dylib (106.2) <CE0C29A3-C420-339B-ADAA-52F4683233CC> /usr/lib/system/libcorecrypto.dylib
    0x7fff9ae49000 - 0x7fff9ae4aff7 libsystem_sandbox.dylib (220.2) <6838A6FD-8626-3356-BB4F-BB4787216207> /usr/lib/system/libsystem_sandbox.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 23459
    thread_create: 0
    thread_set_state: 18

VM Region Summary:
ReadOnly portion of Libraries: Total=57.9M resident=20.5M(35%) swapped_out_or_unallocated=37.4M(65%)
Writable regions: Total=71.6M written=55.4M(77%) resident=55.5M(77%) swapped_out=0K(0%) unallocated=16.1M(23%)

REGION TYPE VIRTUAL
=========== =======
MALLOC 63.3M
MALLOC guard page 16K
STACK GUARD 56.0M
Stack 8192K
__DATA 668K
__LINKEDIT 52.1M
__TEXT 5984K
shared memory 12K
=========== =======
TOTAL 185.9M

Revision history for this message
Burkhard Höfling (burkhard-u) wrote :
Revision history for this message
tmodes (tmodes) wrote :
affects: hugin → panotools
Changed in panotools:
status: New → Fix Committed
tmodes (tmodes)
Changed in panotools:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.