[Bug 19747] New: Protel99SE-SP6 advsch.dll causes access violation (read @ 0000)

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Aug 15 22:40:26 CDT 2009


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

           Summary: Protel99SE-SP6 advsch.dll causes access violation
                    (read @ 0000)
           Product: Wine
           Version: 1.0.1
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: errol.kowald at ieee.org


Protel99SE is a Win98 / WinXP application (also called Design Explorer) used to
create/open a project database of schematics and pcb layouts, then operate on
these files with various servers. The main servers are "sch" & "pcb".
 sch is essentially a drawing package, tailored to electronic schematic design.
 pcb does the same for pcb design.

pcb primarily uses advpcb.dll, and works fine under wine.

sch primarily uses advsch.dll, and it is this library which creates an access
violation when called.

The sequence of events was :-
1. Protel99SE opened correctly, and retrieved the last database loaded
"MyDesign.ddb"
The database contained 3 files, FC0000_.PCB, first.PCB & First.Sch
2. "First.Sch" was then mouse clicked, to open it.
3. Design Explorer started the schematic editor, sch.
4. After some time, an Application Error window popped up, reporting:-
 "Exception EAccessViolation in module AdvSch.dll at 000C81D6."
 "Access violation at address 016A81D6 in module 'AdvAch.dll'. Read of"
 "address 00000000."
5. The checkbox "OK" was then clicked
6. Design Explorer was closed.

The following terminal command was used to produce the debug file
"proteldebug.txt". Apologies for the massive size, but I wasn't sure what was
relevant, and what wasn't.

errol at 934engenia-desktop:~$ WINEDEBUG=+relay wine "c:\program files\Design
Explorer 99 SE\Client99SE.exe" 2>&1 | tee proteldebug.txt

A copy of the terminal window follows, which resulted from the following
command:-
  wine "c:\program files\Design Explorer 99 SE\Client99SE.exe"
WINEDEBUG=+loaddll"
This is much shorter, showing only the exception resulting from the call to
AdvSch.dll, and the subsequent stack dump & backtrace.
The sequence of events is the same as described above.

(Again apologies for pasting it here, but only 1 attachment can be made, as far
as I can tell, to this report.)

-------------------------
errol at 934engenia-desktop:~$ wine "c:\program files\Design Explorer 99
SE\Client99SE.exe" WINEDEBUG=+loaddll
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:win:LockWindowUpdate (0x20064), partial stub!
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:win:LockWindowUpdate (0x20064), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
fixme:win:LockWindowUpdate (0x20064), partial stub!
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
fixme:win:LockWindowUpdate (0x10020), partial stub!
fixme:win:LockWindowUpdate ((nil)), partial stub!
wine: Unhandled page fault on read access to 0x00000000 at address
0x32f1e0:0x016a81d6 (thread 001f), starting debugger...
First chance exception: page fault on read access to 0x00000000 in 32-bit code
(0x016a81d6).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:016a81d6 ESP:0032c358 EBP:0032c364 EFLAGS:00010256(   - 00      RIZAP1)
 EAX:00000000 EBX:0000005b ECX:0032c364 EDX:0032c36c
 ESI:016b6574 EDI:4015f4a8
