[Bug 5848] New: rsaenh dll crashes with a c error

Wine Bugs wine-bugs at winehq.org
Wed Aug 2 21:28:01 CDT 2006


http://bugs.winehq.org/show_bug.cgi?id=5848

           Summary: rsaenh dll crashes with a c error
           Product: Wine
           Version: CVS
          Platform: PC-x86-64
               URL: http://www.autobaun.net/forum
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: test
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: andrew at autobaun.net
                CC: andrew at autobaun.net


After installing and configuring wine to run Dungeons and Dragons online
stormreasch. You get an error "unable to initialize the crypto api" in the game
however wine gives the following error with the rsaenh.dll:

fixme:d3d:IWineD3DDeviceImpl_SetRenderState
(0x18e7f0)->(WINED3DRS_BLENDOPALPHA,1) not handled yet
WineDbg starting on pid 0x8
Unhandled exception: page fault on write access to 0x00000000 in 32-bit code
(0x7c328b21).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:006b GS:0063
 EIP:7c328b21 ESP:7c70976c EBP:7c709780 EFLAGS:00010a92(   - 00      ROISA1)
 EAX:000000d3 EBX:7c33d258 ECX:00000038 EDX:08d1d488
 ESI:08d1d489 EDI:00000000
Stack dump:
0x7c70976c:  00000239 590197a0 08d1d488 00006801
0x7c70977c:  00000001 7c7097a0 7c320ec9 00000000
0x7c70978c:  00000239 08d1d480 7c33d258 7c33f6e0
0x7c70979c:  7c33d258 7c709850 7c32e684 00006801
0x7c7097ac:  08d1d480 00000000 00000239 00002aa8
0x7c7097bc:  7c70980c 7efb5930 0002b4a0 7c709848
fixme:ntdll:RtlNtStatusToDosErrorNoTeb no mapping for c0000119
Backtrace:
=>1 0x7c328b21 rc4_read+0x61(buf=0x0, len=0x239, prng=0x8d1d480)
[/home/senob/downloads/wine/dlls/
rsaenh/rc4.c:103] in rsaenh (0x7c328b21)
  2 0x7c320ec9 encrypt_stream_impl+0x49(aiAlgid=0x6801, pKeyContext=0x8d1d480,
stream=0x0, dwLen=0
x239) [/home/senob/downloads/wine/dlls/rsaenh/implglue.c:338] in rsaenh (0x7c320ec9)
  3 0x7c32e684 RSAENH_CPEncrypt+0x314(hProv=0x1, hKey=0x4, hHash=0x0, Final=0x1,
dwFlags=0x0, pbDa
ta=0x0, pdwDataLen=0x7c7098e8, dwBufLen=0x239)
[/home/senob/downloads/wine/dlls/rsaenh/rsaenh.c:19
58] in rsaenh (0x7c32e684)
  4 0x7ea396ac CryptEncrypt+0x10c(hKey=0x1f8610, hHash=0x0, Final=0x1,
dwFlags=0x0, pbData=0x0, pd
wDataLen=0x7c7098e8, dwBufLen=0x239)
[/home/senob/downloads/wine/dlls/advapi32/crypt.c:971] in adv
api32 (0x7ea396ac)
  5 0x008acb53 in dndclient (+0x4acb53) (0x008acb53)
  6 0x00000002 (0x00000002)
  7 0x008ac790 in dndclient (+0x4ac790) (0x008ac790)
  8 0xc9761406 (0xc9761406)
  9 0x00000000 (0x00000000)
0x7c328b21 rc4_read+0x61 [/home/senob/downloads/wine/dlls/rsaenh/rc4.c:103] in
rsaenh: xorb     %a
l,0x0(%edi)
103           *buf++ ^= s[tmp];
Modules:
Module  Address                 Debug info      Name (106 modules)
ELF     101000-10a000   Deferred        libxrender.so.1
ELF     16e000-178000   Deferred        libxcursor.so.1
ELF     190000-195000   Deferred        libxfixes.so.3
PE      340000-355000   Deferred        vorbisfile
PE      360000-36d000   Deferred        ogg
PE      370000-381000   Deferred        zlib
PE      390000-3e8000   Deferred        dpvs
PE      400000-df3000   Export          dndclient
PE      400000-df3000   Export          dndclient
PE      400000-df3000   Export          dndclient
PE      400000-df3000   Export          dndclient
PE      400000-df3000   Export          dndclient
PE      400000-df3000   Export          dndclient
PE      400000-df3000   Export          dndclient
PE      400000-df3000   Export          dndclient
PE      400000-df3000   Export          dndclient
PE      400000-df3000   Export          dndclient
PE      400000-df3000   Export          dndclient
PE      400000-df3000   Export          dndclient
PE      400000-df3000   Export          dndclient
PE      e00000-f08000   Deferred        vorbis
PE      1ce0000-1ce6000 Deferred        corestrings
PE      8f10000-8f6f000 Deferred        chatclient
PE      10000000-100f8000       Deferred        openal32
PE      18000000-18038000       Deferred        binkw32
ELF     42243000-42245000       Deferred        libnvidia-tls.so.1
ELF     42247000-42a5e000       Deferred        libglcore.so.1
ELF     42a60000-42aef000       Deferred        libgl.so.1
PE      50000000-5006d000       Deferred        granny2
PE      60000000-60058000       Deferred        ijl15
ELF     7bf00000-7bf03000       Deferred        <wine-loader>
ELF     7c2c2000-7c30b000       Deferred        crypt32<elf>
  \-PE  7c2d0000-7c30b000       \               crypt32
