Menu

#590 Project Option crash (4.9.9.2+4.9.9.1)

open
nobody
None
5
2012-09-26
2005-09-23
Anonymous
No

If I open the project options the following error occured (it
doesn't matter, which project is loaded!):

Application version: 4.9.9.2

Machine info

Platform : Windows NT
OS version : version 5.1 (build 2600)
Additional info: Service Pack 2

The following error occured in version 4.9.9.2:
Access violation at address 0012F6A7. Write of address
0012F6A7 (at address 0x0012F6A7)

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

I used a new installatation of WinXP SP2 and installed
first DevCpp in version 4.9.9.1.
An update to 4.9.9.2 didn't vary anything.

State information follows:
Stack trace:


0058F80A (0018E80A): ShowExceptionInfo
(ExceptionsAnalyzer - 566)
0058F9FF (0018E9FF):
TExceptionsAnalyzer.GlobalExceptionHandler
(ExceptionsAnalyzer - 574)
004D005C (000CF05C): TCppParser.HandleEnum
(CppParser - 1491)
0057005C (0016F05C):
TfrmProjectOptions.MakButtonClick
(ProjectOptionsFrm - 805)
005712FA (001702FA):
TfrmProjectOptions.InitVersionInfo (ProjectOptionsFrm -
1026)
0056EC8F (0016DC8F): TfrmProjectOptions.SetOptions
(ProjectOptionsFrm - 513)
00578C83 (00177C83): TProject.ShowOptions (project -
1674)
00559E2E (00158E2E):
TMainForm.actProjectOptionsExecute (main - 3551)
0059105B (0019005B): (devcpp - 230)
00591079 (00190079): (devcpp - 230)

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Hello,

    today i debug the program in an external debugger.
    I could locate the problem in the procedure
    TfrmProjectOptions.InitVersionInfo. It should crash at the
    line " cmbLangID.Items.Clear;", maybe a few lines after that.
    I can't verfied this problem, cause i havn't got Delphi :-/.
    Befor crash, the DLL call EnumSystemLocalesA() is
    executed.

    Perhaps, this msg will helps you.

     
  • Nobody/Anonymous

    Logged In: NO

    Hello,

    the problem is the system call EnumSystemLocalesA().

    http://msdn.microsoft.com/library/default.asp?url=/library/en-
    us/intl/nls_9qk3.asp

    This funtion needs two parameters, a flag and an address to a
    callback function. It looks like, at this somthing unexpected
    happen.

    It's possible to use the following patch instructions for start
    the project option panel anyhow (only 4.9.9.2!!).

    1. make a backup of the file devcpp.exe
    2. download the exe-pack upx (http://upx.sourceforge.net/)
    3. extract the program file devcpp.exe with "upx -d
      devcpp.exe"
    4. now, open devcpp.exe in a hex editor
    5. looking at offset 0x000EEF0
    6. u should see these:
      F3 50 E8 81 75 FF FF 8B
    7. modify to:
      F3 50 90 90 90 90 90 8B
    8. save and close
    9. pack with "upx -9 devcpp.exe"
    10. done

    Good: the Project Options is back!! :-), but
    Bad: u can't specify a language for the verion information (last
    tab)

    Salutatory,
    Stefan

    (nincompoop_@_gmx.net)

     
  • Derek Baker

    Derek Baker - 2005-10-09

    Logged In: YES
    user_id=663614

    I had this problem and solved it by adding Dev-C++ to the
    list of programs excluded from XP SP2's Data Execution
    Prevention.

    Derek

     
  • Nobody/Anonymous

    Logged In: NO

    It looks like, this (add DevCpp to the excluded list) only works
    if u logged on with administrative privileges
    :-/

     

Log in to post a comment.