i posted this comp.graphics.api.opengl a few day ago but got no answer. Since it's urgent i ask here eagain:

i've got a strange problem that solely occurs
in my OpenGL app using glut (v3.7):
Whenever i scroll the mouse wheel forwards,
the program exits giving a segmentation fault.
When i scroll the wheel backwards, nothing happens.
I have two subwindows and the mouse functions for each
of them work fine, also the three buttons work as expected.
Libraries i use: X11, Xi ,Xm, glut, GL and GLU.
I'm on redhat9 using a MS Intellimouse (optical,usb)
and scrolling with the mouse wheel works fine
otherwise (see the mouse section in my XF86Cconfig below).
Since i can only use an usb mouse on my laptop,
i have not tried other mice.

Has anybody got an idea what's going on
or what i could do to solve this?