[Bug 47082] NI System Web Server crashes on unimplemented function authz.dll.AuthzFreeResourceManager

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Apr 29 03:36:44 CDT 2019


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

Anastasius Focht <focht at gmx.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |focht at gmx.net
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
            Summary|Unhandled exception:        |NI System Web Server
                   |unimplemented function      |crashes on unimplemented
                   |authz.dll.AuthzFreeResource |function
                   |Manager called in 32-bit    |authz.dll.AuthzFreeResource
                   |code (0x7b445f5b).          |Manager
                URL|                            |http://www.ni.com/en-ph/sup
                   |                            |port/downloads/software-pro
                   |                            |ducts.html
           Keywords|                            |download

--- Comment #2 from Anastasius Focht <focht at gmx.net> ---
Hello folks,

--- quote ---
An un-implemented function when using a program called passpad.exe an MRI
imaging viewer: Clarity English, OsiriX Viewer.
--- quote ---

The attached backtrace shows a different application causing the crash:
National Instruments 'SystemWebServer.exe'

--- snip ---
Unhandled exception: unimplemented function authz.dll.AuthzFreeResourceManager
called in 32-bit code (0x7b445f5b).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:7b445f5b ESP:0123d664 EBP:0123d6e8 EFLAGS:00000212(   - --  I   -A- - )
 EAX:7b42e441 EBX:00000004 ECX:0123d690 EDX:0123d714
 ESI:7d31d00a EDI:80000100
...
Backtrace:
=>0 0x7b445f5b GetFirmwareEnvironmentVariableW+0x14b() in kernel32 (0x0123d6e8)
  1 0x7d31c207 in authz (+0xc206) (0x0123d728)
  2 0x7d31b2b1 AuthzInitializeResourceManager+0xffffffff() in authz
(0x0123d7a4)
  3 0x00c8e728 in niauth (+0x3e727) (0x0123d7a4)
  4 0x00c8d488 in niauth (+0x3d487) (0x0123d7d8)
  5 0x00c8ce17 in niauth (+0x3ce16) (0x0123d834)
  6 0x00c6c1f4 EntryPoint+0xffffffff() in niauth (0x0123d870)
  7 0x00c687a6 EntryPoint+0xffffffff() in niauth (0x0123d8bc)
  8 0x00c6cd03 EntryPoint+0xffffffff() in niauth (0x0123d8ec)
  9 0x00e8448a EntryPoint+0xffffffff() in mod_niws (0x0123d920)
  10 0x00e887bc EntryPoint+0xffffffff() in mod_niws (0x0123d940)
  11 0x00e85381 EntryPoint+0xffffffff() in mod_niws (0x0123d9f4)
  12 0x00cf80f8 EntryPoint+0xffffffff() in ws_runtime (0x0123db94)
  13 0x00cf75f4 EntryPoint+0xffffffff() in ws_runtime (0x0123dbe0)
  14 0x00e82df7 EntryPoint+0xffffffff() in mod_niws (0x0123dc50)
  15 0x00e83c07 EntryPoint+0xffffffff() in mod_niws (0x0123dcc8)
  16 0x00e83749 EntryPoint+0xffffffff() in mod_niws (0x0123fdec)
  17 0x00e7e7f2 EntryPoint+0xffffffff() in mod_niws (0x0123fe38)
  18 0x00e7e5f5 EntryPoint+0xffffffff() in mod_niws (0x0123fe7c)
  19 0x00e7e2e6 EntryPoint+0xffffffff() in mod_niws (0x0123fed4)
  20 0x00ead51b EntryPoint+0xffffffff() in mod_niws (0x0123fedc)
  21 0x7bcc0bc4 call_thread_func_wrapper+0xb() in ntdll (0x0123feec)
  22 0x7bcc4bb1 RtlCaptureStackBackTrace+0x2b0() in ntdll (0x0123ffdc)
  23 0x7bcc0bb6 call_thread_exit_func+0x31() in ntdll (0x0123ffec)
