On 24/01/14 22:55, Corey O'Connor wrote:
> Hi all,
> Using GHC 7.6.3 I'm encountering a segfault when using yi. I've been trying
> to narrow this down. Has anybody else encountered an issue like this? If
> you have encountered a crash then what UI are you using?
>
> I can only reproduce the crash using vty 5.0 and not 4.7. I'm not sure
> where on the cause/correlation spectrum that relationship is.
>
> 1. start yi
> 2. enter exactly ":tabedit test.txt". This will create a new "tab" with the
> test.txt title.
> 3. type "gt" - next tab
> 4. type "gT" - previous tab
> 5. enter some text, delete some text.
> 6. repeat with step 3
>
> Almost always, yi will crash with a segmentation fault on linux and a
> "strange closure type" on Mac. Not always the first cycle, but doesn't take
> long.
>
> -Corey O'Connor
> [email protected]
> http://corebotllc.com/
>

Hi,

I wanted to Yi with Vty 5.0 to try this but I'm getting build failures
due to the version change:

> src/library/Yi/UI/Vty.hs:61:35:
>     Ambiguous occurrence `Config'
>     It could refer to either `Yi.Config.Config',
>                              imported from `Yi.Config' at 
> src/library/Yi/UI/Vty.hs:37:1-16
>                              (and originally defined at 
> src/library/Yi/Config.hs:49:6-11)
>                           or `Vty.Config',
>                              imported from `Graphics.Vty' at 
> src/library/Yi/UI/Vty.hs:40:1-52
>                              (and originally defined in 
> `Graphics.Vty.Input.Internal')
>
> src/library/Yi/UI/Vty.hs:81:16: Not in scope: `mkVtyEscDelay'
>
> src/library/Yi/UI/Vty.hs:85:11:
>     Not in scope: data constructor `Vty.DisplayRegion'
>
> src/library/Yi/UI/Vty.hs:85:59:
>     Not in scope: `Vty.terminal'
>     Perhaps you meant one of these:
>       `Vty.terminal_ID' (imported from Graphics.Vty),
>       `Vty.terminal_ID' (imported from Graphics.Vty)
>
> src/library/Yi/UI/Vty.hs:158:13:
>     Not in scope: data constructor `Vty.KASCII'
>
> src/library/Yi/UI/Vty.hs:159:13:
>     Not in scope: data constructor `Vty.KASCII'
>
> src/library/Yi/UI/Vty.hs:167:13:
>     Not in scope: data constructor `Vty.KNP5'

Do you have a branch where all this is fixed up and I could just check
it out and try it out?

--
Mateusz K.

-- 
-- 
Yi development mailing list
[email protected]
http://groups.google.com/group/yi-devel
--- 
You received this message because you are subscribed to the Google Groups 
"yi.devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to