receiving email crashes the server
Aldevinas Katkus
6-6-17
v. 8.2 2016-02-12
external gateway is used to receive emails. Some incoming emails may crash gw. It happened at least twice.
2017-06-06 09:12:41 GATE DoInsertIncomingMail(): About to insert MailVc record with subject:
2017-06-06 09:12:41 GATE Project Financing
2017-06-06 09:12:41 GATE SerNr:133656
2017-06-06 09:12:46 GATE DoInsertIncomingMail(): About to insert MailVc record with subject:
2017-06-06 09:12:46 GATE CONGRATULATIONS!!!
2017-06-06 09:12:46 GATE runtime error, hal stack is:Call stack full
2017-06-06 09:12:46 GATE dump of call stack
2017-06-06 09:12:46 GATE call stack entry: hal/Tools/MailVcWActionTool.hal: FINDUSERINMAILBOX
2017-06-06 09:12:46 GATE call stack entry: hal/Tools/MailVcWActionTool.hal: FINDUSERINMAILBOX
2017-06-06 09:12:46 GATE call stack entry: hal/Tools/MailVcWActionTool.hal: FINDUSERINMAILBOX
2017-06-06 09:12:46 GATE call stack entry: hal/Tools/MailVcWActionTool.hal: FINDUSERINMAILBOX
2017-06-06 09:12:46 GATE call stack entry: hal/Tools/MailVcWActionTool.hal: FINDUSERINMAILBOX
2017-06-06 09:12:46 GATE call stack entry: hal/Tools/MailVcWActionTool.hal: FINDUSERINMAILBOX
2017-06-06 09:12:46 GATE call stack entry: hal/Tools/MailVcWActionTool.hal: FINDUSERINMAILBOX
.... many lines with the same content
2017-06-06 09:12:46 GATE call stack entry: hal/RActions/MailVcRAction.hal: RESOLVEMAILBOXNUMBER
2017-06-06 09:12:46 GATE call stack entry: hal/RActions/MailVcRAction.hal: RESOLVEMAILBOXES
2017-06-06 09:12:46 GATE call stack entry: hal/RActions/MailVcRAction.hal: MAILVCRECORDSAVE
2017-06-06 09:12:46 GATE HAL call stack dumped, check log file for details.
2017-06-06 09:12:46 GATE Call stack full



Aldevinas Katkus
6-6-17
sorry, version 8.3 2017-02-12 (build 83250203)
Aldevinas Katkus
6-7-17
I debuged it. function Boolean FindUserInMailbox(string name,var string mailboxcode,var LongInt mailboxnr) does not like some names and stucks in the eternal loop:

2017-06-07 11:47:03 GATE FindUserInMailbox: name="GOOGLE® CORPORATION"< mailboxcode= mailboxnr=-1
2017-06-07 11:47:03 GATE FindUserInMailbox: name="GOOGLE® CORPORATION"< mailboxcode= mailboxnr=-1
2017-06-07 11:47:03 GATE FindUserInMailbox: name="GOOGLE® CORPORATION"< mailboxcode= mailboxnr=-1

I guess it does not like registered trademark symbol in this case

Aldevinas Katkus
6-7-17
I have reported a bug and attached the email source.
Aldevinas Katkus
6-8-17
gateway crashed again with the above error already fixed. Some interesting lines

2017-06-07 17:52:02 SYSTEM El. pašto siuntimas iš Virginija <<sending email
2017-06-07 17:52:02 Updating wrong E-Mail Queue record with Sent Flag
2017-06-07 17:52:03 Updating wrong E-Mail Queue record with Sent Flag
2017-06-07 17:52:03 Updating wrong E-Mail Queue record with Sent Flag
...
2017-06-08 11:16:18 VK PDF Error: 4133
2017-06-08 11:16:18 VK PDF Error: 4191
2017-06-08 11:16:18 VK PDF error embedding font: fonts/ADVC128B.TTF: Unsupported
ttf format.
2017-06-08 11:16:18 VK Times-Roman will be used instead.
2017-06-08 11:16:18 VK PDF Error: 4191
2017-06-08 11:16:18 VK PDF error embedding font: fonts/ADVC128B.TTF: Unsupported
ttf format.
2017-06-08 11:16:18 VK Times-Roman will be used instead.
2017-06-08 11:18:24 SYSTEM El. pašto siuntimas iš Virginija
2017-06-08 11:18:25 GATE looking for: 2,4,10,14,16,20 0|0|2017-06-08>18 006 800
88; 929 880 800 080.003082?|11:18:24.0|0|12418
2017-06-08 11:18:25 GATE in index: 0:EMailQueVc:SENDING
2017-06-08 11:18:25 GATE D4IndexDelete found no record
2017-06-08 11:18:25 GATE dump of call stack
2017-06-08 11:18:25 GATE D4IndexDelete found no record, now dumping index:
2017-06-08 11:18:25 GATE new clean node at: 1253862400 with 5 atoms and 11798 lo
gical children
2017-06-08 11:18:25 GATE key: 2,4,10,14,16,20 1|0|2004-11-04=48 00; 800 48< 85:
280 800 080.000004|12:5:34.0|0|4, daughter: 1255259136
2017-06-08 11:18:25 GATE new clean node at: 1255259136 with 7 atoms and 2401 l
ogical children

....
2017-06-08 11:18:27 GATE
2017-06-08 11:18:27 GATE end of node
2017-06-08 11:18:27 GATE

crash happened here
Tomas J.
6-8-17
Thank you for the report, we will look at this bug.

Aldevinas Katkus
6-13-17
Created bywdinzey@dpdsoftware.ca22:10 13 Jun 2017
Great news. We are seeing this happening a lot on our server since the last upgrade as well.
which one, the second issue with "nodes" and "atoms" or the first one?

The first one ("google corporation")could easily make SERP non working, because everytime it receives such an email, it crashes the server each time the gateway connects to the pop3 server. We experienced that.
wdinzey@dpdsoftware.ca
6-13-17
Great news. We are seeing this happening a lot on our server since the last upgrade as well.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Piotr Wycichowski
Is it something when a user tried to use any of AI commands in SERP? /Piotr W....
10:07 8 Nov 2024
Brittany McGrath
Thank you for your post Lilian. I see this post has been submitted twice and the second post is being addressed so I will close this duplicate. Thank you. ...
09:41 5 Nov 2024