Subject:
Re: Help --- assert( drivers/mempl4.c, line=237 ) --- follow up
From:
Rosimildo daSilva ####@####.####
Date:
21 Dec 1999 03:25:41 -0000
Message-Id: <199912210320.TAA05997@www2.xoommail.com>
I have set HAVEBLIT = 0 in vgaplan4.h and got a little further.
I've got anohter assert though:
assert ( "drivers/vgaplan4.c", line=173,
msg=0x129403 "y2 >= 0 && y2 < psd->yres")
See gdb call stack.
Thanks, Rosimildo.
-----------------------------------------------------
(gdb) backtrace
#0 _IBMPC_scankey (outChar=0x2b7797 "")
at
../../../../../../../../../rtems-19991117/c/src/lib/libbsp/i386/pc386/con
sole/inch.c:122
#1 0x115dcd in BSP_wait_polled_input ()
at
../../../../../../../../../rtems-19991117/c/src/lib/libbsp/i386/pc386/con
sole/inch.c:298
#2 0x10f4a3 in __assert (file=0x129366 "drivers/vgaplan4.c", line=173,
msg=0x129403 "y2 >= 0 && y2 < psd->yres") at rtems/console.c:177
#3 0x10dd2a in ega_drawvertline (psd=0x14a9e0, x=250, y1=236, y2=480, c=7)
at drivers/vgaplan4.c:173
#4 0x10d8d7 in VGA_drawvline (psd=0x14a9e0, x=250, y1=236, y2=479, c=7)
at drivers/scr_bios.c:240
#5 0x10b5fd in drawcol (psd=0x14a9e0, x=250, y1=236, y2=553) at devdraw.c:546
#6 0x109646 in GdLine (psd=0x14a9e0, x1=250, y1=553, x2=250, y2=553,
bDrawLastPoint=0) at devdraw.c:406
#7 0x1018d4 in LineTo (hdc=0x1ffcd80, x=250, y=235) at wingdi.c:306
#8 0x10674e in Draw3dBox (hDC=0x1ffcd80, x=250, y=235, w=320, h=320,
crTop=12307669, crBottom=0) at draw3d.c:60
#9 0x104066 in DefWindowProc (hwnd=0x1ffe6b8, msg=133, wParam=0, lParam=0)
at windefw.c:103
#10 0x1063bf in WndProc (hwnd=0x1ffe6b8, msg=133, wp=0, lp=0)
at demos/microwin/demo.c:266
#11 0x100f03 in SendMessage (hwnd=0x1ffe6b8, Msg=133, wParam=0, lParam=0)
---Type <return> to continue, or q <return> to quit---
Rosimildo daSilva wrote:
>
> Version: 0.87pre2
>
> I am debuging the RTEMS porting, and get this assert()
> after moving the mouse little bit. I am wondering if
> this is a bug in the Video driver or in the mouse
> driver. Any points are appreciated.
>
> Rosimildo.
>
> --------------------------------------------------------------------
> (gdb) backtrace
> #0 0x116c6d in BSP_wait_polled_input ()
> at
> ../../../../../../../../../rtems-19991117/c/src/lib/libbsp/i386/pc386/con
> sole/inch.c:298
> #1 0x110343 in __assert (file=0x12a40a "drivers/mempl4.c", line=237,
> msg=0x12a561 "w > 0") at rtems/console.c:177
> #2 0x10ec82 in mempl4_to_vga_blit (dstpsd=0x14bac0, dstx=420, dsty=100,
> w=-43, h=277, srcpsd=0x1ffcd3c, srcx=357, srcy=24, op=0)
> at drivers/mempl4.c:237
> #3 0x10df16 in ega_blit (dstpsd=0x14bac0, dstx=420, dsty=100, w=-43,
> h=277,
> srcpsd=0x1ffcd3c, srcx=357, srcy=24, op=0) at drivers/vgaplan4.c:211
> #4 0x10b4ca in GdBlit (dstpsd=0x14bac0, dstx=63, dsty=76, width=314,
> height=301, srcpsd=0x1ffcd3c, srcx=0, srcy=0, rop=0) at devdraw.c:1458
> #5 0x10216b in BitBlt (hdcDest=0x1ffcdb0, nXDest=0, nYDest=0, nWidth=314,
> nHeight=301, hdcSrc=0x1ffccfc, nXSrc=0, nYSrc=0, dwRop=13369376)
> at wingdi.c:898
> #6 0x108db8 in paint3 (hDC=0x1ffcdb0) at graph3d.c:66
> #7 0x106338 in WndProc (hwnd=0x1ffda54, msg=15, wp=0, lp=0)
> at demos/microwin/demo.c:237
> #8 0x101073 in DispatchMessage (lpMsg=0x2b8d58) at winuser.c:27
> #9 0x1064c6 in WinMain (hInstance=0x0, hPrevInstance=0x0, lpCmdLine=0x0,
> nShowCmd=5) at demos/microwin/demo.c:299
> #10 0x1004e1 in rtems_main (ac=5, av=0x14c7d8) at winmain.c:49
> #11 0x10e277 in POSIX_Init (argument=0x0) at rtems/rtems_init.c:80
> ---Type <return> to continue, or q <return> to quit---
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> ______________________________________________________
> Get your free web-based email at http://www.xoom.com
> Birthday? Anniversary? Send FREE animated greeting
> cards for any occasion at http://greetings.xoom.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>
Thanks,
Rosimildo
______________________________________________________
Get your free web-based email at http://www.xoom.com
Birthday? Anniversary? Send FREE animated greeting
cards for any occasion at http://greetings.xoom.com