View Issue Details

IDProjectCategoryView StatusLast Update
0002202Far ManagerPlugins Managerpublic2012-11-20 20:42
Reportershmuel Assigned ToDrKnS  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Platformx86OSWindowsOS VersionXP SP3
Product Version3.0 
Target Version3.0Fixed in Version3.0 
Summary0002202: Падение при загрузке/выгрузке плагина
DescriptionПри выполнении нижеследующего скрипта Фар (3.0.2958) падает.

-- plugin "align block" (any standard plugin will do)
local guid = win.Uuid("B076F0B0-90AE-408C-AD09-491606F09435")

local handle = far.FindPlugin("PFM_GUID", guid)
if not handle then return end

local info = far.GetPluginInformation(handle)
local name = info.ModuleName
local name2 = name:sub(1,-2)

far.ForcedLoadPlugin("PLT_PATH", name)
far.UnloadPlugin(handle)
win.RenameFile(name, name2)

--far.Message"1" -- if uncommented, there's no crash

far.LoadPlugin("PLT_PATH", name)
win.RenameFile(name2, name) -- restore original name
Steps To Reproduce1. Создаём файл со скриптом, приведенным в описании, например C:\dir1\test.lua.
2. С командной строки запускаем lm:post @C:\dir1\test.lua
3. Падаем.
TagsNo tags attached.
Build2962

Activities

shmuel

2012-11-20 16:27

developer   bugnote:0009745

Наконец-то я могу репортить на Lua, не выслушивая строгих окриков. :)

DrKnS

2012-11-20 19:33

administrator   bugnote:0009746

2962.

Issue History

Date Modified Username Field Change
2012-11-20 16:10 shmuel New Issue
2012-11-20 16:27 shmuel Note Added: 0009745
2012-11-20 19:33 DrKnS Note Added: 0009746
2012-11-20 19:33 DrKnS Assigned To => DrKnS
2012-11-20 19:33 DrKnS Status new => feedback
2012-11-20 20:42 shmuel Status feedback => resolved
2012-11-20 20:42 shmuel Build => 2962
2012-11-20 20:42 shmuel Status resolved => closed
2012-11-20 20:42 shmuel Resolution open => fixed
2012-11-20 20:42 shmuel Fixed in Version => 3.0