0x7b445f5b GetFirmwareEnvironmentVariableW+0x14b in kernel32: addl    $12,%esp
Modules:
Module    Address            Debug info    Name (129 modules)
PE      330000-  361000    Deferred        libmpr
PE      370000-  39a000    Deferred        libhttp
PE      3a0000-  3bc000    Deferred        libpcre
PE      3c0000-  3d2000    Deferred        libappwebcore
PE      400000-  412000    Deferred        systemwebserver
PE      bc0000-  bcc000    Deferred        mod_niconf
PE      bd0000-  c09000    Deferred        mod_nisessmgr
PE      c10000-  c4d000    Deferred        mod_niauth
PE      c50000-  cba000    Export          niauth
PE      cc0000-  cd2000    Deferred        mod_niesp
PE      ce0000-  d4b000    Export          ws_runtime
PE      e70000-  efe000    Export          mod_niws
PE      f00000-  f1d000    Deferred        ni_traceengine
PE    10000000-1000e000    Deferred        libappweb
ELF    7b400000-7b835000    Dwarf           kernel32<elf>
  \-PE    7b420000-7b835000    \               kernel32
ELF    7bc00000-7bd71000    Dwarf           ntdll<elf>
  \-PE    7bc20000-7bd71000    \               ntdll
ELF    7c000000-7c005000    Deferred        <wine-loader>
...
ELF    f7f84000-f7faf000    Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
0000000e services.exe
    000000b2    0
...
    0000000f    0
00000013 lkads.exe
    [C:\windows\syswow64\lkads.exe]
    00000028    0
...
    00000014    0
0000001d lktsrv.exe
    [C:\windows\syswow64\lktsrv.exe]
    00000040    0
...
    0000001e    0
0000002c winedevice.exe
    0000003e    0
..
    0000002d    0
00000041 ApplicationWebServer.exe
    ["C:\Program Files (x86)\National Instruments\Shared\NI
WebServer\ApplicationWebServer.exe" -user]
    00000094    0
...
    00000042    0
00000046 niauth_daemon.exe
    ["C:\Program Files (x86)\National
Instruments\Shared\niauth\niauth_daemon.exe" -start]
    0000009b    0
...
    00000047    0
00000053 nidmsrv.exe
    ["C:\Program Files (x86)\National Instruments\Shared\Security\nidmsrv.exe"]
    00000086    0
...
    00000054    0
00000074 nimdnsResponder.exe
    ["C:\Program Files (x86)\National Instruments\Shared\mDNS
Responder\nimdnsResponder.exe"]
    0000008e    0
...
    00000075    0
00000092 nisvcloc.exe
    ["C:\Program Files (x86)\National Instruments\Shared\niSvcLoc\nisvcloc.exe"
-s]
    000000d1    0
...
    00000093    0
000000a0 (D) C:\Program Files (x86)\National Instruments\Shared\NI
WebServer\SystemWebServer.exe
    ["C:\Program Files (x86)\National Instruments\Shared\NI
WebServer\SystemWebServer.exe" -system]
    000000d0    0 <==
...
    000000a1    0
000000ab plugplay.exe
    000000af    0
...
    000000ac    0
000000b0 winedevice.exe
    000000b5    0
...
    000000b1    0
000000d4 explorer.exe
    000000da    0
...
    000000d5    0
--- snip ---

While this is certainly a Wine insufficiency please follow the general rule and
do not recycle/reuse/share WINEPREFIXes for multiple software installations
(with few exceptions, such as Steam). It makes diagnosis harder and results in
potentially invalid bug reports, especially with additional recipes/overrides
applied. Always install each application/game in an own clean (new) WINEPREFIX.

No idea which National Instruments app you installed. The crashing app is
mentioned here:

http://www.ni.com/product-documentation/52741/en/

--- quote ---
NI System Web Server

Service: NISystemWebServer
Process: SystemWebServer.exe

Description: The NI System Web Server provides National Instruments Web
services and a Web-based configuration and Monitoring utility.

If Disabled: If this service is stopped or disabled, NI MAX and other NI
software will not function properly.
--- quote ---

Anyway, confirming.

https://source.winehq.org/git/wine.git/blob/6e3f39a4c59fd529c7b532dcde1bb8c37c467b35:/dlls/authz/authz.spec#l9

--- snip ---
   9 @ stub AuthzFreeResourceManager
--- snip ---

Patch here:

https://www.winehq.org/pipermail/wine-devel/2019-April/144744.html
https://source.winehq.org/patches/data/163785

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