9fans archive / 1995 / 11 / 5 / prev next From: forsyth@pla... forsyth@pla... Subject: kernel page faults on moving mouse Date: Wed, 1 Nov 1995 07:20:55 -0500 has anyone else seen kernel traps on a PC when the mouse is moved when there is a fair amount of i/o and (probably) external cache replacement? i can reproduce the fault fairly regularly by scrubbing the scroll bar up & down in mothra while it is converting a moderately large gif for display. the traps always name 8½ as victim. the page fault normally shows a bad virtual address of either 0x65 or 0x0, the contents of EAX. the PC points into the kernel data space: i believe it is a bbmalloc arena. the stack traces suggest that the trap occurs when the mouse handler is moving the software cursor in an interrupt that seems to be interrupting a main level graphics operation and/or vgaupdate. it does seem to be important that something moderately strenuous be happening in the system at the same time: disc I/O or ethernet I/O seem equally effective. i suspect mothra helps to trigger it because it runs an fb/gif2pic | fb/3to1 pipeline (or similar) to convert GIFs for display. the curious thing is that so far i have only managed to crash AMD DX4/100 machines. i have not crashed a Cyrix or Intel 386 processor. unfortunately i haven't got an Intel 486 with the same configuration that i can try. i've tried two different makes of motherboard, both VLB, one with ET4000/W32p VLB and the other with CL5429 VLB. SVGA is set to either 1024x768x8 or 1152x900x8. hardware cursors are disabled. i've looked fairly hard for software bugs in the devbit.c/devvga.c/bbmalloc.c/libgnot combination, but i begin to wonder whether the problem is that the handling of the cache on either the processor or motherboard is wrong for compiling bitblt. at this point, i thought i might as well ask the list/group if anyone else was having problems.