View Issue Details

IDProjectCategoryView StatusLast Update
0016180LazarusIDEpublic2010-04-05 11:46
ReporterFlávio Etrusco Assigned ToMartin Friebe  
PrioritynormalSeveritymajorReproducibilityrandom
Status closedResolutionfixed 
Product Version0.9.29 (SVN) 
Target Version0.9.30Fixed in Version0.9.29 (SVN) 
Summary0016180: AV while running project (sometimes)
DescriptionI'm getting an AV sometimes when starting (to debug) an application.
Additional InformationThe debugger stops at the "if (Project.Bookmarks..." line.

XMLConfig.SetDeleteValue(Path+'UsageCount/Value',RoundToInt(fUsageCount),-1);
    if OpenEditorInfoCount > 0 then
      for i := Bookmarks.Count - 1 downto 0 do
-->        if (Project.Bookmarks.BookmarkWithID(Bookmarks[i].ID).UnitInfo <> self) then
          Bookmarks.Delete(i);
    FBookmarks.SaveToXMLConfig(XMLConfig,Path+'Bookmarks/');
    XMLConfig.SetDeleteValue(Path+'Loaded/Value',fLoaded,false);


i=0.

BookMarks.Count (Bookmarks^.fbookmarks^.flist.count) = 2.

TFileBookmark(Bookmarks^.fbookmarks^.flist[0])^ =
{
  <TOBJECT> = {
    _vptr$TOBJECT = $10},
  FCURSORPOS = {
    X = -16,
    Y = 143487312},
  FID = 144070492,
  CURSORPOS = {
    X = -16,
    Y = 143487312},
  ID = 144070492}

StackTrace:
0 SAVETOXMLCONFIG(0xb5d8fde0, 0xb6c41fa0, 0xb57622c8 'ProjectOptions/Units/Unit14/', true, true, PDSNONE) at project.pp:1565
1 SAVEUNITS(0xbfffe55c, 0xb6c41fa0, 0x8b65e24 'ProjectOptions/', true, true) at project.pp:2466
2 WRITEPROJECT(0xb6c7a2e0, [], 0x0) at project.pp:2601
3 SAVEPROJECTINFO(0xb70c7390, @0xbfffe5e8: [SFCHECKAMBIGUOUSFILES]) at main.pp:7177
4 DOSAVEPROJECT(0xb70c7390, [SFCHECKAMBIGUOUSFILES]) at main.pp:9407
5 DOSAVEALL(0xb70c7390, [SFCHECKAMBIGUOUSFILES]) at main.pp:10677
6 DOSAVEFORBUILD(0xb70c7390, CRRUN) at main.pp:10091
7 DOBUILDPROJECT(0xb70c7390, CRRUN, [PBFONLYIFNEEDED]) at main.pp:10357
8 DOINITPROJECTRUN(0xb70c7390) at main.pp:10620
9 DORUNPROJECT(0xb70c7390) at main.pp:10645
10 ONPROCESSIDECOMMAND(0xb70c7390, 0xb5a81520, 1405, @0xbfffe830: true) at in.pp:2956
11 PROCESSPARENTCOMMAND(0xb5a81520, 0xb55bff30, @0xbfffe8a8: 1405, @0xbfffe894: '', 0x0, @0xbfffe830: true) at sourceeditor.pp:6259
12 PROCESSUSERCOMMAND(0xb55bff30, 0xb5310bc0, @0xbfffe8a8: 1405, @0xbfffe894: '', 0x0) at sourceeditor.pp:2574
13 DOONPROCESSCOMMAND(0xb5310bc0, @0xbfffe8a8: 1405, @0xbfffe894: '', 0x0) at synedit.pp:6297
TagsNo tags attached.
Fixed in Revision24334
LazTarget0.9.30
Widgetset
Attached Files

Activities

Martin Friebe

2010-04-01 12:28

manager   ~0036367

To reproduce:
- set bookmark x
- close file with this bookmark
- set same bookmark x in other file
- re-open first file
- unset bookmark x

now try to save project

Issue History

Date Modified Username Field Change
2010-04-01 08:15 Flávio Etrusco New Issue
2010-04-01 08:15 Flávio Etrusco LazTarget => -
2010-04-01 08:15 Flávio Etrusco Widgetset => GTK 2
2010-04-01 08:17 Flávio Etrusco Additional Information Updated
2010-04-01 12:17 Martin Friebe Status new => assigned
2010-04-01 12:17 Martin Friebe Assigned To => Martin Friebe
2010-04-01 12:28 Martin Friebe Fixed in Revision => 24334
2010-04-01 12:28 Martin Friebe LazTarget - => 0.9.30
2010-04-01 12:28 Martin Friebe Widgetset GTK 2 =>
2010-04-01 12:28 Martin Friebe Status assigned => resolved
2010-04-01 12:28 Martin Friebe Fixed in Version => 0.9.29 (SVN)
2010-04-01 12:28 Martin Friebe Resolution open => fixed
2010-04-01 12:28 Martin Friebe Note Added: 0036367
2010-04-01 12:28 Martin Friebe Target Version => 0.9.30
2010-04-05 11:46 Flávio Etrusco Status resolved => closed