[...] >> hmm, that's odd. I still get floating point exceptions for almost >> every GL-app. with TCL disabled. >> >> Demos that _do_ work with TCL disabled include: >> clearspd, drawpix, gamma, glinfo, lodbias, readpix, winpos >> >> Maybe this can give you a clue, why some are working and some aren't? >> >> Could I have messed something up during checking >> out/compiling/installing that is causing these FPE's? > > > Can you run with gdb and find where the FP exception is happening? >
Well, first I gotta admit that I don't have any experience in debugging, so this log might be completely useless. If that's the case, I'd appreciate if anyone can give me a quick howto in basic debugging. harkpabst [../MESA-CVS/Mesa/demos] $ export R200_NO_TCL=1 harkpabst [../MESA-CVS/Mesa/demos] $ gdb ./gears GNU gdb 2002-08-18-cvs Copyright 2002 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 "i386-linux"...(no debugging symbols found)... (gdb) run Starting program: /mnt/hdc1/benutzer/src/dri/MESA-CVS/Mesa/demos/gears [New Thread 1024 (LWP 27531)] Program received signal SIGFPE, Arithmetic exception. [Switching to Thread 1024 (LWP 27531)] 0x406452df in _mesa_test_os_sse_exception_support () from /usr/X11R6-DRI/lib/modules/dri/r200_dri.so (gdb) c Continuing. disabling TCL support Program received signal SIGFPE, Arithmetic exception. 0x4064872a in _mesa_sse_transform_points3_general () from /usr/X11R6-DRI/lib/modules/dri/r200_dri.so (gdb) bt #0 0x4064872a in _mesa_sse_transform_points3_general () from /usr/X11R6-DRI/lib/modules/dri/r200_dri.so #1 0x08055e10 in ?? () #2 0x40644e01 in init_vertex_stage (ctx=0x805ba68, stage=0x81da6cc) at t_vb_vertex.c:286 #3 0x4060b704 in _tnl_run_pipeline (ctx=0x805ba68) at t_pipeline.c:155 #4 0x40653ddc in r200WrapRunPipeline (ctx=0x805ba68) at r200_state.c:2088 #5 0x40608eb5 in _tnl_run_cassette (ctx=0x805ba68, IM=0x81e14a0) at t_imm_exec.c:400 #6 0x405fe5f4 in execute_compiled_cassette (ctx=0x805ba68, data=0x81f372c) at t_imm_dlist.c:377 #7 0x404cd6a0 in execute_list (ctx=0x805ba68, list=1) at dlist.c:4218 #8 0x404d0556 in _mesa_CallList (list=1) at dlist.c:5095 #9 0x4055ac4a in neutral_CallList (i=1) at /mnt/hdc1/benutzer/src/dri/MESA-CVS/Mesa/src/vtxfmt_tmp.h:339 #10 0x0804cad7 in draw () #11 0x40030d55 in processWindowWorkList (window=0x64) at glut_event.c:1297 #12 0x4019a0bf in __libc_start_main () from /lib/libc.so.6 (gdb) quit A debugging session is active. Do you still want to close the debugger?(y or n) y harkpabst [../MESA-CVS/Mesa/demos] $ Do you require backtraces from more different demos? One other thing that might be worth noting: Starting quake3.x86 from text console within gdb (switch to vt with C-M-F1, export DISPLAY=:0, gdb ./quake3.x86, run, c) does work with TCL disabled, for some reason. I attached some info about my system (cpuinfo, compiler-version etc.) Stefan > -Brian > >
sysinfo.bz2
Description: Binary data
