|
Поиск AV с помощью FastMM
|
|||
---|---|---|---|
#18+
Добрый день! Что-то часто в моем проекте стали появляться ошибки доступа к памяти. Я предположил, что это связано с повторным удалением объекта. Собрал проект с FastMM4 FullDebugMode в FastMM4Options.inc, и да получил ошибку: FastMM has detected an attempt to call a virtual method on a freed object. An access violation will now be raised in order to abort the current operation. Но вот стек, места где был первый раз удален объект, почему-то отобразился не полностью: ............ The object was subsequently freed by thread 0x4E54, and the stack trace (return addresses) at the time was: 40758E [System.pas][System][@FreeMem$qqrpv][4806] 4098F1 [System.pas][System][TObject.FreeInstance][16931] 1B26D96 [DXFConv.pas][DXFConv][TsgDXFEntity.FreeInstance][17514] 40A13D [System.pas][System][@ClassDestroy$qqrxp14System.TObject][18298] 1BD2B84 [sm_cad_common.pas][sm_cad_common][TSMCustomDxfInsert.Destroy][262] 409A6B [System.pas][System][TObject.Free][16994] 203D3CE [pl_classes.pas][pl_classes][TplViewTypeObjectProperties.FreeInsert][1569] 203CE95 [pl_classes.pas][pl_classes][TplViewTypeObjectProperties.Destroy][1499] 409A6B [System.pas][System][TObject.Free][16994] 2049BFC [pl_classes.pas][pl_classes][TplViewTypeObjectPropertiesList.Destroy][5080] 409A6B [System.pas][System][TObject.Free][16994] The current thread ID is 0x4E54, and the stack trace (return addresses) leading to this error is: ............ Я абсолютно уверен что уничтожение начинается не с [System.pas][System][TObject.Free] :( Что я не до настроил в проекте/FastMM ? С Уважением, Александр. ... |
|||
:
Нравится:
Не нравится:
|
|||
08.12.2021, 18:03 |
|
Поиск AV с помощью FastMM
|
|||
---|---|---|---|
#18+
https://www.google.com/search?q=FastMM call stack depth Posted via ActualForum NNTP Server 1.5 ... |
|||
:
Нравится:
Не нравится:
|
|||
08.12.2021, 18:22 |
|
Поиск AV с помощью FastMM
|
|||
---|---|---|---|
#18+
Давно использую FastMM4, но такого подвоха от него не ожидал: Change the StackTraceDepth constant in FastMM4.pas. ... |
|||
:
Нравится:
Не нравится:
|
|||
08.12.2021, 18:36 |
|
Поиск AV с помощью FastMM
|
|||
---|---|---|---|
#18+
Lisichkin Я абсолютно уверен что уничтожение начинается не с [System.pas][System][TObject.Free] :( Почему? TObject.Free вызывает перекрытый Destroy. Обычное дело. ... |
|||
:
Нравится:
Не нравится:
|
|||
08.12.2021, 19:33 |
|
|
start [/forum/topic.php?fid=58&msg=40118570&tid=2036801]: |
0ms |
get settings: |
11ms |
get forum list: |
15ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
41ms |
get topic data: |
14ms |
get forum data: |
3ms |
get page messages: |
55ms |
get tp. blocked users: |
2ms |
others: | 265ms |
total: | 414ms |
0 / 0 |