Hello,
I follow MesaCVS quite closely, and I frequently build it
for my linux-alpha machine.
However, since a month or so, I can no longer run gl apps
linked against mesacvs libs.
build cmd:
make linux-alpha-elf (I also tried autoconf)
*ALL* apps crash with a segm violation, except for glinfo.
They all crash in xform funcs.
root@jerom:/usr/src/MesaCVS/demos# ldd gears
libglut.so.3 => /usr/local/lib/libglut.so.3 (0x0000020000006000)
libGLU.so.3 => /usr/local/lib/libGLU.so.3 (0x000002000015e000)
libGL.so.3 => /usr/local/lib/libGL.so.3 (0x0000020000276000)
libm.so.6.1 => /lib/libm.so.6.1 (0x00000200004e0000)
libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x0000020000618000)
libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x0000020000802000)
libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x0000020000912000)
libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x0000020000a2e000)
libc.so.6.1 => /lib/libc.so.6.1 (0x0000020000b3a000)
libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x0000020000d68000)
libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x0000020000ed6000)
libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x0000020001120000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x0000020001000000)
Program received signal SIGSEGV, Segmentation fault.
transform_points3_general_raw (to_vec=0x12011ede8, mat=0x12010d9e0,
from_vec=0x120192f70, mask=0x0, flag=0 '\000') at xform_tmp.h:527
527 to[i][0] = m0 * ox + m4 * oy + m8 * oz + m12;
(gdb) where
#0 transform_points3_general_raw (to_vec=0x12011ede8, mat=0x12010d9e0,
from_vec=0x120192f70, mask=0x0, flag=0 '\000') at xform_tmp.h:527
#1 0x2000045ad48 in do_vertex_pipeline (VB=0x12011ec80) at stages.c:333
#2 0x200004325d4 in gl_run_pipeline (VB=0x12011ec80) at pipeline.c:470
#3 0x2000049a7b4 in gl_execute_cassette (ctx=0x12010b2b0, IM=0x1201741d0)
at vbxform.c:877
#4 0x200003f2cec in execute_list (ctx=0x12010b2b0, list=1) at dlist.c:2457
#5 0x200003f4468 in gl_CallList (ctx=0x12010b2b0, list=1) at dlist.c:3086
#6 0x200003be164 in glCallList (list=537975264) at api1.c:176
#7 0x120003a44 in draw () at gears.c:186
#8 0x200001432ec in processWindowWorkList (window=0x120107450)
at glut_event.c:1273
#9 0x20000143428 in __glutProcessWindowWorkLists () at glut_event.c:1320
#10 0x200001434dc in glutMainLoop () at glut_event.c:1341
#11 0x1200045c4 in main (argc=1, argv=0x11ffffbb8) at gears.c:351
The problem is in to_vec
(gdb) print* to_vec->data
Cannot access memory at address 0x20120fc0.
2D apps like bounce, crash in transform_points2_3d_no_rot_raw,
in another line of xform_tmp.h
I don't think it is a 64bit long thing, because a lot of people
run on Irix, and there have been no complaints.
Anyone got an idea what it can be?
Bram
_______________________________________________
Mesa-dev maillist - [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev