[Bug 16879] New: .NET 3.0: XPSEPSC installer fails due to unimpl kernel32.RtlCaptureStackBackTrace

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jan 11 06:09:59 CST 2009


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 at winehq.org
        ReportedBy: focht at 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


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
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