[comp.sys.sgi] Window Manager Crashes

tak@aerospace.aero.org (Michael L. Takayama) (02/01/90)

In article <13273@phoenix.Princeton.EDU> markv@gauss.Princeton.EDU () writes:
>
     ...Stuff deleted...

>After running for a while, the window manager crashes with the following
>message:
>
>-----
>fifo_intr: GM TIMEOUT (FIFO still > half full)!
>
>The window manager was killed by signal 15.
>-----
>

We used to get this problem all of the time in one of our big programs
and, after a lot of headaches, tracked it down to passing double
precision values to the v3f() commands.  Funny thing is that this
*will* work for a random period until enough points have been pushed
down the graphics pipeline - then it croaks with the above-mentioned
*super-informative* error message.

I recommend checking your data types - a *lot* of the GL routines are
not very happy with being passed the wrong data types [Type-checking
in C?  What a concept... :-) ].

We also ran into the NaN problem with n3f().  Very bad stuff with very
useless error messages...

Good luck -

Michael L. Takayama
Computer-Aided Engineering Department
The Aerospace Corporation

mona@eleazar.dartmouth.edu (Mona) (02/02/90)

In article <65904@aerospace.AERO.ORG> tak@aero.UUCP (Michael L. Takayama) writes:
>In article <13273@phoenix.Princeton.EDU> markv@gauss.Princeton.EDU () writes:
>>
>     ...Stuff deleted...
>
>>After running for a while, the window manager crashes with the following
>>message:
>>-----
>>fifo_intr: GM TIMEOUT (FIFO still > half full)!
>>The window manager was killed by signal 15.
>>-----
>We used to get this problem all of the time in one of our big programs
>and, after a lot of headaches, tracked it down to passing double
>precision values to the v3f() commands.  Funny thing is that this

	Well I have learned this from EXPERIENCE. I had written lots of code andwas integrating them. Everything seemed to work fine when tested seperately. I 
was desperate for a week chasing a bug. I crashed the system a trillion times,
later I discovered that I was calling a library routine without the brackets.
	If you wanna sabotage somebody's code just remove the () from endline,
endpolygon etc and you would be having real fun :-)


>Michael L. Takayama



krish mohan

mona@eleazar.dartmouth.edu