Server crash with EInvoicing function
Gastón Salomone
2025-04-25
Operating system: Windows
Hi,

Since Monday I´m having a problem with a production server of a customer related to EInvoing in Argentina.
Once a user send an Invoic to register electronically, system create a register EInvoiceQueVc with status 0 (not sent) and then a timed task create a new register in Deliverable E-Invoices (HTSIVVc)

In that specific momento server crash with a Segmentation Fault error and this company is unable to send invoices.
I managed to find that following line of code is crashing server.

CreateHTSIVfromIV(CYRec,ROb,IEb,EIb,IVr,1,HTSIVr,false);

I could find the hal for that function in standard hal, I understand that probably is not public, but I need to understand what it does, what registers are reading or if use some function from OS that could be the problem. Expo/Impo does not solve de problem, either reseting service cache, or using SingleUserServer mode. Is it posible to get the header of that function to check is any parameter is missing ? Since it is a memory problem, what kind of strange operation could be working wrong in that function.

Customer server is on version 8.5 2024-12-11 (build 85557169) on Linux. I it also fails on Windows.

I need to solve this urgently

Regards
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
Piotr Wycichowski
Hi, I checked option "Use External Mail Software" in setting "Mail and Conferences Settings" in module "Mail and Conferences". When I create an invoice email I have a ...
17:38 8 Aug 2025
Piotr Wycichowski
Hi, Is somebody experienced in necessary settings for successful connection to server using webclient. When I tried, I got warning in brower, that Web client settings for HTTPS is not setup. So I ...
12:59 21 July 2025