Summary: | media-libs/mesa-6.5.1-r1 (?) - Call to gluBuild2DMipmaps causes segmentation fault | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Brandon Mintern <bmintern> |
Component: | [OLD] Library | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | denilsonsa |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
the mentioned attachment: sample file which segfaults as described
minor fixes to attachment |
Description
Brandon Mintern
2007-03-11 21:00:48 UTC
Created attachment 113005 [details]
the mentioned attachment: sample file which segfaults as described
Use "-lglut" when compiling.
Created attachment 113010 [details]
minor fixes to attachment
There was a slight bug in my buffer generating code, but one which had no relevance to the reported bug. I wanted to make sure to correct it before someone pointed it out. The original attachment was thrown together somewhat quickly based on an actual program I was writing, and the code had some minor, insignificant errors.
Uh, which ebuild and version is this about? (In reply to comment #3) > Uh, which ebuild and version is this about? > Sorry. media-libs/mesa-6.5.1-r1, I believe. I think that's where the GLU functions are defined, because I was able to see the gdb info when I re-emerged mesa with splitdebug as one of my FEATURES. I just found out something which is likely relevant to this bug. Apparently, there was a conflict of nvidia modules. I installed a new version, and although I thought I had loaded it in the kernel, I apparently had not. When I tried to use OpenGL to render to a glut window, I was notified of the error. It could be possible that my video card returned some kind of OpenGL error to the closestFit(...) function. Ideally, this function should check the return value before calling strtod(...) and exit with an appropriate error message, rather than segfaulting. libGL and libGLU are provided by either mesa or nvidia-drivers. If you can still reproduce this bug, please don't hesitate to reopen this bug. Closing as per comment #5 Thanks |