https://bugs.winehq.org/show_bug.cgi?id=38027
Bug ID: 38027 Summary: HyperStudio 5 fails to start Product: Wine Version: 1.7.34 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: jhansonxi@gmail.com Distribution: ---
Created attachment 50664 --> https://bugs.winehq.org/attachment.cgi?id=50664 backtrace from Wine debugger
Used the 5.2 trial (link to trial download form on AppDB 5.x page). Wine from Ubuntu Wine team PPA (has PulseAudio patches). Xubuntu 14.04 x86_64.
Application uses QuickTime 7 (7.71.80.42 included), Adobe Flash Player (11.2.202.228 ActiveX version included), Adobe Reader X (10.1.3 included), and .NET Framework 4 (not included, installed with winetricks). Workarounds for Adobe Reader X bugs #12501 (mspatcha) and #25834 (protected mode) applied. QuickTime 7 and Reader work. Flash 11 may not be functional (right-click menu active in IE8 on Youtube but doesn't play anything).
When started, HyperStudio shows splash screen but then Wine Debugger pops-up with "DbgBreakPoint+0x1 in ntdll: ret".
Using Adobe Reader X 10.1.14 and Flash 16 doesn't change behavior although Flash is somewhat more functional in IE8.
Tested with Intel GM965/GL960 (xserver-xorg-video-intel 2:2.99.910-0ubuntu1.3) and Radeon HD 7340 (fglrx 2:13.350.1-0ubuntu2).
https://bugs.winehq.org/show_bug.cgi?id=38027
Jeff D. Hanson jhansonxi@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://downloads.hyperstudi | |o.com/HS5Win.exe Distribution|--- |Ubuntu
--- Comment #1 from Jeff D. Hanson jhansonxi@gmail.com --- Added a direct download link to the demo (URL).
https://bugs.winehq.org/show_bug.cgi?id=38027
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet, download Status|UNCONFIRMED |NEW CC| |focht@gmx.net Component|-unknown |windowscodecs Summary|HyperStudio 5 fails to |HyperStudio 5 (.NET 4.0 |start |app) fails to start, | |reports | |'tiff_get_decode_info | |unhandled grayscale sample | |count 2' Ever confirmed|0 |1
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
--- quote --- When started, HyperStudio shows splash screen but then Wine Debugger pops-up with "DbgBreakPoint+0x1 in ntdll: ret". --- quote ---
That's bug 32323
With .NET applications *always* check the terminal for messages from .NET runtime *after* closing the crash reporting tool.
--- snip --- fixme:advapi:RegisterEventSourceW ((null),L".NET Runtime"): stub fixme:advapi:ReportEventW (0xcafe4242,0x0001,0x0000,0x00000401,(nil),0x0001,0x00000000,0x1a08f0c,(nil)): stub err:eventlog:ReportEventW L"Application: HyperStudio.exe\nFramework Version: v4.0.30319\nDescription: The application requested process termination through System.Environment.FailFast(string message).\nMessage: Unrecoverable system error.\nStack:\n at System.Environment.FailFast(System.String)\n at MS.Internal.Invariant.Fai"... fixme:advapi:DeregisterEventSource (0xcafe4242) stub --- snip ---
-> 'winetricks -q corefonts'
Using next issue to not letting this bug go to waste.
Relevant part of trace log (without relay, causes problems here):
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Software MacKiev/HyperStudio 5
$ WINEDEBUG=+tid,+seh,+loaddll,+process,+msxml,+msvcrt wine ./HyperStudio
log.txt 2>&1
... 0038:trace:msvcrt:MSVCRT__wfsopen (L"C:\Program Files\Software MacKiev\HyperStudio 5\Resources\DrawingTools\ToolsTemplates\Circle3D.tiff",L"rb") 0038:trace:msvcrt:msvcrt_get_flags L"rb" ... 0038:fixme:wincodecs:tiff_get_decode_info unhandled grayscale sample count 2 0038:trace:seh:raise_exception code=e0434352 flags=1 addr=0x7b83b54f ip=7b83b54f tid=0038 0038:trace:seh:raise_exception info[0]=80004005 0038:trace:seh:raise_exception info[1]=00000000 0038:trace:seh:raise_exception info[2]=00000000 0038:trace:seh:raise_exception info[3]=00000000 0038:trace:seh:raise_exception info[4]=79140000 0038:trace:seh:raise_exception eax=7b8271d5 ebx=7b8c1000 ecx=80004005 edx=01a0cac4 esi=01a0cb74 edi=001a4760 0038:trace:seh:raise_exception ebp=01a0cb08 esp=01a0caa4 cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00200283 0038:trace:seh:call_vectored_handlers calling handler at 0x791f5a7c code=e0434352 flags=1 ... 0038:trace:seh:raise_exception code=80000100 flags=1 addr=0x7b83b54f ip=7b83b54f tid=0038 0038:trace:seh:raise_exception info[0]=7d10ba80 0038:trace:seh:raise_exception info[1]=7d10df58 wine: Call from 0x7b83b54f to unimplemented function msvcr100.dll.__CxxExceptionFilter, aborting ... --- snip ---
'winetricks -q windowscodecs' works around and lets the app start.
Source: http://source.winehq.org/git/wine.git/blob/30f98340618b1ebfce38c83ac7c189a34...
$ sha1sum HS5Win.exe 23996c0fcc19dd47fdb005a33a9fde79f44f4137 HS5Win.exe
$ du -sh HS5Win.exe 690M HS5Win.exe
$ wine --version wine-1.7.36-83-gf75d1b0
Regards
https://bugs.winehq.org/show_bug.cgi?id=38027
--- Comment #3 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 50759 --> https://bugs.winehq.org/attachment.cgi?id=50759 patch
This tiff file contains a 8 bpp grayscale image with additional 8 bpp aplha channel. wincodecs don't have a proper image format for this combo and under windows WIC Explorer shows that WIC internally converts this image to 32 bpp PBGRA format.
Attached patch adds support for this tiff file by ignoring alpha channel. Adding proper support for it shouldn't be too hard for an interested person.
https://bugs.winehq.org/show_bug.cgi?id=38027
--- Comment #4 from Jeff D. Hanson jhansonxi@gmail.com --- I saw the messages after I closed the debugger but I wasn't sure of their significance or if the backtrace was adequate by itself.
I started over with a new directory. I'm now using wine-1.7.36-83-gf75d1b0 (built following http://wiki.winehq.org/BuildingBiarchWineOnUbuntu).
Did "winetricks -q mspatcha corefonts dotnet40 windowscodecs" along with the reg fix to disable Adobe Reader protected mode.
I haven't been able to get it to load completely (main app or player). After the first successful install it would only open up to a black window while spamming the log continuously with:
000d:fixme:win:EnumDisplayDevicesW ((null),0,0xd6be418,0x00000000), stub! 000d:fixme:win:EnumDisplayDevicesW ((null),0,0xd6be550,0x00000000), stub! 000d:fixme:win:EnumDisplayDevicesW ((null),1,0xd6be550,0x00000000), stub! 000d:fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified. 000d:fixme:d3d:check_fbo_compat Format WINED3DFMT_R16G16B16A16_UNORM with rendertarget flag is not supported as FBO color attachment, and no fallback specified.
After another wipe and reinstall, it now shows a dialog insisting that QuickTime isn't installed even though it is and I've tested it.
Wine seems to be working but this is the first time I've compiled it from source.
https://bugs.winehq.org/show_bug.cgi?id=38027
Dmitry Timoshkov dmitry@baikal.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #50759|0 |1 is obsolete| |
--- Comment #5 from Dmitry Timoshkov dmitry@baikal.ru --- Created attachment 51155 --> https://bugs.winehq.org/attachment.cgi?id=51155 patch
Attached patch adds support for 8 bpp grayscale tiff images with an extra 8 bpp alpha channel.
https://bugs.winehq.org/show_bug.cgi?id=38027
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
--- Comment #6 from Anastasius Focht focht@gmx.net --- Hello folks,
still present.
$ wine --version wine-1.7.43-142-g98b991f
Dmitry's patch is also available/included in Wine-Staging by default:
https://github.com/wine-compholio/wine-staging/blob/master/patches/windowsco...
Regards
https://bugs.winehq.org/show_bug.cgi?id=38027
Sebastian Lackner sebastian@fds-team.de changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |sebastian@fds-team.de
--- Comment #7 from Sebastian Lackner sebastian@fds-team.de --- This is most likely fixed by http://source.winehq.org/git/wine.git/commit/d57b87c0f3d129e0d1baf8a848ad4f4...
Could you please retest?
https://bugs.winehq.org/show_bug.cgi?id=38027
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d57b87c0f3d129e0d1baf8a848a | |d4f4ad8165219 Status|NEW |RESOLVED Resolution|--- |FIXED
--- Comment #8 from Anastasius Focht focht@gmx.net --- Hello folks,
this is fixed by commit https://source.winehq.org/git/wine.git/commitdiff/d57b87c0f3d129e0d1baf8a848...
Thanks Dmitry
HyperStudio 5 doesn't run (hangs in splash screen) but that's another windowscodecs issue.
Regards
https://bugs.winehq.org/show_bug.cgi?id=38027
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #9 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.7.48.
https://bugs.winehq.org/show_bug.cgi?id=38027
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://downloads.hyperstudi |https://web.archive.org/web |o.com/HS5Win.exe |/20210810164118/https://dow | |nloads.hyperstudio.com/HS5W | |in.exe
--- Comment #10 from Anastasius Focht focht@gmx.net --- Hello folks,
adding stable download link via Internet Archive. The snapshot has different hash but it's still HyperStudio 5 (5.2.0.587).
https://web.archive.org/web/20210810164118/https://downloads.hyperstudio.com...
$ sha1sum HS5Win.exe 68bcad2c4ea157c33ae85dcafe21e68cb19724e9 HS5Win.exe
$ du -sh HS5Win.exe 694M HS5Win.exe
--- snip --- -=[ ProtectionID v0.6.9.0 DECEMBER]=- (c) 2003-2017 CDKiLLER & TippeX Build 24/12/17-21:05:42 Ready... Scanning -> C:\Program Files (x86)\Software MacKiev\HyperStudio 5\HyperStudio.exe File Type : 32-Bit Exe (Subsystem : Win GUI / 2), Size : 881000 (0D7168h) Byte(s) | Machine: 0x14C (I386) Compilation TimeStamp : 0x54D0C928 -> Tue 03rd Feb 2015 13:12:08 (GMT) [TimeStamp] 0x54D0C928 -> Tue 03rd Feb 2015 13:12:08 (GMT) | PE Header | - | Offset: 0x000000F8 | VA: 0x004000F8 | - [TimeStamp] 0x54D0C928 -> Tue 03rd Feb 2015 13:12:08 (GMT) | DebugDirectory | - | Offset: 0x0002A5E4 | VA: 0x0042B3E4 | - -> File Appears to be Digitally Signed @ Offset 0D5800h, size : 01968h / 06504 byte(s) [LoadConfig] Struct determined as v8 (Expected size 140 | Actual size 64) [!] Executable uses SEH Tables (/SAFESEH) (94 calculated 94 recorded... 0 invalid addresses) [LoadConfig] CodeIntegrity -> Flags 0x3 | Catalog 0x0 (0) | Catalog Offset 0x355C3A43 | Reserved 0x485C3030 [LoadConfig] GuardAddressTakenIatEntryTable 0x72657079 | Count 0x64757453 (1685419091) [LoadConfig] GuardLongJumpTargetTable 0x69576F69 | Count 0x75625C6E (1969380462) [LoadConfig] HybridMetadataPointer 0x5C646C69 | DynamicValueRelocTable 0x65707948 [LoadConfig] FailFastIndirectProc 0x75745372 | FailFastPointer 0x2E6F6964 [LoadConfig] UnknownZero1 0x626470 [File Heuristics] -> Flag #1 : 00000100000001001101000000000100 (0x0404D004) [Entrypoint Section Entropy] : 6.63 (section #0) ".text " | Size : 0x29C72 (171122) byte(s) [DllCharacteristics] -> Flag : (0x8140) -> ASLR | DEP | TSA [SectionCount] 5 (0x5) | ImageSize 0xDA000 (892928) byte(s) [VersionInfo] Company Name : The Software MacKiev Company [VersionInfo] Product Name : HyperStudio [VersionInfo] Product Version : 5.2.0.587 [VersionInfo] File Description : HyperStudio [VersionInfo] File Version : 5.2.0.587 [VersionInfo] Legal Copyrights : © 2015 The Software MacKiev Company [ModuleReport] [IAT] Modules -> VERSION.dll | COMCTL32.dll | gdiplus.dll | SHLWAPI.dll | WINMM.dll | KERNEL32.dll | USER32.dll | GDI32.dll | ADVAPI32.dll | SHELL32.dll | ole32.dll [Debug Info] (record 1 of 1) (file offset 0x2A5E0) Characteristics : 0x0 | TimeDateStamp : 0x54D0C928 (Tue 03rd Feb 2015 13:12:08 (GMT)) | MajorVer : 0 / MinorVer : 0 -> (0.0) Type : 2 (0x2) -> CodeView | Size : 0x44 (68) AddressOfRawData : 0x2EDA0 | PointerToRawData : 0x2DFA0 CvSig : 0x53445352 | SigGuid 888A2AFB-3716-4AE9-82C4A89CF503C3D5 Age : 0x3 (3) | Pdb : C:\500\HyperStudioWin\build\HyperStudio.pdb [CompilerDetect] -> Visual C++ 10.0 (Visual Studio 2010) [!] File appears to have no protection or is using an unknown protection - Scan Took : 0.624 Second(s) [000000270h (624) tick(s)] [506 of 580 scan(s) done] --- snip ---
Regards