[Bug 29943] ip.labs PhotoGenie (Myfujifilm) 5.4 aborts on startup (GdipAlloc and GdipFree must not be used by gdiplus itself)

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Oct 7 19:03:53 CDT 2015


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |download
             Status|UNCONFIRMED                 |RESOLVED
                URL|                            |http://photoservice.fujicol
                   |                            |or.eu/downloads/FFF/B2C_Pho
                   |                            |togenie.exe
                 CC|                            |focht at gmx.net
          Component|-unknown                    |gdiplus
         Resolution|---                         |DUPLICATE
            Summary|OLE error when executing    |ip.labs PhotoGenie
                   |Myfujifilm application      |(Myfujifilm) 5.4 aborts on
                   |                            |startup (GdipAlloc and
                   |                            |GdipFree must not be used
                   |                            |by gdiplus itself)

--- Comment #8 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

likely recycled a few times for different issues.

The current issue is a dupe of bug 32786 hence resolving here to avoid further
recycling.

--- snip ---
...
0027:Call KERNEL32.CreateDirectoryW(01e6808c
L"C:\\users\\focht\\Temp\\~ecef.tmp",00000000) ret=00427e96
0027:Ret  KERNEL32.CreateDirectoryW() retval=00000001 ret=00427e96
0027:Call KERNEL32.CopyFileW(01e650bc
L"C:\\windows\\system32\\gdiplus.dll",01e6d61c
L"C:\\users\\focht\\Temp\\~ecef.tmp\\gdiplus.dll",00000000) ret=0071e7b3
0027:Ret  KERNEL32.CopyFileW() retval=00000001 ret=0071e7b3
0027:Call KERNEL32.CreateFileW(01e650bc
L"C:\\windows\\system32\\gdiplus.dll",80000000,00000003,00000000,00000003,00000080,00000000)
ret=00426848
0027:Ret  KERNEL32.CreateFileW() retval=000001a8 ret=00426848
0027:Call KERNEL32.CreateFileW(01e6d61c
L"C:\\users\\focht\\Temp\\~ecef.tmp\\gdiplus.dll",40000000,00000003,00000000,00000003,00000080,00000000)
ret=00426848
0027:Ret  KERNEL32.CreateFileW() retval=000001ac ret=00426848
0027:Call KERNEL32.GetFileTime(000001a8,0033fc24,0033fc34,0033fc2c)
ret=006fc41a
0027:Ret  KERNEL32.GetFileTime() retval=00000001 ret=006fc41a
0027:Call KERNEL32.SetFileTime(000001ac,0033fc24,0033fc34,0033fc2c)
ret=006fc433
0027:Ret  KERNEL32.SetFileTime() retval=00000001 ret=006fc433
0027:Call KERNEL32.CloseHandle(000001a8) ret=006fc44f
0027:Ret  KERNEL32.CloseHandle() retval=00000001 ret=006fc44f
0027:Call KERNEL32.CloseHandle(000001ac) ret=006fc45e
0027:Ret  KERNEL32.CloseHandle() retval=00000001 ret=006fc45e
0027:Call KERNEL32.LoadLibraryW(01e6d61c
L"C:\\users\\focht\\Temp\\~ecef.tmp\\gdiplus.dll") ret=0071f7ae
0027:Ret  KERNEL32.LoadLibraryW() retval=7cc10000 ret=0071f7ae
0027:Call KERNEL32.CompareStringW(00000400,00000001,01e6d61c
L"C:\\users\\focht\\Temp\\~ecef.tmp\\gdiplus.dll",00000029,01e6d61c
L"C:\\users\\focht\\Temp\\~ecef.tmp\\gdiplus.dll",00000029) ret=00425580
0027:Ret  KERNEL32.CompareStringW() retval=00000002 ret=00425580
...
0027:Call KERNEL32.GetProcAddress(7cc10000,0212fc4c "GdipAlloc") ret=0041446f
0027:Ret  KERNEL32.GetProcAddress() retval=7cc16f8c ret=0041446f
...
0027:Call KERNEL32.GetProcAddress(7cc10000,0212fc4c "GdipFree") ret=0041446f
0027:Ret  KERNEL32.GetProcAddress() retval=7cc180b4 ret=0041446f
0027:Call KERNEL32.VirtualProtect(7cc16f8c,00000006,00000040,0033fc5c)
ret=00625f8e
0027:Ret  KERNEL32.VirtualProtect() retval=00000001 ret=00625f8e
0027:Call KERNEL32.VirtualProtect(7cc16f8c,00000006,00000020,0033fc58)
ret=00626032
0027:Ret  KERNEL32.VirtualProtect() retval=00000001 ret=00626032
0027:Call KERNEL32.VirtualProtect(7cc180b4,00000006,00000040,0033fc5c)
ret=00625f8e
0027:Ret  KERNEL32.VirtualProtect() retval=00000001 ret=00625f8e
0027:Call KERNEL32.VirtualProtect(7cc180b4,00000006,00000020,0033fc58)
ret=00626032
0027:Ret  KERNEL32.VirtualProtect() retval=00000001 ret=00626032
...
0027:Call KERNEL32.GetProcAddress(7cc10000,0212fc4c "GdiplusStartup")
ret=0041446f
0027:Ret  KERNEL32.GetProcAddress() retval=7cc1a3ac ret=0041446f
0027:Call gdiplus.GdiplusStartup(0033fc84,0033fc88,00000000) ret=00710cd7
0027:Ret  gdiplus.GdiplusStartup() retval=00000000 ret=00710cd7 
...
--- snip ---

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

