[Bug 32414] Samsung TV SDK 3.5.2 Emulator crashes on startup (needs 'Shell Image Data Factory', CLSID '{66e4e4fb-f385-4dd0-8d74-a2efd1bc6178}')

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Nov 21 09:04:17 CST 2015


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

Anastasius Focht <focht at 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 at 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

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