NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Matthew on October 30, 2013, 04:35:56 AM
-
Hello.
My NetTalk: 7.10
My Clarion: 8
I have following problem:
1. My webpage is based on frames (top frame - header. left frame - menu, bottom frame - footer, middle frame - data).
2. After Clicking menu option in the left frame it open webpage in the middle frame.
3. So when I start clicking really fast for testing (for example in firefox) after some time:
- web server stopped responding and website is hanging up
or
- web server give following exception:
Exception occurred at address 058AB434
Exception code C0000005: Access Violation
Process PID=27192 Image: ...
Thread 1 Handle=00000130 TID=4652
Exception parameters:
00000000
000001A0
EAX=00000001 EBX=0000000D ECX=00000000 EDX=0018F898
ESI=05FE0D70 EDI=00B67300 EBP=0018FA9C ESP=0018FA78
EIP=058AB434 FLG=00010202
Call Stack:
058AB434
130256C8 netdl017.clw:5230 - SIMPLECLOSESOCKET(LONG,LONG,LONG,LONG)
1302D017 netdl017.clw:2336 - SIMPLESERVERCONNECTIONCLOSE(LONG,LONG,LONG)
13024C1E netdl016.clw:184 - NetSimpleClose
01310D49
01313192
0136386B
0048EBA6
01273AF5
0127337C
Could anyone help?
Why webpage is hanging up when there is no exception?
Why there is exception sometimes which close the web server?
It seems that this exception applies to functions: SIMPLECLOSESOCKET
Regards,
Matthew
-
grab the latest NT7.
cheers
Bruce
-
I upgraded NetTalk to version 7.28 and problem is still the same.
But:
I discovered that if I run webserver on the other machine and I browse my website in firefox from another machine then probably there is no exception and website works fine (at least in my situation).
So I don't know why such a problem occurs when I run webserver and webbrowser on the same machine.
Regards,
Matthew
-
I found the line (in debug view - last entries) where the exception occurs.
EXCEPTION FROM CLARION:
Exception occurred at address 05E3B434
Exception code C0000005: Access Violation
Process PID=5892 Image: C:\Cw8\App\eMik\eMikDost.exe
Thread 1 Handle=00000138 TID=8980
Exception parameters:
00000000
000001A0
EAX=00000001 EBX=0000000D ECX=00000000 EDX=0018F888
ESI=05FC0438 EDI=00C0C6F0 EBP=0018FA8C ESP=0018FA68
EIP=05E3B434 FLG=00010202
Call Stack:
05E3B434
130256C8 netdl017.clw:5230 - SIMPLECLOSESOCKET(LONG,LONG,LONG,LONG)
1302D017 netdl017.clw:2336 - SIMPLESERVERCONNECTIONCLOSE(LONG,LONG,LONG)
13024C1E netdl016.clw:184 - NetSimpleClose
01201469
012038B2
01258373
0049078C eMikDost001.clw:6285 - THISWINDOW.TAKEEVENT
01163AFD
01163384
FROM DEBUG VIEW (last few):
[5892] [NetDLL] [1] NetSimpleReceive() : 4 of 4 of qSimpleInData OnSocket = 2608 SockID = 1460 PacketType = 9 ServerPort = 443 ServerOnSocket = 1768 ServerSockID = 1
[5892] [Net] [1] NetSimple.TakeEvent - (Server Mode) Received a message. PacketType = 9 _DebugPacketNumber = 4467 Mode = 1
[5892] [Net] [1] NetSimple.TakeEvent - Received a Idle Connection packet : Connection has been Inactive. On Socket = 2464 SockID = 1138
[5892] [Net] [1] NetWebServer.Process - Idle incoming connection will be closed. SockID = 1138
[5892] [Net] [1] NetWebServer.AbortServerConnection - AbortServerConnection
[5892] [Net] [1] NetWebServer.AbortServerConnection - Error. Could not find data connection in the DataConnection queue
[5892] [Net] [1] NetSimple.AbortServerConnection - Aborting (Immediately Closing) Server Connection on Socket = 2464 SockID = 1138 Originally Connected to Listening Port = 443
[5892] [NetDLL] [1] SimpleServerConnectionClose - Abort() : Aborting Server Socket Connection. Closing socket 2464 SockID = 1138
[5892] [NetDLL] [1] lookupSimpleServerConnection() : IP = 0.0.0.0 Socket = 2464 SockID = 1138
[5892] [NetDLL] [1] SimpleCloseSocket - Abort() : Calling SetSockOpt. Linger = 0 0
[5892] [NetDLL] [1] SSL_Our_Close() : Before SSL_Shutdown 100402232 - THIS IS THE LINE WHICH THROW THE EXCEPTION AND CLOSE WEBSERVER.
In normal situation after this line there are the following:
[5892] [NetDLL] [2] SSL_Our_Close() : Before SSL_Shutdown 100117256
[5892] [NetDLL] [2] SSL_Our_Close() : Result (SSL_Shutdown) = 0
[5892] [NetDLL] [2] SSL_Our_Close() : Before SSL_Free 100117256
[5892] [NetDLL] [2] SSL_Our_Close() : After SSL_Free
Bruce can You help?
Regards,
Matthew