$ WINEDEBUG=+tid,+pid,+seh,+gdiplus,+msgbox wine ./B2C_Photogenie.exe o9i7 o9i7
>>log.txt 2>&1
...
002d:002e:trace:gdiplus:graphics_from_image <-- 0x1d80340
002d:002e:trace:gdiplus:GdipSetInterpolationMode (0x1d80340, 5)
002d:002e:trace:gdiplus:GdipSetCompositingMode (0x1d80340, 1)
002d:002e:trace:gdiplus:GdipDrawImageRectRectI (0x1d80340, 0x3f7e060, 0, 0, 15,
14, 101, 364, 15, 14, 2, (nil), (nil), (nil))
002d:002e:trace:gdiplus:GdipDrawImagePointsRect (0x1d80340, 0x3f7e060,
0x33f6a0, 3, 101.000000, 364.000000, 15.000000, 14.000000, 2, (nil), (nil),
(nil))
002d:002e:trace:gdiplus:GdipDrawImagePointsRect (0.00,0.00) (15.00,0.00)
(0.00,14.00)
002d:002e:trace:gdiplus:GdipScaleMatrix (0x33f37c, 1.00, 1.00, 1)
002d:002e:trace:gdiplus:GdipTransformMatrixPoints (0x33f37c, 0x33f514, 4)
002d:002e:trace:gdiplus:GdipDrawImagePointsRect (0,0) (15,0) (0,14) (15,14)
002d:002e:trace:gdiplus:GdipDrawImagePointsRect src pixels:
101.000000,364.000000 15.000000x14.000000
002d:002e:trace:gdiplus:GdipDrawImagePointsRect graphics: 96.00x96.00 dpi, fmt
0xe200b, scale 1.000000, image: 96.00x96.00 dpi, fmt 0x26200a, color 00000000
002d:002e:trace:gdiplus:GdipGetImageBounds 0x3f80130 0x33f4c4 0x33f37c
002d:002e:trace:gdiplus:GdipGetImageBounds returning (0.000000, 0.000000)
(15.000000, 14.000000) unit type 2
002d:002e:trace:gdiplus:GdipDrawImagePointsRect dst_area: (0,0)-(15,14)
002d:002e:trace:gdiplus:GdipSetMatrixElements (0x33f49c, 1.00, 0.00, 0.00,
1.00, -101.00, -364.00)
002d:002e:trace:gdiplus:GdipInvertMatrix (0x33f49c)
002d:002e:trace:gdiplus:GdipIsMatrixInvertible (0x33f49c, 0x33f368)
002d:002e:trace:gdiplus:GdipDrawImagePointsRect src_area: 15 x 14
002d:002e:trace:gdiplus:GdipBitmapLockBits 0x3f7e060 0x33f4b4 5 0x26200a
0x33f484
002d:002e:trace:gdiplus:GdipBitmapUnlockBits (0x3f7e060,0x33f484)
002d:002e:trace:gdiplus:GdipGetRegionHRgn (0x398de90, (nil), 0x33f328)
002d:002e:trace:gdiplus:GdipDeleteGraphics (0x1d80340)
002d:002e:trace:gdiplus:GdipDeleteRegion 0x398de90
002d:002e:trace:gdiplus:GdipGetImageWidth 0x3f80130 0x3a1c780
002d:002e:trace:gdiplus:GdipGetImageWidth returning 15
002d:002e:trace:gdiplus:GdipGetImageHeight 0x3f80130 0x3a1c784
002d:002e:trace:gdiplus:GdipGetImageHeight returning 14
002d:002e:trace:gdiplus:GdipDisposeImage 0x3f7e060
002d:002e:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b845e01
ip=7b845e01 tid=002e
002d:002e:trace:seh:raise_exception  info[0]=00710b8f
002d:002e:trace:seh:raise_exception  info[1]=01e399f8
002d:002e:trace:seh:raise_exception  info[2]=00710b8f
002d:002e:trace:seh:raise_exception  info[3]=00710b8f
002d:002e:trace:seh:raise_exception  info[4]=00000000
002d:002e:trace:seh:raise_exception  info[5]=0033f720
002d:002e:trace:seh:raise_exception  info[6]=0033f708
002d:002e:trace:seh:raise_exception  eax=7b832b9d ebx=00710b8f ecx=0000001c
edx=0033f684 esi=00710b8f edi=00000000
002d:002e:trace:seh:raise_exception  ebp=0033f6c8 esp=0033f664 cs=0023 ds=002b
es=002b fs=0063 gs=006b flags=00000287 
...
002d:002e:trace:msgbox:MSGBOX_OnInit L"Ung\00fcltige Zeigeroperation" 
--- snip ---

