View Issue Details

IDProjectCategoryView StatusLast Update
0002449Far ManagerMacropublic2013-07-25 00:21
ReporterMaximusAssigned ToDrKnS 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Platformx64OSWindowsOS Version8
Product Version3.0 
Target VersionFixed in Version3.0 
Summary0002449: Far падает при выходе, инициированном макросом
Description1. Отладочный фар, v3.0 (build 3527) x86, сразу после загрузки выполняем
macro:post Keys("F10 Enter")
2. Получаем "Memory leaks" и
"Unhandled exception at 0x00CD65AD in Far.exe: 0xC0000005: Access violation writing location 0xCDCDCDE5"

Memory leaks detected:
  delete: 3:\Far30.Latest\far.exe
Total blocks: 3
Total bytes: 224 payload, 96 overhead

Not freed blocks:
Memory leaks detected:
  delete: 3
Total blocks: 3
Total bytes: 224 payload, 96 overhead

Not freed blocks:
farrtl.cpp:416 -> operator new:operator new (68 bytes)
Memory leaks detected:
  delete: 3
Total blocks: 3
Total bytes: 224 payload, 96 overhead

Not freed blocks:
farrtl.cpp:416 -> operator new:operator new (68 bytes)
macro.cpp:1207 -> KeyMacro::PostNewMacro:operator new (88 bytes)
Memory leaks detected:
  delete: 3
Total blocks: 3
Total bytes: 224 payload, 96 overhead

Not freed blocks:
farrtl.cpp:416 -> operator new:operator new (68 bytes)
macro.cpp:1207 -> KeyMacro::PostNewMacro:operator new (88 bytes)
farrtl.cpp:416 -> operator new:operator new (68 bytes)2013 Far Group
TagsNo tags attached.
Build3540

Activities

2useven10

2013-07-22 20:02

developer   bugnote:0011276

последний билд (3539).
лики есть, но не падает...

Maximus

2013-07-22 20:09

reporter   bugnote:0011277

В студии? Под отладчиком?

2useven10

2013-07-22 20:14

developer   bugnote:0011278

да

DrKnS

2013-07-22 20:24

administrator   bugnote:0011279

Как-то так:

Index: macro.cpp
===================================================================
--- macro.cpp (revision 10691)
+++ macro.cpp (working copy)
@@ -472,6 +472,7 @@
 KeyMacro::~KeyMacro()
 {
     while (!m_StateStack.empty()) PopState(false);
+ DeleteValues(m_CurState->m_MacroQueue);
     delete m_CurState;
 }

2useven10

2013-07-22 20:30

developer   bugnote:0011280

так вообще всё чисто. ни ликов ни падения.

DrKnS

2013-07-22 21:25

administrator   bugnote:0011281

3540

Issue History

Date Modified Username Field Change
2013-07-22 19:26 Maximus New Issue
2013-07-22 20:02 2useven10 Note Added: 0011276
2013-07-22 20:09 Maximus Note Added: 0011277
2013-07-22 20:14 2useven10 Note Added: 0011278
2013-07-22 20:24 DrKnS Note Added: 0011279
2013-07-22 20:30 2useven10 Note Added: 0011280
2013-07-22 21:23 DrKnS Assigned To => DrKnS
2013-07-22 21:23 DrKnS Status new => assigned
2013-07-22 21:25 DrKnS Note Added: 0011281
2013-07-22 21:25 DrKnS Status assigned => feedback
2013-07-25 00:21 DrKnS Build => 3540
2013-07-25 00:21 DrKnS Status feedback => closed
2013-07-25 00:21 DrKnS Resolution open => fixed
2013-07-25 00:21 DrKnS Fixed in Version => 3.0