You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i create a simple Sample Project where i start the mvc framework with this code:
LServerListener := TMVCListener.Create(TMVCListenerProperties.New
.SetName('Listener1')
.SetPort(APort)
.SetMaxConnections(1024)
.SetWebModuleClass(TMyWebModule)
);
LServerListener.Start;
i am getting e EInvalidPointer Exception frequently
i attached my eurekalog logfile where you can see the stacktarce. i also attached a screenshot of the stacktrace.
There seems to be a concurrency issue when the TWebModule Create is called. The Problem occurs on TRttiContext.DropContext in EndGlobalLoading. The Problem only occurs when i start dmvc with the TMVCListerner - Code from above
The Problem seems to be that the usafe of WebModuleClass field in TIdHTTPWebBrokerBridge is only supported for backwards-compatibility and the implementation og the Method RunWebModuleClass seems to be not really ThreadSafe and does not pool the WebModules.
I opened a ticket at embarcadero. TRttiContext.DropContext has a bug and is not threadsafe. This affects TWebModule.Create and TDataModule.Create. Please vote for the Ticket if you have access to quality.embarcadero.com
When i create a simple Sample Project where i start the mvc framework with this code:
LServerListener := TMVCListener.Create(TMVCListenerProperties.New
.SetName('Listener1')
.SetPort(APort)
.SetMaxConnections(1024)
.SetWebModuleClass(TMyWebModule)
);
LServerListener.Start;
i am getting e EInvalidPointer Exception frequently
i attached my eurekalog logfile where you can see the stacktarce. i also attached a screenshot of the stacktrace.
There seems to be a concurrency issue when the TWebModule Create is called. The Problem occurs on TRttiContext.DropContext in EndGlobalLoading. The Problem only occurs when i start dmvc with the TMVCListerner - Code from above
log.zip
The text was updated successfully, but these errors were encountered: