View Issue Details

IDProjectCategoryView StatusLast Update
0038303LazarusLCLpublic2021-01-12 07:18
ReporterJesus Reyes Assigned ToJesus Reyes  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version2.0.10 
Target Version2.2Fixed in Version2.1 (SVN) 
Summary0038303: DbGrid with multiselect option will cause AV on application exit.
DescriptionHumberto Sales has reported that a Dbgrid with multiselect option where the user has extended the selection with SHIFT + ARROW keys will cause AV on Application exit.

Further testing show that If selection is made with CTRL+CLICK the AV doesn't occur.

Later it was also found that an AV happen if selection is done by clicking the indicator column (No keys need to be pressed).
Steps To ReproduceRun the attached test project (thanks Humberto Sales)
Click some record field
Extend the selection up or down the selected record
Press the "button1" button (optional)
Exit the application
an Access Violation will occur while tryint to free FKeyBookmark.
Additional InformationThis problem probably affects all released and development lazarus versions.
TagsNo tags attached.
Fixed in Revision64378
LazTarget-
Widgetset
Attached Files

Activities

Jesus Reyes

2021-01-03 21:30

developer  

CTRL_C_DBGRID.zip (129,016 bytes)

Issue History

Date Modified Username Field Change
2021-01-03 21:30 Jesus Reyes New Issue
2021-01-03 21:30 Jesus Reyes Status new => assigned
2021-01-03 21:30 Jesus Reyes Assigned To => Jesus Reyes
2021-01-03 21:30 Jesus Reyes File Added: CTRL_C_DBGRID.zip
2021-01-12 07:18 Jesus Reyes Status assigned => resolved
2021-01-12 07:18 Jesus Reyes Resolution open => fixed
2021-01-12 07:18 Jesus Reyes Fixed in Version => 2.1 (SVN)
2021-01-12 07:18 Jesus Reyes Fixed in Revision => 64378
2021-01-12 07:18 Jesus Reyes LazTarget => -