#1 2024-02-02 02:42:09

yslmyr1990
Member
Registered: 2024-02-02
Posts: 8

When i test the demo httpServerRaw,i got an error

The code of mORMot2 is newest,the exception raise on mormot.core.base.asmx86.inc function MoveFast line 192

@sml24: movq    qword ptr [edx + 8], xmm2     // second 8.

This is the call stack:

    mormot.core.base.MoveFast(???,???,???)
    mormot.core.buffers.TRawByteStringBuffer.RawAppend($8E99A3,17)
    mormot.net.server.THttpServerRequest.SetupResponse($3210098,-1,262144)
    mormot.net.async.THttpAsyncConnection.DoResponse(soContinue)
    mormot.net.async.THttpAsyncConnection.DoRequest
    mormot.net.async.THttpAsyncConnection.OnRead
    mormot.net.async.TPollAsyncSockets.ProcessRead($331DF00,(230210247126809292, 61209292, 53600000, 61209292, 53600000, (64204, 933, 57088, 817), (204, 250, 165, 3, 0, 223, 49, 3)))
    mormot.net.async.TAsyncConnectionsThread.Execute

My test enviroment is Delphi 11, windows 11, cpu is i7-1360P.
I try it on other Delphi version and Lazarus,it`s raise same exception.

Last edited by yslmyr1990 (2024-02-02 02:45:36)

Offline

#2 2024-02-02 14:49:59

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

Re: When i test the demo httpServerRaw,i got an error

There was indeed a regression, but only when header interning was enabled - which is not the case in our regression tests, or for default HTTP/REST servers, but only for benchmarking context, like this sample.
Sorry for the issue.

Should be fixed now with
https://github.com/synopse/mORMot2/commit/8b47b554

Offline

Board footer

Powered by FluxBB