#1 2019-06-12 21:48:45

Daniel
Member
Registered: 2016-12-08
Posts: 23

Exception in WebSocket destruction since update to latest

I pulled the latest mormot yesterday, and now I am getting an exception during shutdown.

First chance exception at $77581E0B. Exception class $C0000005 with message 'access violation at 0x77581e0b: write of address 0x00000014'.

SynBidirSock.TWebCrtSocketProcess.SetLastPingTicks(False)
SynBidirSock.TWebCrtSocketProcess.SendFrame((focConnectionClose, [(out of bound) 2,(out of bound) 4,(out of bound) 5,(out of bound) 6], 8235635, ''))
SynBidirSock.TWebSocketProcess.Destroy
SynBidirSock.TWebCrtSocketProcess.Destroy
SynBidirSock.TWebSocketProcessClient.Destroy
System.TObject.Free
SynBidirSock.THttpClientWebSockets.Destroy
System.TObject.Free
mORMotHttpClient.TSQLHttpClientWinSock.InternalClose
mORMot.TSQLRestClientURI.Destroy

Is a bug in mormot, or am I supposed to do something differently ?

Offline

#2 2019-06-13 07:27:25

pvn0
Member
From: Slovenia
Registered: 2018-02-12
Posts: 211

Re: Exception in WebSocket destruction since update to latest

Fixed, thanks for reporting

Offline

#3 2019-06-13 07:37:17

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,684
Website

Re: Exception in WebSocket destruction since update to latest

Thanks for the report.

It was a bug, and I guess https://synopse.info/fossil/info/f8f17ad5d0 would fix it everywhere needed.

Online

#4 2019-06-13 09:10:49

Daniel
Member
Registered: 2016-12-08
Posts: 23

Re: Exception in WebSocket destruction since update to latest

Works now, thanks for the quick fix.

Offline

Board footer

Powered by FluxBB