Please do not reply to this email: if you want to comment on the bug, go to    
       
the URL shown below and enter yourcomments there.     
   
https://bugs.freedesktop.org/show_bug.cgi?id=6484          
     




------- Additional Comments From [EMAIL PROTECTED]  2006-04-04 01:38 -------
I compiled 64 bit mesa now with gcc 3.4.2 from sunfreeware and it crashes, too
but with other errors.

./gears
One time I get an assertion:

146 frames in  5.007 seconds = 29.159 FPS
Assertion failed: a[j].inputstride == vptr->stride, file tnl/t_vertex.c, line 
382
Abort (core dumped)

Loaded symbols for /usr/platform/SUNW,Sun-Blade-1500/lib/sparcv9/libc_psr.so.1
#0  0xffffffff7e4a8cbc in _libc_kill () from /usr/lib/64/libc.so.1
(gdb) bt
#0  0xffffffff7e4a8cbc in _libc_kill () from /usr/lib/64/libc.so.1
#1  0xffffffff7e43e440 in abort () from /usr/lib/64/libc.so.1
#2  0xffffffff7e43e744 in _assert () from /usr/lib/64/libc.so.1
#3  0xffffffff7e9a0a30 in _tnl_build_vertices (ctx=0x100120df0, start=0,
end=164, newinputs=2124021760) at tnl/t_vertex.c:382
#4  0xffffffff7e98e014 in run_render (ctx=0x100120df0, stage=0x100399598) at
tnl/t_vb_render.c:295
#5  0xffffffff7e974728 in _tnl_run_pipeline (ctx=0x100120df0) at
tnl/t_pipeline.c:158
#6  0xffffffff7e981ae4 in _tnl_playback_vertex_list (ctx=0x100120df0, data=0xf)
at tnl/t_save_playback.c:209
#7  0xffffffff7e89edc4 in execute_list (ctx=0x100120df0, list=8063928) at
main/dlist.c:5681
#8  0xffffffff7e89f814 in _mesa_CallList (list=4097) at main/dlist.c:6749
#9  0x0000000100002ec4 in draw () at gears.c:189
#10 0xffffffff7f023ba0 in processWindowWorkList (window=0x100110b40) at
glut_event.c:1297
#11 0xffffffff7f023f88 in glutMainLoop () at glut_event.c:1344
#12 0x000000010000394c in main (argc=1, argv=0xffffffff7ffff0a8) at gears.c:379

(gdb) f 3
#3  0xffffffff7e9a0a30 in _tnl_build_vertices (ctx=0x100120df0, start=0,
end=164, newinputs=2124021760) at tnl/t_vertex.c:382
382              assert(a[j].inputstride == vptr->stride);
(gdb) print j
No symbol "j" in current context.
(gdb) print vptr
$1 = (GLvector4f *) 0x10039c530
(gdb) print vptr->stride
$2 = 0

Normally an bus error occurs
#0  0xffffffff7e98fcc0 in run_vertex_stage (ctx=0x1003bfd9f, stage=0x10039c4e0)
at tnl/t_vb_vertex.c:194
194        if (ctx->Transform.ClipPlanesEnabled) {
(gdb) bt
#0  0xffffffff7e98fcc0 in run_vertex_stage (ctx=0x1003bfd9f, stage=0x10039c4e0)
at tnl/t_vb_vertex.c:194
#1  0xffffffff7e974728 in _tnl_run_pipeline (ctx=0x100120df0) at
tnl/t_pipeline.c:158
#2  0xffffffff7e981ae4 in _tnl_playback_vertex_list (ctx=0x100120df0, data=0xf)
at tnl/t_save_playback.c:209
#3  0xffffffff7e89edc4 in execute_list (ctx=0x100120df0, list=8136520) at
main/dlist.c:5681
#4  0xffffffff7e89f814 in _mesa_CallList (list=4097) at main/dlist.c:6749
#5  0x0000000100002fec in draw () at gears.c:201
#6  0xffffffff7f023ba0 in processWindowWorkList (window=0x100110b40) at
glut_event.c:1297
#7  0xffffffff7f023f88 in glutMainLoop () at glut_event.c:1344
#8  0x000000010000394c in main (argc=1, argv=0xffffffff7ffff0a8) at gears.c:379

(gdb) print ctx
$1 = (GLcontext *) 0x1003bfd9f
(gdb) print ctx->Transform
$2 = {MatrixMode = 0, EyeUserPlane = {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0},
{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}},
  _ClipUserPlane = {{0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0, 0, 0, 0}, {0,
0, 0, 0}, {0, 0, 0, 0}},
  ClipPlanesEnabled = 0, Normalize = 0 '\0', RescaleNormals = 0 '\0',
RasterPositionUnclipped = 0 '\0',
  CullVertexFlag = 0 '\0', CullEyePos = {0, 0, 0, 0}, CullObjPos = {0, 0, 0, 0}}