Stack dump:
0x0032c358:  0032c36c 40004288 0032c364 0032c384
0x0032c368:  400045d0 0032c874 400043b7 0032c384
0x0032c378:  0032c874 0032c874 400045e3 0032c88c
0x0032c388:  400045e8 0032c894 0160d3ae 01d4d7ec
0x0032c398:  0032c808 0032c3c4 0032c3dc 0032c808
0x0032c3a8:  0032c874 7bc8aff4 7bc66505 0032c808
Backtrace:
=>1 0x016a81d6 in advsch (+0xc81d6) (0x0032c364)
  2 0x400045d0 in vcl50.bpl (+0x45d0) (0x0032c384)
  3 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032c88c)
  4 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032cd9c)
  5 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032d2a8)
  6 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032d7b0)
  7 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032dcb8)
  8 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032e1c0)
  9 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032e6d0)
  10 0x40004648 in vcl50.bpl (+0x4648) (0x0032f098)
  11 0x40004806 in vcl50.bpl (+0x4806) (0x0032f0f8)
  12 0x7bc44f85 call_dll_entry_point+0x15() in ntdll (0x0032f118)
  13 0x7bc46d33 in ntdll (+0x36d33) (0x0032f258)
  14 0x7bc4712e in ntdll (+0x3712e) (0x0032f2a8)
  15 0x7bc4b2bf LdrLoadDll+0x8f() in ntdll (0x0032f2d8)
  16 0x7b86996c in kernel32 (+0x4996c) (0x0032f318)
  17 0x7b869a48 LoadLibraryExW+0x48() in kernel32 (0x0032f348)
  18 0x7b869b83 LoadLibraryExA+0x43() in kernel32 (0x0032f368)
  19 0x00470475 in client99se (+0x70475) (0x0032f594)
  20 0x004705ae in client99se (+0x705ae) (0x0032f5c8)
  21 0x00470248 in client99se (+0x70248) (0x0032f918)
  22 0x00440501 in client99se (+0x40501) (0x0032f93c)
  23 0x0044116c in client99se (+0x4116c) (0x0032f948)
  24 0x004412c4 in client99se (+0x412c4) (0x0032f98c)
  25 0x00437960 in client99se (+0x37960) (0x0032f9b0)
  26 0x4006b7ec in vcl50.bpl (+0x6b7ec) (0x0032f9cc)
  27 0x4006b82e in vcl50.bpl (+0x6b82e) (0x0032f9ec)
  28 0x4006b87b in vcl50.bpl (+0x6b87b) (0x0032fa2c)
  29 0x4006b604 in vcl50.bpl (+0x6b604) (0x0032fb70)
  30 0x40099c6c in vcl50.bpl (+0x99c6c) (0x0032fbb0)
  31 0x400510b6 in vcl50.bpl (+0x510b6) (0x0032fbc8)
  32 0x7edf342a WINPROC_wrapper+0x1a() in user32 (0x0032fbf8)
  33 0x7edf387a WINPROC_wrapper+0x46a() in user32 (0x0032fc38)
  34 0x7edf9932 CallWindowProcA+0x52() in user32 (0x0032fc78)
  35 0x0043735b in client99se (+0x3735b) (0x0032fcb0)
  36 0x7edf342a WINPROC_wrapper+0x1a() in user32 (0x0032fce0)
  37 0x7edf387a WINPROC_wrapper+0x46a() in user32 (0x0032fd20)
  38 0x7edf9b2d in user32 (+0xb9b2d) (0x0032fd60)
  39 0x7edb8bb6 DispatchMessageA+0x96() in user32 (0x0032fda0)
  40 0x4005a8e4 in vcl50.bpl (+0x5a8e4) (0x0032fdf4)
  41 0x00476d4f in client99se (+0x76d4f) (0x0032ff08)
  42 0x7b879028 in kernel32 (+0x59028) (0x0032ffe8)
  43 0xf7e54d77 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)
0x016a81d6: movl    0x0(%eax),%edx
Modules:
Module    Address            Debug info    Name (125 modules)
PE      330000-  3f8000    Deferred        csrtl50.bpl
PE      400000-  4c5000    Export          client99se
PE      4d0000-  588000    Deferred        protelcomponents50.bpl
PE     14f0000- 1507000    Deferred        autosave
PE     1510000- 1537000    Deferred        binder
PE     15e0000- 16f3000    Export          advsch
PE     1810000- 181c000    Deferred        im31bmp.dil
PE     1930000- 193d000    Deferred        im31wmf.dil
PE     1a50000- 1a63000    Deferred        im31tif.dil
PE     1b80000- 1b90000    Deferred        im31jpg.dil
PE     4190000- 419b000    Deferred        router32
PE     4a00000- 4a13000    Deferred        odbcint
PE    10000000-10043000    Deferred        imgman31
PE    40000000-401f2000    Export          vcl50.bpl
PE    402f0000-40333000    Deferred        vclx50.bpl
PE    6a980000-6a9b4000    Deferred        odbc32
ELF    7b800000-7b93c000    Export          kernel32<elf>
  \-PE    7b820000-7b93c000    \               kernel32
