I will apply that patch (along with a few others) and push out a new release tonight.
Cheers, -Corey O'Connor On Fri, May 1, 2009 at 6:49 AM, Colin McQuillan <m.ni...@googlemail.com> wrote: > Dear Corey, > > You're listed as vty maintainer. Could you apply the attached patch to > fix http://code.google.com/p/yi-editor/issues/detail?id=264 ? > > Here's a test case: > >> import Graphics.Vty >> import Control.Exception >> >> catchLog = handle (\except -> do putStrLn $ show (except :: IOException)) >> >> main = do >> vty <- mkVty >> catchLog $ update vty pic { pImage = empty, pCursor = NoCursor } >> catchLog $ update vty pic { pImage = empty, pCursor = NoCursor } >> shutdown vty > > Expected behavior: no output. > Actual behavior: "double free" segfault, the same as described in the > Yi bug report. > > -- > Colin McQuillan > --~--~---------~--~----~------------~-------~--~----~ Yi development mailing list yi-devel@googlegroups.com http://groups.google.com/group/yi-devel -~----------~----~----~----~------~----~------~--~---