ELF     7c30b000-7c340000       Stabs           rsaenh<elf>
  \-PE  7c310000-7c340000       \               rsaenh
PE      7c340000-7c396000       Deferred        msvcr71
PE      7c3a0000-7c41b000       Deferred        msvcp71
ELF     7ca3e000-7ca52000       Deferred        wtsapi32<elf>
  \-PE  7ca40000-7ca52000       \               wtsapi32
ELF     7ceb3000-7ceee000       Deferred        dinput<elf>
  \-PE  7cec0000-7ceee000       \               dinput
ELF     7ceee000-7cf06000       Deferred        dinput8<elf>
  \-PE  7cef0000-7cf06000       \               dinput8
ELF     7d407000-7d4c2000       Deferred        libglu.so.1
ELF     7d4ee000-7d597000       Deferred        wined3d<elf>
  \-PE  7d500000-7d597000       \               wined3d
ELF     7d597000-7d5c1000       Deferred        d3d9<elf>
  \-PE  7d5a0000-7d5c1000       \               d3d9
ELF     7d80b000-7d83d000       Deferred        uxtheme<elf>
  \-PE  7d810000-7d83d000       \               uxtheme
ELF     7d83d000-7d852000       Deferred        midimap<elf>
  \-PE  7d840000-7d852000       \               midimap
ELF     7d852000-7d88e000       Deferred        wineoss<elf>
  \-PE  7d860000-7d88e000       \               wineoss
ELF     7e2d8000-7e359000       Deferred        winex11<elf>
  \-PE  7e2f0000-7e359000       \               winex11
ELF     7e3e9000-7e401000       Deferred        msacm32<elf>
  \-PE  7e3f0000-7e401000       \               msacm32
ELF     7e406000-7e434000       Deferred        winspool<elf>
  \-PE  7e410000-7e434000       \               winspool
ELF     7e434000-7e4d0000       Deferred        comdlg32<elf>
  \-PE  7e440000-7e4d0000       \               comdlg32
ELF     7e4d0000-7e4e4000       Deferred        lz32<elf>
  \-PE  7e4e0000-7e4e4000       \               lz32
ELF     7e4e4000-7e4fd000       Deferred        version<elf>
  \-PE  7e4f0000-7e4fd000       \               version
ELF     7e4fd000-7e528000       Deferred        ws2_32<elf>
  \-PE  7e510000-7e528000       \               ws2_32
ELF     7e528000-7e542000       Deferred        wsock32<elf>
  \-PE  7e530000-7e542000       \               wsock32
ELF     7e542000-7e602000       Deferred        comctl32<elf>
  \-PE  7e550000-7e602000       \               comctl32
ELF     7e602000-7e659000       Deferred        shlwapi<elf>
  \-PE  7e610000-7e659000       \               shlwapi
ELF     7e659000-7e73a000       Deferred        shell32<elf>
  \-PE  7e670000-7e73a000       \               shell32
ELF     7e73a000-7e785000       Deferred        dsound<elf>
  \-PE  7e740000-7e785000       \               dsound
ELF     7e785000-7e7e9000       Deferred        msvcrt<elf>
  \-PE  7e790000-7e7e9000       \               msvcrt
ELF     7e7e9000-7e803000       Deferred        crtdll<elf>
  \-PE  7e7f0000-7e803000       \               crtdll
ELF     7e803000-7e895000       Deferred        oleaut32<elf>
  \-PE  7e810000-7e895000       \               oleaut32
ELF     7e895000-7e8b1000       Deferred        imm32<elf>
  \-PE  7e8a0000-7e8b1000       \               imm32
ELF     7e8b1000-7e901000       Deferred        rpcrt4<elf>
  \-PE  7e8c0000-7e901000       \               rpcrt4
ELF     7e901000-7e995000       Deferred        ole32<elf>
  \-PE  7e910000-7e995000       \               ole32
ELF     7e995000-7ea1e000       Deferred        winmm<elf>
  \-PE  7e9a0000-7ea1e000       \               winmm
ELF     7ea1e000-7ea63000       Stabs           advapi32<elf>
  \-PE  7ea30000-7ea63000       \               advapi32
ELF     7ea63000-7eaf3000       Deferred        gdi32<elf>
  \-PE  7ea80000-7eaf3000       \               gdi32
ELF     7eaf3000-7ec29000       Deferred        user32<elf>
  \-PE  7eb10000-7ec29000       \               user32
ELF     7ee29000-7ef2e000       Deferred        kernel32<elf>
  \-PE  7ee40000-7ef2e000       \               kernel32
ELF     7ef61000-7ef7f000       Deferred        iphlpapi<elf>
  \-PE  7ef70000-7ef7f000       \               iphlpapi
ELF     7ef7f000-7f000000       Deferred        ntdll<elf>
  \-PE  7ef90000-7f000000       \               ntdll
ELF     f7ce0000-f7ceb000       Deferred        libnss_files.so.2
ELF     f7e64000-f7f75000       Deferred        libwine.so.1
Threads:
process  tid      prio (all id:s are in hex)
0000000c
        0000000d    0
00000008 (D) C:\Program Files\Turbine\Dungeons & Dragons Online -
Stormreach\dndclient.exe
        00000019    0
        00000016    0 <==
        00000014   15
        00000013    0
        00000012    0
        00000011   15
        0000000e    0
        0000000b    0
        00000009    0

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list