Page fault: completely lost while debugging
wine-devel at kievinfo.com
Mon Dec 19 09:18:05 CST 2005
Sunday, December 18, 2005, 5:54:17 PM, Sergio wrote:
> Hi all,
> I am having one problem with one project I have just made compile. It's one
> of the plugins of the windows' multiprotocol IM program, Miranda.
> I will try to explain what my problem is.
> After solving some issues with compilation (mainly some undefined names -
> functions - in std namespace - it's a C++ project), I tried to run the
> application and when asking the plugin to connect to one IRC server (it is
> the application's IRC protocol plugin) it crashes with this error:
> Unhandled exception: page fault on read access to 0x00000004 in 32-bit code
> In 32 bit mode.
> fixme:dbghelp:elf_load_debug_info_from_map Alpha-support for Dwarf2
> information for irc<elf>
> Register dump:
> CS:0073 SS:007b DS:007b ES:007b FS:174f GS:0033
> EIP:41d551de ESP:43510adc EBP:43510af8 EFLAGS:00210206( - 00 - RIP1)
> EAX:00000004 EBX:41db6434 ECX:00000000 EDX:7c0cbe30
> ESI:00000000 EDI:41c14f10
> Stack dump:
> 0x43510adc: 41d5514e 01000000 4f4d2e6c 41db6434
> 0x43510aec: 7c126a38 4017c0d4 41db6434 43510b28
> 0x43510afc: 41d9b4b5 7c126a38 00000000 00000000
> 0x43510b0c: 41d9b45c 401f6b31 407bdbd0 4078f8e0
> 0x43510b1c: 41d55142 7c126a38 407d4528 43510b40
> 0x43510b2c: 407c9e31 4078f8e0 41d9b450 4078f8e0
> 02e9: sel=174f base=41c14000 limit=00001fff 32-bit rw-
> =>1 0x41d551de in irc (+0x51de) (0x41d551de)
> 2 0x41d9b4b5 in irc (+0x4b4b5) (0x41d9b4b5)
> 3 0x407c9e31 in msvcrt (+0x29e31) (0x407c9e31)
> 4 0x404ebbfb in kernel32 (+0x6bbfb) (0x404ebbfb)
> 5 0x401d6cd3 in ntdll (+0x36cd3) (0x401d6cd3)
> 6 0x40051297 start_thread+0x87 in libpthread.so.0 (0x40051297)
> 7 0x4011c37e __clone+0x5e in libc.so.6 (0x4011c37e)
> 0x41d551de: movl 0x0(%eax),%eax
> Which if I understand the dump well is due to a problem in __clone function
> trying to access 0x00000004 (eax). Am I right?
Nope you looking at the wrong end. The address at fault is 0x41d551de
which is frame 1.
Also it looks like you have stripped wine libs. That's why you don't see
function names nor their parameters.
> 005d:Call ntdll.RtlLeaveCriticalSection(41164de8) ret=4111a044
thread ID function name called arguments return address
> 005d:Ret ntdll.RtlLeaveCriticalSection() retval=00000000 ret=4111a044
thread ID function name returning from return value return address
> All this is absolutely cryptic to me. Does anyone ge something from this
> information? Is there any way to get to know where the aplication is
What you might need is a WINEDEBUG=+relay,+seh debug channels. That
should point you at the place where exception occurred.
PS You might want to look at developer's guide on winehq.org.
More information about the wine-devel