'winetricks -q gdiplus' works around.

Interestingly 'Photoservice/PhotoGenie' and 'Happy Foto Designer' (bug 32786)
seem to share the same code base.

--- snip ---
-=[ ProtectionID v0.6.6.7 DECEMBER]=-
(c) 2003-2015 CDKiLLER & TippeX
Build 24/12/14-22:48:13
Ready...
Scanning -> C:\Program Files\MyFujifilm\Photogenie\B2C_Photogenie.exe
File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 18545496 (011AFB58h)
Byte(s)
Compilation TimeStamp : 0x5559ED31 -> Mon 18th May 2015 13:46:25 (GMT)
[TimeStamp] 0x5559ED31 -> Mon 18th May 2015 13:46:25 (GMT) | PE Header | - |
Offset: 0x00000108 | VA: 0x00400108 | -
-> File Appears to be Digitally Signed @ Offset 011AE200h, size : 01958h /
06488 byte(s)
[File Heuristics] -> Flag #1 : 00000000000001001100000000100101 (0x0004C025)
[Entrypoint Section Entropy] : 6.32 (section #1) ".itext  " | Size : 0xAD18
(44312) byte(s)
[DllCharacteristics] -> Flag : (0x0000) -> NONE
[SectionCount] 9 (0x9) | ImageSize 0x11BE000 (18604032) byte(s)
[VersionInfo] Company Name : ip.labs GmbH
[VersionInfo] Product Version : 5.4
[VersionInfo] File Description : Photoservice
[VersionInfo] File Version : 5.4.8.2
[VersionInfo] Internal Name : ip.labs PhotoGenie
[VersionInfo] Version Comments : Developed 2013 by ip.labs GmbH. Bonn
(www.iplabs.de)
[VersionInfo] Legal Copyrights : Copyright (C) 2015 by ip.labs GmbH
[CdKeySerial] found "Unregistered" @ VA: 0x0015FF39 / Offset: 0x0015F339
[CdKeySerial] found "SerialNumber" @ VA: 0x0053663D / Offset: 0x00535A3D
[CdKeySerial] found "Invalid code" @ VA: 0x00F622CA / Offset: 0x00F60ECA
[CdKeySerial] found "Invalid code" @ VA: 0x00F62317 / Offset: 0x00F60F17
[CdKeySerial] found "Invalid code" @ VA: 0x00F6EBBB / Offset: 0x00F6D7BB
[CdKeySerial] found "Invalid code" @ VA: 0x00F6EBEE / Offset: 0x00F6D7EE
[CdKeySerial] found "Serial Number" @ VA: 0x0112C45E / Offset: 0x0111CC5E
[CdKeySerial] found "Serial Number" @ VA: 0x0112CC0D / Offset: 0x0111D40D
[CompilerDetect] -> Borland Delphi (unknown version) - 99% probability
[!] File appears to have no protection or is using an unknown protection
- Scan Took : 4.735 Second(s) [0000010A9h (4265) tick(s)] [499 of 573 scan(s)
done]
--- snip ---

Such business model is not that uncommon: sell development of essentially the
same thing multiple times to different customers ;-)

$ sha1sum B2C_Photogenie.exe 
du 853871c03d0007f8c67ebad27270957d1cb918b7  B2C_Photogenie.exe

$ du -sh B2C_Photogenie.exe 
251M    B2C_Photogenie.exe

$ wine --version
wine-1.7.52-134-g20ff335

Regards

*** This bug has been marked as a duplicate of bug 32786 ***

-- 
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