platform: 915GM, 945GM (ia32) OS: FC5 + kernel 2.6.17.7 glean running many minutes and then abort with and Segmentation, using gdb debug it and got the information following, ---------------- Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1210890576 (LWP 3132)] do_ABS (m=0x8c79fb0, op= {alu = {opcode = 0, dst = 18, file0 = 3, idx0 = 0, file1 = 0, idx1 = 0, pad = 0, pad2 = 0}, rsw = {opcode = 0, dst = 18, file0 = 3, idx0 = 0, neg = 0, swz = 0}, msk = {opcode = 0, dst = 18, file = 3, idx = 0, mask = 0, pad = 0, pad2 = 0}}) at tnl/t_vb_arbprogram.c:211 211 result[0] = (arg0[0] < 0.0) ? -arg0[0] : arg0[0]; Current language: auto; currently c ------------------
Created attachment 7614 [details] [review] free dnl data in i915 driver
After a new vertex program string is parsed, The driver should call _tnl_program_string to free any existing tnl data. So this patch add a line "_tnl_program_string(ctx, target, prog);" in ii915_fragprog.c/915ProgramStringNotify
Looks good, I've committed the patch.
Verified. Thanks for Keith's committing.
Mass version move, cvs -> git
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.