[Bug 3225] New: mathcad 5.0 regression patch id=19496 virtual.c.

Wine Bugs wine-bugs at winehq.org
Sat Aug 13 23:46:17 CDT 2005


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

           Summary: mathcad 5.0 regression patch id=19496 virtual.c.
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: wine-patches
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: pgr at arcelectronicsinc.com


Mathcad 5.0 has been running enough to use for over a year. The patch to
virtual.c causes the crash. As a test I replaced sec->SizeOfRawData with size on
 the last line of the patch and it does not crash. 

if (map_file_into_view( view, fd, sec->VirtualAddress, sec->SizeOfRawData,
sec->PointerToRawData,

cvs update -PAd -D "20050812 7:21:50"
...
bash-3.00$ ./wine c:/winmcad/mcad.exe
wine: Unhandled exception (thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: page fault on write access to 0x00000000 in 32-bit code
(0x004cf4b0).
In 32 bit mode.
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
 EIP:004cf4b0 ESP:7bacff30 EBP:7bacfff4 EFLAGS:00210246(   - 00      -RIZP1)
 EAX:00000000 EBX:7bbcbad4 ECX:00000001 EDX:00400080
 ESI:7beff360 EDI:004cf4b0
Stack dump:
0x7bacff30:  7bb8cee8 7beff360 ffffffff 7bb52494
0x7bacff40:  7bb66b30 7bbcbad4 7bd93000 00100000
0x7bacff50:  7bacfff4 7bacff30 7bb8ce81 00000001
0x7bacff60:  00000000 00000000 00000000 00000000
0x7bacff70:  00000000 00000000 00000000 00000000
0x7bacff80:  00000000 00000000 00000000 00000000
Backtrace:
=>1 0x004cf4b0 EntryPoint+0x0 in mcad (0x7bacfff4)
  2 0xb7fd5a71 wine_switch_to_stack+0x11 in libwine.so.1 (0x00000000)
0x004cf4b0 EntryPoint in mcad: addb     %al,0x0(%eax)
Modules:
Module  Address                 Debug info      Name (14 modules)
PE      0x00400000-005e2000     Export          mcad
ELF     0x7bb1e000-7bc20000     Deferred        kernel32<elf>
  \-PE  0x7bb40000-7bc20000     \               kernel32
ELF     0x7bd3d000-7bd48000     Deferred        libnss_files.so.2
ELF     0x7bd5d000-7bd80000     Deferred        libm.so.6
ELF     0x7bd95000-7be8a000     Deferred        libwine_unicode.so.1
ELF     0x7be8a000-7bf00000     Deferred        ntdll<elf>
  \-PE  0x7bea0000-7bf00000     \               ntdll
ELF     0x7bf00000-7bf03000     Deferred        <wine-loader>
ELF     0xb7e7c000-b7e80000     Deferred        libdl.so.2
ELF     0xb7e80000-b7faa000     Deferred        libc.so.6
ELF     0xb7faa000-b7fbc000     Deferred        libpthread.so.0
ELF     0xb7fd1000-b7fe9000     DIA             libwine.so.1
ELF     0xb7fea000-b8000000     Deferred        ld-linux.so.2
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) C:\winmcad\mcad.exe
        00000009    0 <==
WineDbg terminated on pid 0x8
bash-3.00$

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