[Bug 20305] New: Unending loop in R600OverlapCopy() [srcX == dstX && srcY = = dstY]
http://bugs.freedesktop.org/show_bug.cgi?id=20305 Summary: Unending loop in R600OverlapCopy() [srcX == dstX && srcY == dstY] Product: xorg Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: major Priority: high Component: Driver/radeonhd AssignedTo: lverhaegen@suse.de ReportedBy: darkjames@darkjames.ath.cx QAContact: xorg-team@lists.x.org Hi, I'm using r6xx-r7xx-support branch (commit 3f8b6ecc), with EXA AccelMethod. Recently when I want to save file in openoffice I typed 1 letter and my Xorg freeze. Luckily I've got sshd started and I could attach strace and gdb to it. gdb backtrace: #4 0x00007fbb0e9433c7 in R600OverlapCopy (pDst=0x861950, srcX=820, srcY=571, dstX=820, dstY=571, w=16, h=19) at r600_exa.c:816 pScrn = (ScrnInfoPtr) 0x817bf0 rhdPtr = (RHDPtr) 0x817810 accel_state = (struct r6xx_accel_state *) 0x83c360 dst_pitch = 1408 dst_offset = 3489693696 i = 0 hchunk = 0 vchunk = 0 #5 0x00007fbb0e9437af in R600Copy (pDst=0x861950, srcX=820, srcY=571, dstX=820, dstY=571, w=16, h=19) at r600_exa.c:875 pScrn = (ScrnInfoPtr) 0x817bf0 rhdPtr = (RHDPtr) 0x817810 accel_state = (struct r6xx_accel_state *) 0x83c360 In frame #4 hchunk == 0, so this loop: 815 for (i = 0; i < w; i += hchunk) { 816 R600DoPrepareCopy(pScrn, 817 dst_pitch, pDst->drawable.width, pDst->drawable.height, dst_offset, pDst->drawable.bitsPerPixel, 818 dst_pitch, pDst->drawable.height, dst_offset, pDst->drawable.bitsPerPixel, 819 accel_state->rop, accel_state->planemask); 821 R600AppendCopyVertex(pScrn, srcX + i, srcY, dstX + i, dstY, hchunk, h); 822 R600DoCopy(pScrn); 823 } is unending. I dunno how R600OverlapCopy() should work when (srcX == dstX) && (srcY == dstY), so no patch. Sorry :( -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ xorg-team mailing list xorg-team@lists.x.org http://lists.x.org/mailman/listinfo/xorg-team -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
http://bugs.freedesktop.org/show_bug.cgi?id=20305 --- Comment #1 from Jakub Zawadzki <darkjames@darkjames.ath.cx> 2009-02-25 02:56:22 PST --- Uhm, I just sync my git tree, and saw commit 34a3f94b91406aa8e6355787f5474cbb6bfc0052 so now it works great (thanks!) however if accel_state->copy_area will be NULL (luckily I've got enough memory) it could still deadlock in that loop Sorry for creating confusion ::( -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ xorg-team mailing list xorg-team@lists.x.org http://lists.x.org/mailman/listinfo/xorg-team -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
http://bugs.freedesktop.org/show_bug.cgi?id=20305 --- Comment #2 from Michel Dänzer <michel@daenzer.net> 2009-02-25 03:20:58 PST ---
I dunno how R600OverlapCopy() should work when (srcX == dstX) && (srcY == dstY)
Unless I'm missing something, it means the operation is a NOP and could just be skipped. -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ xorg-team mailing list xorg-team@lists.x.org http://lists.x.org/mailman/listinfo/xorg-team
http://bugs.freedesktop.org/show_bug.cgi?id=20305 Jakub Zawadzki <darkjames@darkjames.ath.cx> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE --- Comment #3 from Jakub Zawadzki <darkjames@darkjames.ath.cx> 2009-02-25 04:06:13 PST --- *** This bug has been marked as a duplicate of bug 20126 *** -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ xorg-team mailing list xorg-team@lists.x.org http://lists.x.org/mailman/listinfo/xorg-team -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
http://bugs.freedesktop.org/show_bug.cgi?id=20305 --- Comment #4 from Alex Deucher <agd5f@yahoo.com> 2009-02-25 06:18:33 PST --- fixed in 8373f4399b03961f2c928a9275d47e9f41bd92bb Thanks! -- Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. _______________________________________________ xorg-team mailing list xorg-team@lists.x.org http://lists.x.org/mailman/listinfo/xorg-team -- To unsubscribe, e-mail: radeonhd+unsubscribe@opensuse.org For additional commands, e-mail: radeonhd+help@opensuse.org
participants (1)
-
bugzilla-daemon@freedesktop.org