Re: Page fault xmlspy 2006 wine .9.10

2006-03-29 Thread Mike McCormack


Grant Lewis wrote:

I have a new page fault from xmlspy in .9.10...


Please file a report at bugs.winehq.org instead of posting mail to 
wine-devel.


Mike




Re: Page fault xmlspy 2006 wine .9.10

2006-03-29 Thread Grant Lewis
Eric Pouech wrote:

> Grant Lewis wrote:
>> It's repeatable. I can launch the progam fine but when I click in certain
>> parts of the gui I generate the page fault and the program dies.
>> 
>> wine: Unhandled page fault on write access to 0x001f at address
>> 0x7d62d6 (th
>> read 0009), starting debugger...
>> WineDbg starting on pid 0x8
>> First chance exception: page fault on read access to 0x in 32-bit
>> code (
>> 0x7ffa7292).
> does the attached patch help ?
> A+

Thanks Eric. I recompiled with your patch and it fixed the page fault.
Hopefully that's the only issue I run into besides the small font size in
the gui widgets which I'm not sure if I can control through the registry;
otherwise, xmlspy 2006 is running well under .9.10.

Grant





Re: Page fault xmlspy 2006 wine .9.10

2006-03-29 Thread Grant Lewis
I have a new page fault from xmlspy in .9.10...

Unhandled exception: page fault on write access to 0x001f in 32-bit code
(0x007d62d6).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
 EIP:007d62d6 ESP:7fbff5d0 EBP:2ce0 EFLAGS:00210206(   - 00  - RIP1)
 EAX:001f EBX:2cfc ECX:7f9d2720 EDX:0001
 ESI:7fbff638 EDI:7e2f0372
Stack dump:
0x7fbff5d0:  7fbff6bc 7fbff7dc 7daa5800 7deceee8
0x7fbff5e0:  019c  7daaba01 00ff
0x7fbff5f0:  7e2f0372 006c  00cd
0x7fbff600:  0024 019a 0011 
0x7fbff610:  0028 00cd 0024 0011
0x7fbff620:  0003 39f0  
Backtrace:
=>1 0x007d62d6 in xmlspy (+0x3d62d6) (0x007d62d6)
  2 0x (0x)
0x007d62d6: movl$0x1,0x0(%eax)
Modules:
Module  Address Debug info  Name (98 modules)
PE  0x0040-014eb000 Export  xmlspy
PE  0x1000-1002e000 Deferredssce5332
ELF 0x7bf0-7bf03000 Deferred
ELF 0x7e9ac000-7e9c Deferredmsimg32
  \-PE  0x7e9b-7e9c \   msimg32
ELF 0x7ed0b000-7ed2 Deferredmidimap
  \-PE  0x7ed1-7ed2 \   midimap
ELF 0x7ee3e000-7ee5f000 Deferredmsacm32
  \-PE  0x7ee5-7ee5f000 \   msacm32
ELF 0x7ee5f000-7ee76000 Deferredmsacm
  \-PE  0x7ee7-7ee76000 \   msacm
ELF 0x7ee76000-7ef4a000 Deferredlibcrypto.so.0.9.7
ELF 0x7ef4a000-7ef72000 Deferredlibssl.so.0.9.7
ELF 0x7ef72000-7ef8a000 Deferredlibcups.so.2
ELF 0x7f093000-7f0c2000 Deferreduxtheme
  \-PE  0x7f0a-7f0c2000 \   uxtheme
ELF 0x7f0c2000-7f0da000 Deferredximcp.so.2
ELF 0x7f0da000-7f138000 Deferredlibgl.so.1
ELF 0x7f14e000-7f1fd000 Deferredlibx11.so.6
ELF 0x7f1fd000-7f211000 Deferredlibice.so.6
ELF 0x7f211000-7f282000 Deferredwinex11
  \-PE  0x7f22-7f282000 \   winex11