ELF    7bc00000-7bca7000    Export          ntdll<elf>
  \-PE    7bc10000-7bca7000    \               ntdll
ELF    7bf00000-7bf04000    Deferred        <wine-loader>
ELF    7d56f000-7d583000    Deferred        olepro32<elf>
  \-PE    7d570000-7d583000    \               olepro32
ELF    7d583000-7d598000    Deferred        midimap<elf>
  \-PE    7d590000-7d598000    \               midimap
ELF    7d598000-7d5c0000    Deferred        msacm32<elf>
  \-PE    7d5a0000-7d5c0000    \               msacm32
ELF    7ddc1000-7de20000    Deferred        libpulse.so.0
ELF    7de21000-7de3a000    Deferred        msacm32<elf>
  \-PE    7de30000-7de3a000    \               msacm32
ELF    7de3a000-7de43000    Deferred        librt.so.1
ELF    7de43000-7df0b000    Deferred        libasound.so.2
ELF    7df0b000-7df42000    Deferred        winealsa<elf>
  \-PE    7df10000-7df42000    \               winealsa
ELF    7df42000-7df46000    Deferred        libgpg-error.so.0
ELF    7df46000-7dfaf000    Deferred        libgcrypt.so.11
ELF    7dfaf000-7dfc1000    Deferred        libtasn1.so.3
ELF    7dfc1000-7dfc5000    Deferred        libkeyutils.so.1
ELF    7dfc5000-7dfce000    Deferred        libkrb5support.so.0
ELF    7dfce000-7dff2000    Deferred        libk5crypto.so.3
ELF    7dff2000-7e084000    Deferred        libkrb5.so.3
ELF    7e084000-7e121000    Deferred        libgnutls.so.26
ELF    7e121000-7e14c000    Deferred        libgssapi_krb5.so.2
ELF    7e14c000-7e183000    Deferred        libcups.so.2
ELF    7e184000-7e18a000    Deferred        libattr.so.1
ELF    7e18a000-7e191000    Deferred        libgdbm.so.3
ELF    7e191000-7e196000    Deferred        libcap.so.2
ELF    7e196000-7e19d000    Deferred        libasound_module_pcm_pulse.so
ELF    7e1ca000-7e1ce000    Deferred        libcom_err.so.2
ELF    7e1e1000-7e214000    Deferred        uxtheme<elf>
  \-PE    7e1f0000-7e214000    \               uxtheme
ELF    7e214000-7e21d000    Deferred        libxcursor.so.1
ELF    7e21d000-7e222000    Deferred        libxfixes.so.3
ELF    7e222000-7e226000    Deferred        libxcomposite.so.1
ELF    7e226000-7e22e000    Deferred        libxrandr.so.2
ELF    7e22e000-7e238000    Deferred        libxrender.so.1
ELF    7e238000-7e23b000    Deferred        libxinerama.so.1
ELF    7e23b000-7e25c000    Deferred        imm32<elf>
  \-PE    7e240000-7e25c000    \               imm32
ELF    7e25c000-7e261000    Deferred        libxdmcp.so.6
ELF    7e261000-7e27b000    Deferred        libxcb.so.1
ELF    7e27b000-7e27f000    Deferred        libxau.so.6
ELF    7e27f000-7e284000    Deferred        libuuid.so.1
ELF    7e284000-7e373000    Deferred        libx11.so.6
ELF    7e373000-7e383000    Deferred        libxext.so.6
ELF    7e383000-7e389000    Deferred        libxxf86vm.so.1
ELF    7e389000-7e3a1000    Deferred        libice.so.6
ELF    7e3a1000-7e3aa000    Deferred        libsm.so.6
ELF    7e3c4000-7e45f000    Deferred        winex11<elf>
  \-PE    7e3d0000-7e45f000    \               winex11
