On Sat, 2004-03-06 at 15:21, Michel Dänzer wrote: > On Sat, 2004-03-06 at 15:21, Sérgio Monteiro Basto wrote: > > On Sat, 2004-03-06 at 11:46, Michel Dänzer wrote: > > > You need to get a stack trace with gdb or at least catchsegv. > > Is this a stack trace ? > > [...] > > > Program received signal SIGFPE, Arithmetic exception. > > [Switching to Thread 16384 (LWP 28125)] > > 0x4075d064 in _mesa_test_os_sse_exception_support () from > > /usr/X11R6/lib/modules/dri/savage_dri.so > > Look at the function name: that exception is expected in the course of > SSE support detection. Do > > continue > > and when you get to the actual crash do
Well, gdb continue hangs my laptop, but I try dgb foobillar >& log.txt and I got this results. thanks -- Sérgio M. B.
GNU gdb Red Hat Linux (5.3.90-0.20030710.41rh) Copyright 2003 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-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run Starting program: /usr/local/bin/foobillard [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 3404)] usage: foobillard [--option [<arg>]] options: --player1 <arg> arg=ai|human set player1 ai/human --player2 <arg> arg=ai|human set player2 ai/human --p1 <arg> arg=ai|human set player1 ai/human --p2 <arg> arg=ai|human set player2 ai/human --name1 <arg> set name of player1 --name2 <arg> set name of player2 --8ball 8ball pool game --9ball 9ball pool game --carambol carambol billard game --snooker snooker billard game --tablecolor <arg> table color in C-style hex notation <0xrrggbb> --edgecolor <arg> edge color in C-style hex notation <0xrrggbb> --framecolor <arg> frame color in C-style hex notation <0xrrggbb> --chromeblue blue table with chrome edges --goldgreen green table with gold edges --goldred red table with gold edges --blackwhite balck table with white frame --blackbeige beige table with balck metal --tablesize <arg> table size (length) in foot (default=7.0) --lensflare turn on lensfare --nolensflare turn off lensfare --poslight use positional light --dirlight use directional light --ai1err <arg> to err is artificial (player1 error 0..1) --ai2err <arg> to err is artificial (player2 error 0..1) --balldetail <arg> set ball detail l[ow] m[edium] h[igh] or v[eryhigh] --rgstereo start in stereo mode (red-green(cyan)) --rgaim <arg> arg=left|right|middle for aiming eye position --hostaddr <arg> arg=IP-address for TCP/IP connection --portnum <arg> arg=port# for TCP/IP connection --geometry <arg> <width>x<height> window geometry --fullscreen play in fullscreen mode --freemove <arg> arg=on|off free move in external view mode --cuberef <arg> arg=on|off rendered cubemep reflections --cuberes <arg> arg=<texture size for cuberef> (must be power of 2) --bumpref <arg> arg=on|off bumpmap reflections of edges --bumpwood <arg> arg=on|off bumpmap of wood covers --balltraces <arg> arg=on|off trace lines of balls --gamemode <arg> arg=match|training|tournament --fresnel <arg> arg=on|off fresnel ball reflections --avatar <arg> arg=on|off enable/disable abatar --tourfast <arg> arg=1.0..10.0 AI fast motion ratio for tournament --help this help processing option 0=human processing option 1=ai processing option 2=Sergio processing option 3=Bot processing option 8=(null) processing option 13=(null) processing option 17=9.000000 processing option 22=0.000000 processing option 23=0.100000 processing option 24=h processing option 26=m processing option 27=192.168.1.1 processing option 28=56341 processing option 29=1024x768 processing option 30=(null) processing option 31=on processing option 32=off processing option 33=128 processing option 34=on processing option 35=on processing option 36=off processing option 37=match processing option 38=off processing option 39=off processing option 40=500.000000 main:rgstereo=0 Program received signal SIGFPE, Arithmetic exception. [Switching to Thread 16384 (LWP 3404)] 0x4075d064 in _mesa_test_os_sse_exception_support () from /usr/X11R6/lib/modules/dri/savage_dri.so (gdb) continue Continuing. extension_cubemap=0 extension_multitexture=1 extension_ts_NV=0 extension_rc_NV=0 extension_vp_NV=0 width=128 height=128 bit_depth=8 color_type=2 interlace_type=0 compression_type=0 filter_type=0 channels=3 rowbytes=384 load_png: rgstereo=0 spheretexbind=1 width=128 height=128 bit_depth=8 color_type=0 interlace_type=0 compression_type=0 filter_type=0 channels=1 rowbytes=128 load_png: rgstereo=0 fblogotexbind=2 width=128 height=128 bit_depth=8 color_type=0 interlace_type=0 compression_type=0 filter_type=0 channels=1 rowbytes=128 load_png: rgstereo=0 placecueballtexbind=3 width=128 height=128 bit_depth=8 color_type=0 interlace_type=0 compression_type=0 filter_type=0 channels=1 rowbytes=128 load_png: rgstereo=0 blendetexbind=4 width=128 height=128 bit_depth=8 color_type=0 interlace_type=0 compression_type=0 filter_type=0 channels=1 rowbytes=128 load_png: rgstereo=0 lightflaretexbind=5 width=64 height=64 bit_depth=8 color_type=0 interlace_type=0 compression_type=0 filter_type=0 channels=1 rowbytes=64 load_png: rgstereo=0 fullsymboltexbind=6 width=64 height=64 bit_depth=8 color_type=0 interlace_type=0 compression_type=0 filter_type=0 channels=1 rowbytes=64 load_png: rgstereo=0 halfsymboltexbind=7 width=64 height=64 bit_depth=8 color_type=0 interlace_type=0 compression_type=0 filter_type=0 channels=1 rowbytes=64 load_png: rgstereo=0 fullhalfsymboltexbind=8 width=128 height=128 bit_depth=8 color_type=2 interlace_type=0 compression_type=0 filter_type=0 channels=3 rowbytes=384 load_png: rgstereo=0 lightspheretexbind=9 width=512 height=64 bit_depth=8 color_type=2 interlace_type=0 compression_type=0 filter_type=0 channels=3 rowbytes=1536 load_png: rgstereo=0 width=256 height=256 bit_depth=8 color_type=0 interlace_type=0 compression_type=0 filter_type=0 channels=1 rowbytes=256 load_png: rgstereo=0 width=64 height=64 bit_depth=8 color_type=0 interlace_type=0 compression_type=0 filter_type=0 channels=1 rowbytes=64 load_png: rgstereo=0 enabling depth test FT_Done_FreeType ready FT_Done_FreeType ready FT_Done_FreeType ready FT_Done_FreeType ready FT_Done_FreeType ready FT_Done_FreeType ready textObj_setText: obj=0x83747d8, text=Sergio textObj_setText 0 textObj_setText 0.5 obj->tex_id=15 textObj_setText 0.75 textObj_setText 1 FT_Done_FreeType ready textObj_setText 2 textObj_setText: obj=0x837e840, text=Bot textObj_setText 0 textObj_setText 0.5 obj->tex_id=16 textObj_setText 0.75 textObj_setText 1 FT_Done_FreeType ready textObj_setText 2 # of AUX-buffers:0 Info for output fragments = 6 fragstotal = 6 fragsize = 1024 bytes = 6144 loading ball-ball sound creating winner text obj's FT_Done_FreeType ready FT_Done_FreeType ready created winner text obj's mode_num=0 menu_num=1 menu_new: menu_add_entry: menu_new: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_submenu: menu_add_submenu: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_submenu: menu_add_submenu: menu_add_submenu: menu_add_exit: menu_new: menu_add_submenu: menu_add_submenu: menu_add_submenu: menu_add_submenu: menu_add_submenu: menu_add_submenu: menu_add_submenu: menu_add_submenu: menu_add_submenu: menu_add_submenu: menu_add_exit: menu_new: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_arg_entry: menu_add_submenu: menu_add_submenu: menu_add_exit: menu_new: menu_add_arg_entry: menu_add_submenu: menu_add_submenu: menu_add_exit: menu_new: menu_add_entry: menu_add_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_arg_entry: menu_add_arg_entry: menu_add_arg_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_arg_entry: menu_add_arg_entry: menu_add_entry: menu_add_exit: menu_new: menu_add_submenu: menu_add_submenu: menu_add_exit: menu_new: menu_add_submenu: menu_add_submenu: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_exit: menu_new: menu_add_entry: menu_add_exit: menu_new: menu_add_submenu: menu_add_submenu: menu_add_submenu: menu_add_submenu: menu_add_exit: menu_new: menu_add_submenu: menu_add_entry: menu_add_submenu: menu_add_exit: menu_new: menu_add_exit: menu_add_submenu: menu_add_submenu: menu_add_entry: menu_add_submenu: Program received signal SIGSEGV, Segmentation fault. 0x40757507 in generic_interp (ctx=0x0, t=0.918080449, edst=96, eout=21, ein=22, force_boundary=0 '\0') at t_vertex.c:736 736 a[0].insert[4-1]( &a[0], vdst, pos ); (gdb)