(gdb) p ctx->Transform.ClipPlanesEnabled
$3 = 0

Maybe the memory has a wrong alignment and trying to read from this misaligned
memory sends
an bus error.

ldd gears
        libX11.so.4 =>   /usr/lib/64/libX11.so.4
        libglut.so =>    /opt64/mesa-6.4.2/lib/libglut.so
        libGLU.so =>     /opt64/mesa-6.4.2/lib/libGLU.so
        libGL.so =>      /opt64/mesa-6.4.2/lib/libGL.so
        libm.so.1 =>     /usr/lib/64/libm.so.1
        libc.so.1 =>     /usr/lib/64/libc.so.1
        libXext.so.0 =>  /usr/openwin/lib/sparcv9/libXext.so.0
        libsocket.so.1 =>        /usr/lib/64/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/64/libnsl.so.1
        libdl.so.1 =>    /usr/lib/64/libdl.so.1
        libgcc_s.so.1 =>         /usr/local/lib/sparcv9/libgcc_s.so.1
        libstdc++.so.6 =>        /usr/local/lib/sparcv9/libstdc++.so.6
        libXmu.so.4 =>   /usr/lib/64/libXmu.so.4
        libXi.so.5 =>    /usr/lib/64/libXi.so.5
        libmp.so.2 =>    /usr/lib/64/libmp.so.2
        libXt.so.4 =>    /usr/openwin/lib/sparcv9/libXt.so.4
        libSM.so.6 =>    /usr/openwin/lib/sparcv9/libSM.so.6
        libICE.so.6 =>   /usr/openwin/lib/sparcv9/libICE.so.6
        /usr/platform/SUNW,Sun-Blade-1500/lib/sparcv9/libc_psr.so.1

 file gears
gears:          ELF 64-bit MSB executable SPARCV9 Version 1, UltraSPARC1
Extensions Required, dynamically linked, not stripped


######################################################################
running the ray demo I got the same segmentation fault like mesa compiled with
gcc 4.0.2.

#0  0xffffffff7e9a008c in choose_emit_func (ctx=0x100242eb0, count=84,
dest=0x10079ff60 "C\246\016;CZ\035(Gg]\342?\200")
    at tnl/t_vertex.c:120
120           a[j].emit = a[j].insert[vptr->size - 1]; /* not always used */
(gdb) bt
#0  0xffffffff7e9a008c in choose_emit_func (ctx=0x100242eb0, count=84,
dest=0x10079ff60 "C\246\016;CZ\035(Gg]\342?\200")
    at tnl/t_vertex.c:120
#1  0xffffffff7e9a0b0c in _tnl_build_vertices (ctx=0x100242eb0, start=0, end=84,
newinputs=84) at tnl/t_vertex.c:409
#2  0xffffffff7e98e014 in run_render (ctx=0x100242eb0, stage=0x1004bb658) at
tnl/t_vb_render.c:295
#3  0xffffffff7e974728 in _tnl_run_pipeline (ctx=0x100242eb0) at
tnl/t_pipeline.c:158
#4  0xffffffff7e981ae4 in _tnl_playback_vertex_list (ctx=0x100242eb0, data=0xf)
at tnl/t_save_playback.c:209
#5  0xffffffff7e89edc4 in execute_list (ctx=0x100242eb0, list=10951056) at
main/dlist.c:5681
#6  0xffffffff7e89f814 in _mesa_CallList (list=4097) at main/dlist.c:6749
#7  0x0000000100003cec in draw () at ray.c:658
#8  0xffffffff7f023f74 in glutMainLoop () at glut_event.c:962
#9  0x00000001000053e8 in main (ac=1, av=0x13) at ray.c:899
          
     
     
--           
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email         
     
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to