Leaderboard
Popular Content
Showing content with the highest reputation on 06/17/20 in all areas
-
The error is not in the implementation of the custom initializer. A custom initializer is available for the “TRec” type, but an initialization error is in the “TData” type, which does not have a custom initializer, but has a field of a managed type. In the code example, you can replace the custom initializer with any other custom management operator (finalizer, assign), and you will get the same error.
-
Class Constructor in Delphi 10.4
Bill Meyer replied to chkaufmann's topic in RTL and Delphi Object Pascal
In my experience, the initialization section is dangerous. When you have a large legacy project with many unit dependency cycles, and begin working to clean up that issue, the changes in uses clauses may lead to reordering of the initialization sequence. I found it necessary to log the existing order, then replace initialization sections with InitializeUnit procedures called from an initialization manager. That let me proceed with the cleanup. Without that change, I soon had an app with a lower dependency cycle count, but which did not work. -
Class Constructor in Delphi 10.4
Stefan Glienke replied to chkaufmann's topic in RTL and Delphi Object Pascal
Those languages to my knowledge don't also have something like the initialization part of a unit which might cause a chicken-egg-problem. -
Class Constructor in Delphi 10.4
Mahdi Safsafi replied to chkaufmann's topic in RTL and Delphi Object Pascal
Class constructors are executed in the lexical order in which they implemented (not declared). Class destructor executed in the reverse order in which they implemented. NOTE: Many languages follow the same principle. -
Class Constructor in Delphi 10.4
Stefan Glienke replied to chkaufmann's topic in RTL and Delphi Object Pascal
According to what Allen wrote in 2009 that is not true. If there is a bug with that please link to the QP entry and/or code to repro wrong behavior. -
Your way of killing children is fine. It should not cause the behaviour you are observing.
-
If the OnTerminated is not called, then the task owner (MainTask) is not processing messages. If MainTask is an OTL task, then you can just call it's function MsgWait when you create it. MainTask := CreateTask(TOmniWorkerDescendant.Create()).MsgWait;
-
If you run your program in debugger, it should pop up when the exception occurs - unless you have that exception type listed on the 'ignored exception' list. Alternatively, open OtlTaskControl unit and search for TOmniTask.InternalExecute. Inside you'll find: try if otSharedInfo_ref.ProcessorGroup >= 0 then otExecutor_ref.SetProcessorGroup(otSharedInfo_ref.ProcessorGroup); if otSharedInfo_ref.NUMANode >= 0 then otExecutor_ref.SetNUMANode(otSharedInfo_ref.NUMANode); otExecutor_ref.Asy_Execute(Self); except on E: Exception do begin taskException := Exception(AcquireExceptionObject); FilterException(taskException); if assigned(taskException) then SetException(taskException); end; end; This is the main exception handler for a task. You can log information inside the exception handler or put a breakpoint there.
-
Codegen bug https://quality.embarcadero.com/browse/RSP-29299
-
you have to end the transaction either with commit or with rollback, so rollback comes into the except block
-
Why does GetIt require Delphi to restart so often?
Sherlock replied to David Schwartz's topic in General Help
@mvanrijnen That's the reason, yes. But! It should be possible to have a "Restart IDE after install" checkbox, and to be able to uncheck it, when you want to install several things, to then restart after all that, shortening the overall install time significantly. -
ParnassusCoreEditor.dll AccessViolation
bazzer747 replied to bazzer747's topic in Delphi Third-Party
I removed it from 10.4, but same issue, so yes it's the 10.4 version (1.6) of the dll which has overwritten the one used by 10.3 (1.0 version). I've removed Bookmarks from 10.3 as well now and will leave them alone until someone in Embacadero does some proper testing before unleashing these damaging elements! Very annoying. -
GExperts 1.3.12 beta for Delphi 10.3 Rio available
dummzeuch replied to dummzeuch's topic in GExperts
I'm happy to report that the problem with the icons in the popup menus causing empty entries seems to have been fixed in Delphi 10.4. So I have now enabled them in GExperts again. -
Beta testing is no substitute for having your own comprehensive set of automated tests. Beta testing is best used to help identify issues with design. It really shouldn't be used to find implementation bugs. I hope that Emba don't do that. When Emba tell us that they are going to focus on quality, it comes with talk of how many QP issues have been resolved. But for me that misses the point. Unless they are also fixing the development process that allows so many bugs, they will remain stuck on the treadmill, running to stay still.
-
MARS v.1.4 released, includes support for Delphi 10.4 Sydney
Andrea Magni posted a topic in MARS-Curiosity REST Library
Just in case you missed: a new version of MARS-Curiosity REST library has been released yesterday. https://github.com/andrea-magni/MARS/releases/tag/v1.4 V.1.4 adds support for Delphi 10.4 Sydney as long as many other features and functionalities to the library. I will cover most important new features with some blog posts in the following weeks. Sincerely, Andrea -
Hopefully, this could be a short thread. This report shows the last thirty days of RAD Studio reported issues. At the time of posting, 31 has been created today. https://quality.embarcadero.com/secure/ConfigureReport.jspa?projectOrFilterId=project-10000&periodName=daily&daysprevious=30&selectedProjectId=10000&reportKey=com.atlassian.jira.plugin.system.reports%3Arecentlycreated-report&Next=Next
-
That would work if bugs found where actually fixed instead of disappearing into the internal pool of darkness..
-
Well I'm quickly coming to the conclusion the 10.4 is utter crap 😞 It keeps locking up and access violating. Seems like Embarcadero need to increase their Beta testing pool because this release is a real shocker. Back to 10.3 I go and the awesome FixPack
-
Are you sure that option does not exist anymore? 🙂 I'm pretty sure I didn't dream this up.
-
Not usable for me yet. [TClientDataSet] Exception when a ftWideMemo is set to an empty string with LogChanges=True https://quality.embarcadero.com/browse/RSP-29431 P.S. Just updated the report with an other issue very probable related.
-
Your RAD Studio 10.4 Sydney issues
Stéphane Wierzbicki replied to Lars Fosdal's topic in General Help
This is really insane that we still need to wait for an IDE fixe pack... Embarcadero, what the hell are you doing... Waiting now for Andreas to fix this.... -
Build a large project is very slow without IDE Fix Pack: see my comment in https://quality.embarcadero.com/browse/RSP-28866
-
Error opening IDE after using Migration tool to import old settings https://quality.embarcadero.com/browse/RSP-29126 Used 10.4 Migration tool. Imported Editor Settings ONLY from 10.3.3. Started 10.4 Delphi personality List Index out of range Interface not supported OK, OK Access Violation OK IDE Closes without having opened. The same thing happens again if you start the IDE again. Workaround: RegEdit: Computer\HKEY_CURRENT_USER\Software\Embarcadero\BDS\21.0\Editor\Options\ Remove "Known Editor Enhancements"
-
I received an AV during the installation (twice) and have reported it https://quality.embarcadero.com/browse/RSP-29158 The third attempt (after a restore) worked fine, see my comments in the report.
-
Just installed it, and created a new VCL application project. Launched the debug (F9) and after closing the VCL application, it throws error Complete Error log is: [206C0D7B]{coreide270.bpl} Desktop.TDesktopStates.RestoreDesktop (Line 1713, "Desktop.pas" + 8) + $14 [206C1938]{coreide270.bpl} Desktop.TDesktopState.SaveRuntimeInfo (Line 1935, "Desktop.pas" + 0) + $C [206C0D62]{coreide270.bpl} Desktop.TDesktopStates.RestoreDesktop (Line 1712, "Desktop.pas" + 7) + $0 [206C13E6]{coreide270.bpl} Desktop.TDesktopStates.ProcessTerminated (Line 1818, "Desktop.pas" + 2) + $12 [20850478]{coreide270.bpl} DebuggerMgr.TProcessEvent.Send (Line 716, "DebuggerMgr.pas" + 2) + $14 [20854E34]{coreide270.bpl} DebuggerMgr.TDebuggerMgr.ProcessStateChanged (Line 2606, "DebuggerMgr.pas" + 8) + $E [2037386A]{dbkdebugide270.bpl} Debug.TDebugger.DoNotifyProcessStateChanged (Line 11425, "Debug.pas" + 2) + $18 [21067FC9]{designide270.bpl} ToolUtils.ForEach (Line 100, "ToolUtils.pas" + 5) + $F [203737C9]{dbkdebugide270.bpl} Debug.TDebugger.NotifyProcessStateChanged (Line 11417, "Debug.pas" + 27) + $22 [20375E09]{dbkdebugide270.bpl} Debug.TDebugger.ProcessDestroyedCallback (Line 12098, "Debug.pas" + 4) + $11 [2036FEAE]{dbkdebugide270.bpl} Debug.TProcess.SetProcessState (Line 9739, "Debug.pas" + 4) + $A [2036E7C5]{dbkdebugide270.bpl} Debug.TProcess.ntfyProcGone (Line 8975, "Debug.pas" + 6) + $4 [2036E856]{dbkdebugide270.bpl} Debug.TProcess.ntfyThreadGone (Line 9007, "Debug.pas" + 20) + $2 [302D669D]{bordbk270N.dll} Unknown function at @isDbkLoggingOn$qv + $2B825 [302E48E2]{bordbk270N.dll} Unknown function at POSTEDHOOKPROC + $3A6E [302E490F]{bordbk270N.dll} Unknown function at POSTEDHOOKPROC + $3A9B [302E48E2]{bordbk270N.dll} Unknown function at POSTEDHOOKPROC + $3A6E [302E490F]{bordbk270N.dll} Unknown function at POSTEDHOOKPROC + $3A9B [302E5017]{bordbk270N.dll} Unknown function at POSTEDHOOKPROC + $41A3 [302E4FAB]{bordbk270N.dll} Unknown function at POSTEDHOOKPROC + $4137 [302DFCB3]{bordbk270N.dll} Unknown function at @isDbkLoggingOn$qv + $34E3B [302B23A6]{bordbk270N.dll} Unknown function at @isDbkLoggingOn$qv + $752E [302DF5DD]{bordbk270N.dll} Unknown function at @isDbkLoggingOn$qv + $34765 [302CC670]{bordbk270N.dll} Unknown function at @isDbkLoggingOn$qv + $217F8 [302CC657]{bordbk270N.dll} Unknown function at @isDbkLoggingOn$qv + $217DF [302B86A5]{bordbk270N.dll} Unknown function at @isDbkLoggingOn$qv + $D82D [302E8082]{bordbk270N.dll} Unknown function at POSTEDHOOKPROC + $720E [50CFBDBA]{vcl270.bpl } Vcl.Controls.TWinControl.DefaultHandler (Line 10464, "Vcl.Controls.pas" + 30) + $19 [302AEDA6]{bordbk270N.dll} Unknown function at @isDbkLoggingOn$qv + $3F2E [302CBCFB]{bordbk270N.dll} Unknown function at @isDbkLoggingOn$qv + $20E83 [302CBF95]{bordbk270N.dll} Unknown function at @isDbkLoggingOn$qv + $2111D [302CD831]{bordbk270N.dll} Unknown function at @isDbkLoggingOn$qv + $229B9 [302AEDA6]{bordbk270N.dll} Unknown function at @isDbkLoggingOn$qv + $3F2E [302CD177]{bordbk270N.dll} Unknown function at @isDbkLoggingOn$qv + $222FF [50CFBDBA]{vcl270.bpl } Vcl.Controls.TWinControl.DefaultHandler (Line 10464, "Vcl.Controls.pas" + 30) + $19 [50CF6DC6]{vcl270.bpl } Vcl.Controls.TControl.WndProc (Line 7480, "Vcl.Controls.pas" + 91) + $6 [50064541]{rtl270.bpl } System.@FinalizeArray (Line 32995, "System.pas" + 24) + $6 [50F4D17E]{vcl270.bpl } Vcl.Styles.TStyleEngine.HandleMessage (Line 3598, "Vcl.Styles.pas" + 22) + $B [50DF39C0]{vcl270.bpl } Vcl.Themes.TStyleManager.HandleMessage (Line 5662, "Vcl.Themes.pas" + 11) + $11 [50CFBDBA]{vcl270.bpl } Vcl.Controls.TWinControl.DefaultHandler (Line 10464, "Vcl.Controls.pas" + 30) + $19 [50CF76DA]{vcl270.bpl } Vcl.Controls.TControl.WMMouseMove (Line 7712, "Vcl.Controls.pas" + 8) + $22 [50CF6DC6]{vcl270.bpl } Vcl.Controls.TControl.WndProc (Line 7480, "Vcl.Controls.pas" + 91) + $6 [50CF6A00]{vcl270.bpl } Vcl.Controls.TControl.Perform (Line 7258, "Vcl.Controls.pas" + 10) + $8 [5006EFFF]{rtl270.bpl } System.Types.TRect.Contains (Line 1675, "System.Types.pas" + 1) + $3 [50CFB2C4]{vcl270.bpl } Vcl.Controls.GetControlAtPos (Line 10143, "Vcl.Controls.pas" + 4) + $13 [50CFB3EE]{vcl270.bpl } Vcl.Controls.TWinControl.ControlAtPos (Line 10166, "Vcl.Controls.pas" + 13) + $E [50CFB471]{vcl270.bpl } Vcl.Controls.TWinControl.IsControlMouseMsg (Line 10184, "Vcl.Controls.pas" + 9) + $2A [50CF3600]{vcl270.bpl } Vcl.Controls.FindDragTarget (Line 5030, "Vcl.Controls.pas" + 6) + $1B [50CFBCAE]{vcl270.bpl } Vcl.Controls.TWinControl.WndProc (Line 10423, "Vcl.Controls.pas" + 168) + $6 [50CFBDBA]{vcl270.bpl } Vcl.Controls.TWinControl.DefaultHandler (Line 10464, "Vcl.Controls.pas" + 30) + $19 [50060AB4]{rtl270.bpl } System.TMonitor.TryEnter (Line 19684, "System.pas" + 10) + $0 [500605D4]{rtl270.bpl } System.TMonitor.Enter (Line 19345, "System.pas" + 4) + $2 [50060440]{rtl270.bpl } System.TMonitor.CheckOwningThread (Line 19259, "System.pas" + 2) + $0 [50060762]{rtl270.bpl } System.TMonitor.Exit (Line 19449, "System.pas" + 1) + $2 [500607BE]{rtl270.bpl } System.TMonitor.Exit (Line 19471, "System.pas" + 2) + $7 [50CD6FA3]{vcl270.bpl } Vcl.Graphics.FreeMemoryContexts (Line 7278, "Vcl.Graphics.pas" + 12) + $8 [50CFB230]{vcl270.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10120, "Vcl.Controls.pas" + 3) + $6 [50CFB245]{vcl270.bpl } Vcl.Controls.TWinControl.MainWndProc (Line 10123, "Vcl.Controls.pas" + 6) + $0 [50E5A727]{vcl270.bpl } Vcl.Forms.TApplication.ProcessMessage (Line 11004, "Vcl.Forms.pas" + 25) + $1 [50E5A74A]{vcl270.bpl } Vcl.Forms.TApplication.ProcessMessages (Line 11024, "Vcl.Forms.pas" + 1) + $4 [004ABBB7]{bds.exe } AppMain.TAppBuilder.ApplicationActivated (Line 2579, "AppMain.pas" + 0) + $7 [50EBE3B7]{vcl270.bpl } Vcl.AppEvnts.TCustomApplicationEvents.DoActivate (Line 204, "Vcl.AppEvnts.pas" + 1) + $16 [50EBEA19]{vcl270.bpl } Vcl.AppEvnts.TMultiCaster.DoActivate (Line 425, "Vcl.AppEvnts.pas" + 5) + $10 [50E59C1F]{vcl270.bpl } Vcl.Forms.TApplication.WndProc (Line 10591, "Vcl.Forms.pas" + 126) + $C [50181184]{rtl270.bpl } System.Classes.StdWndProc (Line 17989, "System.Classes.pas" + 8) + $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 This error appears on each project I tried. BTW: IDE Layouts don't apply correctly, either they remain at Debug layout mode after it ends debugging (after this error). Creating or opening a project keeps the Layout at <none>. Opening a .dpk (package) project, it remains showing the Welcome Page, I have to manually switch to Default Layout in order to see the package project files to install it. In case it has something to do, I just updated to Windows 10 version 2004 May Update 2020, before installing it I uninstalled Delphi 10.4 and reinstalled after updating Windows 10 (1909 to 2004). Previously installation (first installation), this error was not present. Sorry my bad english.