View Issue Details

IDProjectCategoryView StatusLast Update
0004915JEDI VCL00 JVCL Componentspublic2009-12-04 15:33
ReporterBrianAssigned Toobones 
PrioritynormalSeveritymajorReproducibilityrandom
Status resolvedResolutionunable to reproduce 
Product VersionDaily / GIT 
Target VersionFixed in Version 
Summary0004915: JvListView causes AV when clearing the items
DescriptionI'm gettting many reports from users after switched from ListView to JvListView (with no other code changes):



exception class : EAccessViolation
exception message : Access violation at address 00401FEF. Read of address 70706120.

main thread ($21c):
00401fef +017 System 103 +0 SysFreeMem
004031ba +026 System 103 +0 @ReallocMem
0047a040 +030 Classes TList.SetCapacity
00479c60 +010 Classes TList.Clear
00479c0b +00f Classes TList.Destroy
00404464 +008 System 103 +0 TObject.Free
004d6026 +00e ComCtrls TSubItems.Destroy
00404464 +008 System 103 +0 TObject.Free
004d6292 +05a ComCtrls TListItem.Destroy
0059b13a +02a JvListView TJvListItem.Destroy
00404464 +008 System 103 +0 TObject.Free
004d62d6 +01a ComCtrls TListItem.Delete
004da95c +030 ComCtrls TCustomListView.Delete
004da282 +9ce ComCtrls TCustomListView.CNNotify
0059ce20 +038 JvListView TJvListView.CNNotify
004f9e7a +2d2 Controls TControl.WndProc
004fe37f +513 Controls TWinControl.WndProc
004daad4 +078 ComCtrls TCustomListView.WndProc
00599257 +4ab JvExComCtrls TJvExListView.WndProc
004f9aa0 +024 Controls TControl.Perform
004fe4cf +023 Controls DoControlMsg
004feeed +00d Controls TWinControl.WMNotify
004f9e7a +2d2 Controls TControl.WndProc
004fe37f +513 Controls TWinControl.WndProc
004fda98 +02c Controls TWinControl.MainWndProc
00485be8 +014 Classes StdWndProc
0050182f +0b7 Controls DoCalcConstraints
004fda98 +02c Controls TWinControl.MainWndProc
00485be8 +014 Classes StdWndProc
7c90e450 +010 ntdll.dll KiUserCallbackDispatcher
7e41b8fe +044 USER32.dll SendMessageW
0050182f +0b7 Controls DoCalcConstraints
7e41c654 +016 USER32.dll CallWindowProcW
004fe47b +0d7 Controls TWinControl.DefaultHandler
004f9e7a +2d2 Controls TControl.WndProc
004fe37f +513 Controls TWinControl.WndProc
004daad4 +078 ComCtrls TCustomListView.WndProc
00599257 +4ab JvExComCtrls TJvExListView.WndProc
004fda98 +02c Controls TWinControl.MainWndProc
00485be8 +014 Classes StdWndProc
7c90e450 +010 ntdll.dll KiUserCallbackDispatcher
0068cfef +0e3 RedoView

this starts at Items.Clear; ^
TagsNo tags attached.

Activities

Brian

2009-09-01 15:43

reporter   ~0016031

00401fd8 public System.SysFreeMem: ; function entry point
00401fd8 edx, [eax-4]
00401fdb dl, 7
00401fde ecx, eax
00401fe0 ebx
00401fe1 bl, [$74d055]
00401fe7 loc_4020d0
00401fed bl, bl
00401fef > ebx, [edx]
00401ff1 loc_402054
00401ff3 dword ptr [edx+$c], 1
00401ff7 eax, [edx+8]
00401ffa loc_402028
00401ffc eax, eax
00401ffe [edx+8], ecx
00402001 eax, [eax+1]
00402004 [ecx-4], eax
00402007 loc_402010
00402009 eax, eax

Brian

2009-09-01 15:44

reporter   ~0016032

this starts at Items.Clear; -> actually ListView.Clear;

obones

2009-09-09 19:37

administrator   ~0016070

Hello,

We would really like to have the zipped sources of a sample application showing this.

Brian

2009-09-09 20:17

reporter   ~0016078

I can't reproduce it, but many of my users are sending bug reports about this.

obones

2009-12-04 15:33

administrator   ~0016955

Well, if we can't reproduce it, we can't fix it

Issue History

Date Modified Username Field Change
2009-09-01 15:42 Brian New Issue
2009-09-01 15:43 Brian Note Added: 0016031
2009-09-01 15:44 Brian Note Added: 0016032
2009-09-09 19:37 obones Note Added: 0016070
2009-09-09 19:37 obones Status new => feedback
2009-09-09 20:17 Brian Note Added: 0016078
2009-12-04 15:33 obones Note Added: 0016955
2009-12-04 15:33 obones Status feedback => resolved
2009-12-04 15:33 obones Resolution open => unable to reproduce
2009-12-04 15:33 obones Assigned To => obones