|
|
|
Return to Installation
by nurbs999 » Sat Sep 11, 2010 11:31 am
Hi folks.
I'm starting with panda and python on a gentoo_x64 system. I compiled panda my own with the latest cvs tree (date 11.Sep).
So I started coding and got a segfault while importing DirectStart.
- Code: Select all
import direct.directbase.DirectStart
yes, thats all the code  and i get this output - Code: Select all
localhost panda3d% python main.py DirectStart: Starting the game. Known pipe types: glxGraphicsPipe (all display modules loaded.) zsh: segmentation fault python main.py
i compiled panda with - Code: Select all
makepanda/makepanda.py --everything --optimize 3 --no-jpeg --no-max2011 --no-max2010 --no-max2009 --no-max9 --no-max8 --no-max7 --no-max6 --no-maya2011 --no-maya2010 --no-maya2009 --no-maya2008 --no-maya85 --no-maya8 --no-maya7 --no-maya65 --no-maya6
could somebody help? any hint on how to debug this would also help.
greetings
nurbs999
-
nurbs999
-
- Posts: 23
- Joined: Sat Sep 11, 2010 11:25 am
- Location: Germany
by drwr » Sat Sep 11, 2010 11:37 am
I would start by running pview, just to prove you get the same segment fault there.
Then I would change "load-display pandagl" to "load-display tinydisplay" to see if you get a segment fault then. If you don't, then there is probably something wrong with your OpenGL drivers. Do other 3D applications run successfully? Can you update your drivers?
David
-
drwr
-
- Posts: 11253
- Joined: Fri Feb 13, 2004 12:42 pm
- Location: Glendale, CA
by nurbs999 » Sat Sep 11, 2010 11:54 am
pview produces the same segfault.
where do i set the "load-display" driver?
i already have the newest drivers; btw its a Intel X4500 gpu
all other openGL applications run fine. i used another engine before i started with panda and opengl ran fine.
greetings
nurbs999
-
nurbs999
-
- Posts: 23
- Joined: Sat Sep 11, 2010 11:25 am
- Location: Germany
by drwr » Sat Sep 11, 2010 12:58 pm
The setting is made in your Config.prc file.
OpenGL provides several different interfaces to open a window in X11. It may be that Panda's choice of interfaces happens to be buggy in your drivers, whereas another pathway would work fine. It's difficult to speculate from here. Are you familiar enough with C++ to research this further in the source code?
David
-
drwr
-
- Posts: 11253
- Joined: Fri Feb 13, 2004 12:42 pm
- Location: Glendale, CA
by nurbs999 » Sat Sep 11, 2010 6:56 pm
tinydisplay works, i only get the segfault when using opengl.
i am familiar enough to C++ but since this is my first day with panda (oh, the second day has just begun  ) i appreciate any help with fixing the pathway.
greetings
nurbs999
-
nurbs999
-
- Posts: 23
- Joined: Sat Sep 11, 2010 11:25 am
- Location: Germany
by nurbs999 » Sun Sep 12, 2010 9:27 am
i set the notify level to debug and got this right before the segfault
- Code: Select all
........ :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_mirrored_repeat 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_texture_mirror_clamp 0 :display:gsg:glgsg(debug): max texture dimension = 4096, max 3d texture = 256, max 2d texture array = 0, max cube map = 2048 :display:gsg:glgsg(debug): max_elements_vertices = 3000, max_elements_indices = 3000 :display:gsg:glgsg(debug): vertex buffer objects are supported. :display:gsg:glgsg(debug): Supported compressed texture formats: GL_COMPRESSED_RGB_FXT1_3DFX GL_COMPRESSED_RGBA_FXT1_3DFX Unknown compressed format 0x8c4c Unknown compressed format 0x8c4d Unknown compressed format 0x8c4e Unknown compressed format 0x8c4f :display:gsg:glgsg(debug): HAS EXT GL_EXT_texture_filter_anisotropic 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_stencil_wrap 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_stencil_two_side 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_draw_instanced 0 :display:gsg:glgsg(debug): HAS EXT GL_EXT_draw_instanced 0 :display:gsg:glgsg(debug): max lights = 8 :display:gsg:glgsg(debug): max clip planes = 6 :display:gsg:glgsg(debug): max texture stages = 8 :display:gsg:glgsg(debug): HAS EXT GLX_SGI_swap_control 1 :display:glxdisplay(debug): supports_swap_control = 1 :display:glxdisplay(debug): supports_fbconfig = 1 :display:glxdisplay(debug): supports_pbuffer = 1 sgix = 0 :display:glxdisplay: No suitable FBConfig contexts available. :display:x11display(debug): Raw mice not requested. Segmentation fault
greetings
nurbs999
-
nurbs999
-
- Posts: 23
- Joined: Sat Sep 11, 2010 11:25 am
- Location: Germany
by drwr » Sun Sep 12, 2010 1:51 pm
Hmm, try adding each of these lines to your Config.prc file:
- Code: Select all
glx-get-proc-address 0 glx-get-os-address 0 gl-support-fbo 0 glx-support-fbconfig 0 glx-support-pbuffer 0
These each disable some feature or another of OpenGL/X11, which might or might not cause problems on some systems.
If that works, then try them one at a time to isolate the variable(s) that let you get in.
David
-
drwr
-
- Posts: 11253
- Joined: Fri Feb 13, 2004 12:42 pm
- Location: Glendale, CA
by nurbs999 » Sun Sep 12, 2010 2:26 pm
thanks. now something really weired is happening. if i set notify-level to warning, i get a segfault
- Code: Select all
Known pipe types: glxGraphicsPipe (all display modules loaded.) :display:gsg:glgsg(warning): glPointParameterfv advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): glDrawRangeElements advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): 3-D textures advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): Compressed textures advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): Multitexture advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): Buffers advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): Occlusion queries advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): BlendEquation advertised as supported by OpenGL runtime, but could not get pointers to extension function. :display:gsg:glgsg(warning): BlendColor advertised as supported by OpenGL runtime, but could not get pointers to extension function. :display:glxdisplay(error): Driver claims to support GLX_SGI_swap_control extension, but does not define all functions. Segmentation fault
but if i set notify-level to debug and add "glx-get-{os,proc}-address to 0" the code runs even though the tutorial scene is missing some textures (the panda in the jungle scene)
http://img715.imageshack.us/img715/3127/pandafailu.jpg
greetings
nurbs999
-
nurbs999
-
- Posts: 23
- Joined: Sat Sep 11, 2010 11:25 am
- Location: Germany
by drwr » Sun Sep 12, 2010 3:30 pm
So, I don't know why the textures are missing--that might be something unrelated--but the glx-get-{os,proc}-address variables control the way that OpenGL extension functions are queried from your OpenGL library. So maybe there is something wrong with the way your OpenGL library is providing these extension functions. Can you enable either one of these variables safely?
I don't understand why you get a segfault with notify-level set to warning, but not debug. Can you show me the stack trace of the segfault in gdb?
David
-
drwr
-
- Posts: 11253
- Joined: Fri Feb 13, 2004 12:42 pm
- Location: Glendale, CA
by nurbs999 » Sun Sep 12, 2010 3:41 pm
- Code: Select all
GNU gdb (Gentoo 7.1 p1) 7.1 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/python...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/python process 20393 is executing new program: /usr/bin/python2.6 [Thread debugging using libthread_db enabled] Python 2.6.5 (release26-maint, Jul 30 2010, 02:07:24) [GCC 4.4.4] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import direct.directbase.DirectStart DirectStart: Starting the game. Known pipe types: glxGraphicsPipe (all display modules loaded.) :display:gsg:glgsg(warning): glPointParameterfv advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): glDrawRangeElements advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): 3-D textures advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): Compressed textures advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): Multitexture advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): Buffers advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): Occlusion queries advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): BlendEquation advertised as supported by OpenGL runtime, but could not get pointers to extension function. :display:gsg:glgsg(warning): BlendColor advertised as supported by OpenGL runtime, but could not get pointers to extension function. :display:glxdisplay(error): Driver claims to support GLX_SGI_swap_control extension, but does not define all functions.
Program received signal SIGSEGV, Segmentation fault. 0x00007fffe683a273 in glXMakeCurrentReadSGI () from //usr/lib64/opengl/xorg-x11/lib/libGL.so.1 (gdb) backtrace #0 0x00007fffe683a273 in glXMakeCurrentReadSGI () from //usr/lib64/opengl/xorg-x11/lib/libGL.so.1 #1 0x00007fffe6d04132 in glxGraphicsWindow::open_window() () from /usr/local/lib64/panda3d/libpandagl.so #2 0x00007ffff3b8623e in GraphicsWindow::set_properties_now(WindowProperties&) () from /usr/local/lib64/panda3d/libpanda.so #3 0x00007fffe6cbe307 in x11GraphicsWindow::set_properties_now(WindowProperties&) () from /usr/local/lib64/panda3d/libpandagl.so #4 0x00007ffff3b86778 in GraphicsWindow::process_events() () from /usr/local/lib64/panda3d/libpanda.so #5 0x00007fffe6cbedd6 in x11GraphicsWindow::process_events() () from /usr/local/lib64/panda3d/libpandagl.so #6 0x00007ffff3b67341 in GraphicsEngine::process_events(ov_set<PointerTo<GraphicsOutput>, IndirectLess<GraphicsOutput> > const&, Thread*) () from /usr/local/lib64/panda3d/libpanda.so #7 0x00007ffff3b72d27 in GraphicsEngine::WindowRenderer::do_windows(GraphicsEngine*, Thread*) () from /usr/local/lib64/panda3d/libpanda.so #8 0x00007ffff3b7ffde in GraphicsEngine::open_windows() () from /usr/local/lib64/panda3d/libpanda.so #9 0x00007ffff3b9b031 in GraphicsEngine::make_output(GraphicsPipe*, std::string const&, int, FrameBufferProperties const&, WindowProperties const&, int, GraphicsStateGuardian*, GraphicsOutput*) () from /usr/local/lib64/panda3d/libpanda.so #10 0x00007ffff3bf074e in Dtool_GraphicsEngine_make_output_552(_object*, _object*, _object*) () from /usr/local/lib64/panda3d/libpanda.so #11 0x00007ffff7b168b5 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #12 0x00007ffff7b186f7 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #13 0x00007ffff7aabdbd in ?? () from /usr/lib/libpython2.6.so.1.0 #14 0x00007ffff7a84112 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #15 0x00007ffff7b154bb in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #16 0x00007ffff7b186f7 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #17 0x00007ffff7aabdbd in ?? () from /usr/lib/libpython2.6.so.1.0 #18 0x00007ffff7a84112 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #19 0x00007ffff7b154bb in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #20 0x00007ffff7b186f7 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #21 0x00007ffff7b16ac1 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #22 0x00007ffff7b186f7 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #23 0x00007ffff7aabcc0 in ?? () from /usr/lib/libpython2.6.so.1.0 #24 0x00007ffff7a84112 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #25 0x00007ffff7a96b8d in ?? () from /usr/lib/libpython2.6.so.1.0 #26 0x00007ffff7a84112 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #27 0x00007ffff7b10cb2 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.6.so.1.0 #28 0x00007ffff7a96356 in PyInstance_New () from /usr/lib/libpython2.6.so.1.0 #29 0x00007ffff7a84112 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #30 0x00007ffff7b162ec in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #31 0x00007ffff7b186f7 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #32 0x00007ffff7b187d2 in PyEval_EvalCode () from /usr/lib/libpython2.6.so.1.0 #33 0x00007ffff7b27aa1 in PyImport_ExecCodeModuleEx () from /usr/lib/libpython2.6.so.1.0 #34 0x00007ffff7b27f76 in ?? () from /usr/lib/libpython2.6.so.1.0 #35 0x00007ffff7b293fe in ?? () from /usr/lib/libpython2.6.so.1.0 #36 0x00007ffff7b29693 in ?? () from /usr/lib/libpython2.6.so.1.0 #37 0x00007ffff7b29d08 in ?? () from /usr/lib/libpython2.6.so.1.0 #38 0x00007ffff7b2aa45 in PyImport_ImportModuleLevel () from /usr/lib/libpython2.6.so.1.0 #39 0x00007ffff7b1075f in ?? () from /usr/lib/libpython2.6.so.1.0 #40 0x00007ffff7a84112 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #41 0x00007ffff7b10cb2 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.6.so.1.0 #42 0x00007ffff7b138a8 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #43 0x00007ffff7b186f7 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #44 0x00007ffff7b187d2 in PyEval_EvalCode () from /usr/lib/libpython2.6.so.1.0 #45 0x00007ffff7b3289c in ?? () from /usr/lib/libpython2.6.so.1.0 #46 0x00007ffff7b3432c in PyRun_InteractiveOneFlags () from /usr/lib/libpython2.6.so.1.0 #47 0x00007ffff7b3453e in PyRun_InteractiveLoopFlags () from /usr/lib/libpython2.6.so.1.0 #48 0x00007ffff7b3464c in PyRun_AnyFileExFlags () from /usr/lib/libpython2.6.so.1.0 #49 0x00007ffff7b3fecc in Py_Main () from /usr/lib/libpython2.6.so.1.0 #50 0x00007ffff74d9d2d in __libc_start_main () from /lib/libc.so.6 #51 0x00000000004008c9 in _start () (gdb)
greetings
nurbs999
-
nurbs999
-
- Posts: 23
- Joined: Sat Sep 11, 2010 11:25 am
- Location: Germany
by drwr » Sun Sep 12, 2010 4:35 pm
Hmm, hard to see how that could be related to the notify-level. Could it be just random, and it only appears to be related?
David
-
drwr
-
- Posts: 11253
- Joined: Fri Feb 13, 2004 12:42 pm
- Location: Glendale, CA
by nurbs999 » Sun Sep 12, 2010 4:41 pm
well, could be, but whenever i change this panda throws the segfault.
one other thing, how do get rid of this error:
- Code: Select all
display:glxdisplay(error): Driver claims to support GLX_SGI_swap_control extension, but does not define all functions.
greetings
nurbs999
-
nurbs999
-
- Posts: 23
- Joined: Sat Sep 11, 2010 11:25 am
- Location: Germany
by nurbs999 » Sun Sep 12, 2010 7:36 pm
just reinstalled panda with lastest cvs version and i get a different error. but still only if notify-level is not "spam" or "debug"
- Code: Select all
Known pipe types: glxGraphicsPipe (all display modules loaded.) :display:gsg:glgsg(warning): glPointParameterfv advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): glDrawRangeElements advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): 3-D textures advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): Compressed textures advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): Multitexture advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): Buffers advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): Occlusion queries advertised as supported by OpenGL runtime, but could not get pointers to extension functions. :display:gsg:glgsg(warning): BlendEquation advertised as supported by OpenGL runtime, but could not get pointers to extension function. :display:gsg:glgsg(warning): BlendColor advertised as supported by OpenGL runtime, but could not get pointers to extension function. :display:gsg:glgsg(error): at 1448 of panda/src/glstuff/glGraphicsStateGuardian_src.cxx : GL error 1280 Segmentation fault
which means "1280 GL_INVALID_ENUM"
greetings
nurbs999
-
nurbs999
-
- Posts: 23
- Joined: Sat Sep 11, 2010 11:25 am
- Location: Germany
by drwr » Sun Sep 12, 2010 8:57 pm
one other thing, how do get rid of this error:
That error message is a side-effect of setting both glx-get-{os,proc}-address to 0. Panda needs at least one of these enabled in order to get a pointer to the needed OpenGL extension functions. Without either of them, it will have to disable certain OpenGL extensions (most of which probably won't have a dramatic effect on your code, other than the error message). You could also simply squelch the error message with:
- Code: Select all
notify-level-glgsg error
But I think we still haven't isolated the fundamental problem yet. The stack trace you posted shows the crash happening within your OpenGL driver, which has nothing to do with the notify-level setting, so it's not clear to me how making this change has anything to do with the crash, other than by possibly changing the application timing. For instance, maybe having "notify-level debug" slows down the application enough to avoid some race-condition type crash in the driver.
David
-
drwr
-
- Posts: 11253
- Joined: Fri Feb 13, 2004 12:42 pm
- Location: Glendale, CA
by nurbs999 » Mon Sep 13, 2010 6:52 am
since this is an intel gpu with latest intel driver i maybe should report the bracktrace to the intel developer?
greetings
nurbs999
-
nurbs999
-
- Posts: 23
- Joined: Sat Sep 11, 2010 11:25 am
- Location: Germany
by drwr » Mon Sep 13, 2010 5:21 pm
I doubt this will be enough information for them to go on. We need to isolate precisely what sequence of calls leads to the crash. It appears to be a subtle combination of Panda3D calls and timing, so it will be a difficult problem to track down from either end.
-
drwr
-
- Posts: 11253
- Joined: Fri Feb 13, 2004 12:42 pm
- Location: Glendale, CA
by nurbs999 » Tue Sep 14, 2010 6:14 pm
ok, so whats next?
greetings
nurbs999
-
nurbs999
-
- Posts: 23
- Joined: Sat Sep 11, 2010 11:25 am
- Location: Germany
by drwr » Tue Sep 14, 2010 9:41 pm
Someone with your graphics card and drivers, a copy of gcc and gdb, and a lot of patience, will need to sit down with the Panda3D code, and do some hardcore investigation. This means getting to know both the Panda3D code and the OpenGL API well, and trying to modify the existing code to use different pathways to determine which pathways are stable and which are unstable.
David
-
drwr
-
- Posts: 11253
- Joined: Fri Feb 13, 2004 12:42 pm
- Location: Glendale, CA
by nurbs999 » Thu Oct 14, 2010 4:10 pm
i just tried the latest cvs version and my problem even got worse. i get a segfault no matter which notify-level i try
- Code: Select all
:interrogatedb(debug): Creating interrogate database :interrogatedb(debug): Got interrogate data for module libexpress :interrogatedb(debug): Got interrogate data for module libdownloader :express(debug): mount / under / :interrogatedb(debug): Got interrogate data for module libpnmtext :interrogatedb(debug): Got interrogate data for module libdxml :interrogatedb(debug): Got interrogate data for module libnativenet :interrogatedb(debug): Got interrogate data for module libnet :interrogatedb(debug): Got interrogate data for module libpgui :interrogatedb(debug): Got interrogate data for module libaudio :interrogatedb(debug): Got interrogate data for module libputil :interrogatedb(debug): Got interrogate data for module liblerp :interrogatedb(debug): Got interrogate data for module libtform :interrogatedb(debug): Got interrogate data for module libtext :interrogatedb(debug): Got interrogate data for module libpnmimage :pnmimage(debug): Registering image type SGI RGB :pnmimage(debug): Registering image type Targa :pnmimage(debug): Registering image type Raw binary RGB :pnmimage(debug): Registering image type SoftImage :pnmimage(debug): Registering image type Windows BMP :pnmimage(debug): Registering image type NetPBM-style PBM/PGM/PPM/PNM :pnmimage(debug): Registering image type JPEG :pnmimage:png(debug): PNG version 10404 :pnmimage(debug): Registering image type PNG :pnmimage:tiff(debug): LIBTIFF, Version 3.9.2 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc. :pnmimage(debug): Registering image type TIFF :interrogatedb(debug): Got interrogate data for module libparametrics :interrogatedb(debug): Got interrogate data for module libmathutil :interrogatedb(debug): Got interrogate data for module liblinmath :interrogatedb(debug): Got interrogate data for module libgsgbase :interrogatedb(debug): Got interrogate data for module libgobj :interrogatedb(debug): Got interrogate data for module libevent :interrogatedb(debug): Got interrogate data for module libpipeline :interrogatedb(debug): Got interrogate data for module libdisplay :interrogatedb(debug): Got interrogate data for module libdgraph :interrogatedb(debug): Got interrogate data for module libdevice :interrogatedb(debug): Got interrogate data for module libcollide :interrogatedb(debug): Got interrogate data for module libchar :interrogatedb(debug): Got interrogate data for module libpstatclient :interrogatedb(debug): Got interrogate data for module libchan :interrogatedb(debug): Got interrogate data for module libgrutil :interrogatedb(debug): Got interrogate data for module libmovies :interrogatedb(debug): Got interrogate data for module libpgraph :interrogatedb(debug): Got interrogate data for module libpgraphnodes :interrogatedb(debug): Got interrogate data for module librecorder :interrogatedb(debug): Got interrogate data for module libdistributed :interrogatedb(debug): Got interrogate data for module libinterval :interrogatedb(debug): Got interrogate data for module libdeadrec :interrogatedb(debug): Got interrogate data for module libshowbase :interrogatedb(debug): Got interrogate data for module libdcparser :interrogatedb(debug): Got interrogate data for module libeffects :interrogatedb(debug): Got interrogate data for module libdistort :task(debug): Adding GenericAsyncTask event :event(debug): Throwing event TaskManager-addTask(GenericAsyncTask) :pgraph(debug): Constructing 0xdd61f8, data :task(debug): Adding GenericAsyncTask data_loop :event(debug): Throwing event TaskManager-addTask(GenericAsyncTask) :pgraph(debug): Constructing 0xdd6da8, wireframe :display: loading display module: libpandagl.so :display(debug): symbol of get_pipe_type_pandagl = 0x7fb6672d2460 :display(debug): pipe_type_index = 541 :display(debug): pipe_type = glxGraphicsPipe Known pipe types: glxGraphicsPipe (all display modules loaded.) :task(debug): Adding GenericAsyncTask igloop :event(debug): Throwing event TaskManager-addTask(GenericAsyncTask) :display(debug): DisplayRegion::do_compute_pixels(800, 600) :display(debug): DisplayRegion::do_compute_pixels(800, 600) :display(debug): Creating new window window1 :display(debug): Created glxGraphicsWindow 0xdfd998 :display(debug): Windows resorted: window1(0) window1(0) :task(debug): AsyncTaskManager TaskManager task chain loader; 0 tasks: set_num_threads(1) :display:gsg:glgsg(debug): GL_VENDOR = Tungsten Graphics, Inc :display:gsg:glgsg(debug): GL_RENDERER = Mesa DRI Intel(R) G45/G43 GEM 20100328 2010Q1 :display:gsg:glgsg(debug): GL_VERSION = 2.1 Mesa 7.8.2, decoded to 2.1 :display:gsg:glgsg(debug): GLX_VENDOR (client) = Mesa Project and SGI :display:gsg:glgsg(debug): GLX_VERSION (client) = 1.4 :display:gsg:glgsg(debug): GLX_VENDOR (server) = SGI :display:gsg:glgsg(debug): GLX_VERSION (server) = 1.4 :display:gsg:glgsg(debug): GLX_VERSION = 1.4 :display:gsg:glgsg(debug): GL Extensions: :display:gsg:glgsg(debug): GLX_ARB_get_proc_address :display:gsg:glgsg(debug): GLX_ARB_multisample :display:gsg:glgsg(debug): GLX_EXT_import_context :display:gsg:glgsg(debug): GLX_EXT_texture_from_pixmap :display:gsg:glgsg(debug): GLX_EXT_visual_info :display:gsg:glgsg(debug): GLX_EXT_visual_rating :display:gsg:glgsg(debug): GLX_INTEL_swap_event :display:gsg:glgsg(debug): GLX_MESA_copy_sub_buffer :display:gsg:glgsg(debug): GLX_MESA_swap_control :display:gsg:glgsg(debug): GLX_OML_swap_method :display:gsg:glgsg(debug): GLX_OML_sync_control :display:gsg:glgsg(debug): GLX_SGIS_multisample :display:gsg:glgsg(debug): GLX_SGIX_fbconfig :display:gsg:glgsg(debug): GLX_SGIX_pbuffer :display:gsg:glgsg(debug): GLX_SGIX_visual_select_group :display:gsg:glgsg(debug): GLX_SGI_make_current_read :display:gsg:glgsg(debug): GLX_SGI_swap_control :display:gsg:glgsg(debug): GLX_SGI_video_sync :display:gsg:glgsg(debug): GL_3DFX_texture_compression_FXT1 :display:gsg:glgsg(debug): GL_APPLE_client_storage :display:gsg:glgsg(debug): GL_APPLE_object_purgeable :display:gsg:glgsg(debug): GL_APPLE_packed_pixels :display:gsg:glgsg(debug): GL_APPLE_vertex_array_object :display:gsg:glgsg(debug): GL_ARB_copy_buffer :display:gsg:glgsg(debug): GL_ARB_depth_clamp :display:gsg:glgsg(debug): GL_ARB_depth_texture :display:gsg:glgsg(debug): GL_ARB_draw_buffers :display:gsg:glgsg(debug): GL_ARB_draw_elements_base_vertex :display:gsg:glgsg(debug): GL_ARB_fragment_coord_conventions :display:gsg:glgsg(debug): GL_ARB_fragment_program :display:gsg:glgsg(debug): GL_ARB_fragment_program_shadow :display:gsg:glgsg(debug): GL_ARB_fragment_shader :display:gsg:glgsg(debug): GL_ARB_framebuffer_object :display:gsg:glgsg(debug): GL_ARB_half_float_pixel :display:gsg:glgsg(debug): GL_ARB_half_float_vertex :display:gsg:glgsg(debug): GL_ARB_map_buffer_range :display:gsg:glgsg(debug): GL_ARB_multisample :display:gsg:glgsg(debug): GL_ARB_multitexture :display:gsg:glgsg(debug): GL_ARB_occlusion_query :display:gsg:glgsg(debug): GL_ARB_pixel_buffer_object :display:gsg:glgsg(debug): GL_ARB_point_parameters :display:gsg:glgsg(debug): GL_ARB_point_sprite :display:gsg:glgsg(debug): GL_ARB_provoking_vertex :display:gsg:glgsg(debug): GL_ARB_seamless_cube_map :display:gsg:glgsg(debug): GL_ARB_shader_objects :display:gsg:glgsg(debug): GL_ARB_shading_language_100 :display:gsg:glgsg(debug): GL_ARB_shading_language_120 :display:gsg:glgsg(debug): GL_ARB_shadow :display:gsg:glgsg(debug): GL_ARB_sync :display:gsg:glgsg(debug): GL_ARB_texture_border_clamp :display:gsg:glgsg(debug): GL_ARB_texture_compression :display:gsg:glgsg(debug): GL_ARB_texture_cube_map :display:gsg:glgsg(debug): GL_ARB_texture_env_add :display:gsg:glgsg(debug): GL_ARB_texture_env_combine :display:gsg:glgsg(debug): GL_ARB_texture_env_crossbar :display:gsg:glgsg(debug): GL_ARB_texture_env_dot3 :display:gsg:glgsg(debug): GL_ARB_texture_mirrored_repeat :display:gsg:glgsg(debug): GL_ARB_texture_non_power_of_two :display:gsg:glgsg(debug): GL_ARB_texture_rectangle :display:gsg:glgsg(debug): GL_ARB_transpose_matrix :display:gsg:glgsg(debug): GL_ARB_vertex_array_bgra :display:gsg:glgsg(debug): GL_ARB_vertex_array_object :display:gsg:glgsg(debug): GL_ARB_vertex_buffer_object :display:gsg:glgsg(debug): GL_ARB_vertex_program :display:gsg:glgsg(debug): GL_ARB_vertex_shader :display:gsg:glgsg(debug): GL_ARB_window_pos :display:gsg:glgsg(debug): GL_ATI_blend_equation_separate :display:gsg:glgsg(debug): GL_ATI_envmap_bumpmap :display:gsg:glgsg(debug): GL_ATI_separate_stencil :display:gsg:glgsg(debug): GL_ATI_texture_env_combine3 :display:gsg:glgsg(debug): GL_EXT_abgr :display:gsg:glgsg(debug): GL_EXT_bgra :display:gsg:glgsg(debug): GL_EXT_blend_color :display:gsg:glgsg(debug): GL_EXT_blend_equation_separate :display:gsg:glgsg(debug): GL_EXT_blend_func_separate :display:gsg:glgsg(debug): GL_EXT_blend_logic_op :display:gsg:glgsg(debug): GL_EXT_blend_minmax :display:gsg:glgsg(debug): GL_EXT_blend_subtract :display:gsg:glgsg(debug): GL_EXT_compiled_vertex_array :display:gsg:glgsg(debug): GL_EXT_copy_texture :display:gsg:glgsg(debug): GL_EXT_cull_vertex :display:gsg:glgsg(debug): GL_EXT_draw_buffers2 :display:gsg:glgsg(debug): GL_EXT_draw_range_elements :display:gsg:glgsg(debug): GL_EXT_fog_coord :display:gsg:glgsg(debug): GL_EXT_framebuffer_blit :display:gsg:glgsg(debug): GL_EXT_framebuffer_object :display:gsg:glgsg(debug): GL_EXT_gpu_program_parameters :display:gsg:glgsg(debug): GL_EXT_multi_draw_arrays :display:gsg:glgsg(debug): GL_EXT_packed_depth_stencil :display:gsg:glgsg(debug): GL_EXT_packed_pixels :display:gsg:glgsg(debug): GL_EXT_pixel_buffer_object :display:gsg:glgsg(debug): GL_EXT_point_parameters :display:gsg:glgsg(debug): GL_EXT_polygon_offset :display:gsg:glgsg(debug): GL_EXT_provoking_vertex :display:gsg:glgsg(debug): GL_EXT_rescale_normal :display:gsg:glgsg(debug): GL_EXT_secondary_color :display:gsg:glgsg(debug): GL_EXT_separate_specular_color :display:gsg:glgsg(debug): GL_EXT_shadow_funcs :display:gsg:glgsg(debug): GL_EXT_stencil_two_side :display:gsg:glgsg(debug): GL_EXT_stencil_wrap :display:gsg:glgsg(debug): GL_EXT_subtexture :display:gsg:glgsg(debug): GL_EXT_texture :display:gsg:glgsg(debug): GL_EXT_texture3D :display:gsg:glgsg(debug): GL_EXT_texture_cube_map :display:gsg:glgsg(debug): GL_EXT_texture_edge_clamp :display:gsg:glgsg(debug): GL_EXT_texture_env_add :display:gsg:glgsg(debug): GL_EXT_texture_env_combine :display:gsg:glgsg(debug): GL_EXT_texture_env_dot3 :display:gsg:glgsg(debug): GL_EXT_texture_filter_anisotropic :display:gsg:glgsg(debug): GL_EXT_texture_lod_bias :display:gsg:glgsg(debug): GL_EXT_texture_object :display:gsg:glgsg(debug): GL_EXT_texture_rectangle :display:gsg:glgsg(debug): GL_EXT_texture_sRGB :display:gsg:glgsg(debug): GL_EXT_texture_swizzle :display:gsg:glgsg(debug): GL_EXT_vertex_array :display:gsg:glgsg(debug): GL_EXT_vertex_array_bgra :display:gsg:glgsg(debug): GL_IBM_multimode_draw_arrays :display:gsg:glgsg(debug): GL_IBM_rasterpos_clip :display:gsg:glgsg(debug): GL_IBM_texture_mirrored_repeat :display:gsg:glgsg(debug): GL_INGR_blend_func_separate :display:gsg:glgsg(debug): GL_MESA_pack_invert :display:gsg:glgsg(debug): GL_MESA_texture_signed_rgba :display:gsg:glgsg(debug): GL_MESA_window_pos :display:gsg:glgsg(debug): GL_MESA_ycbcr_texture :display:gsg:glgsg(debug): GL_NV_blend_square :display:gsg:glgsg(debug): GL_NV_depth_clamp :display:gsg:glgsg(debug): GL_NV_light_max_exponent :display:gsg:glgsg(debug): GL_NV_packed_depth_stencil :display:gsg:glgsg(debug): GL_NV_texgen_reflection :display:gsg:glgsg(debug): GL_NV_texture_env_combine4 :display:gsg:glgsg(debug): GL_NV_texture_rectangle :display:gsg:glgsg(debug): GL_NV_vertex_program :display:gsg:glgsg(debug): GL_NV_vertex_program1_1 :display:gsg:glgsg(debug): GL_OES_read_format :display:gsg:glgsg(debug): GL_SGIS_generate_mipmap :display:gsg:glgsg(debug): GL_SGIS_texture_border_clamp :display:gsg:glgsg(debug): GL_SGIS_texture_edge_clamp :display:gsg:glgsg(debug): GL_SGIS_texture_lod :display:gsg:glgsg(debug): GL_SUN_multi_draw_arrays :display:gsg:glgsg(debug): HAS EXT GL_ARB_point_sprite 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_vertex_blend 0 :display:gsg:glgsg(debug): HAS EXT GL_ARB_matrix_palette 0 :display:gsg:glgsg(debug): HAS EXT GL_ARB_depth_texture 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_packed_depth_stencil 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_texture_array 0 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_cube_map 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_bgra 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_rescale_normal 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_multisample 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_non_power_of_two 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_depth_texture 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_shadow 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_fragment_program_shadow 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_combine 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_crossbar 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_dot3 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_geometry_shader4 0 :display:gsg:glgsg(debug): HAS EXT GL_EXT_framebuffer_object 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_framebuffer_multisample 0 :display:gsg:glgsg(debug): HAS EXT GL_NV_framebuffer_multisample_coverage 0 :display:gsg:glgsg(debug): HAS EXT GL_EXT_framebuffer_blit 1 :display:gsg:glgsg(debug): Occlusion query counter provides 64 bits. :display:gsg:glgsg(debug): HAS EXT GL_SGIS_texture_edge_clamp 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_border_clamp 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_mirrored_repeat 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_texture_mirror_clamp 0 :display:gsg:glgsg(debug): max texture dimension = 4096, max 3d texture = 256, max 2d texture array = 0, max cube map = 2048 :display:gsg:glgsg(debug): max_elements_vertices = 3000, max_elements_indices = 3000 :display:gsg:glgsg(debug): vertex buffer objects are supported. :display:gsg:glgsg(debug): Supported compressed texture formats: GL_COMPRESSED_RGB_FXT1_3DFX GL_COMPRESSED_RGBA_FXT1_3DFX Unknown compressed format 0x8c4c Unknown compressed format 0x8c4d Unknown compressed format 0x8c4e Unknown compressed format 0x8c4f :display:gsg:glgsg(debug): HAS EXT GL_EXT_texture_filter_anisotropic 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_stencil_wrap 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_stencil_two_side 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_draw_instanced 0 :display:gsg:glgsg(debug): HAS EXT GL_EXT_draw_instanced 0 :display:gsg:glgsg(debug): max lights = 8 :display:gsg:glgsg(debug): max clip planes = 6 :display:gsg:glgsg(debug): max texture stages = 8 :display:gsg:glgsg(debug): HAS EXT GLX_SGI_swap_control 1 :display:glxdisplay(debug): supports_swap_control = 1 :display:glxdisplay(debug): supports_fbconfig = 1 :display:glxdisplay(debug): supports_pbuffer = 1 sgix = 0 :display:glxdisplay: No suitable FBConfig contexts available. :display:x11display(debug): Raw mice not requested. zsh: segmentation fault
and a backtrace - Code: Select all
Program received signal SIGSEGV, Segmentation fault. 0x00007fffe7c99273 in glXMakeCurrentReadSGI () from //usr/lib64/opengl/xorg-x11/lib/libGL.so.1 (gdb) backtrace #0 0x00007fffe7c99273 in glXMakeCurrentReadSGI () from //usr/lib64/opengl/xorg-x11/lib/libGL.so.1 #1 0x00007fffe5d1d132 in glxGraphicsWindow::open_window() () from /usr/local/lib64/panda3d/libpandagl.so #2 0x00007ffff3b8392e in GraphicsWindow::set_properties_now(WindowProperties&) () from /usr/local/lib64/panda3d/libpanda.so #3 0x00007fffe5cd7307 in x11GraphicsWindow::set_properties_now(WindowProperties&) () from /usr/local/lib64/panda3d/libpandagl.so #4 0x00007ffff3b83e68 in GraphicsWindow::process_events() () from /usr/local/lib64/panda3d/libpanda.so #5 0x00007fffe5cd7dd6 in x11GraphicsWindow::process_events() () from /usr/local/lib64/panda3d/libpandagl.so #6 0x00007ffff3b64a31 in GraphicsEngine::process_events(ov_set<PointerTo<GraphicsOutput>, IndirectLess<GraphicsOutput> > const&, Thread*) () from /usr/local/lib64/panda3d/libpanda.so #7 0x00007ffff3b70417 in GraphicsEngine::WindowRenderer::do_windows(GraphicsEngine*, Thread*) () from /usr/local/lib64/panda3d/libpanda.so #8 0x00007ffff3b7d6ce in GraphicsEngine::open_windows() () from /usr/local/lib64/panda3d/libpanda.so #9 0x00007ffff3b98721 in GraphicsEngine::make_output(GraphicsPipe*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, FrameBufferProperties const&, WindowProperties const&, int, GraphicsStateGuardian*, GraphicsOutput*) () from /usr/local/lib64/panda3d/libpanda.so #10 0x00007ffff3bede3e in Dtool_GraphicsEngine_make_output_552(_object*, _object*, _object*) () from /usr/local/lib64/panda3d/libpanda.so #11 0x00007ffff7b15875 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #12 0x00007ffff7b176b7 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #13 0x00007ffff7aaadad in ?? () from /usr/lib/libpython2.6.so.1.0 #14 0x00007ffff7a83102 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #15 0x00007ffff7b1447b in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #16 0x00007ffff7b176b7 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #17 0x00007ffff7aaadad in ?? () from /usr/lib/libpython2.6.so.1.0 #18 0x00007ffff7a83102 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #19 0x00007ffff7b1447b in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #20 0x00007ffff7b176b7 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #21 0x00007ffff7b15a81 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #22 0x00007ffff7b176b7 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #23 0x00007ffff7aaacb0 in ?? () from /usr/lib/libpython2.6.so.1.0 #24 0x00007ffff7a83102 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #25 0x00007ffff7a95b7d in ?? () from /usr/lib/libpython2.6.so.1.0 #26 0x00007ffff7a83102 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #27 0x00007ffff7b0fc82 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.6.so.1.0 #28 0x00007ffff7a95346 in PyInstance_New () from /usr/lib/libpython2.6.so.1.0 #29 0x00007ffff7a83102 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #30 0x00007ffff7b152ac in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #31 0x00007ffff7b176b7 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #32 0x00007ffff7b17792 in PyEval_EvalCode () from /usr/lib/libpython2.6.so.1.0 #33 0x00007ffff7b26a61 in PyImport_ExecCodeModuleEx () from /usr/lib/libpython2.6.so.1.0 #34 0x00007ffff7b26f36 in ?? () from /usr/lib/libpython2.6.so.1.0 #35 0x00007ffff7b283be in ?? () from /usr/lib/libpython2.6.so.1.0 #36 0x00007ffff7b28653 in ?? () from /usr/lib/libpython2.6.so.1.0 #37 0x00007ffff7b28cc8 in ?? () from /usr/lib/libpython2.6.so.1.0 #38 0x00007ffff7b29a05 in PyImport_ImportModuleLevel () from /usr/lib/libpython2.6.so.1.0 #39 0x00007ffff7b0f72f in ?? () from /usr/lib/libpython2.6.so.1.0 #40 0x00007ffff7a83102 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0 #41 0x00007ffff7b0fc82 in PyEval_CallObjectWithKeywords () from /usr/lib/libpython2.6.so.1.0 #42 0x00007ffff7b12878 in PyEval_EvalFrameEx () from /usr/lib/libpython2.6.so.1.0 #43 0x00007ffff7b176b7 in PyEval_EvalCodeEx () from /usr/lib/libpython2.6.so.1.0 #44 0x00007ffff7b17792 in PyEval_EvalCode () from /usr/lib/libpython2.6.so.1.0 #45 0x00007ffff7b3185c in ?? () from /usr/lib/libpython2.6.so.1.0 #46 0x00007ffff7b332ec in PyRun_InteractiveOneFlags () from /usr/lib/libpython2.6.so.1.0 #47 0x00007ffff7b334fe in PyRun_InteractiveLoopFlags () from /usr/lib/libpython2.6.so.1.0 #48 0x00007ffff7b3360c in PyRun_AnyFileExFlags () from /usr/lib/libpython2.6.so.1.0 #49 0x00007ffff7b3ee7c in Py_Main () from /usr/lib/libpython2.6.so.1.0 #50 0x00007ffff74d8d2d in __libc_start_main () from /lib/libc.so.6 #51 0x00000000004008c9 in _start ()
greetings
nurbs999
-
nurbs999
-
- Posts: 23
- Joined: Sat Sep 11, 2010 11:25 am
- Location: Germany
by dropdeadsed » Thu Oct 21, 2010 10:40 pm
I've been getting the same behavior in the same old 32-bit Gentoo with a Radeon Mobility 7000 and open drivers. I tried Panda3d from CVS and it appears pretty much the same... I can get it to run (slowly) by increasing the notify-level to either debug or spam and then adding - Code: Select all
glx-support-fbconfig 0
as suggested-- that's the one that did the trick. When I remove it, I get something probably useless... - Code: Select all
--huge snip-- :display:glxdisplay(debug): supports_swap_control = 1 :display:glxdisplay(debug): supports_fbconfig = 1 :display:glxdisplay(debug): supports_pbuffer = 0 sgix = 1 :display:glxdisplay: No suitable FBConfig contexts available. :display:x11display(debug): Raw mice not requested.
Program received signal SIGSEGV, Segmentation fault. 0xb3768b14 in glXMakeCurrentReadSGI () from //usr/lib/opengl/xorg-x11/lib/libGL.so.1 (gdb) bt #0 0xb3768b14 in glXMakeCurrentReadSGI () from //usr/lib/opengl/xorg-x11/lib/libGL.so.1 #1 0x08513b18 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb)
I'm off to get those symbols back. Oh, and apparently now using tinydisplay works without these tweaks-- when I first started it was crashing no matter what but I kept updating from CVS and of course updating Gentoo... fun fun.
-
dropdeadsed
-
- Posts: 14
- Joined: Mon Feb 08, 2010 1:22 am
by dropdeadsed » Fri Oct 22, 2010 1:47 am
I switched CFLAGS and recompiled mesa, libdrm, and python without stripping. Now all's a bit different... this is of course with only the notify level at debug so it will crash.
- Code: Select all
$ gdb --args python pandtut.py GNU gdb (Gentoo 7.2 p1) 7.2 Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /usr/bin/python...(no debugging symbols found)...done. (gdb) run Starting program: /usr/bin/python pandtut.py process 30375 is executing new program: /usr/bin/python2.6 [Thread debugging using libthread_db enabled] :interrogatedb(debug): Creating interrogate database :interrogatedb(debug): Got interrogate data for module libexpress :interrogatedb(debug): Got interrogate data for module libdownloader :express(debug): mount / under / :interrogatedb(debug): Got interrogate data for module libpnmtext :interrogatedb(debug): Got interrogate data for module libdxml :interrogatedb(debug): Got interrogate data for module libnativenet :interrogatedb(debug): Got interrogate data for module libnet :interrogatedb(debug): Got interrogate data for module libpgui :interrogatedb(debug): Got interrogate data for module libaudio :interrogatedb(debug): Got interrogate data for module libputil :interrogatedb(debug): Got interrogate data for module liblerp :interrogatedb(debug): Got interrogate data for module libtform :interrogatedb(debug): Got interrogate data for module libtext :interrogatedb(debug): Got interrogate data for module libpnmimage :pnmimage(debug): Registering image type SGI RGB :pnmimage(debug): Registering image type Targa :pnmimage(debug): Registering image type Raw binary RGB :pnmimage(debug): Registering image type SoftImage :pnmimage(debug): Registering image type Windows BMP :pnmimage(debug): Registering image type NetPBM-style PBM/PGM/PPM/PNM :pnmimage(debug): Registering image type JPEG :pnmimage:png(debug): PNG version 10404 :pnmimage(debug): Registering image type PNG :pnmimage:tiff(debug): LIBTIFF, Version 4.0.0beta6 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc. :pnmimage(debug): Registering image type TIFF :interrogatedb(debug): Got interrogate data for module libparametrics :interrogatedb(debug): Got interrogate data for module libmathutil :interrogatedb(debug): Got interrogate data for module liblinmath :interrogatedb(debug): Got interrogate data for module libgsgbase :interrogatedb(debug): Got interrogate data for module libgobj :interrogatedb(debug): Got interrogate data for module libevent :interrogatedb(debug): Got interrogate data for module libpipeline :interrogatedb(debug): Got interrogate data for module libdisplay :interrogatedb(debug): Got interrogate data for module libdgraph :interrogatedb(debug): Got interrogate data for module libdevice :interrogatedb(debug): Got interrogate data for module libcollide :interrogatedb(debug): Got interrogate data for module libchar :interrogatedb(debug): Got interrogate data for module libpstatclient :interrogatedb(debug): Got interrogate data for module libchan :interrogatedb(debug): Got interrogate data for module libgrutil :interrogatedb(debug): Got interrogate data for module libmovies :interrogatedb(debug): Got interrogate data for module libpgraph :interrogatedb(debug): Got interrogate data for module libpgraphnodes :interrogatedb(debug): Got interrogate data for module librecorder :interrogatedb(debug): Got interrogate data for module libparticlesystem :interrogatedb(debug): Got interrogate data for module libphysics :interrogatedb(debug): Got interrogate data for module libeffects :interrogatedb(debug): Got interrogate data for module libdistort :interrogatedb(debug): Got interrogate data for module libdistributed :interrogatedb(debug): Got interrogate data for module libinterval :interrogatedb(debug): Got interrogate data for module libdeadrec :interrogatedb(debug): Got interrogate data for module libshowbase :interrogatedb(debug): Got interrogate data for module libdcparser :interrogatedb(debug): Got interrogate data for module libvision :interrogatedb(debug): Got interrogate data for module libskel :interrogatedb(debug): Got interrogate data for module libegg :interrogatedb(debug): Got interrogate data for module libegg2pg :interrogatedb(debug): Got interrogate data for module libpandaode :pgraph(debug): Constructing 0x85f3d1c, hidden :pgraph(debug): Constructing 0x851a5c4, render :pgraph(debug): Constructing 0x84b01a4, render2d :pgraph(debug): Constructing 0x84ae73c, aspect2d :pgraph(debug): Constructing 0x84ae954, a2dBackground :pgraph(debug): Constructing 0x84aea94, a2dTopCenter :pgraph(debug): Constructing 0x84aec04, a2dTopCenterNS :pgraph(debug): Constructing 0x84aed64, a2dBottomCenter :pgraph(debug): Constructing 0x84aee94, a2dBottomCenterNS :pgraph(debug): Constructing 0x84af05c, a2dLeftCenter :pgraph(debug): Constructing 0x84af1ac, a2dLeftCenterNS :pgraph(debug): Constructing 0x84af2fc, a2dRightCenter :pgraph(debug): Constructing 0x84af42c, a2dRightCenterNS :pgraph(debug): Constructing 0x84af5cc, a2dTopLeft :pgraph(debug): Constructing 0x84af744, a2dTopLeftNS :pgraph(debug): Constructing 0x84af894, a2dTopRight :pgraph(debug): Constructing 0x85a1adc, a2dTopRightNS :pgraph(debug): Constructing 0x85a1c1c, a2dBottomLeft :pgraph(debug): Constructing 0x85a1d6c, a2dBottomLeftNS :pgraph(debug): Constructing 0x85a1ebc, a2dBottomRight :pgraph(debug): Constructing 0x85a1fec, a2dBottomRightNS :pgraph(debug): Constructing 0x85a2374, pixel2d :pgraph(debug): Constructing 0x85a266c, dataRoot :pgraph(debug): Constructing 0x85a277c, dataUnused :pgraph(debug): Constructing 0x85a2a04, render2dp :pgraph(debug): Constructing 0x84ad9dc, aspect2dp :pgraph(debug): Constructing 0x84adb6c, a2dpTopCenter :pgraph(debug): Constructing 0x84adcb4, a2dpBottomCenter :pgraph(debug): Constructing 0x84ade4c, a2dpLeftCenter :pgraph(debug): Constructing 0x8615e0c, a2dpRightCenter :pgraph(debug): Constructing 0x8615f5c, a2dpTopLeft :pgraph(debug): Constructing 0x86160fc, a2dpTopRight :pgraph(debug): Constructing 0x861624c, a2dpBottomLeft :pgraph(debug): Constructing 0x861639c, a2dpBottomRight :pgraph(debug): Constructing 0x86164cc, pixel2dp :display: loading display module: libpandagl.so :display(debug): symbol of get_pipe_type_pandagl = 0xb2ee5160 :display(debug): pipe_type_index = 649 :display(debug): pipe_type = glxGraphicsPipe Known pipe types: glxGraphicsPipe (all display modules loaded.) :display(debug): DisplayRegion::do_compute_pixels(640, 480) :display(debug): DisplayRegion::do_compute_pixels(640, 480) :display(debug): Creating new window window1 :display(debug): Created glxGraphicsWindow 0x88948b4 :display(debug): Windows resorted: window1(0) window1(0) :task(debug): AsyncTaskManager TaskManager task chain loader; 0 tasks: set_num_threads(1) :display:gsg:glgsg(debug): GL_VENDOR = Tungsten Graphics, Inc. :display:gsg:glgsg(debug): GL_RENDERER = Mesa DRI R100 (RS200 4437) 20090101 AGP 4x NO-TCL :display:gsg:glgsg(debug): GL_VERSION = 1.3 Mesa 7.8.2, decoded to 1.3 :display:gsg:glgsg(debug): GLX_VENDOR (client) = Mesa Project and SGI :display:gsg:glgsg(debug): GLX_VERSION (client) = 1.4 :display:gsg:glgsg(debug): GLX_VENDOR (server) = SGI :display:gsg:glgsg(debug): GLX_VERSION (server) = 1.2 :display:gsg:glgsg(debug): GLX_VERSION = 1.2 :display:gsg:glgsg(debug): GL Extensions: :display:gsg:glgsg(debug): GLX_ARB_get_proc_address :display:gsg:glgsg(debug): GLX_ARB_multisample :display:gsg:glgsg(debug): GLX_EXT_import_context :display:gsg:glgsg(debug): GLX_EXT_visual_info :display:gsg:glgsg(debug): GLX_EXT_visual_rating :display:gsg:glgsg(debug): GLX_MESA_copy_sub_buffer :display:gsg:glgsg(debug): GLX_MESA_swap_control :display:gsg:glgsg(debug): GLX_MESA_swap_frame_usage :display:gsg:glgsg(debug): GLX_OML_swap_method :display:gsg:glgsg(debug): GLX_SGIS_multisample :display:gsg:glgsg(debug): GLX_SGIX_fbconfig :display:gsg:glgsg(debug): GLX_SGIX_pbuffer :display:gsg:glgsg(debug): GLX_SGIX_visual_select_group :display:gsg:glgsg(debug): GLX_SGI_make_current_read :display:gsg:glgsg(debug): GLX_SGI_swap_control :display:gsg:glgsg(debug): GLX_SGI_video_sync :display:gsg:glgsg(debug): GL_APPLE_packed_pixels :display:gsg:glgsg(debug): GL_ARB_draw_buffers :display:gsg:glgsg(debug): GL_ARB_imaging :display:gsg:glgsg(debug): GL_ARB_multisample :display:gsg:glgsg(debug): GL_ARB_multitexture :display:gsg:glgsg(debug): GL_ARB_texture_border_clamp :display:gsg:glgsg(debug): GL_ARB_texture_compression :display:gsg:glgsg(debug): GL_ARB_texture_cube_map :display:gsg:glgsg(debug): GL_ARB_texture_env_add :display:gsg:glgsg(debug): GL_ARB_texture_env_combine :display:gsg:glgsg(debug): GL_ARB_texture_env_crossbar :display:gsg:glgsg(debug): GL_ARB_texture_env_dot3 :display:gsg:glgsg(debug): GL_ARB_texture_mirrored_repeat :display:gsg:glgsg(debug): GL_ARB_texture_rectangle :display:gsg:glgsg(debug): GL_ARB_transpose_matrix :display:gsg:glgsg(debug): GL_ARB_vertex_buffer_object :display:gsg:glgsg(debug): GL_ARB_window_pos :display:gsg:glgsg(debug): GL_ATI_texture_env_combine3 :display:gsg:glgsg(debug): GL_ATI_texture_mirror_once :display:gsg:glgsg(debug): GL_EXT_abgr :display:gsg:glgsg(debug): GL_EXT_bgra :display:gsg:glgsg(debug): GL_EXT_blend_color :display:gsg:glgsg(debug): GL_EXT_blend_logic_op :display:gsg:glgsg(debug): GL_EXT_blend_minmax :display:gsg:glgsg(debug): GL_EXT_blend_subtract :display:gsg:glgsg(debug): GL_EXT_compiled_vertex_array :display:gsg:glgsg(debug): GL_EXT_convolution :display:gsg:glgsg(debug): GL_EXT_copy_texture :display:gsg:glgsg(debug): GL_EXT_draw_range_elements :display:gsg:glgsg(debug): GL_EXT_fog_coord :display:gsg:glgsg(debug): GL_EXT_histogram :display:gsg:glgsg(debug): GL_EXT_multi_draw_arrays :display:gsg:glgsg(debug): GL_EXT_packed_depth_stencil :display:gsg:glgsg(debug): GL_EXT_packed_pixels :display:gsg:glgsg(debug): GL_EXT_polygon_offset :display:gsg:glgsg(debug): GL_EXT_rescale_normal :display:gsg:glgsg(debug): GL_EXT_secondary_color :display:gsg:glgsg(debug): GL_EXT_separate_specular_color :display:gsg:glgsg(debug): GL_EXT_stencil_wrap :display:gsg:glgsg(debug): GL_EXT_subtexture :display:gsg:glgsg(debug): GL_EXT_texture :display:gsg:glgsg(debug): GL_EXT_texture3D :display:gsg:glgsg(debug): GL_EXT_texture_cube_map :display:gsg:glgsg(debug): GL_EXT_texture_edge_clamp :display:gsg:glgsg(debug): GL_EXT_texture_env_add :display:gsg:glgsg(debug): GL_EXT_texture_env_combine :display:gsg:glgsg(debug): GL_EXT_texture_env_dot3 :display:gsg:glgsg(debug): GL_EXT_texture_filter_anisotropic :display:gsg:glgsg(debug): GL_EXT_texture_lod_bias :display:gsg:glgsg(debug): GL_EXT_texture_mirror_clamp :display:gsg:glgsg(debug): GL_EXT_texture_object :display:gsg:glgsg(debug): GL_EXT_texture_rectangle :display:gsg:glgsg(debug): GL_EXT_vertex_array :display:gsg:glgsg(debug): GL_IBM_multimode_draw_arrays :display:gsg:glgsg(debug): GL_IBM_rasterpos_clip :display:gsg:glgsg(debug): GL_IBM_texture_mirrored_repeat :display:gsg:glgsg(debug): GL_MESA_window_pos :display:gsg:glgsg(debug): GL_MESA_ycbcr_texture :display:gsg:glgsg(debug): GL_NV_blend_square :display:gsg:glgsg(debug): GL_NV_light_max_exponent :display:gsg:glgsg(debug): GL_NV_packed_depth_stencil :display:gsg:glgsg(debug): GL_NV_texgen_reflection :display:gsg:glgsg(debug): GL_NV_texture_rectangle :display:gsg:glgsg(debug): GL_OES_read_format :display:gsg:glgsg(debug): GL_SGIS_generate_mipmap :display:gsg:glgsg(debug): GL_SGIS_texture_border_clamp :display:gsg:glgsg(debug): GL_SGIS_texture_edge_clamp :display:gsg:glgsg(debug): GL_SGIS_texture_lod :display:gsg:glgsg(debug): GL_SGI_color_matrix :display:gsg:glgsg(debug): GL_SGI_color_table :display:gsg:glgsg(debug): GL_SUN_multi_draw_arrays :display:gsg:glgsg(debug): HAS EXT GL_ARB_point_parameters 0 :display:gsg:glgsg(debug): HAS EXT GL_ARB_point_sprite 0 :display:gsg:glgsg(debug): HAS EXT GL_OES_point_sprite 0 :display:gsg:glgsg(debug): HAS EXT GL_ARB_vertex_blend 0 :display:gsg:glgsg(debug): HAS EXT GL_ARB_matrix_palette 0 :display:gsg:glgsg(debug): HAS EXT GLX_ARB_get_proc_address 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_depth_texture 0 :display:gsg:glgsg(debug): HAS EXT GL_EXT_texture_array 0 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_cube_map 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_bgra 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_rescale_normal 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_multisample 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_non_power_of_two 0 :display:gsg:glgsg(debug): HAS EXT GL_ARB_depth_texture 0 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_combine 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_crossbar 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_env_dot3 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_vertex_buffer_object 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_geometry_shader4 0 :display:gsg:glgsg(debug): HAS EXT GL_EXT_framebuffer_object 0 :display:gsg:glgsg(debug): HAS EXT GL_EXT_framebuffer_multisample 0 :display:gsg:glgsg(debug): HAS EXT GL_NV_framebuffer_multisample_coverage 0 :display:gsg:glgsg(debug): HAS EXT GL_EXT_framebuffer_blit 0 :display:gsg:glgsg(debug): HAS EXT GL_ARB_draw_buffers 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_occlusion_query 0 :display:gsg:glgsg(debug): HAS EXT GL_SGIS_texture_edge_clamp 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_border_clamp 1 :display:gsg:glgsg(debug): HAS EXT GL_ARB_texture_mirrored_repeat 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_texture_mirror_clamp 1 :display:gsg:glgsg(debug): max texture dimension = 2048, max 3d texture = 256, max 2d texture array = 0, max cube map = 2048 :display:gsg:glgsg(debug): max_elements_vertices = 910, max_elements_indices = 910 :display:gsg:glgsg(debug): vertex buffer objects are supported. :display:gsg:glgsg(debug): No specific compressed texture formats are supported. :display:gsg:glgsg(debug): HAS EXT GL_EXT_texture_filter_anisotropic 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_stencil_wrap 1 :display:gsg:glgsg(debug): HAS EXT GL_EXT_stencil_two_side 0 :display:gsg:glgsg(debug): HAS EXT GL_ARB_draw_instanced 0 :display:gsg:glgsg(debug): HAS EXT GL_EXT_draw_instanced 0 :display:gsg:glgsg(debug): max lights = 8 :display:gsg:glgsg(debug): max clip planes = 6 :display:gsg:glgsg(debug): max texture stages = 3 :display:gsg:glgsg(debug): HAS EXT GLX_SGI_swap_control 1 :display:gsg:glgsg(debug): HAS EXT GLX_SGIX_fbconfig 1 :display:gsg:glgsg(debug): HAS EXT GLX_SGIX_pbuffer 1 :display:glxdisplay(debug): supports_swap_control = 1 :display:glxdisplay(debug): supports_fbconfig = 1 :display:glxdisplay(debug): supports_pbuffer = 0 sgix = 1 :display:glxdisplay: No suitable FBConfig contexts available. :display:x11display(debug): Raw mice not requested.
Program received signal SIGSEGV, Segmentation fault. __glXGenerateError (dpy=0x8512318, gc=0x0, resource=41943046, errorCode=8 '\b', minorCode=26) at glxcurrent.c:326 326 glxcurrent.c: No such file or directory. in glxcurrent.c (gdb) bt #0 __glXGenerateError (dpy=0x8512318, gc=0x0, resource=41943046, errorCode=8 '\b', minorCode=26) at glxcurrent.c:326 #1 0xb3782052 in MakeContextCurrent (dpy=0x8512318, draw=41943046, read=41943046, gc=0x0) at glxcurrent.c:372 #2 0xb37823f7 in glXMakeCurrent (dpy=0x8512318, draw=41943046, gc=0x0) at glxcurrent.c:545 #3 0xb2f2c71a in glxGraphicsWindow::open_window() () from /usr/local/lib/panda3d/libpandagl.so #4 0xb64343ad in GraphicsWindow::set_properties_now(WindowProperties&) () from /usr/local/lib/panda3d/libpanda.so #5 0xb2ee07ae in x11GraphicsWindow::set_properties_now(WindowProperties&) () from /usr/local/lib/panda3d/libpandagl.so #6 0xb642266b in GraphicsWindow::process_events() () from /usr/local/lib/panda3d/libpanda.so #7 0xb2ee14dc in x11GraphicsWindow::process_events() () from /usr/local/lib/panda3d/libpandagl.so #8 0xb6410f4e in GraphicsEngine::process_events(ov_set<PointerTo<GraphicsOutput>, IndirectLess<GraphicsOutput> > const&, Thread*) () from /usr/local/lib/panda3d/libpanda.so #9 0xb641e3fd in GraphicsEngine::WindowRenderer::do_windows(GraphicsEngine*, Thread*) () from /usr/local/lib/panda3d/libpanda.so #10 0xb64357f2 in GraphicsEngine::open_windows() () from /usr/local/lib/panda3d/libpanda.so #11 0xb643e946 in GraphicsEngine::make_output(GraphicsPipe*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int, FrameBufferProperties const&, WindowProperties const&, int, GraphicsStateGuardian*, GraphicsOutput*) () from /usr/local/lib/panda3d/libpanda.so #12 0xb64a1554 in Dtool_GraphicsEngine_make_output_552(_object*, _object*, _object*) () from /usr/local/lib/panda3d/libpanda.so #13 0xb7ece762 in PyCFunction_Call (func=0x847432c, arg=0x884cecc, kw=0x0) at Objects/methodobject.c:85 #14 0xb7f23023 in call_function (f=0x85a2ebc, throwflag=0) at Python/ceval.c:3750 #15 PyEval_EvalFrameEx (f=0x85a2ebc, throwflag=0) at Python/ceval.c:2412 #16 0xb7f24e10 in PyEval_EvalCodeEx (co=0xb7c79650, globals=0xb7c8224c, locals=0x0, args=0x8652e58, argcount=1, kws=0x85a2ea0, kwcount=1, defs=0x846ed28, defcount=12, closure=0x0) at Python/ceval.c:3000 #17 0xb7ebe985 in function_call (func=0x8489c6c, arg=0x8652e4c, kw=0x8599c64) at Objects/funcobject.c:524 #18 0xb7e98f5a in PyObject_Call (func=0x8489c6c, arg=0x8652e4c, kw=0x8599c64) at Objects/abstract.c:2492 #19 0xb7f23837 in ext_do_call (f=0x85a2d14, throwflag=0) at Python/ceval.c:4063 #20 PyEval_EvalFrameEx (f=0x85a2d14, throwflag=0) at Python/ceval.c:2452 #21 0xb7f24e10 in PyEval_EvalCodeEx (co=0xb7c79770, globals=0xb7c8224c, locals=0x0, args=0x8652e18, argcount=1, kws=0x85a9e98, kwcount=1, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3000 #22 0xb7ebe985 in function_call (func=0x8489d4c, arg=0x8652e0c, kw=0x8490934) at Objects/funcobject.c:524 #23 0xb7e98f5a in PyObject_Call (func=0x8489d4c, arg=0x8652e0c, kw=0x8490934) at Objects/abstract.c:2492 #24 0xb7f23837 in ext_do_call (f=0x85a2b9c, throwflag=0) at Python/ceval.c:4063 #25 PyEval_EvalFrameEx (f=0x85a2b9c, throwflag=0) at Python/ceval.c:2452 #26 0xb7f24e10 in PyEval_EvalCodeEx (co=0xb7c796e0, globals=0xb7c8224c, locals=0x0, args=0x85f4b70, argcount=1, kws=0x85f4b74, kwcount=2, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3000 #27 0xb7f23205 in fast_function (f=0x85f49e4, throwflag=0) at Python/ceval.c:3846 #28 call_function (f=0x85f49e4, throwflag=0) at Python/ceval.c:3771 #29 PyEval_EvalFrameEx (f=0x85f49e4, throwflag=0) at Python/ceval.c:2412 #30 0xb7f24e10 in PyEval_EvalCodeEx (co=0xb7c74b18, globals=0xb7c8224c, locals=0x0, args=0x86519b8, argcount=1, kws=0x0, kwcount=0, defs=0x8627578, defcount=2, closure=0x0) at Python/ceval.c:3000 #31 0xb7ebe9f4 in function_call (func=0x8489a3c, arg=0x86519ac, kw=0x0) at Objects/funcobject.c:524 #32 0xb7e98f5a in PyObject_Call (func=0x8489a3c, arg=0x86519ac, kw=0x0) at Objects/abstract.c:2492 #33 0xb7ea6e61 in instancemethod_call (func=0x842e0cc, arg=0x86519ac, kw=0x0) at Objects/classobject.c:2579 #34 0xb7e98f5a in PyObject_Call (func=0x842e0cc, arg=0x86519ac, kw=0x0) at Objects/abstract.c:2492 #35 0xb7f2337e in do_call (f=0x85a42b4, throwflag=0) at Python/ceval.c:3968 #36 call_function (f=0x85a42b4, throwflag=0) at Python/ceval.c:3773 #37 PyEval_EvalFrameEx (f=0x85a42b4, throwflag=0) at Python/ceval.c:2412 #38 0xb7f24e10 in PyEval_EvalCodeEx (co=0xb7c65bf0, globals=0xb7cbf24c, locals=0x0, args=0x8652b58, argcount=1, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3000 #39 0xb7ebe9f4 in function_call (func=0x866264c, arg=0x8652b4c, kw=0x0) at Objects/funcobject.c:524 #40 0xb7e98f5a in PyObject_Call (func=0x866264c, arg=0x8652b4c, kw=0x0) at Objects/abstract.c:2492 #41 0xb7ea6e61 in instancemethod_call (func=0x842e02c, arg=0x8652b4c, kw=0x0) at Objects/classobject.c:2579 #42 0xb7e98f5a in PyObject_Call (func=0x842e02c, arg=0xb7c8d02c, kw=0x0) at Objects/abstract.c:2492 #43 0xb7f1e31b in PyEval_CallObjectWithKeywords (func=0x842e02c, arg=0xb7c8d02c, kw=0x0) at Python/ceval.c:3619 #44 0xb7eaa799 in PyInstance_New (klass=0x884ce9c, arg=0xb7c8d02c, kw=0x0) at Objects/classobject.c:568 #45 0xb7e98f5a in PyObject_Call (func=0x884ce9c, arg=0xb7c8d02c, kw=0x0) at Objects/abstract.c:2492 #46 0xb7f2337e in do_call (f=0x80b372c, throwflag=0) at Python/ceval.c:3968 #47 call_function (f=0x80b372c, throwflag=0) at Python/ceval.c:3773 #48 PyEval_EvalFrameEx (f=0x80b372c, throwflag=0) at Python/ceval.c:2412 #49 0xb7f24e10 in PyEval_EvalCodeEx (co=0xb7c636e0, globals=0xb7cbf24c, locals=0xb7cbf24c, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3000 #50 0xb7f24ec5 in PyEval_EvalCode (co=0xb7c636e0, globals=0xb7cbf24c, locals=0xb7cbf24c) at Python/ceval.c:541 #51 0xb7f3d5c4 in run_mod (mod=<value optimized out>, filename=<value optimized out>, globals=0xb7cbf24c, locals=0xb7cbf24c, flags=0xbfffeddc, arena=0x807a2d0) at Python/pythonrun.c:1351 #52 0xb7f3d696 in PyRun_FileExFlags (fp=0x8065b28, filename=0xbffff0b7 "pandtut.py", start=257, globals=0xb7cbf24c, locals=0xb7cbf24c, closeit=1, flags=0xbfffeddc) at Python/pythonrun.c:1337 #53 0xb7f3ec30 in PyRun_SimpleFileExFlags (fp=0x8065b28, filename=0xbffff0b7 "pandtut.py", closeit=1, flags=0xbfffeddc) at Python/pythonrun.c:941 #54 0xb7f3f15c in PyRun_AnyFileExFlags (fp=0x8065b28, filename=0xbffff0b7 "pandtut.py", closeit=1, flags=0xbfffeddc) at Python/pythonrun.c:745 #55 0xb7f4a71d in Py_Main (argc=2, argv=0xbfffeed4) at Modules/main.c:584 #56 0x08048816 in main (argc=2, argv=0xbfffeed4) at ./Modules/python.c:46 (gdb)
Anything else a noob can do?
-
dropdeadsed
-
- Posts: 14
- Joined: Mon Feb 08, 2010 1:22 am
by drwr » Fri Oct 22, 2010 5:50 am
I remain baffled. The crash appears to be happening deep within your OpenGL driver, so there's little for me to go on here.
David
-
drwr
-
- Posts: 11253
- Joined: Fri Feb 13, 2004 12:42 pm
- Location: Glendale, CA
by dropdeadsed » Fri Oct 22, 2010 11:51 am
I downgraded mesa from 7.8.2 to 7.7.1 and panda walks again with no tweaks. I'll just leave it there for now, and file a bug with Gentoo.
-
dropdeadsed
-
- Posts: 14
- Joined: Mon Feb 08, 2010 1:22 am
by nurbs999 » Fri Oct 22, 2010 7:47 pm
thx for your replies, dropdeadsed.
downgrading mesa-libs worked for me, too.
could you send me a link for your gentoo bugreport, please?
greetings
nurbs999
-
nurbs999
-
- Posts: 23
- Joined: Sat Sep 11, 2010 11:25 am
- Location: Germany
by Phifo » Sat Oct 30, 2010 2:08 am
I have the same problem.
- Code: Select all
Known pipe types: glxGraphicsPipe (all display modules loaded.) Segmentation fault
I can't run the first manual example.
I downgrade mesa-libs (but i'm using archlinux not gentoo), but doesn't help me
Any ideas?
-
Phifo
-
- Posts: 10
- Joined: Mon May 03, 2010 12:51 am
by nurbs999 » Sat Nov 27, 2010 8:00 pm
try to set your notify level to debug. that slows down the panda boot and may help.
and could you please give us more info about our system?
kernel-version, mesa-lib version, graphics drivers and version. and which panda version are your running?
greetings
nurbs999
-
nurbs999
-
- Posts: 23
- Joined: Sat Sep 11, 2010 11:25 am
- Location: Germany
by Nemesis#13 » Sat Nov 27, 2010 8:19 pm
I guess it's because you built without JPEG support
[code]--no-jpeg[code]
Just for the record: in most, if not all, cases 'makepanda.py --everything' is all you need. It will detect missing libraries by itself and append all the --no-* parameters respectively.
Back to the problem. Having the same on my notebook (Archlinux x86_64, Intel Graphics chip).
I'll try to downgrade the mesa lib and let you know what happens. (Given i success in downgrading, which is a problem on arch..)
-

Nemesis#13
-
- Posts: 1041
- Joined: Mon Aug 04, 2008 8:09 pm
- Location: Germany
by rdb » Wed Apr 13, 2011 9:38 am
Blindly isolated the problem to this code:
- Code: Select all
if (!_supports_fbconfig) { // We have a good OpenGL context, but it doesn't support the // FBConfig interface, so we'll stop there. if (glxdisplay_cat.is_debug()) { glxdisplay_cat.debug() <<" No FBConfig supported; using XVisual only.\n";
glxdisplay_cat.debug() << _fbprops << "\n";
_context = _temp_context; _temp_context = (GLXContext)NULL;
// By convention, every indirect XVisual that can render to a // window can also render to a GLXPixmap. Direct visuals we're // not as sure about. _context_has_pixmap = !glXIsDirect(_display, _context);
// Pbuffers aren't supported at all with the XVisual interface. _context_has_pbuffer = false; }
So the context never gets initialised if there is no FBConfig support and if notify-level-glxdisplay is not debug. Will check in a fix, but I do wonder why _supports_fbconfig would be false in the case of Mesa.
So this may just be only a part of the problem.
-
rdb
-
- Posts: 8575
- Joined: Mon Dec 04, 2006 5:58 am
- Location: Netherlands
-
by rdb » Wed Apr 13, 2011 9:56 am
I think that the whole temp_context hack just doesn't work for many drivers- I have a hunch that it is causing the fact that these extensions (including the FBConfig one) are being queried incorrectly.
-
rdb
-
- Posts: 8575
- Joined: Mon Dec 04, 2006 5:58 am
- Location: Netherlands
-
Return to Installation
Who is online
Users browsing this forum: No registered users and 1 guest
| | |