Menu

#346 4.9.8.10: access violation at 00574498

open
nobody
None
5
2012-09-26
2004-06-10
No

The following error occured in version 4.9.8.10:
Access violation at address 00574498 in
module 'devcpp.exe'. Read of address 5C3A6364 (at
address 0x00574498)

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

i have edit this line:

unsigned char *Data = new unsigned char[
TImage.GetHeight() ]

and the cursor was after (

State information follows:
Stack trace:


0057F9A5 (0017E9A5): ShowExceptionInfo
(ExceptionsAnalyzer - 557)
0057FB9B (0017EB9B):
TExceptionsAnalyzer.GlobalExceptionHandler
(ExceptionsAnalyzer - 565)
00574498 (00173498): TEditor.DoOnCodeCompletion
(editor - 1763)
004ACBCC (000ABBCC):
TCustomSynEdit.PixelsToRowColumn (SynEdit - 979)
00574498 (00173498): TEditor.DoOnCodeCompletion
(editor - 1763)
00574498 (00173498): TEditor.DoOnCodeCompletion
(editor - 1763)
004D51DF (000D41DF): TCodeComplForm.DoCompletion
(CodeCompletionForm - 112)
004D56C2 (000D46C2):
TCodeComplForm.lbCompletionKeyDown
(CodeCompletionForm - 218)
0058114A (0018014A): (devcpp - 196)
00581168 (00180168): (devcpp - 196)

Discussion

  • Marek Januszewski

    Logged In: YES
    user_id=609236

    can you reproduce it? or better tell me step by step how to
    get this error?

     
  • Lajos Molnar

    Lajos Molnar - 2004-06-12

    Logged In: YES
    user_id=621378

    this was not the first nor the last crash with this type...

    tha following i have typed:
    unsigned char *Data = new unsigned char[ ]

    and then typed "TImage." ->
    unsigned char *Data = new unsigned char[
    TImage. ]

    and from the code completion i have selected the "GetHeight
    ()" -> and crash

    unsigned char *Data = new unsigned char[
    TImage.GetHeight() ]

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    this bug is not about what you write, but the way files are
    opened in dev-cpp. so code will not be helpful to me. maybe
    rather zipped project and your dev-cpp.cfg....
    I found a workaround for it, but I feel that it should be
    fixed in other place...

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    I think I've fixed it: please test this build:
    http://www.castlesofpoland.com/dev-cpp/wu/

     
  • Marek Januszewski

    Logged In: YES
    user_id=609236

    973582 is a duplicate of this bug

     

Log in to post a comment.