Jump to content
Clément

Reproducible AV in Sydney

Recommended Posts

Hi,

 

I manage to reproduce the following AV with very simple steps. As the AV happens in coreide270, it's impossible to save the project, unit, close Delphi.  "End Task" is the only way to close the IDE and loose any unsaved work.

 

Here are the steps:

  1. Start an empty VCL Project.
  2. Drop a ImageCollection component
  3. Add a few PNG images (Click add and select 3 or 4 PNG images)
  4. Click Apply, then OK to get back to the form
  5. Left click the form to call the context menu
  6. Select "View as Text"
  7. (The AV might happen here)
  8. Left Click the dfm to call the context menu, and select "View as Form"
  9. (The AV might happen here)
  10. Try to save the project
  11. (The AV might happen here)

 

The AV will happen either on step 7, or 9 or 11. The only work around is to save the form (returning from step 4). If you don't save, you will see the AV I attached below (Image and details).

Can someone please try to duplicate?

 

Clément

 

Details>>
[208CCA97]{coreide270.bpl} DocModul.TCodeIDocModule.GetFileName (Line 2248, "DocModul.pas" + 1) + $5
[0A3287FD]{IDELSP270.bpl} Baselspserver.TLSPServer.DoSendString + $51
[0A36CCDD]{IDELSP270.bpl} Lspmgr.CreateLSPMgr + $5041
[0A36C9A4]{IDELSP270.bpl} Lspmgr.CreateLSPMgr + $4D08
[0A36C88D]{IDELSP270.bpl} Lspmgr.CreateLSPMgr + $4BF1
[0A36DF37]{IDELSP270.bpl} Lspmgr.CreateLSPMgr + $629B
[0A369851]{IDELSP270.bpl} Lspmgr.CreateLSPMgr + $1BB5
[0A3699E8]{IDELSP270.bpl} Lspmgr.CreateLSPMgr + $1D4C
[208BCAB9]{coreide270.bpl} IDEServices.TIDEServices.SendFileNotification (Line 5041, "IDEServices.pas" + 😎 + $10
[208BD16A]{coreide270.bpl} IDEServices.FileNotification (Line 5301, "IDEServices.pas" + 1) + $9
[208B72A6]{coreide270.bpl} IDEServices.TIDEServices.BeginProjectGroupClose (Line 2794, "IDEServices.pas" + 2) + $F
[2101ABC5]{designide270.bpl} Events.TEvent.Send (Line 165, "Events.pas" + 2) + $11
[20559EEC]{coreide270.bpl} ProjectGroup.TProjectGroup.BeforeDestruction (Line 924, "ProjectGroup.pas" + 10) + $8
[5006025D]{rtl270.bpl  } System.@BeforeDestruction (Line 19087, "System.pas" + 10) + $0
[20559E56]{coreide270.bpl} ProjectGroup.TProjectGroup.Destroy (Line 899, "ProjectGroup.pas" + 0) + $2
[5005FA2C]{rtl270.bpl  } System.TObject.Free (Line 17683, "System.pas" + 1) + $4
[205606B6]{coreide270.bpl} ProjectGroup.TProjectGroupWrapper.Close (Line 2834, "ProjectGroup.pas" + 2) + $5
[004ABE8F]{bds.exe     } AppMain.TAppBuilder.DestroyProjectGroup (Line 2664, "AppMain.pas" + 15) + $9
[004AF26C]{bds.exe     } AppMain.TAppBuilder.WindowCloseQuery (Line 3918, "AppMain.pas" + 19) + $3
[50E554D1]{vcl270.bpl  } Vcl.Forms.TCustomForm.CloseQuery (Line 7459, "Vcl.Forms.pas" + 😎 + $14
[50E553F9]{vcl270.bpl  } Vcl.Forms.TCustomForm.Close (Line 7431, "Vcl.Forms.pas" + 4) + $4
[01734013]{vclwinx270.bpl} Vcl.TitleBarCtrls.TCustomTitleBarPanel.TitleButtonCloseClick (Line 1414, "Vcl.TitleBarCtrls.pas" + 2) + $7
[50CF731F]{vcl270.bpl  } Vcl.Controls.TControl.Click (Line 7596, "Vcl.Controls.pas" + 9) + $8
[50EA6CAC]{vcl270.bpl  } Vcl.Buttons.TCustomSpeedButton.Click (Line 1918, "Vcl.Buttons.pas" + 0) + $4
[50EA6C96]{vcl270.bpl  } Vcl.Buttons.TCustomSpeedButton.MouseUp (Line 1911, "Vcl.Buttons.pas" + 25) + $10
[50CF7750]{vcl270.bpl  } Vcl.Controls.TControl.DoMouseUp (Line 7724, "Vcl.Controls.pas" + 2) + $25
[50CF77DE]{vcl270.bpl  } Vcl.Controls.TControl.WMLButtonUp (Line 7737, "Vcl.Controls.pas" + 9) + $6
[50CF6DC6]{vcl270.bpl  } Vcl.Controls.TControl.WndProc (Line 7480, "Vcl.Controls.pas" + 91) + $6
[50F4C99F]{vcl270.bpl  } Vcl.Styles.TCustomStyle.SourceLoaded (Line 3310, "Vcl.Styles.pas" + 1) + $13
[50F4C8E0]{vcl270.bpl  } Vcl.Styles.TCustomStyle.GetEnabled (Line 3290, "Vcl.Styles.pas" + 0) + $4
[50DF394F]{vcl270.bpl  } Vcl.Themes.TStyleManager.GetIsCustomStyleActive (Line 5646, "Vcl.Themes.pas" + 0) + $7
[50DF7615]{vcl270.bpl  } Vcl.Themes.TCustomStyleEngine.HookCBProc (Line 7563, "Vcl.Themes.pas" + 3) + $0
[50DF77C6]{vcl270.bpl  } Vcl.Themes.TCustomStyleEngine.HookCBProc (Line 7614, "Vcl.Themes.pas" + 54) + $18
[50CF6A00]{vcl270.bpl  } Vcl.Controls.TControl.Perform (Line 7258, "Vcl.Controls.pas" + 10) + $8
[50CFB4BC]{vcl270.bpl  } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 10190, "Vcl.Controls.pas" + 15) + $29
[50CFBB02]{vcl270.bpl  } Vcl.Controls.TWinControl.WndProc (Line 10367, "Vcl.Controls.pas" + 112) + $6
[1D085DB9]{cxLibraryRS27.bpl} Cxcontainer. + $0
[50CFB230]{vcl270.bpl  } Vcl.Controls.TWinControl.MainWndProc (Line 10120, "Vcl.Controls.pas" + 3) + $6
[50181184]{rtl270.bpl  } System.Classes.StdWndProc (Line 17989, "System.Classes.pas" + 😎 + $0
[50E5A71F]{vcl270.bpl  } Vcl.Forms.TApplication.ProcessMessage (Line 11002, "Vcl.Forms.pas" + 23) + $1
[50E5A762]{vcl270.bpl  } Vcl.Forms.TApplication.HandleMessage (Line 11032, "Vcl.Forms.pas" + 1) + $4
[50E5AA95]{vcl270.bpl  } Vcl.Forms.TApplication.Run (Line 11170, "Vcl.Forms.pas" + 26) + $3
[0051E104]{bds.exe     } bds.bds (Line 222, "" + 13) + $2

 

IDECrash.png

IDECrash_1.png

IDECrash_2.png

Share this post


Link to post

 

Before reporting I wanted to be sure others could duplicate the problem.

Share this post


Link to post

@Clément I could reproduce it, added 4 png's of varying size, got AV at step 7. Same stack trace as yours.
Also cannot exit the IDE without saving the VCL as the same AV happens and interrupts the exit - regardless of if the form is in text mode or not.
Add a QP issue, please.

Share this post


Link to post

This bug is not related to Imagelists or images at all. It also happens with just a single component on the form (e.g. a TLabel). It seems like "view as text" invokes the new LSP-based parser, which crashes.

  • Like 2

Share this post


Link to post

 Let's hope E. can fixed it on the next patch. Very annoying!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×