Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316813

Summary: Stack overflow still happens in table on Windows 7
Product: [Eclipse Project] Platform Reporter: Felipe Heidrich <eclipse.felipe>
Component: SWTAssignee: Felipe Heidrich <eclipse.felipe>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: a.nusser, Silenio_Quarti
Version: 4.0   
Target Milestone: 3.7   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 316806    
Bug Blocks:    
Attachments:
Description Flags
patch none

Description Felipe Heidrich CLA 2010-06-14 15:26:35 EDT
3.6 M7 
see bug#142593#c33

When the last item is visible at the bottom of the table and there are items above the top index, deleting an item between topIndex and bottomIndex will cause the table to scroll down to cover the space that used to be belong to the item that was deleted.
This cause a new top item to show at the top of the table. If this item was not created before, the table will call LVM_REDRAWITEMS on it during LVN_GETDISPINFO which causes the stack over flow problem to occur.

Use the test case in bug#142593#c33 to reproduce the problem.
Comment 1 Felipe Heidrich CLA 2010-06-14 16:03:17 EDT
Created attachment 171867 [details]
patch

Note, fixing this bug will expose Bug 316806 on Windows 7.
Comment 2 Felipe Heidrich CLA 2010-08-13 12:21:28 EDT
Fixed in HEAD, 
not for 3.6.1 at this time.