Community


Exceptions in selfhosted InternetIDService

Links used in this discussion
Support level: Free or trial
Hello,

the server (v3.3.4.0)is  running on my own site as a service.
Regarding to its log it has sometimes a specific exception.
The same was happening with the former used v3.0.1.0,
same exception but naturally different IP.

Exception is "Access violation at 00000077".
Since its accessing eax+$78, eax must be $ffffffff. ([rax+$78])
Its a weird result for lpOverlapped points to.???

I was only digging into these logs, because i have these annoying disconnecting issues
every random times (every 5 minutes  or longer).
That was also the reason for installing the update to agent/viewer 7.1.7.0 with server 3.3.4.0
I will see if this will help with the disconnecting problem.

I had these with agent+viewer


here the log from 3.3.4.0
[...]
011e7a1c 1237   cmp     byte ptr [rbp+$d7], 0
011e7a23        jz      loc_11e7af4
011e7a29 1241   cmp     qword ptr [rbp+$b0], 0
011e7a31        jz      loc_11e7c65
011e7a37 1243   mov     rax, [rbp+$b0]
011e7a3e      > movzx   rax, byte ptr [rax+$78]
011e7a43        cmp     al, 3
011e7a46        jnb     loc_11e7c65
011e7a4c 1248   call    -$47b6c1 ($d6c390)     ; System.Classes.TThread.GetTickCount64
011e7a51        mov     [rbp+$b8], rax
011e7a58 1249   mov     rax, [rbp+$b0]
[...]

and from 3.0.1.0
disassembling:
[...]
00ab0ba1 1145   cmp     byte ptr [rbp+$d7], 0
00ab0ba8        jz      loc_ab0c79
00ab0bae 1149   cmp     qword ptr [rbp+$c0], 0
00ab0bb6        jz      loc_ab0de2
00ab0bbc 1151   mov     rax, [rbp+$c0]
00ab0bc3      > movzx   rax, byte ptr [rax+$78]
00ab0bc8        cmp     al, 3
00ab0bcb        jnb     loc_ab0de2
00ab0bd1 1156   call    -$687556 ($429680)     ; Winapi.Windows.GetTickCount64
00ab0bd6        mov     [rbp+$b0], rax
00ab0bdd 1157   mov     rax, [rbp+$c0]




from 3.0.1.0  the same with 3.3.4.0

05-52-43 24-01-2023 T: Access violation at address 0000000000AB0BC3 in module 'InternetIdService.exe'. Read of address 0000000000000077. (EAccessViolation)
date/time          : 2023-01-24, 05:52:42, 653ms
computer name      : Noname
user name          : SYSTEM <noname>
registered owner   : noname
operating system   : Windows 10 x64 build 19042
system language    : German
system up time     : 31 days 14 hours
program up time    : 31 days 14 hours
processors         : 8x Intel® Core™ i7-4790 CPU @ 3.60GHz
physical memory    : 27407/32471 MB (free/total)
free disk space    : (C:) 191,78 GB
display mode       : 1024x768, 32 bit
process id         : $df8
allocated memory   : 24,99 MB
largest free block : 131021,95 GB
command line       : "c:\Program Files (x86)\Remote Utilities - Server\InternetIdService.exe" -service
executable         : InternetIdService.exe
exec. date/time    : 2021-04-28 22:53
version            : 3.0.1.0
compiled with      : Delphi 10.4 Sydney
madExcept version  : 5.1.0
callstack crc      : $e42ca1b9, $eb363461, $e8d5394d
exception number   : 1
exception class    : EAccessViolation
exception message  : Access violation at address 0000000000AB0BC3 in module 'InternetIdService.exe'. Read of address 0000000000000077.

thread $1074:
00ab0bc3 +b3 InternetIdService.exe Iocp.TcpSocket 1151 +25 TIocpIoThread.Execute
00505114 +24 InternetIdService.exe madExcept               HookedTThreadExecute
00564700 +40 InternetIdService.exe System.Classes          ThreadProc
004117aa +3a InternetIdService.exe System                  ThreadWrapper
00504fe9 +49 InternetIdService.exe madExcept               ThreadExceptFrame
7ffb063a +0e KERNEL32.DLL                                  BaseThreadInitThunk
7ffb07cd +1b ntdll.dll                                     RtlUserThreadStart

Thank you
Hello,

Thank you for your message.

Could you please clarify if the log file containing the "Access violation" error is from the RU Server or if it's from a Viewer log?
You can also additionally send us the Host and Viewer logs for a review to support@remoteutilities.com.

Looking forward to your reply.
Support level: Free or trial
Hello Pauline,

thanks for your reply.
As the topic says, its from RU-Server.
"c:\Program Files (x86)\Remote Utilities - Server\Logs"  and its subdirs
The running service/app is the InternetIdService.exe.

I will upload 2 files to your given mail.

Thank you
Hello,

Thank you for the provided files.

Could you please confirm if aside from seeing the errors in the log files, the self-hosted Server works as expected (i.e. there are no frequent disconnections or other issues)?

Looking forward to your reply.

* Website time zone: America/New_York (UTC -4)