ELF    7e472000-7e499000    Deferred        libexpat.so.1
ELF    7e499000-7e4c6000    Deferred        libfontconfig.so.1
ELF    7e4c6000-7e4dc000    Deferred        libz.so.1
ELF    7e4dc000-7e553000    Deferred        libfreetype.so.6
ELF    7e56d000-7e5d9000    Deferred        msvcrt<elf>
  \-PE    7e580000-7e5d9000    \               msvcrt
ELF    7e5d9000-7e66d000    Deferred        winmm<elf>
  \-PE    7e5e0000-7e66d000    \               winmm
ELF    7e66d000-7e694000    Deferred        oledlg<elf>
  \-PE    7e670000-7e694000    \               oledlg
ELF    7e694000-7e6c1000    Deferred        ws2_32<elf>
  \-PE    7e6a0000-7e6c1000    \               ws2_32
ELF    7e6c1000-7e6dc000    Deferred        wsock32<elf>
  \-PE    7e6d0000-7e6dc000    \               wsock32
ELF    7e6dc000-7e713000    Deferred        winspool<elf>
  \-PE    7e6e0000-7e713000    \               winspool
ELF    7e713000-7e76e000    Deferred        shlwapi<elf>
  \-PE    7e720000-7e76e000    \               shlwapi
ELF    7e76e000-7e883000    Deferred        shell32<elf>
  \-PE    7e780000-7e883000    \               shell32
ELF    7e883000-7e931000    Deferred        comdlg32<elf>
  \-PE    7e890000-7e931000    \               comdlg32
ELF    7e931000-7e9f6000    Deferred        comctl32<elf>
  \-PE    7e940000-7e9f6000    \               comctl32
ELF    7e9f6000-7ea11000    Deferred        version<elf>
  \-PE    7ea00000-7ea11000    \               version
ELF    7ea11000-7ea34000    Deferred        mpr<elf>
  \-PE    7ea20000-7ea34000    \               mpr
ELF    7ea34000-7ea4a000    Deferred        libresolv.so.2
ELF    7ea4f000-7ea64000    Deferred        lz32<elf>
  \-PE    7ea50000-7ea64000    \               lz32
ELF    7ea64000-7ea83000    Deferred        iphlpapi<elf>
  \-PE    7ea70000-7ea83000    \               iphlpapi
ELF    7ea83000-7eae6000    Deferred        rpcrt4<elf>
  \-PE    7ea90000-7eae6000    \               rpcrt4
ELF    7eae6000-7eb8c000    Deferred        ole32<elf>
  \-PE    7eaf0000-7eb8c000    \               ole32
ELF    7eb8c000-7ec32000    Deferred        oleaut32<elf>
  \-PE    7eba0000-7ec32000    \               oleaut32
ELF    7ec32000-7ec85000    Deferred        advapi32<elf>
  \-PE    7ec40000-7ec85000    \               advapi32
ELF    7ec85000-7ed25000    Deferred        gdi32<elf>
  \-PE    7eca0000-7ed25000    \               gdi32
ELF    7ed25000-7ee71000    Export          user32<elf>
  \-PE    7ed40000-7ee71000    \               user32
ELF    7ef9b000-7efa7000    Deferred        libnss_files.so.2
ELF    7efa7000-7efc0000    Deferred        libnsl.so.1
ELF    7efc0000-7efe6000    Deferred        libm.so.6
ELF    7efec000-7eff7000    Deferred        libnss_nis.so.2
ELF    7eff7000-7f000000    Deferred        libnss_compat.so.2
ELF    f7cb2000-f7cb6000    Deferred        libdl.so.2
ELF    f7cb6000-f7e19000    Deferred        libc.so.6
ELF    f7e1a000-f7e33000    Deferred        libpthread.so.0
ELF    f7e4d000-f7f84000    Export          libwine.so.1
ELF    f7f86000-f7fa7000    Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 
    00000009    0
