Bug 302622 - varObject accessed after being deleted by LRUVariableCached
Summary: varObject accessed after being deleted by LRUVariableCached
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-debug-dsf-gdb (show other bugs)
Version: 6.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-11 14:18 EST by Jens Elmenthaler CLA
Modified: 2020-09-04 15:18 EDT (History)
1 user (show)

See Also:


Attachments
Source file to reproduce (10.85 KB, text/plain)
2010-02-11 14:22 EST, Jens Elmenthaler CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens Elmenthaler CLA 2010-02-11 14:18:36 EST
Build Identifier: HEAD

The error arises because var2 is already deleted by the LRUVariablesCache.

Reproducible: Always

Steps to Reproduce:
1. Create C/C++ a project containing the attached source file.
2. Set a break point to the end of the main routine
3. Debug it using DSF GDB
4. When halted at the break point, expand the "small"
5. The value column displays "Failed to execute MI command:-var-set-format var2.private.a decimal Error message from debugger back end: Variable object not found"
Comment 1 Jens Elmenthaler CLA 2010-02-11 14:22:25 EST
Created attachment 158899 [details]
Source file to reproduce