Watch, Follow, &
Connect with Us
Public Report
Report From: Delphi-BCB/IDE/Code Completion    [ Add a report in this area ]  
Report #:  106501   Status: Closed
IDE AV in code completion for 'for i' and pressing  CTRL-T 5 times
Project:  Delphi Build #:  16.0.4504.48759
Version:    16.4 Submitted By:   Tor Erik Dahlsrud
Report Type:  Crash / Data loss / Total failure Date Reported:  6/18/2012 8:35:51 AM
Severity:    Infrequently encountered problem Last Updated: 9/5/2012 7:48:13 PM
Platform:    All versions Internal Tracking #:   29087
Resolution: Fixed (Resolution Comments) Resolved in Build: : 17.0.4625.53395
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: 2
Description
Activating a 'for i' code completion template and pressing CTRL-T 5 times, produces an Access Violation in the IDE and crashes it.

CTRL-T is removing the word at the cursor (standard keymapping)

I've tried this without any add-ons in the IDE.
Steps to Reproduce:
1. Start Delphi
2. File / New VCL form
3. Double click on the form to get to the FormCreate
4. Write the following 5 characters: for i
5. Press CTRL-T 5 times. The 5th time, the IDE crashes on an Access Violation at address 206BF5C3 in module 'coreide160.bpl'. Read of address 00000000

This is the resulting callstack:
206bf5c3 +0cb coreide160.bpl SyncEdit        1390  +13 SyncEdit.AllowBeforeDeleteBlock
206c0068 +324 coreide160.bpl SyncEdit        1695  +75 SyncEdit.TSyncEditPainter.QueryEditEvent
20706fb7 +043 coreide160.bpl EditorBuffer    5730  +11 EditorBuffer.TEvQueryEditEvent.Remove
207009ef +013 coreide160.bpl EditorBuffer    2300   +2 EditorBuffer.QueryEventHandler
21e56a7e +3fe boreditu.dll                             regmatch
21e4d2b5 +1b9 boreditu.dll                             Execute
21e42312 +19e boreditu.dll                             Execute
21e47daa +196 boreditu.dll                             EK_GET_LINE_CONTENTS
206dde1a +016 coreide160.bpl EdProcs          361   +2 EdProcs.SafeEkEval
206dc710 +018 coreide160.bpl EdKrnl          3555   +6 EdKrnl.SetupUndoGroup
2075cbd1 +089 coreide160.bpl VClient          588  +18 VClient.CallEkEval
2075d0df +093 coreide160.bpl VClient          950  +25 VClient.IDESyntaxProc
20475ae2 +096 coreide160.bpl bmi.cpp           39  +14 IDEKbd.@interpret_bmi_macro$qqrp5BMI_tpcp11CmdMapTableppc
204746e3 +16f coreide160.bpl kbpublic.cpp     134  +90 IDEKbd...
2075ca94 +01c coreide160.bpl VClient          509   +5 VClient.CmdStringProc
207695b8 +050 coreide160.bpl KbClient         841   +9 KbClient.TIDEKBDFrameAPI.MapAndEvalInternal
20769035 +045 coreide160.bpl KbClient         570   +4 KbClient.HandleKey
2076953c +46c coreide160.bpl KbClient         815 +233 KbClient.TIDEKBDFrameAPI.ProcessKeyStroke
2076a0cc +08c coreide160.bpl KbClient        1368  +14 KbClient.TIDEKBDChildAPI.ProcessKeyStroke
20758cc2 +09e coreide160.bpl EditorControl   7517  +18 EditorControl.TCustomEditControl.DoKeyDown
2074e5f6 +086 coreide160.bpl EditorControl   2047
Workarounds
None
Attachment
None
Comments

Tomohiro Takahashi at 6/19/2012 12:01:13 AM -
This report was opened with valid Internal Tracking Number.
Thanks.

Server Response from: ETNACODE01