View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002449 | Far Manager | Macro | public | 2013-07-22 16:26 | 2013-07-24 21:21 |
Reporter | Maximus | Assigned To | DrKnS | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | x64 | OS | Windows | OS Version | 8 |
Product Version | 3.0 | ||||
Fixed in Version | 3.0 | ||||
Summary | 0002449: Far падает при выходе, инициированном макросом | ||||
Description | 1. Отладочный фар, 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 | ||||
Tags | No tags attached. | ||||
Build | 3540 | ||||
|
последний билд (3539). лики есть, но не падает... |
|
В студии? Под отладчиком? |
|
да |
|
Как-то так: 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; } |
|
так вообще всё чисто. ни ликов ни падения. |
|
3540 |
Date Modified | Username | Field | Change |
---|---|---|---|
2013-07-22 16:26 | Maximus | New Issue | |
2013-07-22 17:02 | 2useven10 | Note Added: 0011276 | |
2013-07-22 17:09 | Maximus | Note Added: 0011277 | |
2013-07-22 17:14 | 2useven10 | Note Added: 0011278 | |
2013-07-22 17:24 | DrKnS | Note Added: 0011279 | |
2013-07-22 17:30 | 2useven10 | Note Added: 0011280 | |
2013-07-22 18:23 | DrKnS | Assigned To | => DrKnS |
2013-07-22 18:23 | DrKnS | Status | new => assigned |
2013-07-22 18:25 | DrKnS | Note Added: 0011281 | |
2013-07-22 18:25 | DrKnS | Status | assigned => feedback |
2013-07-24 21:21 | DrKnS | Build | => 3540 |
2013-07-24 21:21 | DrKnS | Status | feedback => closed |
2013-07-24 21:21 | DrKnS | Resolution | open => fixed |
2013-07-24 21:21 | DrKnS | Fixed in Version | => 3.0 |