http://bugs.winehq.org/show_bug.cgi?id=32414
Bug #: 32414 Summary: Unhandled page fault exception when launching the Samsung TV SDK's emulator Product: Wine Version: 1.5.19 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: andyearnshaw@gmail.com Classification: Unclassified
Created attachment 42759 --> http://bugs.winehq.org/attachment.cgi?id=42759 Debug output for Emulator2.exe
When executing Emulator2.exe from the Samsung TV SDK 3.5.2 (from http://samsungdforum.com), the program immediately exits with the following error:
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00409373)
Full output with the command used to launch is attached. As for the SDK itself, that fails with a similar error message, but it's just an IDE (and/or a plugin for Eclipse) and much of the functionality can be reproduced with other applications. The emulator is the only part of the SDK whose functionality cannot be reproduced in a Unix environment.
I've attempted various suggested workarounds, such as changing to the .exe file's directory before execution and running from a 32-bit Wine prefix. I've also tried several older versions of the emulator with the same result.
A brief discussion regarding the issue can be found on the Wine forums at http://forum.winehq.org/viewtopic.php?f=8&t=17835.
http://bugs.winehq.org/show_bug.cgi?id=32414
Andy Earnshaw andyearnshaw@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andyearnshaw@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=32414
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #1 from Ken Sharp kennybobs@o2.co.uk 2013-08-04 12:25:18 CDT --- Is this still an issue in Wine 1.7 or later?
https://bugs.winehq.org/show_bug.cgi?id=32414
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |focht@gmx.net, | |super_man@post.com
https://bugs.winehq.org/show_bug.cgi?id=32414
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW URL| |https://www.samsungdforum.c | |om/devtools/sdkdownload Component|-unknown |shell32 Hardware|x86 |x86-64 Summary|Unhandled page fault |Samsung TV SDK 3.5.2 |exception when launching |Emulator crashes on startup |the Samsung TV SDK's |(needs 'Shell Image Data |emulator |Factory', CLSID | |'{66e4e4fb-f385-4dd0-8d74-a | |2efd1bc6178}') Ever confirmed|0 |1
--- Comment #2 from Anastasius Focht focht@gmx.net --- Hello folks,
the installer provides the following prerequisites:
* MS .NET Framework 2.0 (will be installed if Wine-Mono not present) * Microsoft Visual C++ 2010 x86 Redistributable (optional)
Part of main install:
* Apache HTTP server 2.0 (optional, make sure to select non-port 80 config option)
--- snip --- $ wine .wine/drive_c/Program\ Files\ (x86)/Samsung/Samsung\ TV\ SDK(3.5.2)/Emulator/Emulator2012_v3.5/bin/Emulator2.exe ... --- snip ---
Don't do that. Always change to the installation directory and run the applications from there. Many applications rely on proper working directory being set.
Anyway, it still crashes.
--- snip --- $ pwd /home/focht/.wine/drive_c/Program Files/Samsung/Samsung TV SDK(3.5.2)/Emulator/Emulator2012_v3.5/bin
$ WINEDEBUG=+tid,+seh,+relay wine ./Emulator2.exe >>log.txt 2>&1 ... 0042:Call ole32.CoCreateInstance(008aa478,00000000,00000017,008b3194,0033e004) ret=00408b72 ... 0042:err:ole:create_server class {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} not registered 0042:fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported 0042:err:ole:CoGetClassObject no class object {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} could be created for context 0x17 0042:Ret ole32.CoCreateInstance() retval=80040154 ret=00408b72 ... 0042:Call ole32.CoCreateInstance(008aa478,00000000,00000017,008b3194,0033e000) ret=00408c67 ... 0042:err:ole:create_server class {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} not registered 0042:fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported 0042:err:ole:CoGetClassObject no class object {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} could be created for context 0x17 0042:Ret ole32.CoCreateInstance() retval=80040154 ret=00408c67 ... 0042:Call ole32.CoCreateInstance(008aa478,00000000,00000017,008b3194,0033dfe8) ret=00409294 ... 0042:err:ole:create_server class {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} not registered 0042:fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported 0042:err:ole:CoGetClassObject no class object {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} could be created for context 0x17 0042:Ret ole32.CoCreateInstance() retval=80040154 ret=00409294 ... 0042:trace:seh:raise_exception code=c0000005 flags=0 addr=0x409373 ip=00409373 tid=0042 0042:trace:seh:raise_exception info[0]=00000000 0042:trace:seh:raise_exception info[1]=00000000 0042:trace:seh:raise_exception eax=00000000 ebx=7feb2601 ecx=0033e028 edx=0033deec esi=0033dff0 edi=0033dfd8 0042:trace:seh:raise_exception ebp=00000000 esp=0033dfbc cs=0023 ds=002b es=002b fs=0063 gs=006b flags=00010202 0042:trace:seh:call_stack_handlers calling handler at 0x7b7daf code=c0000005 flags=0 ... wine: Unhandled page fault on read access to 0x00000000 at address 0x409373 (thread 0042), starting debugger... ... =>0 0x00409373 in emulator2 (+0x9373) (0x00000000) 0x00409373: movl 0x0(%eax),%edx Modules: Module Address Debug info Name (180 modules) PE 340000- 353000 Deferred pthreadvce2 PE 360000- 37d000 Deferred objc PE 380000- 38e000 Deferred libdispatch PE 390000- 3a1000 Deferred asl PE 3b0000- 3f3000 Deferred libwebconv PE 400000- 2426000 Export emulator2 PE 2430000- 2577000 Deferred libiconv-2 PE 2580000- 26cf000 Deferred javascriptcore PE 26d0000- 27d9000 Deferred corefoundation PE 27e0000- 291a000 Deferred libicuin PE 2920000- 2a03000 Deferred libicuuc PE 2a10000- 4587000 Deferred wecore PE 4590000- 45c9000 Deferred wps PE 45d0000- 46d8000 Deferred libeay32 PE 46e0000- 47d5000 Deferred libxml2 PE 47e0000- 48b9000 Deferred iconv PE 48c0000- 51aa000 Deferred webkit PE 51b0000- 5249000 Deferred cfnetwork PE 5250000- 55f4000 Deferred coregraphics PE 5600000- 56e1000 Deferred icuuc40 PE 56f0000- 644e000 Deferred icudt40 PE 6450000- 6594000 Deferred quartzcore PE 65a0000- 66e0000 Deferred corevideo PE 66e0000- 6711000 Deferred ssleay32 PE 6720000- 674a000 Deferred avutil-50 PE 6750000- 6793000 Deferred ssleay32-0.9.8 PE 10000000-10015000 Deferred pthreadvc2 PE 4ad00000-4bc8b000 Deferred icudt46 PE 60900000-60962000 Deferred sqlite3 PE 61700000-6174b000 Deferred sdl_mixer PE 62e80000-62ea1000 Deferred zlib1 PE 63000000-63123000 Deferred cryptoeay32-0.9.8 PE 64940000-64a2d000 Deferred avformat-52 PE 68100000-6815d000 Deferred sdl PE 6ad40000-6b94f000 Deferred avcodec-52 PE 6d780000-6d7bd000 Deferred swscale-0 PE 6e0c0000-6e0d8000 Deferred libpthread-2 PE 70f40000-712e3000 Deferred libxml2-2 PE 71590000-71617000 Deferred comctl32 ELF 7a800000-7a939000 Deferred opengl32<elf> -PE 7a840000-7a939000 \ opengl32 ELF 7b800000-7ba73000 Deferred kernel32<elf> -PE 7b820000-7ba73000 \ kernel32 ELF 7bc00000-7bd07000 Deferred ntdll<elf> -PE 7bc30000-7bd07000 \ ntdll ... Threads: process tid prio (all id:s are in hex) ... 00000041 (D) C:\Program Files\Samsung\Samsung TV SDK(3.5.2)\Emulator\Emulator2012_v3.5\bin\Emulator2.exe 00000043 0 00000042 0 <== ... --- snip ---
Relevant part of app code, showing it really wants Shell Image Data Factory:
--- snip --- ... 00409270 896C24 2C MOV DWORD PTR SS:[ESP+2C],EBP 00409274 8D4C24 2C LEA ECX,[ESP+2C] ; ppv interface 00409278 51 PUSH ECX 00409279 68 94318B00 PUSH OFFSET 008B3194 0040927E 6A 17 PUSH 17 00409280 55 PUSH EBP 00409281 68 78A48A00 PUSH OFFSET 008AA478 00409286 C68424 94020000 09 MOV BYTE PTR SS:[ESP+294],9 0040928E FF15 481C7C00 CALL DWORD PTR DS:[<&ole32.CoCreateInstance>] 00409294 84DB TEST BL,BL ... 0040933F 50 PUSH EAX 00409340 8D4424 70 LEA EAX,[ESP+70] 00409344 50 PUSH EAX 00409345 FF15 98157C00 CALL DWORD PTR DS:[<&SHLWAPI.PathAppendW>] 0040934B 8D7C24 1C LEA EDI,[ESP+1C] 0040934F E8 FCF5FFFF CALL 00408950 00409354 8D4C24 6C LEA ECX,[ESP+6C] 00409358 51 PUSH ECX 00409359 FF15 A4157C00 CALL DWORD PTR DS:[<&SHLWAPI.PathFileExistsW>] 0040935F 85C0 TEST EAX,EAX 00409361 74 61 JE SHORT 004093C4 00409363 896C24 18 MOV DWORD PTR SS:[ESP+18],EBP 00409367 C68424 80020000 0C MOV BYTE PTR SS:[ESP+280],0C 0040936F 8B4424 2C MOV EAX,DWORD PTR SS:[ESP+2C] ; ppv interface 00409373 8B10 MOV EDX,DWORD PTR DS:[EAX] ; *boom* 00409375 8B52 10 MOV EDX,DWORD PTR DS:[EDX+10] 00409378 8D4C24 18 LEA ECX,[ESP+18] 0040937C 51 PUSH ECX 0040937D 8D4C24 70 LEA ECX,[ESP+70] 00409381 51 PUSH ECX 00409382 50 PUSH EAX 00409383 FFD2 CALL EDX --- snip ---
$ sha1sum [2012]Samsung_TV_SDK_Setup(3.5.2).zip 2697937103c00013cba6c3687dcc1d5295e9b32c [2012]Samsung_TV_SDK_Setup(3.5.2).zip
$ du -sh [2012]Samsung_TV_SDK_Setup(3.5.2).zip 286M [2012]Samsung_TV_SDK_Setup(3.5.2).zip
$ wine --version wine-1.8-rc1
Regards
https://bugs.winehq.org/show_bug.cgi?id=32414
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |bunglehead@gmail.com
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com --- I have set of fixes for this, will submit soon.
https://bugs.winehq.org/show_bug.cgi?id=32414
--- Comment #4 from Nikolay Sivov bunglehead@gmail.com --- Created attachment 57181 --> https://bugs.winehq.org/attachment.cgi?id=57181 samsung tv emulator
This appears to be the only problem stopping this emulator from launching. Obviously I haven't tested anything else. Attaching screenshot of what it looks like.
https://bugs.winehq.org/show_bug.cgi?id=32414
Nikolay Sivov bunglehead@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bunglehead@gmail.com |wine-bugs@winehq.org Resolution|--- |FIXED Fixed by SHA1| |258c5279dfb05293b227c8f8729 | |a33c4c5faeb72 Status|NEW |RESOLVED
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com --- Fixed with:
f04b66e68f9dff392e1eec771062683c767d9942 d9d99834f604402a2897037455261f9dd7d98c3f 5222eca2d5c159ce78f686fd723cdda9a89ebbe4 258c5279dfb05293b227c8f8729a33c4c5faeb72
https://bugs.winehq.org/show_bug.cgi?id=32414
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.2.
https://bugs.winehq.org/show_bug.cgi?id=32414
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|https://www.samsungdforum.c |https://web.archive.org/web |om/devtools/sdkdownload |/20211121175818/http://djsi | |w1wjy8vi7.cloudfront.net/Ap | |psGuide/SDK/%5B2012%5DSamsu | |ng_TV_SDK_Setup%283.0.b%29. | |zip
--- Comment #7 from Anastasius Focht focht@gmx.net --- Hello folks,
some archeology ...
Old archive.org snapshots of samsungdforum.com don't show direct download links (form generated + signin required):
https://web.archive.org/web/20121108013628/https://www.samsungdforum.com/dev...
https://web.archive.org/web/20121117113350/http://www.samsungdforum.com/Devt...
Current archive:
'Samsung TV SDK for Legacy Platform'
https://developer.samsung.com/smarttv/develop/tools/tv-extension/archive.htm...
All the 3.x releases are gone. Using lowest version which is still available one can get at least a CDN location:
4.0 beta:
https://sdf.samsungcloudcdn.com/Public/UwBWAEMAMAAwADAAMAAyAA==/OAA0AHMAZABr...
Unfortunately there is nothing useful on archive.org for 'sdf.samsungcloudcdn.com/*'.
Created a snapshot for SDK 4.0b just in case ...
https://web.archive.org/web/20211121194712/https://sdf.samsungcloudcdn.com/P...
$ sha1sum [2013]Samsung_TV_SDK_Setup(4.0b)_Eclipse.zip 6c396e39eb70f140af14dc8ac6ea01d6b1ef32a8 [2013]Samsung_TV_SDK_Setup(4.0b)_Eclipse.zip
$ du -sh [2013]Samsung_TV_SDK_Setup(4.0b)_Eclipse.zip 436M [2013]Samsung_TV_SDK_Setup(4.0b)_Eclipse.zip
====
After some digging found some of the older SDK releases here:
http://djsiw1wjy8vi7.cloudfront.net/
Created more snapshots:
https://web.archive.org/web/20211121175818/http://djsiw1wjy8vi7.cloudfront.n...
$ sha1sum [2012]Samsung_TV_SDK_Setup(3.0.b).zip b8d126bd0147d106b67c17b477642dc76bbdc417 [2012]Samsung_TV_SDK_Setup(3.0.b).zip
$ du -sh [2012]Samsung_TV_SDK_Setup(3.0.b).zip 238M [2012]Samsung_TV_SDK_Setup(3.0.b).zip
====
https://web.archive.org/web/20211121201118/http://djsiw1wjy8vi7.cloudfront.n...
$ sha1sum [2012]Samsung_TV_SDK_Setup(3.0.a)_Rev2.zip 81984d587a23da6f4e21c8f752789fe7b0f3fe8a [2012]Samsung_TV_SDK_Setup(3.0.a)_Rev2.zip
$ du -sh [2012]Samsung_TV_SDK_Setup(3.0.a)_Rev2.zip 236M [2012]Samsung_TV_SDK_Setup(3.0.a)_Rev2.zip
====
https://web.archive.org/web/20211121204028/http://djsiw1wjy8vi7.cloudfront.n...
$ sha1sum [2011]Samsung_TV_SDK_Setup(2.5.1).zip 0558a02eefe55be9324fd9b26356ba544756962c [2011]Samsung_TV_SDK_Setup(2.5.1).zip
$ du -sh [2011]Samsung_TV_SDK_Setup(2.5.1).zip 182M [2011]Samsung_TV_SDK_Setup(2.5.1).zip
====
https://web.archive.org/web/20211121204101/http://djsiw1wjy8vi7.cloudfront.n...
$ sha1sum [2011]Samsung_TV_SDK_Setup(2.5.0).zip 414a6a6ea344bd842c48886f378a6c0b0ef519e9 [2011]Samsung_TV_SDK_Setup(2.5.0).zip
$ du -sh [2011]Samsung_TV_SDK_Setup(2.5.0).zip 177M [2011]Samsung_TV_SDK_Setup(2.5.0).zip
====
Fortunately with Samsung TV SDK 3.0.b (2012) I could reproduce the issue with Wine 1.8 hence using that as documentation reference.
--- snip --- $ wine --version wine-1.8-rc1
$ pwd /home/focht/.wine/drive_c/Samsung/Samsung_TV_SDK(3.0.b)/Emulator/Emulator2012_v3.0/bin
$ wine ./Emulator2.exe ... err:ole:CoGetClassObject class {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} not registered err:ole:CoGetClassObject class {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} not registered err:ole:create_server class {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} not registered fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported err:ole:CoGetClassObject no class object {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} could be created for context 0x17 err:ole:CoGetClassObject class {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} not registered err:ole:CoGetClassObject class {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} not registered err:ole:create_server class {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} not registered fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported err:ole:CoGetClassObject no class object {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} could be created for context 0x17 err:ole:CoGetClassObject class {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} not registered err:ole:CoGetClassObject class {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} not registered err:ole:create_server class {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} not registered fixme:ole:CoGetClassObject CLSCTX_REMOTE_SERVER not supported err:ole:CoGetClassObject no class object {66e4e4fb-f385-4dd0-8d74-a2efd1bc6178} could be created for context 0x17 wine: Unhandled page fault on read access to 0x00000000 at address 0x409b91 (thread 0017), starting debugger... --- snip ---
Regards