x11perf -repeat 1 -wddline100 -display :0 gets: Program received signal SIGSEGV, Segmentation fault. 0x0816a67a in cwPolylines (pDst=0x878ea78, pGC=0x878efe8, mode=0, npt=101, ppt=0x878cde0) at cw_ops.c:244 244 SETUP_BACKING_DST(pDst, pGC); (gdb) where #0 0x0816a67a in cwPolylines (pDst=0x878ea78, pGC=0x878efe8, mode=0, npt=101, ppt=0x878cde0) at cw_ops.c:244 #1 0x0816a7a5 in cwPolylines (pDst=0x878ea78, pGC=0x878efe8, mode=0, npt=101, ppt=0x878cde0) at cw_ops.c:253 #2 0x0816a7a5 in cwPolylines (pDst=0x878ea78, pGC=0x878efe8, mode=0, npt=101, ppt=0x878cde0) at cw_ops.c:253 #3 0x0816a7a5 in cwPolylines (pDst=0x878ea78, pGC=0x878efe8, mode=0, npt=101, ppt=0x878cde0) at cw_ops.c:253 #4 0x0816a7a5 in cwPolylines (pDst=0x878ea78, pGC=0x878efe8, mode=0, npt=101, ppt=0x878cde0) at cw_ops.c:253 #5 0x0816a7a5 in cwPolylines (pDst=0x878ea78, pGC=0x878efe8, mode=0, npt=101, ppt=0x878cde0) at cw_ops.c:253 #6 0x0816a7a5 in cwPolylines (pDst=0x878ea78, pGC=0x878efe8, mode=0, npt=101, ppt=0x878cde0) at cw_ops.c:253 #7 0x0816a7a5 in cwPolylines (pDst=0x878ea78, pGC=0x878efe8, mode=0, npt=101,
Eric asked for this.
Created attachment 693 [details] [review] cw-wrapfuncs.diff This bug was caused by a path where when cwPolylines called down, somebody (probably mi) called ChangeGC/ValidateGC on the same GC before doing some setspans. Because the cw ops didn't unwrap funcs, this hit cwValidateGC, which re-wrapped the ops, causing a loop. As far as I understand, the "somebody" is violating the current rules as described in bug #1045. However, given the late time in the release cycle we're at, the attached patch to unwrap/rewrap funcs in the ops will fix the problem.
reproducible here. eric's patch makes the pain go away.
it breaks composite though.
Committed a patch that actually works. Apologies to those who tested the previous patch, which was obviously broken.
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.