http://bugs.winehq.org/show_bug.cgi?id=16879
Summary: .NET 3.0: XPSEPSC installer fails due to unimpl kernel32.RtlCaptureStackBackTrace Product: Wine Version: 1.1.12 Platform: Other URL: http://www.microsoft.com/downloads/details.aspx?FamilyID =10cc340b-f857-4a14-83f5-25634c3bf043 OS/Version: other Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 AssignedTo: wine-bugs@winehq.org ReportedBy: focht@gmx.net
Hello,
after getting past bug 16878 one runs into next one.
Prerequisite:
1. clean WINEPREFIX 2. sh winetricks -q dotnet20 3. download .NET 3.0 Framework installer from: http://download.microsoft.com /download/4/d/a/4da3a5fa-ee6a-42b8-8bfa-ea5c4a458a7d/dotnetfx3setup.exe (sha1sum: a566bcd2ffffc3842a95adc57f7df3f8cd11577f) 4. export _SFX_CAB_SHUTDOWN_REQUEST=1 (workaround, see bug 9158) 5. wine ./dotnetfx3setup.exe
It might take a while until all required packages are downloaded using BITS.
Note: If you need to redo steps, backup the directory "dotnetfx304506.30" from "c:\windows\temp" to a different location, remove ~/.wine, copy "dotnetfx304506.30" again to "c:\windows\temp" to prevent BITS from downloading over and over again.
--- snip --- fixme:advapi:RegisterEventSourceW ((null),L"Microsoft-Windows-SpoolerFilterPipelineSVC"): stub fixme:winspool:OpenPrinterW PRINTER_DEFAULTS ignored => (null),(nil),0x00000001 fixme:winspool:AddPrinterW DocumentPropertiesW on printer L"Microsoft XPS Document Writer" fails wine: Call from 0x105e0b0 to unimplemented function KERNEL32.dll.RtlCaptureStackBackTrace, aborting wine: Unimplemented function KERNEL32.dll.RtlCaptureStackBackTrace called at address 0x105e0b0 (thread 0014), starting debugger... Unhandled exception: unimplemented function KERNEL32.dll.RtlCaptureStackBackTrace called in 32-bit code (0x7bc485e6). Register dump: CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b EIP:7bc485e6 ESP:0033ef1c EBP:0033ef70 EFLAGS:00000216( - 00 - IAP1) EAX:0033ef1c EBX:7bc9b830 ECX:0034002d EDX:007d3e0c ESI:0033f7cc EDI:007d3e18 Stack dump: 0x0033ef1c krb5_rc_dfl_init+0xfc: 80000100 00000001 00000000 0105e0b0 0x0033ef2c krb5_rc_dfl_init+0x10c: 00000002 010957de 01095722 60143151 0x0033ef3c krb5_rc_dfl_init+0x11c: 00110000 7bc9b830 00000000 00000000 0x0033ef4c krb5_rc_dfl_init+0x12c: 00000064 7bc43fe6 00000000 7bc6ebc4 0x0033ef5c krb5_rc_dfl_init+0x13c: 0033efc4 60145124 00000040 7bc6ed4d 0x0033ef6c krb5_rc_dfl_init+0x14c: 007d1288 0033efa4 0034003c 010957de Backtrace: =>0 0x7bc485e6 stub_entry_point+0x4b(dll="KERNEL32.dll", name="RtlCaptureStackBackTrace", ret_addr=0x105e0b0) [/opt/wine/wine-git/dlls/ntdll/loader.c:192] in ntdll (0x0033ef70) 1 0x0034003c in libkrb5.so.3 (+0x7503c) (0x0033efa4) 2 0x0105dbeb in printfilterpipelinesvc (+0x5dbeb) (0x0033efb4) 3 0x0105de7c in printfilterpipelinesvc (+0x5de7c) (0x0033f1dc) 4 0x0105e036 in printfilterpipelinesvc (+0x5e036) (0x0033f1fc) 5 0x0101cfb3 in printfilterpipelinesvc (+0x1cfb3) (0x0033fc34) 6 0x0101d020 in printfilterpipelinesvc (+0x1d020) (0x0033fd28) 7 0x0101dab1 in printfilterpipelinesvc (+0x1dab1) (0x0033fd6c) 8 0x0101be04 in printfilterpipelinesvc (+0x1be04) (0x0033fd94) 9 0x0101be76 in printfilterpipelinesvc (+0x1be76) (0x0033fdb0) 10 0x0101bf7f in printfilterpipelinesvc (+0x1bf7f) (0x0033fdd0) 11 0x0101e133 in printfilterpipelinesvc (+0x1e133) (0x0033fef8) 12 0x7b87ebd0 start_process+0xe4(arg=(nil)) [/opt/wine/wine-git/dlls/kernel32/process.c:904] in kernel32 (0x0033ffe8) ... 00000025 (D) C:\windows\system32\unknown\PrintFilterPipelineSvc.exe --- snip ---
In case you are wondering about "unknown" in path, Wine doesn't know about directory id 55 which is printer processor directory.
Although it might deserve its own bug I mention it here:
--- snip --- 0045:fixme:setupapi:create_system_dirid unknown dirid 55 --- snip ---
That whole print processor stuff needs to be tackled separately.
--- snip --- 0032:Call KERNEL32.CopyFileW(0033f814 L"C:\3e0c51033dbb7684e997f131b3146a\update\..\i386\filterpipelineprintproc.dll",0033fa1c L"C:\windows\system32\spool\prtprocs\w32x86\filterpipelineprintproc.dll",00000000) ret=0101cf79 0032:Ret KERNEL32.CopyFileW() retval=00000001 ret=0101cf79 0032:Call winspool.drv.AddPrintProcessorW(00000000,01002388 L"Windows NT x86",01001f9c L"filterpipelineprintproc.dll",01001fd4 L"MS_XPS") ret=0101d032 0032:fixme:winspool:AddPrintProcessorW ((null),L"Windows NT x86",L"filterpipelineprintproc.dll",L"MS_XPS"): stub 0032:Ret winspool.drv.AddPrintProcessorW() retval=00000000 ret=0101d032 --- snip ---
There are several issues, though I leave them alone for now ...
---
After adding RtlCaptureStackBackTrace() forward to kernel32.spec and adding stub to ntdll (FIXME params + returning STATUS_NOT_IMPLEMENTED), the crash is prevented.
Regards
http://bugs.winehq.org/show_bug.cgi?id=16879
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Depends on| |16878
http://bugs.winehq.org/show_bug.cgi?id=16879
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |dotnet, download, Installer
--- Comment #1 from Austin English austinenglish@gmail.com 2009-01-11 13:48:35 --- Confirming.
http://bugs.winehq.org/show_bug.cgi?id=16879
Andrey Turkin andrey.turkin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |andrey.turkin@gmail.com
--- Comment #2 from Andrey Turkin andrey.turkin@gmail.com 2009-01-12 11:25:04 --- Stub implementation for RtlCaptureStackBackTrace just went in git; please note its return code is SHORT value - number of frames captured. I made it return 0, not c0000005 because it would just mean 5 frames. Please test if return value 0 works OK.
http://bugs.winehq.org/show_bug.cgi?id=16879
Bug 16879 depends on bug 16878, which changed state.
Bug 16878 Summary: .NET 3.0: XPSEPSC installer fails due to missing ntoskrnl.exe placeholder and version resource http://bugs.winehq.org/show_bug.cgi?id=16878
What |Old Value |New Value ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
http://bugs.winehq.org/show_bug.cgi?id=16879
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Anastasius Focht focht@gmx.net 2009-01-12 14:29:54 --- Hello,
verified, fixed by commit d2685e7bd7d1c7f595c86ae08ddeaf9c696c43d8
--- snip --- ... 00c6:Ret winspool.drv.AddPrinterDriverExW() retval=00000000 ret=0101d9e7 00c6:Call ntdll.RtlAllocateHeap(007d0000,00000000,00000023) ret=0101e36d 00c6:Ret ntdll.RtlAllocateHeap() retval=007d15a8 ret=0101e36d 00c6:Call KERNEL32.GetLastError() ret=0105e6d5 00c6:Ret KERNEL32.GetLastError() retval=00000703 ret=0105e6d5 00c6:Call KERNEL32.InterlockedIncrement(007d1290) ret=0105e054 00c6:Ret KERNEL32.InterlockedIncrement() retval=00000000 ret=0105e054 00c6:Call ntdll.RtlCaptureStackBackTrace(00000001,0000001e,007d3fc8,00000000) ret=0105e0b0 00c6:fixme:seh:RtlCaptureStackBackTrace (1, 30, 0x7d3fc8, (nil)) stub! 00c6:Ret ntdll.RtlCaptureStackBackTrace() retval=00000000 ret=0105e0b0 00c6:Call KERNEL32.GetLastError() ret=01021028 00c6:Ret KERNEL32.GetLastError() retval=00000703 ret=01021028 00c6:Call KERNEL32.TlsGetValue(00000006) ret=01020f00 00c6:Ret KERNEL32.TlsGetValue() retval=7b8285d0 ret=01020f00 00c6:Call KERNEL32.TlsGetValue(00000006) ret=01021041 00c6:Ret KERNEL32.TlsGetValue() retval=7b8285d0 ret=01021041 00c6:Call KERNEL32.FlsGetValue(00000001) ret=01021043 00c6:Ret KERNEL32.FlsGetValue() retval=007d0128 ret=01021043 00c6:Call KERNEL32.SetLastError(00000703) ret=01021095 00c6:Ret KERNEL32.SetLastError() retval=00000703 ret=01021095 00c6:Call KERNEL32.MultiByteToWideChar(00000000,00000008,0033fb04 "AddPrinterDriverEx failed.",00000100,0033f904,00000100) ret=0105df9f 00c6:Ret KERNEL32.MultiByteToWideChar() retval=00000100 ret=0105df9f --- snip ---
Regards
http://bugs.winehq.org/show_bug.cgi?id=16879
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2009-01-16 10:39:48 --- Closing bugs fixed in 1.1.13.
http://bugs.winehq.org/show_bug.cgi?id=16879
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |d2685e7bd7d1c7f595c86ae08dd | |eaf9c696c43d8
--- Comment #5 from Anastasius Focht focht@gmx.net 2011-10-12 03:18:37 CDT --- Hello,
filling/correcting fields ...
Regards
http://bugs.winehq.org/show_bug.cgi?id=16879
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Hardware|Other |x86 OS|other |Linux
https://bugs.winehq.org/show_bug.cgi?id=16879
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.microsoft.com/do |https://web.archive.org/web |wnloads/details.aspx?Family |/20120525055657/http://down |ID=10cc340b-f857-4a14-83f5- |load.microsoft.com/download |25634c3bf043 |/2/5/2/2526f55d-32bc-410f-b | |e18-164ba67ae07d/XPSEP%20XP | |%20and%20Server%202003%2032 | |%20bit.msi