Community
Participate
Working Groups
Build Identifier: 3.6.2 When displaying memory contents using the Traditional Renderer on 64-bit Redhat Enterprise Linux and then using the arrow keys to scroll the viewport contents, a crash or stack overflow can occur, due to an infinite recursion in the caret control logic; see AbstractPane.ensureCaretWithinViewport(). Reproducible: Always Steps to Reproduce: 0. Start Eclipse on 64-bit RHEL 1. Display memory contents in the Memory or Memory Browser views 2. Set column count that exceeds viewable pane width 3. Position caret at top-left line of data pane; position 0 4. Press the Backspace or Left-Arrow key
Created attachment 195899 [details] AbstractPane.java patch for CDT 7.0.2 This patch fixes the infinite recursion issue with the Traditional Renderer when running on 64-bit Redhat Enterprise Linux.
Created attachment 195900 [details] AbstractPane.java patch for CDT 8.0 This patch fixes the infinite recursion problem in the Traditional Renderer running on 64-bit Redhat Enterprise Linux.
I'm taking this one. Randy
Created attachment 196144 [details] This patch corrects a problem in the the original 7.0.2 patch I accidentally introduced a small regression with the original 7.0.2 patch, which is corrected in this updated patch. Specifically, attempting to vertically-scroll the viewport by pressing the UP or DOWN arrow keys when the number of columns exceeds the size of the view would cause the caret positioning logic to get confused. This revised patch fixes this problem.
Created attachment 196145 [details] This patch corrects a problem in the the original 8.0 patch I accidentally introduced a small regression with the original 8.0 patch, which is corrected in this updated patch. Specifically, attempting to vertically-scroll the viewport by pressing the UP or DOWN arrow keys when the number of columns exceeds the size of the view would cause the caret positioning logic to get confused. This revised patch fixes this problem.
Folks I looked for guidance on checking in this fix. It is a critical fix. Got no response. So I am checking it in to HEAD. I will follow up with 7.0.2 branch tomorrow. Randy 781-364-2226 Pawel please review. Randy
*** cdt cvs genie on behalf of rarohrba *** Bug 346129 - stack overflow crash when moving in renderer. [*] AbstractPane.java 1.7 http://dev.eclipse.org/viewcvs/index.cgi/org.eclipse.cdt/memory/org.eclipse.cdt.debug.ui.memory.traditional/src/org/eclipse/cdt/debug/ui/memory/traditional/AbstractPane.java?root=Tools_Project&r1=1.6&r2=1.7