Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316813 - Stack overflow still happens in table on Windows 7
Summary: Stack overflow still happens in table on Windows 7
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 3.7   Edit
Assignee: Felipe Heidrich CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 316806
Blocks:
  Show dependency tree
 
Reported: 2010-06-14 15:26 EDT by Felipe Heidrich CLA
Modified: 2010-08-16 17:06 EDT (History)
2 users (show)

See Also:


Attachments
patch (1.47 KB, patch)
2010-06-14 16:03 EDT, Felipe Heidrich CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.