Menu

#322 Access violations on class browsing/code completion

open
Peter
5
2012-09-26
2004-05-14
Anonymous
No

I've got serious problems using dev-c++ 4.9.8.9 under
Win NT with activated Class Browsing (only project
header files will be parsed) and deactivated
autocompletion:

The following error occured in version 4.9.8.9:
A call to an OS function failed (at address 0x0040F11A)

Please include a description of what you were doing
before the error occured (please give as much precisions
as possible) :

...on inserting a existing method/function blabla( <- right
after writing the leading "(" ...

State information follows:
Stack trace:


0057CEC1 (0017BEC1): ShowExceptionInfo
(ExceptionsAnalyzer - 557)
0057D0B7 (0017C0B7):
TExceptionsAnalyzer.GlobalExceptionHandler
(ExceptionsAnalyzer - 565)
004DC7DE (000DB7DE): TBaseCodeToolTip.PaintToolTip
(CodeToolTip - 768)
004DCAE0 (000DBAE0):
TBaseCodeToolTip.RethinkCoordAndActivate
(CodeToolTip - 862)
004A6D15 (000A5D15):
TSynEditStringList.SetUpdateState (SynEditTextBuffer -
1096)
004DD12D (000DC12D): TBaseCodeToolTip.Show
(CodeToolTip - 1149)
00575654 (00174654): TEditor.EditorStatusChange
(editor - 567)
004BB712 (000BA712):
TCustomSynEdit.DoOnStatusChange (SynEdit - 8686)
004AC771 (000AB771): TCustomSynEdit.DecPaintLock
(SynEdit - 1251)
004B7915 (000B6915):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B791D (000B691D):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B515C (000B415C):
TCustomSynEdit.CommandProcessor (SynEdit - 5846)
004B243D (000B143D): TCustomSynEdit.WMKillFocus
(SynEdit - 4277)
004B45F6 (000B35F6): TCustomSynEdit.WndProc
(SynEdit - 5362)
0057CE34 (0017BE34): ShowExceptionInfo
(ExceptionsAnalyzer - 553)
0057CE78 (0017BE78): ShowExceptionInfo
(ExceptionsAnalyzer - 557)
0057CEC1 (0017BEC1): ShowExceptionInfo
(ExceptionsAnalyzer - 557)
0057D0B7 (0017C0B7):
TExceptionsAnalyzer.GlobalExceptionHandler
(ExceptionsAnalyzer - 565)
004AA5A8 (000A95A8): TheTextDrawer.ExtTextOut
(SynTextDrawer - 983)
004DD0DB (000DC0DB): TBaseCodeToolTip.Show
(CodeToolTip - 1144)
00575654 (00174654): TEditor.EditorStatusChange
(editor - 567)
004BB712 (000BA712):
TCustomSynEdit.DoOnStatusChange (SynEdit - 8686)
004AC771 (000AB771): TCustomSynEdit.DecPaintLock
(SynEdit - 1251)
004B7915 (000B6915):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B791D (000B691D):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B515C (000B415C):
TCustomSynEdit.CommandProcessor (SynEdit - 5846)
004AD57E (000AC57E): TCustomSynEdit.KeyPress
(SynEdit - 1717)
004AD53C (000AC53C): TCustomSynEdit.KeyPress
(SynEdit - 1707)
0054AA49 (00149A49):
TMainForm.actUpdateEmptyEditor (main - 3778)
004B45F6 (000B35F6): TCustomSynEdit.WndProc
(SynEdit - 5362)
0057E666 (0017D666): (devcpp - 195)
0057E684 (0017D684): (devcpp - 195)

========================
Follow up errors are:
========================

The following error occured in version 4.9.8.9:
System Error. Code: 2.
Das System kann die angegebene Datei nicht finden (at
address 0x0040F11A)

Please include a description of what you were doing
before the error occured (please give as much precisions
as possible) :

State information follows:
Stack trace:


0057CEC1 (0017BEC1): ShowExceptionInfo
(ExceptionsAnalyzer - 557)
0057D0B7 (0017C0B7):
TExceptionsAnalyzer.GlobalExceptionHandler
(ExceptionsAnalyzer - 565)
004AA5A8 (000A95A8): TheTextDrawer.ExtTextOut
(SynTextDrawer - 983)
004DD0DB (000DC0DB): TBaseCodeToolTip.Show
(CodeToolTip - 1144)
00575654 (00174654): TEditor.EditorStatusChange
(editor - 567)
004BB712 (000BA712):
TCustomSynEdit.DoOnStatusChange (SynEdit - 8686)
004AC771 (000AB771): TCustomSynEdit.DecPaintLock
(SynEdit - 1251)
004B7915 (000B6915):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B791D (000B691D):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B515C (000B415C):
TCustomSynEdit.CommandProcessor (SynEdit - 5846)
004AD57E (000AC57E): TCustomSynEdit.KeyPress
(SynEdit - 1717)
004AD53C (000AC53C): TCustomSynEdit.KeyPress
(SynEdit - 1707)
004A63FE (000A53FE): TSynEditStringList.Get
(SynEditTextBuffer - 652)
0054AA49 (00149A49):
TMainForm.actUpdateEmptyEditor (main - 3778)
004B45F6 (000B35F6): TCustomSynEdit.WndProc
(SynEdit - 5362)
0057E666 (0017D666): (devcpp - 195)
0057E684 (0017D684): (devcpp - 195)

The following error occured in version 4.9.8.9:
A call to an OS function failed (at address 0x0040F11A)

Please include a description of what you were doing
before the error occured (please give as much precisions
as possible) :

State information follows:
Stack trace:


0057CEC1 (0017BEC1): ShowExceptionInfo
(ExceptionsAnalyzer - 557)
0057D0B7 (0017C0B7):
TExceptionsAnalyzer.GlobalExceptionHandler
(ExceptionsAnalyzer - 565)
004DC7DE (000DB7DE): TBaseCodeToolTip.PaintToolTip
(CodeToolTip - 768)
004DCAE0 (000DBAE0):
TBaseCodeToolTip.RethinkCoordAndActivate
(CodeToolTip - 862)
004DD12D (000DC12D): TBaseCodeToolTip.Show
(CodeToolTip - 1149)
00575654 (00174654): TEditor.EditorStatusChange
(editor - 567)
004BB712 (000BA712):
TCustomSynEdit.DoOnStatusChange (SynEdit - 8686)
004AC771 (000AB771): TCustomSynEdit.DecPaintLock
(SynEdit - 1251)
004B7915 (000B6915):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B791D (000B691D):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B515C (000B415C):
TCustomSynEdit.CommandProcessor (SynEdit - 5846)
004B243D (000B143D): TCustomSynEdit.WMKillFocus
(SynEdit - 4277)
004B45F6 (000B35F6): TCustomSynEdit.WndProc
(SynEdit - 5362)
0057CE34 (0017BE34): ShowExceptionInfo
(ExceptionsAnalyzer - 553)
0057CE78 (0017BE78): ShowExceptionInfo
(ExceptionsAnalyzer - 557)
0057CEC1 (0017BEC1): ShowExceptionInfo
(ExceptionsAnalyzer - 557)
0057D0B7 (0017C0B7):
TExceptionsAnalyzer.GlobalExceptionHandler
(ExceptionsAnalyzer - 565)
004DC7DE (000DB7DE): TBaseCodeToolTip.PaintToolTip
(CodeToolTip - 768)
004DCAE0 (000DBAE0):
TBaseCodeToolTip.RethinkCoordAndActivate
(CodeToolTip - 862)
004DD12D (000DC12D): TBaseCodeToolTip.Show
(CodeToolTip - 1149)
00575654 (00174654): TEditor.EditorStatusChange
(editor - 567)
004BB712 (000BA712):
TCustomSynEdit.DoOnStatusChange (SynEdit - 8686)
004AC771 (000AB771): TCustomSynEdit.DecPaintLock
(SynEdit - 1251)
004B7915 (000B6915):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B791D (000B691D):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B515C (000B415C):
TCustomSynEdit.CommandProcessor (SynEdit - 5846)
004B24B2 (000B14B2): TCustomSynEdit.WMSetFocus
(SynEdit - 4300)
004B45F6 (000B35F6): TCustomSynEdit.WndProc
(SynEdit - 5362)
0057CE34 (0017BE34): ShowExceptionInfo
(ExceptionsAnalyzer - 553)
0057CE78 (0017BE78): ShowExceptionInfo
(ExceptionsAnalyzer - 557)
0057CEC1 (0017BEC1): ShowExceptionInfo
(ExceptionsAnalyzer - 557)
0057D0B7 (0017C0B7):
TExceptionsAnalyzer.GlobalExceptionHandler
(ExceptionsAnalyzer - 565)
004AA5A8 (000A95A8): TheTextDrawer.ExtTextOut
(SynTextDrawer - 983)
004DD0DB (000DC0DB): TBaseCodeToolTip.Show
(CodeToolTip - 1144)
00575654 (00174654): TEditor.EditorStatusChange
(editor - 567)
004BB712 (000BA712):
TCustomSynEdit.DoOnStatusChange (SynEdit - 8686)
004AC771 (000AB771): TCustomSynEdit.DecPaintLock
(SynEdit - 1251)
004B7915 (000B6915):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B791D (000B691D):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B515C (000B415C):
TCustomSynEdit.CommandProcessor (SynEdit - 5846)
004AD57E (000AC57E): TCustomSynEdit.KeyPress
(SynEdit - 1717)
004AD53C (000AC53C): TCustomSynEdit.KeyPress
(SynEdit - 1707)
004A63FE (000A53FE): TSynEditStringList.Get
(SynEditTextBuffer - 652)
0054AA49 (00149A49):
TMainForm.actUpdateEmptyEditor (main - 3778)
004B45F6 (000B35F6): TCustomSynEdit.WndProc
(SynEdit - 5362)
0057E666 (0017D666): (devcpp - 195)
0057E684 (0017D684): (devcpp - 195)

The following error occured in version 4.9.8.9:
System Error. Code: 120.
Die Funktion ist nur im Windows NT-Modus gültig (at
address 0x0040F11A)

Please include a description of what you were doing
before the error occured (please give as much precisions
as possible) :

State information follows:
Stack trace:


0057CEC1 (0017BEC1): ShowExceptionInfo
(ExceptionsAnalyzer - 557)
0057D0B7 (0017C0B7):
TExceptionsAnalyzer.GlobalExceptionHandler
(ExceptionsAnalyzer - 565)
004DC7DE (000DB7DE): TBaseCodeToolTip.PaintToolTip
(CodeToolTip - 768)
004DCAE0 (000DBAE0):
TBaseCodeToolTip.RethinkCoordAndActivate
(CodeToolTip - 862)
004DD12D (000DC12D): TBaseCodeToolTip.Show
(CodeToolTip - 1149)
00575654 (00174654): TEditor.EditorStatusChange
(editor - 567)
004BB712 (000BA712):
TCustomSynEdit.DoOnStatusChange (SynEdit - 8686)
004AC771 (000AB771): TCustomSynEdit.DecPaintLock
(SynEdit - 1251)
004B7915 (000B6915):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B791D (000B691D):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B515C (000B415C):
TCustomSynEdit.CommandProcessor (SynEdit - 5846)
004B24B2 (000B14B2): TCustomSynEdit.WMSetFocus
(SynEdit - 4300)
004B45F6 (000B35F6): TCustomSynEdit.WndProc
(SynEdit - 5362)
0057CE34 (0017BE34): ShowExceptionInfo
(ExceptionsAnalyzer - 553)
0057CE78 (0017BE78): ShowExceptionInfo
(ExceptionsAnalyzer - 557)
0057CEC1 (0017BEC1): ShowExceptionInfo
(ExceptionsAnalyzer - 557)
0057D0B7 (0017C0B7):
TExceptionsAnalyzer.GlobalExceptionHandler
(ExceptionsAnalyzer - 565)
004AA5A8 (000A95A8): TheTextDrawer.ExtTextOut
(SynTextDrawer - 983)
004DD0DB (000DC0DB): TBaseCodeToolTip.Show
(CodeToolTip - 1144)
00575654 (00174654): TEditor.EditorStatusChange
(editor - 567)
004BB712 (000BA712):
TCustomSynEdit.DoOnStatusChange (SynEdit - 8686)
004AC771 (000AB771): TCustomSynEdit.DecPaintLock
(SynEdit - 1251)
004B7915 (000B6915):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B791D (000B691D):
TCustomSynEdit.ExecuteCommand (SynEdit - 6691)
004B515C (000B415C):
TCustomSynEdit.CommandProcessor (SynEdit - 5846)
004AD57E (000AC57E): TCustomSynEdit.KeyPress
(SynEdit - 1717)
004AD53C (000AC53C): TCustomSynEdit.KeyPress
(SynEdit - 1707)
004A63FE (000A53FE): TSynEditStringList.Get
(SynEditTextBuffer - 652)
0054AA49 (00149A49):
TMainForm.actUpdateEmptyEditor (main - 3778)
004B45F6 (000B35F6): TCustomSynEdit.WndProc
(SynEdit - 5362)
0057E666 (0017D666): (devcpp - 195)
0057E684 (0017D684): (devcpp - 195)

Discussion

  • Scott Simontis

    Scott Simontis - 2004-05-17

    Logged In: YES
    user_id=905708

    Same thing with me. I am using 4.9.8.9 on Windows XP home.
    Whenever I use the class browser, I get an error message for
    an access violation. Most of the time I can continue working
    after the bug, but every once and a while this freezes up my
    computer.

     
  • ventsislav velev

    Logged In: YES
    user_id=648049

    Same here. I am using XP pro. I submitted bug report, but I
    have the feeling that it never got through....

     
  • Colin Laplace

    Colin Laplace - 2004-05-19

    Logged In: YES
    user_id=25510

    Looks like a code tooltip problem, peter can you please look
    into your code ?

    004DC7DE (000DB7DE): TBaseCodeToolTip.PaintToolTip
    (CodeToolTip - 768)

    Colin

     
  • Peter

    Peter - 2004-05-19

    Logged In: YES
    user_id=936015

    Hi,

    unfortunalety I cannot reproduce the error at all :(
    I'm using WinXP Pro (english) with SP1.

    I did follow the bug description above and turned off
    autocompletion and activated classbrowsing, but still no error.

    Here is the codesnipple to what the exceptionlogger points to:

    // clear the backbuffer
    with FBmp.Canvas do
    begin    
      Brush.Color := Self.Color; 
      FillRect(ClientRect); // this is line 768
    end;
    

    Any idea what could be wrong with that FillRect call?

    Colin, can you reproduce the error?

    Peter

     
  • George Wright

    George Wright - 2004-06-01

    Logged In: YES
    user_id=114802

    Hello,

    I have a similar situation when clicking on the "+/-" sign
    in the class browser (viewing all files and using colors).
    Running on XP Pro SP 1.

    Generated Bug Report:

    The following error occured in version 4.9.8.9:
    Access violation at address 004F959D in module 'devcpp.exe'.
    Read of address 0000000C (at address 0x004F959D)

    Please include a description of what you were doing before
    the error occured (please give as much precisions as
    possible) :

    State information follows:
    Stack trace:


    0057CEC1 (0017BEC1): ShowExceptionInfo (ExceptionsAnalyzer -
    557)
    0057D0B7 (0017C0B7):
    TExceptionsAnalyzer.GlobalExceptionHandler
    (ExceptionsAnalyzer - 565)
    004F959D (000F859D): TClassBrowser.OnNodeChange
    (ClassBrowser - 362)
    004F959D (000F859D): TClassBrowser.OnNodeChange
    (ClassBrowser - 362)
    004F959D (000F859D): TClassBrowser.OnNodeChange
    (ClassBrowser - 362)
    004F954D (000F854D): TClassBrowser.OnNodeChanging
    (ClassBrowser - 349)
    0057E666 (0017D666): (devcpp - 195)
    0057E684 (0017D684): (devcpp - 195)

    Thanks!

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    duplicate of this bug was reported #966354

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    gtw: OnNodeChange was fixed in 4.9.8.10

     
  • tim

    tim - 2005-02-27

    Logged In: YES
    user_id=1037137

    I also get an access violation, but with Win98SE and devcpp
    4.9.9.2
    Access violation at address 0059074B in
    module 'DEVCPP.EXE' Read of address FFFFFFFF

    Stack trace

    00595716 (00194716): ShowExceptionInfo
    (ExceptionsAnalyzer - 566)
    0059590B (0019490B):
    TExceptionsAnalyzer.GlobalExceptionHandler
    (ExceptionsAnalyzer - 574)
    0059074B (0018F74B): TEditor.DoOnCodeCompletion (editor -
    1994)
    0059074B (0018F74B): TEditor.DoOnCodeCompletion (editor -
    1994)
    0059074B (0018F74B): TEditor.DoOnCodeCompletion (editor -
    1994)
    004E552B (000E452B): TCodeComplForm.DoCompletion
    (CodeCompletionForm - 117)
    004E558C (000E458C):
    TCodeComplForm.lbCompletionDblClick
    (CodeCompletionForm - 140)
    00596F67 (00195F67): (devcpp - 230)
    00596F85 (00195F85): (devcpp - 230)

    the "send bug report" button doesn't work either, and having
    autocomplete crash each time it is used makes it useless.
    it was autocompleting a variable of type SYSTIME struct
    (declared in windows.h i think) when it reliably ;-) crashes

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.