Re: Re: Mouse conflict with svgalib

Jacek Kurzyca gepardzik at o2.pl
Wed Nov 22 11:20:34 CET 2006


> (I suppose you mean GrMouseGetEvent.)

Yes.

> > and moved mouse while this function's running.
> > If I click mouse button program goes on. It crashes only after mouse move.
> 
> Have you checked this with gdb? Can you send a backtrace ("bt" in
> gdb) of the crashed program?

I had just checked this with gdb. In gdb my program do nothing when I moved the mouse.
 
> (You know, the fact that it crashes after mouse movement doesn't
> necessarily mean that it crashes in GrMouseGetEvent. It could also
> be an error elsewhere in your program, in the code that's executed
> after mouse movement, or something else.)

I've added getch() after GrMouseGetEvent and when I moved mouse (not in gdb) then program crashes, getch() isn't issued and on console I receive a message:

---------------------
svgalib 1.4.3
svgalib: Failed to initialize maouse.
rivafb_open START





rivafb_release END
---------------------

> Frank

Jacek





More information about the Grx mailing list