#1 2013-06-12 17:09:01

Junior/RO
Member
Registered: 2011-05-13
Posts: 210

AV when TSQLLog.Family.Level = LOG_VERBOSE

I am using mORMot (source code from current fossil top leaf) + Unigui, SQLite, Delphi XE2, windows 7.

The application is raising this exception when exiting:

---------------------------
Debugger Exception Notification
---------------------------
Project ouvidoria.exe raised exception class $C0000005 with message 'access violation at 0x7647d09c: read of address 0x73c295dd'.
---------------------------
Break   Continue   Help   
---------------------------

The debugger stops at line 31800 of SynCommons.pas.


No AV if I comment this line

  TSQLLog.Family.Level := LOG_VERBOSE;

Offline

#2 2013-06-12 18:44:13

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

Re: AV when TSQLLog.Family.Level = LOG_VERBOSE

In fact, this access violation occurs during the stack trace logging.
In real world, it should be catched and ignored.

We will need a full stack trace of the problem.

Also try to set the corresponding TSQLog.Family.StackTraceUse := stOnlyAPI option, to ignore this manual stack trace logging.

Offline

Board footer

Powered by FluxBB