[AD] mouse crash

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


v4.0.1 (beta1)

was from  draw_mouse()
it was in a debug static build, win2k.
this is not the first time its crashed within draw_mouse()


the [-->] indicates what the compiler (msvc v6) didn't like.

draw_mouse:
005234F4 55                   push        ebp
005234F5 8B EC                mov         ebp,esp
005234F7 83 EC 20             sub         esp,20h
005234FA 8B 45 08             mov         eax,dword ptr [remove]
005234FD 33 45 0C             xor         eax,dword ptr [add]
00523500 89 45 F0             mov         dword ptr [normal_draw],eax
00523503 8B 0D D4 46 B4 00    mov         ecx,dword ptr [__mouse_x (00b446d4)]
00523509 89 4D E8             mov         dword ptr [newmx],ecx
0052350C 8B 15 D8 46 B4 00    mov         edx,dword ptr [__mouse_y (00b446d8)]
00523512 89 55 E0             mov         dword ptr [newmy],edx
00523515 A1 F8 46 B4 00       mov         eax,[__mouse_screen (00b446f8)]
--> 0052351A 8B 48 08         mov         ecx,dword ptr [eax+8]
0052351D 89 4D EC             mov         dword ptr [cf],ecx
00523520 8B 15 F8 46 B4 00 mov edx,dword ptr [__mouse_screen (00b446f8)]
00523526 8B 42 0C             mov         eax,dword ptr [edx+0Ch]
00523529 89 45 E4             mov         dword ptr [cl],eax
0052352C 8B 0D F8 46 B4 00 mov ecx,dword ptr [__mouse_screen (00b446f8)]
00523532 8B 51 10             mov         edx,dword ptr [ecx+10h]
00523535 89 55 F8             mov         dword ptr [cr],edx



and on another occasion:


draw_mouse:
00523314 55                   push        ebp
00523315 8B EC                mov         ebp,esp
00523317 83 EC 20             sub         esp,20h
0052331A 8B 45 08             mov         eax,dword ptr [remove]
0052331D 33 45 0C             xor         eax,dword ptr [add]
00523320 89 45 F0             mov         dword ptr [normal_draw],eax
00523323 8B 0D D4 46 B4 00    mov         ecx,dword ptr [__mouse_x (00b446d4)]
00523329 89 4D E8             mov         dword ptr [newmx],ecx
0052332C 8B 15 D8 46 B4 00    mov         edx,dword ptr [__mouse_y (00b446d8)]
00523332 89 55 E0             mov         dword ptr [newmy],edx
00523335 A1 F8 46 B4 00       mov         eax,[__mouse_screen (00b446f8)]
-->0052333A 8B 48 08             mov         ecx,dword ptr [eax+8]
0052333D 89 4D EC             mov         dword ptr [cf],ecx
00523340 8B 15



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/