Hi today after update srcs from cvs trunk (Mesa, drm and xc ) got this error on foobillard 2.9, I send gdb of the bug in debug.txt file.
thanks -- Sérgio M. B.
(gdb) run Starting program: /usr/local/bin/foobillard [Thread debugging using libthread_db enabled] [New Thread 16384 (LWP 7262)] 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 the color <0xrrggbb> means one byte for each red, green, blue Program received signal SIGFPE, Arithmetic exception. [Switching to Thread 16384 (LWP 7262)] 0x40759088 in _mesa_test_os_sse_exception_support () from /usr/X11R6/lib/modules/dri/savage_dri.so (gdb) Backtrace #0 0x40759088 in _mesa_test_os_sse_exception_support () from /usr/X11R6/lib/modules/dri/savage_dri.so #1 0x40758c96 in check_os_sse_support () at common_x86.c:192 #2 0x40758de4 in _mesa_init_all_x86_transform_asm () at common_x86.c:352 #3 0x406da977 in _math_init () at m_xform.c:216 #4 0x4066b0c2 in one_time_init (ctx=0x80bbcb0) at context.c:772 #5 0x4066b95a in _mesa_initialize_context (ctx=0x80bbcb0, visual=0x80b7c78, share_list=0x0, driverFunctions=0xbffff150, driverContext=0x80bb510) at context.c:1394 #6 0x4066bb4d in _mesa_create_context (visual=0x80b7c78, share_list=0x0, driverFunctions=0xbffff150, driverContext=0x80bb510) at context.c:1494 #7 0x40778c2a in savageCreateContext (mesaVis=0x80b7c78, driContextPriv=0x80b9a40, sharedContextPrivate=0x0) at savage_xmesa.c:254 #8 0x40658d40 in driCreateNewContext (dpy=0x80b24c8, modes=0x80b7c78, render_type=0, sharedPrivate=0x0, pctx=0x80bb034) at dri_util.c:1022 #9 0x40128e16 in DriverCreateContextWrapper (psc=0x80b79f8, dpy=0x80b24c8, vis=0x80ba990, shared=0x0, ctx=0x80bb034, modes=0x0, render_type=0) at glxcmds.c:253 #10 0x40129273 in CreateContext (dpy=0x80b24c8, vis=0x80ba990, fbconfig=0x0, shareList=0x0, allowDirect=1, contextID=134969848, use_glx_1_3=0, renderType=0) at glxcmds.c:579 #11 0x40129557 in glXCreateContext (dpy=0x80b24c8, vis=0x80ba990, shareList=0x0, allowDirect=1) at glxcmds.c:657 #12 0x400a3048 in __glutCreateWindow () from /usr/lib/libglut.so.3 #13 0x400a3117 in glutCreateWindow () from /usr/lib/libglut.so.3 #14 0x08056b64 in main (argc=1, argv=0xbffff644) at billard3d.c:4988 (gdb) continue Continuing. player_copy1 player_copy2 player_copy3 Sergio player_copy3.5 player_copy4 player_copy1 player_copy2 player_copy3 Bot player_copy3.5 player_copy4 foobillard: s_span.c:565: interpolate_texcoords: Assertion `span->interpMask & 0x010' failed. Program received signal SIGABRT, Aborted. 0x402a0b31 in kill () from /lib/i686/libc.so.6 (gdb) Backtrace #0 0x402a0b31 in kill () from /lib/i686/libc.so.6 #1 0x403bd221 in pthread_kill () from /lib/i686/libpthread.so.0 #2 0x00000006 in ?? () #3 0x403c2ca4 in __JCR_LIST__ () from /lib/i686/libpthread.so.0 #4 0x00000006 in ?? () #5 0x08659ea0 in ?? () #6 0xbfffe784 in ?? () #7 0x403bd59b in raise () from /lib/i686/libpthread.so.0 Previous frame inner to this frame (corrupt stack?)