PTtiff2psd segfaults on OS X 10.8.3
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/
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.
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_
VM Regions Near 0x100300000:
MALLOC_TINY 000000010020000
-->
MALLOC_SMALL 000000010080000
Thread 0 Crashed:: Dispatch queue: com.apple.
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-
0x100004000 - 0x100066fe7 +libpano13.2.dylib (3) <FE61572E-
0x100073000 - 0x100096fe7 +libpng14.14.dylib (14) <6780026B-
0x10009d000 - 0x1000effef +libjpeg.8.dylib (13) <F1BCAE52-
0x1000f4000 - 0x100152ff7 +libtiff.3.dylib (13.4) <5A7D3E41-
0x10015b000 - 0x10016ffef +libgcc_s.1.dylib (1) <44B1D828-
0x7fff6ede0000 - 0x7fff6ee1493f dyld (210.2.3) <36CAA36E-
0x7fff8eb90000 - 0x7fff8eb90fff libkeymgr.dylib (25) <CC9E3394-
0x7fff8ef9b000 - 0x7fff8ef9cff7 libdnsinfo.dylib (453.19) <14202FFB-
0x7fff8f830000 - 0x7fff8f85eff7 libsystem_m.dylib (3022.6) <B434BE5C-
0x7fff8ff8e000 - 0x7fff8ff90ff7 libunc.dylib (25) <92805328-
0x7fff906d0000 - 0x7fff906ebff7 libsystem_
0x7fff90b0c000 - 0x7fff90b1aff7 libsystem_
0x7fff90b29000 - 0x7fff90b2bfff libquarantine.dylib (52) <4BE2E642-
0x7fff90dd8000 - 0x7fff90e24ff7 libauto.dylib (185.1) <73CDC482-
0x7fff9106e000 - 0x7fff91076fff liblaunch.dylib (442.26.2) <2F71CAF8-
0x7fff9107d000 - 0x7fff91092ff7 libdispatch.dylib (228.23) <D26996BF-
0x7fff91093000 - 0x7fff91096ff7 libdyld.dylib (210.2.3) <F59367C9-
0x7fff920fc000 - 0x7fff92101fff libcache.dylib (57) <65187C6E-
0x7fff940a3000 - 0x7fff9410bff7 libc++.1.dylib (65.1) <20E31B90-
0x7fff9410c000 - 0x7fff9410dff7 libSystem.B.dylib (169.3) <9089D72D-
0x7fff94d04000 - 0x7fff94e1c92f libobjc.A.dylib (532.2) <90D31928-
0x7fff94e24000 - 0x7fff94e5afff libsystem_
0x7fff94e6f000 - 0x7fff94e91ff7 libxpc.dylib (140.42) <BBE558BD-
0x7fff94e92000 - 0x7fff94e97fff libcompiler_
0x7fff965a5000 - 0x7fff965b3fff libcommonCrypto
0x7fff965c3000 - 0x7fff965c4ff7 libremovefile.dylib (23.2) <6763BC8E-
0x7fff965dd000 - 0x7fff965e5ff7 libsystem_
0x7fff97afe000 - 0x7fff97b05fff libcopyfile.dylib (89) <876573D0-
0x7fff98b4e000 - 0x7fff98b4ffff libsystem_
0x7fff98dbc000 - 0x7fff98dc2ff7 libunwind.dylib (35.1) <21703D36-
0x7fff99188000 - 0x7fff99254ff7 libsystem_c.dylib (825.26) <4C9EB006-
0x7fff998e6000 - 0x7fff998f1fff libsystem_
0x7fff9a3ee000 - 0x7fff9a400ff7 libz.1.dylib (43) <2A1551E8-
0x7fff9aaa3000 - 0x7fff9aac8ff7 libc++abi.dylib (26) <D86169F3-
0x7fff9ac09000 - 0x7fff9ac0ffff libmacho.dylib (829) <BF332AD9-
0x7fff9adf9000 - 0x7fff9ae48ff7 libcorecrypto.dylib (106.2) <CE0C29A3-
0x7fff9ae49000 - 0x7fff9ae4aff7 libsystem_
External Modification Summary:
Calls made by other processes targeting this process:
task_for_pid: 0
thread_create: 0
thread_
Calls made by this process:
task_for_pid: 0
thread_create: 0
thread_
Calls made by all processes on this machine:
task_for_pid: 23459
thread_create: 0
thread_
VM Region Summary:
ReadOnly portion of Libraries: Total=57.9M resident=20.5M(35%) swapped_
Writable regions: Total=71.6M written=55.4M(77%) resident=55.5M(77%) swapped_out=0K(0%) unallocated=
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
Changed in panotools: | |
status: | Fix Committed → Fix Released |
This is probably already fixed. See https:/ /groups. google. com/group/ hugin-ptx/ browse_ thread/ thread/ 50ff8c8efbe8712 9