Hello,

looks like a lot of developers are running in this very same issue lately.

You can either type in "pass" for each exception or disable stopping at first chance exceptions by setting BreakOnFirstChance to false:
http://www.winehq.org/docs/winedev-guide/dbg-config

Best regards,
Florian K��berle


On 07/04/2010 10:57 AM, paulo lesgaz wrote:
Hello

As soon as I use Winedbg, the debugger stops at this exception:

First chance exception: page fault on write access to 0x00ad0000 in 32-bit code (0x7e96fc9d).��������������������������������������������������������������������������������������������������������������������������������������������
Register dump:��������������������������������������������������������������������������������������������������������������������������������������
��CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b������������������������������������������������������������������
��EIP:7e96fc9d ESP:0033f7a0 EBP:0033f818 EFLAGS:00010a02(�� R- --O I���� - - - )����������
��EAX:80808081 EBX:7ea1a518 ECX:00000000 EDX:00000067����������������������������������������������������������
��ESI:000000ac EDI:00ad0000��������������������������������������������������������������������������������������������������������������
Stack dump:��������������������������������������������������������������������������������������������������������������������������������������������
0x0033f7a0:�� 0000031c 00000000 00000000 00000010������������������������������������������������������������������
0x0033f7b0:�� 00000010 00000000 00000000 00000010������������������������������������������������������������������
0x0033f7c0:�� 00000010 7e524eb0 0012bc20 00000000������������������������������������������������������������������
0x0033f7d0:�� 00cc0020 00000308 00330001 7e8c0001������������������������������������������������������������������
0x0033f7e0:�� 0033f7f8 0000031c 0012c490 00000328������������������������������������������������������������������
0x0033f7f0:�� 00000000 00000000 00000010 00000010������������������������������������������������������������������
Backtrace:����������������������������������������������������������������������������������������������������������������������������������������������
=>0 0x7e96fc9d create_alpha_bitmap+0x1cd(color=<is not available>, mask=<is not available>, src_info=0x12bc20, color_bits=0x7e524eb0) [/home/david/wine/dlls/user32/cursoricon.c:771] in user32 (0x0033f8a8)����������������������������������������������������������������������������������
�� 1 0x7e97077f CURSORICON_CreateIconFromBMI+0x74e(bmi=<is not available>, hotspot={x=0x0008, y=0x0008}, bIcon=0x0001, dwVersion=0x30000, width=0x0010, height=0x0010, cFlag=0x8000) [/home/david/wine/dlls/user32/cursoricon.c:837] in user32 (0x0033f908)����������������������������������������������������������������������������������������������������������������������������������������������������������
�� 2 0x7e970895 CreateIconFromResourceEx+0xd4(bits="(", cbSize=0x0468, bIcon=0x0001, dwVersion=0x30000, width=0x0010, height=0x0010, cFlag=0x8000) [/home/david/wine/dlls/user32/cursoricon.c:1159] in user32 (0x0033f9c8)
�� 3 0x7e9735e0 CURSORICON_Load+0x6bf(hInstance=0x7e410000, name=<is not available>, width=0x0010, height=0x0010, depth=0x0020, fCursor=0, loadflags=0x8000) [/home/david/wine/dlls/user32/cursoricon.c:1292] in user32 (0x0033fac8)
�� 4 0x7e973b70 LoadImageW+0x1af(hinst=0x7e410000, name=*** invalid address 0x1 ***, type=0x0001, desiredx=0x0010, desiredy=0x0010, loadflags=0x8000) [/home/david/wine/dlls/user32/cursoricon.c:2392] in user32 (0x0033fbb8)
�� 5 0x7e97494e LoadImageA+0x19d(hinst=0x7e410000, name=*** invalid address 0x1 ***, type=0x0001, desiredx=0x0010, desiredy=0x0010, loadflags=0x8000) [/home/david/wine/dlls/user32/cursoricon.c:2333] in user32 (0x0033fc08)
�� 6 0x7e42d8e6 SIC_Initialize+0x1a5() [/home/david/wine/dlls/shell32/iconcache.c:417] in shell32 (0x0033fc48)
�� 7 0x7e4371b2 DllMain+0xb1(hinstDLL=0x7e410000, fdwReason=0x0001, fImpLoad=0x1) [/home/david/wine/dlls/shell32/shell32_main.c:1166] in shell32 (0x0033fc68)
�� 8 0x7ef89d15 call_dll_entry_point+0x14() in ntdll (0x0033fda8)
�� 9 0x7ef8cda3 MODULE_InitDLL+0xe2(wm=0x111858, reason=<is not available>, lpReserved=0x1) [/home/david/wine/dlls/ntdll/loader.c:982] in ntdll (0x0033fe08)
�� 10 0x7ef8d6e0 process_attach+0xbf(wm=0x111858, lpReserved=<is not available>) [/home/david/wine/dlls/ntdll/loader.c:1071] in ntdll (0x0033fe68)
�� 11 0x7ef8d6b2 process_attach+0x91(wm=0x1117a8, lpReserved=<is not available>) [/home/david/wine/dlls/ntdll/loader.c:1063] in ntdll (0x0033fec8)
�� 12 0x7ef8d6b2 process_attach+0x91(wm=0x110a50, lpReserved=<is not available>) [/home/david/wine/dlls/ntdll/loader.c:1063] in ntdll (0x0033ff28)
�� 13 0x7ef8d6b2 process_attach+0x91(wm=0x110690, lpReserved=<is not available>) [/home/david/wine/dlls/ntdll/loader.c:1063] in ntdll (0x0033ff88)
�� 14 0x7ef8d6b2 process_attach+0x91(wm=0x1107b8, lpReserved=<is not available>) [/home/david/wine/dlls/ntdll/loader.c:1063] in ntdll (0x0033ffe8)
�� 15 0x7ef8d8e3 attach_process_dlls+0x52(wm=0x1107b8) [/home/david/wine/dlls/ntdll/loader.c:2541] in ntdll (0x00000000)
0x7e96fc9d create_alpha_bitmap+0x1cd [/home/david/wine/dlls/user32/cursoricon.c:771] in user32: movb���������� %dl,0x0(%edi,%ecx,4)
771������������������������ ptr[0] = ptr[0] * alpha / 255;


Any way to bypass it?

Thanks in advance

David