ELF 0x7f282000-7f29d000 Deferredlibexpat.so.0
ELF 0x7f29d000-7f2bf000 Deferredlibfontconfig.so.1
ELF 0x7f2bf000-7f321000 Deferredlibfreetype.so.6
ELF 0x7f328000-7f33 Deferredlibxcursor.so.1.0.2
ELF 0x7f33-7f337000 Deferredlibxrender.so.1
ELF 0x7f337000-7f39 Deferredmsvcrt
  \-PE  0x7f35-7f39 \   msvcrt
PE  0x7f39-7f3cb000 Deferredoraclm32
ELF 0x7f3cc000-7f3cf000 Deferredxlcdef.so.2
ELF 0x7f3cf000-7f3da000 Deferredlibxext.so.6
ELF 0x7f3da000-7f3f4000 Deferredimm32
  \-PE  0x7f3e-7f3f4000 \   imm32
ELF 0x7f3f4000-7f46d000 Deferredwinmm
  \-PE  0x7f40-7f46d000 \   winmm
ELF 0x7f46d000-7f48d000 Deferredodbc32
  \-PE  0x7f48-7f48d000 \   odbc32
ELF 0x7f48d000-7f4b2000 Deferredws2_32
  \-PE  0x7f4a-7f4b2000 \   ws2_32
ELF 0x7f4b2000-7f4cb000 Deferredwsock32
  \-PE  0x7f4c-7f4cb000 \   wsock32
ELF 0x7f4cb000-7f4e7000 Deferredmpr
  \-PE  0x7f4d-7f4e7000 \   mpr
ELF 0x7f4e7000-7f522000 Deferredwininet
  \-PE  0x7f4f-7f522000 \   wininet
ELF 0x7f522000-7f541000 Deferredcabinet
  \-PE  0x7f53-7f541000 \   cabinet
ELF 0x7f541000-7f56d000 Deferredurlmon
  \-PE  0x7f55-7f56d000 \   urlmon
ELF 0x7f56d000-7f5e6000 Deferredoleaut32
  \-PE  0x7f58-7f5e6000 \   oleaut32
ELF 0x7f5e6000-7f5fa000 Deferredolepro32
  \-PE  0x7f5f-7f5fa000 \   olepro32
ELF 0x7f5fa000-7f613000 Deferredoledlg
  \-PE  0x7f60-7f613000 \   oledlg
ELF 0x7f613000-7f639000 Deferredwinspool
  \-PE  0x7f62-7f639000 \   winspool
ELF 0x7f639000-7f6d2000 Deferredcomctl32
  \-PE  0x7f64-7f6d2000 \   comctl32
ELF 0x7f6d2000-7f6ee000 Deferrediphlpapi
  \-PE  0x7f6e-7f6ee000 \   iphlpapi
ELF 0x7f6ee000-7f729000 Deferredrpcrt4
  \-PE  0x7f70-7f729000 \   rpcrt4
ELF 0x7f729000-7f79b000 Deferredole32
  \-PE  0x7f74-7f79b000 \   ole32
ELF 0x7f79b000-7f7e7000 Deferredshlwapi
  \-PE  0x7f7b-7f7e7000 \   shlwapi
ELF 0x7f7e7000-7f896000 Deferredshell32
  \-PE  0x7f80-7f896000 \   shell32
ELF 0x7f896000-7f92c000 Deferredcomdlg32
  \-PE  0x7f8a-7f92c000 \   comdlg32
ELF 0x7f92c000-7f963000 De

Re: Page fault xmlspy 2006 wine .9.10

2006-03-26 Thread Grant Lewis
Eric Pouech wrote:

> Grant Lewis wrote:
>> It's repeatable. I can launch the progam fine but when I click in certain
>> parts of the gui I generate the page fault and the program dies.
>> 
>> wine: Unhandled page fault on write access to 0x001f at address
>> 0x7d62d6 (th
>> read 0009), starting debugger...
>> WineDbg starting on pid 0x8
>> First chance exception: page fault on read access to 0x in 32-bit
>> code (
>> 0x7ffa7292).
> does the attached patch help ?
> A+

I'll try incorporating your patch into the gentoo ebuild and report back if
it helped my situation.