0000000c 
    00000012    0
    0000000e    0
    0000000d    0
0000000f 
    00000016    0
    00000014    0
    00000011    0
    00000010    0
00000017 
    00000018    0
0000001e (D) C:\program files\Design Explorer 99 SE\Client99SE.exe
    00000020  -15
    0000001f    0 <==
Backtrace:
=>1 0x016a81d6 in advsch (+0xc81d6) (0x0032c364)
  2 0x400045d0 in vcl50.bpl (+0x45d0) (0x0032c384)
  3 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032c88c)
  4 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032cd9c)
  5 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032d2a8)
  6 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032d7b0)
  7 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032dcb8)
  8 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032e1c0)
  9 0x400045e8 in vcl50.bpl (+0x45e8) (0x0032e6d0)
  10 0x40004648 in vcl50.bpl (+0x4648) (0x0032f098)
  11 0x40004806 in vcl50.bpl (+0x4806) (0x0032f0f8)
  12 0x7bc44f85 call_dll_entry_point+0x15() in ntdll (0x0032f118)
  13 0x7bc46d33 in ntdll (+0x36d33) (0x0032f258)
  14 0x7bc4712e in ntdll (+0x3712e) (0x0032f2a8)
  15 0x7bc4b2bf LdrLoadDll+0x8f() in ntdll (0x0032f2d8)
  16 0x7b86996c in kernel32 (+0x4996c) (0x0032f318)
  17 0x7b869a48 LoadLibraryExW+0x48() in kernel32 (0x0032f348)
  18 0x7b869b83 LoadLibraryExA+0x43() in kernel32 (0x0032f368)
  19 0x00470475 in client99se (+0x70475) (0x0032f594)
  20 0x004705ae in client99se (+0x705ae) (0x0032f5c8)
  21 0x00470248 in client99se (+0x70248) (0x0032f918)
  22 0x00440501 in client99se (+0x40501) (0x0032f93c)
  23 0x0044116c in client99se (+0x4116c) (0x0032f948)
  24 0x004412c4 in client99se (+0x412c4) (0x0032f98c)
  25 0x00437960 in client99se (+0x37960) (0x0032f9b0)
  26 0x4006b7ec in vcl50.bpl (+0x6b7ec) (0x0032f9cc)
  27 0x4006b82e in vcl50.bpl (+0x6b82e) (0x0032f9ec)
  28 0x4006b87b in vcl50.bpl (+0x6b87b) (0x0032fa2c)
  29 0x4006b604 in vcl50.bpl (+0x6b604) (0x0032fb70)
  30 0x40099c6c in vcl50.bpl (+0x99c6c) (0x0032fbb0)
  31 0x400510b6 in vcl50.bpl (+0x510b6) (0x0032fbc8)
  32 0x7edf342a WINPROC_wrapper+0x1a() in user32 (0x0032fbf8)
  33 0x7edf387a WINPROC_wrapper+0x46a() in user32 (0x0032fc38)
  34 0x7edf9932 CallWindowProcA+0x52() in user32 (0x0032fc78)
  35 0x0043735b in client99se (+0x3735b) (0x0032fcb0)
  36 0x7edf342a WINPROC_wrapper+0x1a() in user32 (0x0032fce0)
  37 0x7edf387a WINPROC_wrapper+0x46a() in user32 (0x0032fd20)
  38 0x7edf9b2d in user32 (+0xb9b2d) (0x0032fd60)
  39 0x7edb8bb6 DispatchMessageA+0x96() in user32 (0x0032fda0)
  40 0x4005a8e4 in vcl50.bpl (+0x5a8e4) (0x0032fdf4)
  41 0x00476d4f in client99se (+0x76d4f) (0x0032ff08)
  42 0x7b879028 in kernel32 (+0x59028) (0x0032ffe8)
  43 0xf7e54d77 wine_switch_to_stack+0x17() in libwine.so.1 (0x00000000)

--------------------------------------------------
I most sincerely appreciate any help you can give me.

-- 
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