now debug.txt
On Fri, 2004-04-23 at 15:06, Brian Paul wrote:
> Felix K�hling wrote:
> > I can reproduce this here too. I got a backtrace (see below) and took a
> > look around s_linetemp.h. There is no INTERP_W for lines so the
> > assertion must fail for textured lines.
> >
> > Don't worry about the segfault, that's my own assert macro. Without that
> > I can't get a backtrace with my gdb+glibc combination. For the same
> > reason line numbers are off by 7 in s_span.c (sorry for the
> > inconvenience).
> >
> > s_span.c(572): interpolate_texcoords: Assertion 'span->interpMask & SPAN_W' failed.
>
> I've checked in the fix. It was some code I mistakenly left in place
> from testing.
>
> -Brian
--
S�rgio M. B.
tarting program: /usr/local/bin/foobillard
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 8945)]
foobillard seems not to be installed
assuming data directory 'data' instead of '/usr/local/share/foobillard/'
still no data - assuming data directory '../data'
cannot find valid data directory
(assuming the current dir contains the data)
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 avatar
--tourfast <arg>
arg=1.0..10.0 AI fast motion ratio for tournament
--clothtex <arg>
arg=on|off for table detail map
--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 8945)]
0x407591bc in _mesa_test_os_sse_exception_support () from
/usr/X11R6/lib/modules/dri/savage_dri.so
(gdb) backtrace
#0 0x407591bc in _mesa_test_os_sse_exception_support () from
/usr/X11R6/lib/modules/dri/savage_dri.so
#1 0x40758dca in check_os_sse_support () at common_x86.c:192
#2 0x40758f18 in _mesa_init_all_x86_transform_asm () at common_x86.c:352
#3 0x406daa9f in _math_init () at m_xform.c:216
#4 0x4066b19a in one_time_init (ctx=0x80bf670) at context.c:772
#5 0x4066ba32 in _mesa_initialize_context (ctx=0x80bf670, visual=0x80bb638,
share_list=0x0,
driverFunctions=0xbffff150, driverContext=0x80beed0) at context.c:1394
#6 0x4066bc25 in _mesa_create_context (visual=0x80bb638, share_list=0x0,
driverFunctions=0xbffff150,
driverContext=0x80beed0) at context.c:1494
#7 0x40778d4a in savageCreateContext (mesaVis=0x80bb638, driContextPriv=0x80bd400,
sharedContextPrivate=0x0)
at savage_xmesa.c:254
#8 0x40658d20 in driCreateNewContext (dpy=0x80b5e88, modes=0x80bb638, render_type=0,
sharedPrivate=0x0,
pctx=0x80be9f4) at dri_util.c:1022
#9 0x40128e16 in DriverCreateContextWrapper (psc=0x80bb3b8, dpy=0x80b5e88,
vis=0x80be350, shared=0x0,
ctx=0x80be9f4, modes=0x0, render_type=0) at glxcmds.c:253
#10 0x40129273 in CreateContext (dpy=0x80b5e88, vis=0x80be350, fbconfig=0x0,
shareList=0x0, allowDirect=1,
contextID=134984632, use_glx_1_3=0, renderType=0) at glxcmds.c:579
#11 0x40129557 in glXCreateContext (dpy=0x80b5e88, vis=0x80be350, 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 0x08056c5c in main (argc=1, argv=0xbffff644) at billard3d.c:5028
(gdb) continue
Continuing.
free(): invalid pointer 0xbffff3b4!
Program received signal SIGSEGV, Segmentation fault.
0x402e7ae9 in free () from /lib/i686/libc.so.6
(gdb) backtrace
#0 0x402e7ae9 in free () from /lib/i686/libc.so.6
#1 0x08072b4c in create_table (reflect_bind=1, borders=0x80b44a0, carambol=0) at
table.c:1219
#2 0x08056ab3 in Init () at billard3d.c:4923
#3 0x08056c72 in main (argc=1, argv=0xbffff644) at billard3d.c:5032