Gramt





Re: Page fault xmlspy 2006 wine .9.10

2006-03-25 Thread Eric Pouech

Grant Lewis wrote:

It's repeatable. I can launch the progam fine but when I click in certain
parts of the gui I generate the page fault and the program dies.

wine: Unhandled page fault on write access to 0x001f at address 0x7d62d6
(th
read 0009), starting debugger...
WineDbg starting on pid 0x8
First chance exception: page fault on read access to 0x in 32-bit
code (
0x7ffa7292).

does the attached patch help ?
A+
--
Eric Pouech
diff --git a/dlls/kernel/except.c b/dlls/kernel/except.c
index 1c97a2e..95c5ce9 100644
--- a/dlls/kernel/except.c
+++ b/dlls/kernel/except.c
@@ -403,7 +403,7 @@ inline static BOOL check_resource_write(
 if (!rec->ExceptionInformation[0]) return FALSE;  /* not a write access */
 addr = (void *)rec->ExceptionInformation[1];
 if (!VirtualQuery( addr, &info, sizeof(info) )) return FALSE;
-if (info.State == MEM_FREE) return FALSE;
+if (info.State == MEM_FREE || !(info.Type & MEM_IMAGE)) return FALSE;
 if (!(rsrc = RtlImageDirectoryEntryToData( (HMODULE)info.AllocationBase, TRUE,
   IMAGE_DIRECTORY_ENTRY_RESOURCE, &size )))
 return FALSE;



Page fault xmlspy 2006 wine .9.10

2006-03-25 Thread Grant Lewis
It's repeatable. I can launch the progam fine but when I click in certain
parts of the gui I generate the page fault and the program dies.

wine: Unhandled page fault on write access to 0x001f at address 0x7d62d6
(th
read 0009), starting debugger...
WineDbg starting on pid 0x8
First chance exception: page fault on read access to 0x in 32-bit
code (
0x7ffa7292).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
 EIP:7ffa7292 ESP:7fbfec74 EBP:7fbfed3c EFLAGS:00210246(   - 00  -RIZP1)
 EAX: EBX:7ffd5280 ECX: EDX:
 ESI:001f EDI:0002
Stack dump:
0x7fbfec74:  7fbfec90 0001  0c28
0x7fbfec84:  7fbff174 7ffa09d0 0001 7ffd5280
0x7fbfec94:  001f 0002 7fbfed3c 7fbfec74
0x7fbfeca4:  7ffa7283 0001 8000 
0x7fbfecb4:  7ffa4dc9 7ffa406d  7ff9afea
0x7fbfecc4:  7ffd5280 7e1699a8 0048 7ff9b0af
Backtrace:
=>1 0x7ffa7292 RtlImageNtHeader+0x72 in ntdll (0x7ffa7292)
  2 0x7ffa757a RtlImageDirectoryEntryToData+0x3a in ntdll (0x7ffa757a)
  3 0x7fc43dbf UnhandledExceptionFilter+0x4df in kernel32 (0x7fc43dbf)
  4 0x7ffa0a65 __wine_exception_handler+0x95 in ntdll (0x7ffa0a65)
  5 0x7ffbbb99 call_exception_handler+0x29 in ntdll (0x7ffbbb99)
  6 0x7ffbbb6d EXC_CallHandler+0x1d in ntdll (0x7ffbbb6d)
  7 0x7ffa040f in ntdll (+0x1040f) (0x7ffa040f)
  8 0x7ffa059b __regs_RtlRaiseException+0x2b in ntdll (0x7ffa059b)
  9 0x7ffbc2ac in ntdll (+0x2c2ac) (0x7ffbc2ac)
  10 0xdeadbabe (0xdeadbabe)
  11 0x (0x)
0x7ffa7292 RtlImageNtHeader+0x72 in ntdll: cmpw $0x5a4d,0x0(%eax)
Modules:
Module  Address Debug info  Name (98 modules)
PE  0x0040-014eb000 Deferredxmlspy
PE  0x1000-1002e000 Deferredssce5332
ELF 0x7bf0-7bf03000 Deferred
ELF 0x7ed0b000-7ed2 Deferredmidimap
  \-PE  0x7ed1-7ed2 \   midimap
ELF 0x7ee3e000-7ee5f000 Deferredmsacm32
  \-PE  0x7ee5-7ee5f000 \   msacm32
ELF 0x7ee5f000-7ee76000 Deferredmsacm
  \-PE  0x7ee7-7ee76000 \   msacm
ELF 0x7ee76000-7ef4a000 Deferredlibcrypto.so.0.9.7
ELF 0x7ef4a000-7ef72000 Deferredlibssl.so.0.9.7
ELF 0x7ef72000-7ef8a000 Deferredlibcups.so.2
ELF 0x7ef8c000-7efa Deferredmsimg32
  \-PE  0x7ef9-7efa \   msimg32
ELF 0x7f08e000-7f0bd000 Deferreduxtheme
  \-PE  0x7f0a-7f0bd000 \   uxtheme
ELF 0x7f0bd000-7f0d5000 Deferredximcp.so.2
ELF 0x7f0d5000-7f0d8000 Deferredxlcdef.so.2
ELF 0x7f0d8000-7f136000 Deferredlibgl.so.1
ELF 0x7f14c000-7f1fb000 Deferredlibx11.so.6
ELF 0x7f1fb000-7f26c000 Deferredwinex11
  \-PE  0x7f21-7f26c000 \   winex11
ELF 0x7f26c000-7f287000 Deferredlibexpat.so.0
ELF 0x7f287000-7f2a9000 Deferredlibfontconfig.so.1
ELF 0x7f2ab000-7f2bf000 Deferredlibice.so.6
ELF 0x7f2bf000-7f321000 Deferredlibfreetype.so.6
ELF 0x7f328000-7f33 Deferredlibxcursor.so.1.0.2
ELF 0x7f33-7f337000 Deferredlibxrender.so.1
ELF 0x7f337000-7f39 Deferredmsvcrt
  \-PE  0x7f35-7f39 \   msvcrt
PE  0x7f39-7f3cb000 Deferredoraclm32
ELF 0x7f3cf000-7f3da000 Deferredlibxext.so.6
ELF 0x7f3da000-7f3f4000 Deferredimm32
  \-PE  0x7f3e-7f3f4000 \   imm32
ELF 0x7f3f4000-7f46d000 Deferredwinmm
  \-PE  0x7f40-7f46d000 \   winmm
ELF 0x7f46d000-7f48d000 Deferredodbc32
  \-PE  0x7f48-7f48d000 \   odbc32
ELF 0x7f48d000-7f4b2000 Deferredws2_32
  \-PE  0x7f4a-7f4b2000 \   ws2_32
ELF 0x7f4b2000-7f4cb000 Deferredwsock32
  \-PE  0x7f4c-7f4cb000 \   wsock32
ELF 0x7f4cb000-7f4e7000 Deferredmpr
  \-PE  0x7f4d-7f4e7000 \   mpr
ELF 0x7f4e7000-7f522000 Deferredwininet
  \-PE  0x7f4f-7f522000 \   wininet
ELF 0x7f522000-7f541000 Deferredcabinet
  \-PE  0x7f53-7f541000 \   cabinet
ELF 0x7f541000-7f56d000 Deferredurlmon
  \-PE  0x7f55-7f56d000 \   urlmon
ELF 0x7f56d000-7f5e6000 Deferredoleaut32
  \-PE  0x7f58-7f5e6000 \   oleaut32
ELF 0x7f5e6000-7f5fa000 Deferredolepro32
  \-PE  0x7f5f-7f5fa000 \   olepro32
ELF 0x7f5fa000-7f613000 Deferredoledlg
  \-PE  0x7f60-7f613000 \   oledlg
ELF 0x7f613000-7f639000 Deferredwinspool
  \-PE  0x7f62-7f639000 \   winspool
ELF 0x7f639000-7f