Possible errors

55 views
Skip to first unread message

Aparajita

unread,
Dec 17, 2024, 3:21:49 PM12/17/24
to Active4D
Has anyone been running Active4D on v20? If so, any crashes?

On any other version of 4D, when using 4D as the web server, have you seen web processes getting stuck and not releasing?

Darin Schroeder

unread,
Dec 17, 2024, 4:30:07 PM12/17/24
to Active4D
Aparajita,

We're running 4D v19R8 (build 100252) and Active4D 7.2r2 [Windows, release, 64-bit]

We've had instances of zombies accumulating in the monitor and not releasing. The only effective way of getting rid of them was to restart the A4D client.

If there is a better way, or something we can provide you with to give you more information, I'm all ears.

Darin

Aparajita

unread,
Dec 17, 2024, 7:12:02 PM12/17/24
to Active4D
Anyone else?

Aparajita

unread,
Dec 17, 2024, 7:12:34 PM12/17/24
to Active4D
> We've had instances of zombies accumulating in the monitor and not releasing

How often and how many?

On Tuesday, December 17, 2024 at 1:30:07 PM UTC-8 djsch...@gmail.com wrote:

Darin Schroeder

unread,
Dec 17, 2024, 8:53:36 PM12/17/24
to Active4D
It not frequent, but maybe once every couple of weeks. Once it starts accumulating zombies it doesn't seem to clear them, as though the housekeeping task is stuck.

Might end up with hundreds of them, if we don't keep a watch on the monitor. If we don't restart A4D, eventually it will crash.

Darin

Oliver Brodwolf

unread,
Dec 19, 2024, 3:45:01 AM12/19/24
to Active4D
We use 4D Server v19 R7 Macos and Active4D 7.2 and there are no stuck 4D processes.
However, we restart 4D, MySQL and Apache about every 3 days, as the whole Mac crashes unexpectedly a few times a year, which does not necessarily have anything to do with 4D.
We also measure memory usage and processor load and evaluate these log files.
Regards, Oliver

4D_Server_Memory.png

Aparajita

unread,
Dec 20, 2024, 2:32:08 PM12/20/24
to Active4D
Do you have a custom session handler? Are sessions stored in memory or in the db?

Aparajita

unread,
Dec 20, 2024, 2:37:55 PM12/20/24
to Active4D
Are you doing anything with the Active4D `globals` collection?

On Tuesday, December 17, 2024 at 5:53:36 PM UTC-8 djsch...@gmail.com wrote:

Aparajita

unread,
Dec 20, 2024, 2:50:01 PM12/20/24
to Active4D
Or using any of the semaphore commands?

Darin Schroeder

unread,
Dec 21, 2024, 8:13:33 PM12/21/24
to Active4D
No custom session handler and we store sessions in memory. I would like to store them in the DB, but I rely on the monitor and wasn't able to expand the session blob to see what the values within it were.

djschroede...@gmail.com

unread,
Dec 21, 2024, 8:31:13 PM12/21/24
to Active4D
We do not use the global collection or semaphores.

Darin

Darin Schroeder

unread,
Dec 23, 2024, 10:13:29 AM12/23/24
to Active4D
It just happened this morning ... i know the screenshot doesn't tell much, but this is what we see in the monitor.

Darin
IMG_6412.jpg

Aparajita

unread,
Dec 23, 2024, 1:42:52 PM12/23/24
to Active4D
I'd be more interested to see that process in the 4D Server process list.

Darin Schroeder

unread,
Dec 23, 2024, 2:04:08 PM12/23/24
to Active4D
OK, next time it happens i'll snip that. Are you looking for the monitor process or the housekeeper?

Darin

Aparajita

unread,
Dec 23, 2024, 2:05:27 PM12/23/24
to Active4D
I'm looking for the stuck web process.

deme...@gmail.com

unread,
Apr 25, 2025, 9:53:08 AM4/25/25
to Active4D
Yesterday I filed a support case with 4D Tech Support case #74890. I took the demo as is for 72r2, opened it in 20.6 on Windows 2016 server. You need to accept object notation in order to proceed. I then shut it down and it crashes on exit. 

Aparajita

unread,
Apr 25, 2025, 3:31:18 PM4/25/25
to Active4D
The crash on exit is a different problem which I have been trying to solve. It appears to be because of a DLL conflict between Active4D and 4D.

Crashing during execution is the real problem I have to solve.

deme...@gmail.com

unread,
May 31, 2025, 11:08:59 AM5/31/25
to Active4D

This was 4D's answer to the case I field concerning v20 A4D crash on exit. Hope it provides some information:

____________________________


Hi,

Bug ACI0105644 is classified as standard 4D behavior. However, the 4D application crashes due to memory corruption caused by the Active4D plugin, which appears to be incompatible with version 20.x. Please contact the plugin provider and share the following stack trace, which indicates that the plugin causes memory corruption upon project loading. The stack trace was generated with the "Page Heap" option enabled using Microsoft's "Global Flags" tool.


Following the crash stack on opening any 4D project with the client plugin :

     ntdll.dll!00007ff903ff9d96()    Unknown
     KernelBase.dll!00007ff901948439()    Unknown
     ucrtbase.dll!00007ff9011e1e0c()    Unknown
     Active4D.4DX!00000001b4027caa()    Unknown
     Active4D.4DX!00000001b404f291()    Unknown
     Active4D.4DX!00000001b40b3d46()    Unknown
     Active4D.4DX!00000001b40b486c()    Unknown
     Active4D.4DX!00000001b40b3219()    Unknown
     Active4D.4DX!00000001b40b1b42()    Unknown
     Active4D.4DX!00000001b403ca40()    Unknown
     Active4D.4DX!00000001b403d305()    Unknown
>    [Inline Frame] 4D.exe!CallOnePack(int) Line 3048    C++
     4D.exe!callpacks(int mess, short packnum, __int64 inParam) Line 3177    C++
     4D.exe!V4DDatabase_application_impl::_Init_Late(bool inNewBase) Line 5389    C++
     4D.exe!V4DDatabase_application_impl::_Init_PostDataOpened() Line 5075    C++
     4D.exe!V4DDatabase_application_impl::_Open() Line 3112    C++
     4D.exe!V4DDatabase_application_impl::Open(VDatabaseStartupParameters * inStartupParameters, bool inJustConvertedDatabase, bool inShowErrors) Line 3547    C++
     4D.exe!TryOpenFile_Database(VDatabaseStartupParameters * ioStartupParameters, bool * ioForceQuit, bool inJustConvertedDatabase, int * outResultOptions) Line 4194    C++
     4D.exe!TryOpenFile(VDatabaseStartupParameters * inStartupParameters, bool * ioForceQuit, int * outResultOptions) Line 4207    C++
     4D.exe!premieretache(V4DTaskConcrete * inTask, xbox::IRefCountable * inParam) Line 4463    C++
     4D.exe!Task4DProc(V4DTaskConcrete * inTask) Line 1379    C++
     4D.exe!V4DTaskManager::_Task4DProc(xbox::VTask * inTask) Line 221    C++
     [Inline Frame] Kernel.dll!std::_Func_class<void>::operator()() Line 951    C++
     Kernel.dll!xbox::VTask::_Run() Line 631    C++
     Kernel.dll!xbox::XWinTask::_Run() Line 144    C++
     Kernel.dll!xbox::XWinTask_fiber::_ThreadProc(void * inParam) Line 578    C++

 

Best regards,

Anouar Moustarih

Reply all
Reply to author
Forward
0 new messages