I have a problem with code that works fine in 3.1b2 and before segfaulting
on 3.1b3 and current cvs.

Unfortunately it is a fairly large app, I will try to replicate the fault
in a smaller bit of code, but some guidance as to likely causes would
be helpful.

The problem occurs in images with alpha blending only, and I get a 
segfault in stages.c, line 480 :

   (ctx->NormalTransform[tmp])(&ctx->ModelView,
                               ctx->vb_rescale_factor,
                               VB->NormalPtr,
                               (VB->NormalLengthPtr ?
                                VB->NormalLengthPtr + VB->Start : 0),
                               VB->NormCullStart,
                               VB->store.Normal);

Program received signal SIGSEGV, Segmentation fault.
0x400cee3a in do_normal_transform (VB=Cannot access memory at address 0x19.
) at stages.c:479

(gdb) bt
#0  0x401feb61 in do_normal_transform ()
#1  0x401e27ab in gl_run_pipeline ()
#2  0x402378ec in gl_execute_cassette ()
#3  0x4019f72c in execute_list ()
#4  0x401a1659 in gl_CallList ()
#5  0x40170fe2 in glCallList ()
#6  0x804ac9b in drawscene () at Bird.h:45
#7  0x40136479 in processWindowWorkList ()
#8  0x4013653c in glutMainLoop ()
#9  0x804e08d in main (argc=1, argv=0xbffff9c4) at raindemo.cc:453
#10 0x4032ccb3 in __libc_start_main (main=0x804b4c8 <main>, argc=1, 
    argv=0xbffff9c4, init=0x8049e08 <_init>, fini=0x80509d4 <_fini>, 
    rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffff9bc)
    at ../sysdeps/generic/libc-start.c:78


This happens using ggimesa, voodoo or software rendering.
MMX Intel and Athlon.

Justin


_______________________________________________
Mesa-bug maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-bug


_______________________________________________
Mesa-dev maillist  -  [EMAIL PROTECTED]
http://lists.mesa3d.org/mailman/listinfo/mesa-dev

Reply via email to