[Bug 32786] New: HappyFotoDesigner.exe does not start
http://bugs.winehq.org/show_bug.cgi?id=32786 Bug #: 32786 Summary: HappyFotoDesigner.exe does not start Product: Wine Version: 1.5.20 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: blocker Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: raynoldei(a)gmail.com Classification: Unclassified Created attachment 43294 --> http://bugs.winehq.org/attachment.cgi?id=43294 terminal messages Installation of HappyFotoDesigner was working well. App can be downloaded on "http://www.happyfoto.at/fotobuch/439-bestellsoftware-happyfoto-designer-neu....". Now when I try to start it following message are coming up in the terminal and the program closes: err:ole:CoGetClassObject class {76a64158-cb41-11d1-8b02-00600806d9b6} not registered err:ole:create_server class {76a64158-cb41-11d1-8b02-00600806d9b6} not registered err:ole:CoGetClassObject no class object {76a64158-cb41-11d1-8b02-00600806d9b6} could be created for context 0x5 I have also tried to install msxml4, but that has not solved the problem. Can any one help? Thanks in advance -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=32786 Rosanne DiMesio <dimesio(a)earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|blocker |normal --- Comment #1 from Rosanne DiMesio <dimesio(a)earthlink.net> 2013-01-22 09:58:23 CST --- Not a blocker. http://bugs.winehq.org/page.cgi?id=fields.html#importance -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=32786 Rosanne DiMesio <dimesio(a)earthlink.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #43294|application/octet-stream |text/plain mime type| | -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=32786 --- Comment #2 from Austin English <austinenglish(a)gmail.com> 2013-01-22 12:33:43 CST --- Does 'winetricks windowscodecs' help? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=32786 --- Comment #3 from Rene <raynoldei(a)gmail.com> 2013-01-22 12:49:56 CST --- Hi Austin, thank you for the comment. After installing windowscodecs the app is also not working but I get an additional message in the terminal: err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\windowscodecs.dll" Does this message helps you to get the issue fixed? Thanks in advance. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=32786 --- Comment #4 from Austin English <austinenglish(a)gmail.com> 2013-01-22 14:06:05 CST --- (In reply to comment #3)
Hi Austin, thank you for the comment. After installing windowscodecs the app is also not working but I get an additional message in the terminal: err:ole:COMPOBJ_DllList_Add couldn't load in-process dll L"C:\\windows\\system32\\windowscodecs.dll"
Does this message helps you to get the issue fixed?
Thanks in advance.
That sounds like you set windowscodecs to native without actually installing it. Did you not use winetricks? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=32786 --- Comment #5 from Rene <raynoldei(a)gmail.com> 2013-01-22 14:08:16 CST --- I'm not sure. I have typed "winetricks windowscodecs" into the terminal and then it got installed, I guess. How to check that? -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=32786 --- Comment #6 from Rene <raynoldei(a)gmail.com> 2013-01-22 14:12:01 CST --- Now I tried to install it via the winetricks gui. Following message appears in the terminal: Zenity not found! Using kdialog as poor substitute. Executing w_do_call windowscodecs Executing load_windowscodecs Executing mkdir -p /home/raynold/.cache/winetricks/windowscodecs Using native override for following DLLs: windowscodecs Executing winetricks_early_wine regedit C:\windows\Temp\_windowscodecs\override-dll.reg Executing wine wic_x86_enu.exe /passive err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead. err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead. fixme:clusapi:GetNodeClusterState ((null),0x32ebf4) stub! fixme:advapi:DecryptFileA "y:\\8604c674c9857622043d2a446db287\\" 00000000 err:winediag:xrandr12_init_modes Broken NVIDIA RandR detected, falling back to RandR 1.0. Please consider using the Nouveau driver instead. fixme:setupapi:pSetupGetGlobalFlags stub ------------------------------------------------------ Note: command 'wine wic_x86_enu.exe /passive' returned status 67. Aborting. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
https://bugs.winehq.org/show_bug.cgi?id=32786 --- Comment #7 from Austin English <austinenglish(a)gmail.com> --- Is this still an issue in current (1.7.35 or newer) wine? If so, please attach terminal output. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32786 super_man(a)post.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |super_man(a)post.com --- Comment #8 from super_man(a)post.com --- Where to download? Around 2 years no feedback. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32786 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, obfuscation Status|UNCONFIRMED |NEW URL| |http://downloadsweb01.poi.d | |e/HappyFoto/Windows/DE/Happ | |yFoto-Designer.exe CC| |focht(a)gmx.net Component|-unknown |gdiplus Summary|HappyFotoDesigner.exe does |Happy Foto Designer 5.4 |not start |crashes on startup, | |reporting 'invalid pointer | |operation' Ever confirmed|0 |1 --- Comment #9 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, the original 'windowscodecs' problem is likely gone. Unfortunately an old app version is no longer available for reproducing. Anyway, the current version still exhibits a problem on startup, albeit 'gdiplus' related. Rechristening the ticket. Trace log with "loader" stage skipped (via command line args): --- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/HappyFoto-Designer $ WINEDEBUG=+tid,+seh,+loaddll,+gdiplus,+msgbox,+resource wine ./HappyFoto-Designer.exe o9i7 o9i7 >>log.txt 2>&1 ... 0027:trace:gdiplus:graphics_from_image <-- 0x1ce02b0 0027:trace:gdiplus:GdipSetInterpolationMode (0x1ce02b0, 5) 0027:trace:gdiplus:GdipSetCompositingMode (0x1ce02b0, 1) 0027:trace:gdiplus:GdipDrawImageRectRectI (0x1ce02b0, 0x2061420, 0, 0, 15, 14, 101, 364, 15, 14, 2, (nil), (nil), (nil)) 0027:trace:gdiplus:GdipDrawImagePointsRect (0x1ce02b0, 0x2061420, 0x33f600, 3, 101.000000, 364.000000, 15.000000, 14.000000, 2, (nil), (nil), (nil)) 0027:trace:gdiplus:GdipDrawImagePointsRect (0.00,0.00) (15.00,0.00) (0.00,14.00) 0027:trace:gdiplus:GdipScaleMatrix (0x33f2dc, 1.00, 1.00, 1) 0027:trace:gdiplus:GdipTransformMatrixPoints (0x33f2dc, 0x33f474, 4) 0027:trace:gdiplus:GdipDrawImagePointsRect (0,0) (15,0) (0,14) (15,14) 0027:trace:gdiplus:GdipDrawImagePointsRect src pixels: 101.000000,364.000000 15.000000x14.000000 0027:trace:gdiplus:GdipDrawImagePointsRect graphics: 96.00x96.00 dpi, fmt 0xe200b, scale 1.000000, image: 96.00x96.00 dpi, fmt 0x26200a, color 00000000 0027:trace:gdiplus:GdipGetImageBounds 0x20634f0 0x33f424 0x33f2dc 0027:trace:gdiplus:GdipGetImageBounds returning (0.000000, 0.000000) (15.000000, 14.000000) unit type 2 0027:trace:gdiplus:GdipDrawImagePointsRect dst_area: (0,0)-(15,14) 0027:trace:gdiplus:GdipSetMatrixElements (0x33f3fc, 1.00, 0.00, 0.00, 1.00, -101.00, -364.00) 0027:trace:gdiplus:GdipInvertMatrix (0x33f3fc) 0027:trace:gdiplus:GdipIsMatrixInvertible (0x33f3fc, 0x33f2c8) 0027:trace:gdiplus:GdipDrawImagePointsRect src_area: 15 x 14 0027:trace:gdiplus:GdipBitmapLockBits 0x2061420 0x33f414 5 0x26200a 0x33f3e4 0027:trace:gdiplus:GdipBitmapUnlockBits (0x2061420,0x33f3e4) 0027:trace:gdiplus:GdipGetRegionHRgn (0x205b3a0, (nil), 0x33f288) 0027:trace:gdiplus:GdipDeleteGraphics (0x1ce02b0) 0027:trace:gdiplus:GdipDeleteRegion 0x205b3a0 0027:trace:gdiplus:GdipGetImageWidth 0x20634f0 0x23197b0 0027:trace:gdiplus:GdipGetImageWidth returning 15 0027:trace:gdiplus:GdipGetImageHeight 0x20634f0 0x23197b4 0027:trace:gdiplus:GdipGetImageHeight returning 14 0027:trace:resource:FindResourceExW 0x400000 #000a L"RIBBONBLUE" 0000 0027:trace:resource:LdrFindResource_U module 0x400000 type #000a name L"RIBBONBLUE" lang 0000 level 3 0027:trace:resource:find_entry_by_id root 0x131c000 dir 0x131c000 id 000a ret 0x131ce10 0027:trace:resource:find_entry_by_name root 0x131c000 dir 0x131ce10 name L"RIBBONBLUE" ret 0x131fdb0 0027:trace:resource:find_entry_by_id root 0x131c000 dir 0x131fdb0 id 0000 not found 0027:trace:resource:find_entry_by_id root 0x131c000 dir 0x131fdb0 id 0409 not found 0027:trace:resource:find_entry_by_id root 0x131c000 dir 0x131fdb0 id 0009 not found 0027:trace:resource:LoadResource 0x400000 0x1322cd0 0027:trace:gdiplus:GdipDisposeImage 0x2061420 0027:trace:seh:raise_exception code=eedfade flags=1 addr=0x7b845d61 ip=7b845d61 tid=0027 0027:trace:seh:raise_exception info[0]=0070ff93 0027:trace:seh:raise_exception info[1]=01d999f8 0027:trace:seh:raise_exception info[2]=0070ff93 0027:trace:seh:raise_exception info[3]=0070ff93 0027:trace:seh:raise_exception info[4]=00000000 0027:trace:seh:raise_exception info[5]=0033f720 0027:trace:seh:raise_exception info[6]=0033f708 0027:trace:seh:raise_exception eax=7b832afd ebx=0070ff93 ecx=0000001c edx=0033f684 esi=0070ff93 edi=00000000 0027:trace:seh:raise_exception ebp=0033f6c8 esp=0033f664 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00000287 ... 0027:trace:msgbox:MSGBOX_OnInit L"Ung\00fcltige Zeigeroperation" --- snip --- 'winetricks -q gdiplus' works around.
From brief look it seems the app is really deep into gdiplus for whatever reasons. At the point of the Delphi exception being raised I see that 'GdipFree' entry point was hooked and subsequently called due to Wine 'GdipDisposeImage' implementation:
Source: https://source.winehq.org/git/wine.git/blob/f78a6dd15c85f374a841427d7edce742... --- snip --- 2160 GpStatus WINGDIPAPI GdipDisposeImage(GpImage *image) 2161 { 2162 GpStatus status; 2163 2164 TRACE("%p\n", image); 2165 2166 status = free_image_data(image); 2167 if (status != Ok) return status; 2168 image->type = ~0; 2169 GdipFree(image); 2170 2171 return Ok; 2172 } --- snip --- 'gdiplus.GdipDisposeImage' -> 'gdiplus.GdipFree' -> app hook -> looks at bytes preceeding the memory chunk (-4 bytes -> heap magic) -> throw. My guess would be the app relies on internal implementation details of MS 'gdiplus' API to work properly. ProtectionID scan for documentation: --- snip --- -=[ ProtectionID v0.6.6.7 DECEMBER]=- (c) 2003-2015 CDKiLLER & TippeX Build 24/12/14-22:48:13 Ready... Scanning -> C:\Program Files\HappyFoto-Designer\HappyFoto-Designer.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 17882208 (0110DC60h) Byte(s) Compilation TimeStamp : 0x5559B1EC -> Mon 18th May 2015 09:33:32 (GMT) [TimeStamp] 0x5559B1EC -> Mon 18th May 2015 09:33:32 (GMT) | PE Header | - | Offset: 0x00000108 | VA: 0x00400108 | - -> File Appears to be Digitally Signed @ Offset 0110C600h, size : 01660h / 05728 byte(s) [File Heuristics] -> Flag #1 : 00000000000001001100000000100101 (0x0004C025) [Entrypoint Section Entropy] : 6.36 (section #1) ".itext " | Size : 0xB47C (46204) byte(s) [DllCharacteristics] -> Flag : (0x0000) -> NONE [SectionCount] 9 (0x9) | ImageSize 0x111D000 (17944576) byte(s) [VersionInfo] Company Name : IP Labs GmbH [VersionInfo] Product Version : 5 [VersionInfo] File Description : Happy Foto Designer [VersionInfo] File Version : 5.4.8.1 [VersionInfo] Internal Name : IP Labs PhotoGenie [VersionInfo] Version Comments : Developed 2015 by ip.labs GmbH. Bonn (www.iplabs.de) [VersionInfo] Legal Copyrights : Copyright (C) 2015 by ip.labs GmbH [CdKeySerial] found "Unregistered" @ VA: 0x0015F33D / Offset: 0x0015E73D [CdKeySerial] found "SerialNumber" @ VA: 0x004D4F5D / Offset: 0x004D435D [CdKeySerial] found "Invalid code" @ VA: 0x00EB92CA / Offset: 0x00EB78CA [CdKeySerial] found "Invalid code" @ VA: 0x00EB9317 / Offset: 0x00EB7917 [CdKeySerial] found "Invalid code" @ VA: 0x00EC5BBB / Offset: 0x00EC41BB [CdKeySerial] found "Invalid code" @ VA: 0x00EC5BEE / Offset: 0x00EC41EE [CdKeySerial] found "Serial Number" @ VA: 0x0108AE8A / Offset: 0x0107B08A [CdKeySerial] found "Serial Number" @ VA: 0x0108B639 / Offset: 0x0107B839 [CompilerDetect] -> Borland Delphi (unknown version) - 99% probability [!] File appears to have no protection or is using an unknown protection - Scan Took : 4.766 Second(s) [00000108Ah (4234) tick(s)] [499 of 573 scan(s) done] --- snip --- $ sha1sum HappyFoto-Designer.exe a2e45c0bb64c4329f7f8ab4e879c93c63113775c HappyFoto-Designer.exe $ du -sh HappyFoto-Designer.exe 302M HappyFoto-Designer.exe $ wine --version wine-1.7.51-201-g60d1d6f 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.
https://bugs.winehq.org/show_bug.cgi?id=32786 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor --- Comment #10 from Anastasius Focht <focht(a)gmx.net> --- Hello again, lowering severity to 'minor' since 'winetricks -q gdiplus' is an easy workaround here. 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.
https://bugs.winehq.org/show_bug.cgi?id=32786 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |STAGED CC| |michael(a)fds-team.de, | |sebastian(a)fds-team.de Staged patchset| |https://github.com/wine-com | |pholio/wine-staging/tree/ma | |ster/patches/gdiplus-Memory | |_Allocation -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32786 Sebastian Lackner <sebastian(a)fds-team.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords|obfuscation | --- Comment #11 from Sebastian Lackner <sebastian(a)fds-team.de> --- (In reply to Anastasius Focht from comment #9)
'gdiplus.GdipDisposeImage' -> 'gdiplus.GdipFree' -> app hook -> looks at bytes preceeding the memory chunk (-4 bytes -> heap magic) -> throw.
My guess would be the app relies on internal implementation details of MS 'gdiplus' API to work properly.
The conclusion that this is an implementation detail doesn't seem to be correct. The application just wants to track all allocated memory blocks by hooking GdipAlloc and GdipFree, however Wine uses those functions for all memory allocations, including those which are reallocated later. I would guess that this is not the case for native gdiplus. The staged patch lets the application start properly, I'll send it shortly. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32786 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |guittoun(a)wanadoo.fr --- Comment #12 from Anastasius Focht <focht(a)gmx.net> --- *** Bug 29943 has been marked as a duplicate of this bug. *** -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32786 --- Comment #13 from Sebastian Lackner <sebastian(a)fds-team.de> --- Patch was accepted upstream: http://source.winehq.org/git/wine.git/commit/aa70a90c6ef8c746b868990d0cd11ca... Please retest. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32786 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |aa70a90c6ef8c746b868990d0cd | |11ca013beef58 Status|STAGED |RESOLVED Resolution|--- |FIXED --- Comment #14 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/aa70a90c6ef8c746b868990d0c... The app starts properly now. Thanks Sebastian. 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.
https://bugs.winehq.org/show_bug.cgi?id=32786 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #15 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.7.53. -- 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.
participants (1)
-
wine-bugs@winehq.org