Re: Server crash with EInvoicing function
Gastón Salomone
4-25-25
Hi David,

Since this happend in a timed task and its a memory problem, system crash and there are not any messages in hansa.log

In hansa log. last lines are following:

2025-04-24 22:48:20 running HTSCSSendArgEInvoiceFromCSIdleTask
2025-04-24 22:48:20 running HTSCSSendArgEInvoiceFromCurCompany in company 1

2025-04-24 22:48:20 HTSCSSendArgEInvoiceFromCSIdleTask error = 0
2025-04-24 22:48:40 21.HandleArgEInvoicesFECAESolicitar CurrentCompany 1

2025-04-24 22:49:00 running HTSCSSendArgEInvoiceFromCSIdleTask
2025-04-24 22:49:00 running HTSCSSendArgEInvoiceFromCurCompany in company 1

2025-04-24 22:49:00 running HTSCSSendArgEInvoiceFromQueue for EIQr.SerNr = 116563
2025-04-24 22:49:00 running HTSCSSendArgEInvoiceFromQueue A - Paso 1
2025-04-24 22:49:00 running HTSCSSendArgEInvoiceFromQueue A - Paso 2
System crash. Some lines are added by me to check when it failed. Following hal line after logtext "HTSCSSendArgEInvoiceFromQueue A - Paso 2" is CreateHTSIVfromIV(CYRec,ROb,IEb,EIb,IVr,1,HTSIVr,false);

I use a sh script to run server redirecting output to run-hansa.log. In that log I can see a descripción of a segmentarion fauld. "Line 23" repeat each time it crash.


2025-04-22 17:22:58 Incoming Connection from: 179.228.24.104:57065
2025-04-22 17:22:58 SYSTEM Logoff 179.228.24.104:57065: the client closed the connection (2)
2025-04-22 17:22:58 Incoming Connection from: 179.228.24.104:57066
2025-04-22 17:22:58 SYSTEM Logoff 179.228.24.104:57066: the client closed t./run-Autocorp.sh: línea 23: 11836 Violación de segmento ./StandardERPServer64 --workdir /home/HWAutoCorp/ --hobfolder /home/HWAutoCorp//hob/ --port 12100 --httpport=50025 --httpsport=12551 --server-uuid=1930AD57-BCBD13DC-7A1BCD3C-2BBD7544-9F4327D7 --timed-backup-dir=Backup --verbosity=verbose --stop-cloning


That line (23) is some clue about that function ?
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Latest Posts
Hi there, Server – tried both Windows Server 2022 and Linux Version - 2025-08-11 and 2026-05-25 We were testing a new version (2025-08-11) with a Halcust that we had migrated from the existing ...
10:11 4 Aug 2026
Kevin Stepper
Hi, years ago we used to have the email and conference module. Did not need it so we dropped it. We hav recently implemented global users, which are all named users and therefor seem to need a m...
18:07 3 Aug 2026