http://bugs.winehq.org/show_bug.cgi?id=27775
Summary: Picasa 3.8 crashes due to IWiaDevMgr->EnumDeviceInfo stub Product: Wine Version: 1.3.24 Platform: x86 OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net
Hello,
Picasa 3.8 crashes if you click "import from" menu item (or "import" tool button).
IWiaDevMgr->EnumDeviceInfo (wiadevmgr_EnumDeviceInfo) is a stub, returning E_NOTIMPL. Picasa doesn't check HRESULT and tries to directly dereference IEnumWIA_DEV_INFO **ppIEnum out parameter, leading to crash.
WINEDEBUG=+tid,+seh,+loaddll,+sti,+wia wine ./Picasa3.exe
--- snip --- ... 0043:trace:wia:WIASERVC_IClassFactory_CreateInstance IID: {5eb2502a-8cf1-11d1-bf92-0060081ed811} 0043:trace:wia:wiadevmgr_Constructor ((nil),0x93e350) 0043:trace:wia:wiadevmgr_QueryInterface (0x12bba0, {5eb2502a-8cf1-11d1-bf92-0060081ed811}, 0x93e564) 0043:trace:wia:wiadevmgr_QueryInterface (0x12bba0, {00000003-0000-0000-c000-000000000046}, 0x93e26c) 0043:fixme:wia:wiadevmgr_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented 0043:trace:wia:wiadevmgr_QueryInterface (0x12bba0, {00000003-0000-0000-c000-000000000046}, 0x93e198) 0043:fixme:wia:wiadevmgr_QueryInterface interface {00000003-0000-0000-c000-000000000046} not implemented 0043:trace:wia:wiadevmgr_QueryInterface (0x12bba0, {5eb2502a-8cf1-11d1-bf92-0060081ed811}, 0x93e050) 0043:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\oleaut32.dll" at 0x207a0000: builtin 0043:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\sti.dll" at 0x20770000: builtin 0043:trace:sti:DllMain (0x0x20770000, 1, (nil)) 0043:trace:sti:DllGetClassObject {4db1ad10-3391-11d2-9a33-00c04fa36145} {d5f569d0-593b-101a-b569-08002b2dbf7a} 0x93e04c 0043:trace:wia:wiadevmgr_QueryInterface (0x12bba0, {5eb2502a-8cf1-11d1-bf92-0060081ed811}, 0x93df90) 0009:trace:loaddll:load_builtin_dll Loaded L"C:\windows\system32\sti.dll" at 0x20070000: builtin 0009:trace:sti:DllMain (0x0x20070000, 1, (nil)) 0009:trace:sti:DllGetClassObject {4db1ad10-3391-11d2-9a33-00c04fa36145} {d5f569d0-593b-101a-b569-08002b2dbf7a} 0x329bd4 0046:fixme:wia:wiadevmgr_EnumDeviceInfo (0x12bba0, 16, 0xb3e564): stub 0009:trace:seh:raise_exception code=c0000005 flags=0 addr=0x691934 ip=00691934 tid=0009 0009:trace:seh:raise_exception info[0]=00000000 0009:trace:seh:raise_exception info[1]=00000000 0009:trace:seh:raise_exception eax=00000000 ebx=028ec5b0 ecx=00110000 edx=00000002 esi=80004001 edi=028ec5a4 0009:trace:seh:raise_exception ebp=028ec5a0 esp=0032a258 cs=0073 ds=007b es=007b fs=0033 gs=003b flags=00210246 0009:trace:seh:call_vectored_handlers calling handler at 0x6948a2bf code=c0000005 flags=0 0009:trace:seh:call_vectored_handlers handler at 0x6948a2bf returned 0 0009:trace:seh:call_stack_handlers calling handler at 0xa47050 code=c0000005 flags=0 --- snip ---
Regards