You are not logged in.
Hi Arnaud since a few Days we get an Exception c0000005 in the 64Bit Assembly code of
TRWLock.ReadOnlyLock
in line
@spin: mov rax, qword ptr [rcx + TRWLock.Flags]
the 32Bit code runs without exception.
if you need more input let me know.
Rad Studio 12.1 Santorini
Offline
Yes, this is very vague.
Here, TRWLock.ReadOnlyLock works with no problem on Win64.
And I don't remember changing anything about it in the last days.
My guess is that there is something wrong in the class using the TRWLock - release twice or such.
What is the context, i.e. the stack frame?
Is it is mORMot high-level code, or did you use TRWLock by yourself?
Did you try to check for dangling pointers in your project using FastMM4 in full debug mode?
Offline
Hi sry for the delay - was on holydays
The Exception is in the mORMot High Level Code. I don't use the lock by Myself its in the Context of TRestServerUriContext.Authenticate
(How can i upload an Image ?)
Last edited by itSDS (2023-01-31 20:51:09)
Rad Studio 12.1 Santorini
Offline
You can use some online service to publish an image.
For instance, https://postimages.org/ or https://pasteboard.co/
We indeed need more context.
The stack trace would help a lot, since I was not able to reproduce it.
All that I can do now is https://github.com/synopse/mORMot2/commit/b01e0a93
Offline
Here the Stack trace:
https://postimg.cc/8Fz1qcN2
https://postimg.cc/30Tpj2HM
On the Client site i call:
Database.ServiceDefine([IDomVerwaltung], sicClientDriven, cVerwaltungContract);
if you need more info pls ask
Last edited by itSDS (2023-02-01 11:36:19)
Rad Studio 12.1 Santorini
Offline
Hi i testet now a lot and my last test was to comment out your 64Bit ASM Code - And now it works.
I have made 2 Logs now where you can see the Exception in 64Bit Version if you like i can send it to you.
Last edited by itSDS (2023-02-01 18:13:32)
Rad Studio 12.1 Santorini
Offline
I was not able to find out what was wrong.
Please try https://github.com/synopse/mORMot2/commit/c5326052
It should not be noticeable slower, thanks to inlining.
Offline
Hi Arnaud, ty it works
Rad Studio 12.1 Santorini
Offline