[Bug 32671] PhotoLine 32 v18.x crashes on startup (missing error handling on creation of multi-profile color transform)

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Aug 4 15:00:02 CDT 2015


https://bugs.winehq.org/show_bug.cgi?id=32671

--- Comment #13 from Anastasius Focht <focht at gmx.net> ---
Hello Hans,

your patch prevents the crash, letting the app start.

'CreateMultiProfileTransform()' still fails though, with the error code/path
changed from:

--- snip ---
lcms_error_handler 9 "Wrong output color space on transform"
--- snip ---

to:

--- snip ---
lcms_error_handler 8 "Unsupported raster format"
--- snip ---

Trace log with patch applied:

--- snip ---
$ pwd
/home/focht/.wine/drive_c/Program Files/PhotoLine

$ WINEDEBUG=+tid,+seh,+relay,+mscms wine ./PhotoLine.exe >>log.txt 2>&1
...
0027:Call mscms.OpenColorProfileA(00322734,00000001,00000001,00000003)
ret=006a78c1
0027:trace:mscms:OpenColorProfileA ( 0x322734, 0x00000001, 0x00000001,
0x00000003 )
...
0027:trace:mscms:OpenColorProfileW ( 0x32266c, 0x00000001, 0x00000001,
0x00000003 )
0027:trace:mscms:OpenColorProfileW profile file: L"C:\\Program
Files\\PhotoLine\\Defaults\\ISOcoated_v2_eci.icc"
...
0027:Call KERNEL32.CreateFileW(001fb418 L"C:\\Program
Files\\PhotoLine\\Defaults\\ISOcoated_v2_eci.icc",80000000,00000001,00000000,00000003,00000000,00000000)
ret=7cc3acfa
0027:Ret  KERNEL32.CreateFileW() retval=00000248 ret=7cc3acfa
...
0027:Ret  mscms.OpenColorProfileA() retval=00000001 ret=006a78c1
...
0027:Call mscms.IsColorProfileValid(00000001,0032271c) ret=006a78fb
0027:trace:mscms:IsColorProfileValid ( 0x1, 0x32271c )
0027:Ret  mscms.IsColorProfileValid() retval=00000001 ret=006a78fb 
...
0027:Call mscms.OpenColorProfileA(00322734,00000001,00000001,00000003)
ret=006a78c1
0027:trace:mscms:OpenColorProfileA ( 0x322734, 0x00000001, 0x00000001,
0x00000003 )
0027:trace:mscms:OpenColorProfileW ( 0x322734, 0x00000001, 0x00000001,
0x00000003 )
...
0027:Ret  mscms.OpenColorProfileA() retval=00000002 ret=006a78c1 
...
0027:Call mscms.IsColorProfileValid(00000002,0032271c) ret=006a78fb
0027:trace:mscms:IsColorProfileValid ( 0x2, 0x32271c )
0027:Ret  mscms.IsColorProfileValid() retval=00000001 ret=006a78fb
...
0027:Call
mscms.CreateMultiProfileTransform(003227d0,00000002,003227c4,00000002,00000003,00000000)
ret=006a74bf
0027:trace:mscms:CreateMultiProfileTransform ( 0x3227d0, 0x00000002, 0x3227c4,
0x00000002, 0x00000003, 0x00000000 )
0027:trace:mscms:from_profile color space (output 0): 434d594b 'CMYK' ->
00000006
0027:trace:mscms:from_profile color space (output 1): 58595a20 'XYZ ' ->
00000009 
...
0027:trace:mscms:lcms_error_handler 8 "Unsupported raster format"
...
0027:Ret  mscms.CreateMultiProfileTransform() retval=00000000 ret=006a74bf
--- snip ---

$ wine --version
wine-1.7.48-100-ge3c6777

Regards

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.



More information about the wine-bugs mailing list