From: Arnout E. <no...@bz...> - 2014-05-14 21:44:35
|
Hi Matthieu, Thanks for the pointer. I've been to run the script and kind of reproduce the problem: for me notion didn't crash outright but ended up in an infinite loop - not much better :). Upon inspection this seems to be a bona fide pointer arithmetic bug that's been lurking there since before 2005. I think this should now be fixed on git master HEAD, can you verify it indeed works for you, too? Kind regards, Arnout On Tue, May 13, 2014 at 8:35 AM, Matthieu Moy <Mat...@gr...>wrote: > Arnout Engelen <ar...@bz...> writes: > > > On Sun, May 4, 2014 at 7:47 PM, Matthieu Moy < > Mat...@gr...> wrote: > > > > I'm using notion from Debian, and collapse.lua from here: > > > https://github.com/dkogan/notion-scripts/blob/master/scripts/collapse.lua > > (move all clients to the same frame and close all other frames, like > C-x > > 1 in Emacs) > > > > The last upgrade broke collapse.lua: using it now causes notion to > > segfault. > > > > Can you explain how exactly you invoke this script? I can't really seem > to reproduce the crash (or make the > > script do anything useful, actually). > > A looong time I wrote this config, and I don't remember how it > works ;-). > > I use emacs-bindings.lua and collapse.lua together: > > > https://github.com/dkogan/notion-scripts/blob/master/keybindings/emacs_bindings.lua > > (essentially, I get the same split/join/... behavior for notion and for > Emacs, just shifting my thumb from the Alt_L key to the Super_L key) > > The relevant part is: > > Emacs.WTiling_X = { > kpress ("AnyModifier+1", "collapse.collapse(_)"), > } > > Emacs.WTiling = { > submap(META.."x", Emacs.WTiling_X), > } > > defbindings("WTiling", Emacs.WTiling) > > Then, split your workspaces in any way, type Control-x 1 and you'll get > a single split with all frames attached to it. > > > In the mean time, can you try and reproduce the problem with > > the debug_defer_crash git branch? This should no longer crash notion, > > but spew out all kinds of diagnostics. > > No time today, but I'll try when I get time. > > -- > Matthieu Moy > http://www-verimag.imag.fr/~moy/ > |