2009/5/18 Brian Paul <[email protected]>: > Commit f2445dfd85b42aafe0634e17b2929b4122ff3f03 should help with your > glXWaitGL() issue. The fix is on the 7.5 branch and will probably be > merged to master pretty soon. I have tried mesa 7.4, 7.5, 7.6 and the git version a few days ago, the crash remains there. I will try the new version of mesa when debian has a upgrade of it. Thank you! > > -Brian > > 明覺 wrote: >> some new information about the issue: if I install nvidia video card >> driver from the Nvidia company, which contains its own opengl library >> implementation, the crash will not occur. I'm not very clear about the >> concept of "video card driver" and "opengl library", but generally the >> bug should exist in either the driver or the opengl library >> implementation. >> thanks >> >> 2009/5/14 明覺 <[email protected]>: >>> 2009/5/13 Brian Paul <[email protected]>: >>>> That's all that valgrind reports? There's no error detected in the >>>> glLightfv() call? >>>> >>>> I believe the error reported above was fixed on May 4th with commit >>>> e9d5569bf3e5d7a78a790c144aed275f1a32f325 (a few days after the >>>> snapshot you have). >>> Thanks for the informtion! I'm testing several applications using >>> opengl, and this one crashes at glXWaitGL(). After I get mesa source >>> code from gif by "git clone >>> git://anongit.freedesktop.org/git/mesa/mesa", and installed it by >>> "autogen.sh --prefix=/usr, make, make install, (restart machine)", >>> errors still occur when i resize window or close window, here is a >>> summary of the error report from valgind, attached is the full >>> valgrind report. any advice? thanks >>> ----------------------------------------------------------------------------------------- >>> ==3503== ERROR SUMMARY: 3 errors from 2 contexts (suppressed: 275 from 5) >>> ==3503== >>> ==3503== 1 errors in context 1 of 2: >>> ==3503== Conditional jump or move depends on uninitialised value(s) >>> ==3503== at 0x5F8BF98: glXWaitGL (glxcmds.c:620) >>> ==3503== by 0x5AD6730: _gdk_gl_context_destroy (gdkglcontext-x11.c:95) >>> ==3503== by 0x5ABA8B1: gdk_gl_context_destroy (gdkglcontext.c:118) >>> ==3503== by 0x5243BC1: gtk_gl_widget_unrealize (gtkglwidget.c:149) >>> ==3503== by 0x9CB211C: g_closure_invoke (gclosure.c:767) >>> ==3503== by 0x9CC5C2A: signal_emit_unlocked_R (gsignal.c:3247) >>> ==3503== by 0x9CC7021: g_signal_emit_valist (gsignal.c:2980) >>> ==3503== by 0x9CC74F2: g_signal_emit (gsignal.c:3037) >>> ==3503== by 0x792ED61: gtk_widget_unrealize (in >>> /usr/lib/libgtk-x11-2.0.so.0.1600.1) >>> ==3503== by 0x7934ABC: gtk_widget_unparent (in >>> /usr/lib/libgtk-x11-2.0.so.0.1600.1) >>> ==3503== by 0x783C257: (within /usr/lib/libgtk-x11-2.0.so.0.1600.1) >>> ==3503== by 0x9CB211C: g_closure_invoke (gclosure.c:767) >>> ==3503== Uninitialised value was created by a heap allocation >>> ==3503== at 0x4C2391E: malloc (vg_replace_malloc.c:207) >>> ==3503== by 0x5FACEFD: driCreateScreen (drisw_glx.c:362) >>> ==3503== by 0x5F8DDEE: __glXInitialize (glxext.c:622) >>> ==3503== by 0x5F8918C: GetGLXPrivScreenConfig (glxcmds.c:183) >>> ==3503== by 0x5F8A00E: glXChooseVisual (glxcmds.c:1304) >>> ==3503== by 0x5AD60CB: gdk_gl_config_new_common (gdkglconfig-x11.c:519) >>> ==3503== by 0x5ABA1EE: gdk_gl_config_new_rgb (gdkglconfig.c:193) >>> ==3503== by 0x5ABA316: gdk_gl_config_new_by_mode_common >>> (gdkglconfig.c:210) >>> ==3503== by 0x503A75A: Gdk::GL::Config::create(Gdk::GL::ConfigMode) >>> (in /usr/lib/libgdkglextmm-x11-1.2.so.0.0.0) >>> ==3503== by 0x4149FB: SurfaceView::SurfaceView(bool) (SurfaceView.cc:81) >>> ==3503== by 0x415171: MechanicalSystemUi::MechanicalSystemUi() (Ui.cc:19) >>> ==3503== by 0x40E1D0: main (main.cc:66) >>> ==3503== >>> ==3503== 2 errors in context 2 of 2: >>> ==3503== Conditional jump or move depends on uninitialised value(s) >>> ==3503== at 0x5F8BE57: glXWaitX (glxcmds.c:659) >>> ==3503== by 0x9CB211C: g_closure_invoke (gclosure.c:767) >>> ==3503== by 0x9CC5C2A: signal_emit_unlocked_R (gsignal.c:3247) >>> ==3503== by 0x9CC7021: g_signal_emit_valist (gsignal.c:2980) >>> ==3503== by 0x9CC74F2: g_signal_emit (gsignal.c:3037) >>> ==3503== by 0x792D269: gtk_widget_size_allocate (in >>> /usr/lib/libgtk-x11-2.0.so.0.1600.1) >>> ==3503== by 0x783F157: (within /usr/lib/libgtk-x11-2.0.so.0.1600.1) >>> ==3503== by 0x9CB206E: g_closure_invoke (gclosure.c:767) >>> ==3503== by 0x9CC5512: signal_emit_unlocked_R (gsignal.c:3177) >>> ==3503== by 0x9CC7021: g_signal_emit_valist (gsignal.c:2980) >>> ==3503== by 0x9CC74F2: g_signal_emit (gsignal.c:3037) >>> ==3503== by 0x792D269: gtk_widget_size_allocate (in >>> /usr/lib/libgtk-x11-2.0.so.0.1600.1) >>> ==3503== Uninitialised value was created by a heap allocation >>> ==3503== at 0x4C2391E: malloc (vg_replace_malloc.c:207) >>> ==3503== by 0x5FACEFD: driCreateScreen (drisw_glx.c:362) >>> ==3503== by 0x5F8DDEE: __glXInitialize (glxext.c:622) >>> ==3503== by 0x5F8918C: GetGLXPrivScreenConfig (glxcmds.c:183) >>> ==3503== by 0x5F8A00E: glXChooseVisual (glxcmds.c:1304) >>> ==3503== by 0x5AD60CB: gdk_gl_config_new_common (gdkglconfig-x11.c:519) >>> ==3503== by 0x5ABA1EE: gdk_gl_config_new_rgb (gdkglconfig.c:193) >>> ==3503== by 0x5ABA316: gdk_gl_config_new_by_mode_common >>> (gdkglconfig.c:210) >>> ==3503== by 0x503A75A: Gdk::GL::Config::create(Gdk::GL::ConfigMode) >>> (in /usr/lib/libgdkglextmm-x11-1.2.so.0.0.0) >>> ==3503== by 0x4149FB: SurfaceView::SurfaceView(bool) (SurfaceView.cc:81) >>> ==3503== by 0x415171: MechanicalSystemUi::MechanicalSystemUi() (Ui.cc:19) >>> ==3503== by 0x40E1D0: main (main.cc:66) >>> >>> >>> -- >>> 我的操作系統是Gnu/Linux Debian/gNewSense Gnome Mozilla Gmail/Evolution >>> Gtkmm/Gtkglextmm Scim Totem Pidgin. >>> >> >> >> > >
-- 我的操作系統是Gnu/Linux Debian/gNewSense Gnome Mozilla Gmail/Evolution Gtkmm/Gtkglextmm Scim Totem Pidgin. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
