Bugs item #1484284, was opened at 2006-05-08 20:56 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100003&aid=1484284&group_id=3
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Josh Holtrop (jh0038) Assigned to: Nobody/Anonymous (nobody) Summary: glutMouseFunc segmentation fault with scroll wheel Initial Comment: Josh Holtrop & John Van Enk The attached program seems to crash on 64-bit boxen when scrolling the mouse up in the window. The problem might be due to the following: glutint.h contains the following line: #define GLUT_MAX_MENUS 3 int menu[GLUT_MAX_MENUS]; /* attatched menu nums */ and glut_event.c contains the following: menuNum = window->menu[event.xbutton.button - 1]; Now my xorg setup maps my mouse's "Z axis" (scroll wheel) mouse buttons to numbers 4 and 5. If event.xbutton.button was higher than 2 it seems like this code would be indexing farther into the menu array then it should be. Perhaps a bounds check of some sort would be appropriate. ---------------- Platform: Gentoo Linux, kernel 2.6.15-gentoo-r7 xorg 6.8.2 AMD Athlon(tm) 64 Processor 3000+ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100003&aid=1484284&group_id=3 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev