Comment 10 for bug 289925

Revision history for this message
dogwynn (dogwynn) wrote :

Confirm that this causing problem on CentOS as well.

>>] uname -a
Linux ... 2.6.18-92.el5 #1 SMP Tue Jun 10 18:51:06 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux

 >>] /sbin/lspci | grep VGA
01:00.0 VGA compatible controller: nVidia Corporation NV41GL [Quadro FX 1400] (rev a2)

 >>] lsb_release -rd
Description: CentOS release 5.2 (Final)
Release: 5.2

Python 2.6 (r26:66714, Nov 21 2008, 10:53:09)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import OpenGL
>>> OpenGL.__version__
'3.0.0b6'

Backtrace from gdb:

 >>] gdb python
GNU gdb Red Hat Linux (6.5-37.el5_2.2rh)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu"...Using host libthread_db library "/lib64/libthread_db.so.1".

(gdb) run
Starting program: /.../dogwynn/bin/python
[Thread debugging using libthread_db enabled]
Python 2.6 (r26:66714, Nov 21 2008, 10:53:09)
[GCC 4.1.2 20071124 (Red Hat 4.1.2-42)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
[New Thread 47200948283808 (LWP 29788)]
>>> from OpenGL.GLUT import *
[Detaching after fork from child process 29791. (Try `set detach-on-fork off'.)]
[Detaching after fork from child process 29793.]
[Detaching after fork from child process 29795.]
[Detaching after fork from child process 29797.]
[Detaching after fork from child process 29799.]
[Detaching after fork from child process 29801.]
[Detaching after fork from child process 29808.]
[Detaching after fork from child process 29813.]
[Detaching after fork from child process 29815.]
[Detaching after fork from child process 29824.]
>>> glutInitDisplayMode(GLUT_SINGLE | GLUT_RGB)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 47200948283808 (LWP 29788)]
0x0000000000000000 in ?? ()
(gdb) bt
#0 0x0000000000000000 in ?? ()
#1 0x00002aedd7548ce8 in ffi_call_unix64 ()
    at /.../dogwynn/sources/Python-2.6/Modules/_ctypes/libffi/src/x86/unix64.S:75
#2 0x00002aedd7548b34 in ffi_call (cif=0x7fffd6eac6f0,
    fn=0x2aedd8e3daf0 <glGetError>, rvalue=0x7fffd6eac660,
    avalue=0x7fffd6eac650)
    at /.../dogwynn/sources/Python-2.6/Modules/_ctypes/libffi/src/x86/ffi64.c:430
#3 0x00002aedd7543364 in _CallProc (pProc=0x2aedd8e3daf0 <glGetError>,
    argtuple=<value optimized out>, flags=<value optimized out>, argtypes=0x0,
    restype=0x712a740, checker=0x0)
    at /.../dogwynn/sources/Python-2.6/Modules/_ctypes/callproc.c:814
#4 0x00002aedd753b118 in CFuncPtr_call (self=0x71a6120,
    inargs=0x2aedd3c19050, kwds=0x0)
    at /.../dogwynn/sources/Python-2.6/Modules/_ctypes/_ctypes.c:3855
#5 0x0000000000417bbd in PyObject_Call (func=0x71a6120, arg=0x2aedd3c19050,
    kw=0x0) at Objects/abstract.c:2487
#6 0x0000000000490ae6 in PyEval_EvalFrameEx (f=0x729e770,
    throwflag=<value optimized out>) at Python/ceval.c:3890
#7 0x00000000004945e5 in PyEval_EvalCodeEx (co=0x71ba468,
    globals=<value optimized out>, locals=<value optimized out>,
    args=0x2aedd3c537a0, argcount=4, kws=0x0, kwcount=0, defs=0x71b4c80,
    defcount=2, closure=0x0) at Python/ceval.c:2942
#8 0x00000000004ea41d in function_call (func=0x71bab90, arg=0x2aedd3c53788,
    kw=0x0) at Objects/funcobject.c:524
#9 0x0000000000417bbd in PyObject_Call (func=0x71bab90, arg=0x2aedd3c53788,
    kw=0x0) at Objects/abstract.c:2487
#10 0x000000000041ef4f in instancemethod_call (func=<value optimized out>,
    arg=0x2aedd3c53788, kw=0x0) at Objects/classobject.c:2579
#11 0x0000000000417bbd in PyObject_Call (func=0x2aedd8391730,
    arg=0x2aedd3cebaf0, kw=0x0) at Objects/abstract.c:2487
#12 0x000000000041a96f in PyObject_CallFunctionObjArgs (
    callable=0x2aedd8391730) at Objects/abstract.c:2718
#13 0x00002aedd753b148 in CFuncPtr_call (self=0x7225390, inargs=0x1, kwds=0x0)
    at /.../dogwynn/sources/Python-2.6/Modules/_ctypes/_ctypes.c:3871
#14 0x0000000000417bbd in PyObject_Call (func=0x7225390, arg=0x2aedd3c4bc50,
    kw=0x0) at Objects/abstract.c:2487
---Type <return> to continue, or q <return> to quit---
#15 0x0000000000490ae6 in PyEval_EvalFrameEx (f=0x7293e60,
    throwflag=<value optimized out>) at Python/ceval.c:3890
#16 0x00000000004945e5 in PyEval_EvalCodeEx (co=0x2aedd3ce1af8,
    globals=<value optimized out>, locals=<value optimized out>, args=0x0,
    argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0)
    at Python/ceval.c:2942
#17 0x0000000000494622 in PyEval_EvalCode (co=0x0, globals=0x2aedd3c16a70,
    locals=0x3b30015280) at Python/ceval.c:515
#18 0x00000000004b629d in PyRun_InteractiveOneFlags (fp=<value optimized out>,
    filename=0x5029b7 "<stdin>", flags=0x7fffd6ead420)
    at Python/pythonrun.c:1330
#19 0x00000000004b64c4 in PyRun_InteractiveLoopFlags (fp=0x3b2f54d680,
    filename=0x5029b7 "<stdin>", flags=0x7fffd6ead420)
    at Python/pythonrun.c:756
#20 0x00000000004b65ca in PyRun_AnyFileExFlags (fp=0x3b2f54d680,
    filename=0x5029b7 "<stdin>", closeit=0, flags=0x7fffd6ead420)
    at Python/pythonrun.c:725
#21 0x0000000000413d2f in Py_Main (argc=<value optimized out>,
    argv=0x7fffd6ead548) at Modules/main.c:597
#22 0x0000003b2f21d8b4 in __libc_start_main () from /lib64/libc.so.6
#23 0x0000000000412f99 in _start ()
(gdb)