Charles Campbell wrote:
> Charles Campbell wrote:
> > [email protected] wrote:
> >>
> >> Comment #4 on issue 230 by [email protected]: "Vim: Caught deadly
> >> signal SEGV"
> >> http://code.google.com/p/vim/issues/detail?id=230
> >>
> >> The errors in the libfontconfig.so look like a library problem:
> >> reading 4 bytes where there are only 2. Because of alignment this
> >> probably does not cause a crash.
> >>
> >> The error below update_screen() is most likely what causes the
> >> crash. Can't see what happens there from this info though.
> >>
> > I tried this problem out: gvim -u junk.vim -U NONE macos (where
> > "junk.vim" has the two lines the poster mentioned)
> >
> > * used binary compiled from an older machine: gvim -u junk.vim -U NONE
> > macos
> > - got a crash and no status line
> > - gdb doesn't track gvim after gvim "separates" from the console
> > (ie. becomes its own process)
> > - binary wasn't compiled for debugging and was stripped
> >
> > * recompiled vim for debugging and no stripping
> > - no crash, has status line
> > - valgrind reported no problems
> >
> > I'm going to go and update with the new patches now...
>
> Hmm, apparently I was using an oddball version of vim that wasn't
> completely patched. So I've now rebuilt vim 7.4.320; using
>
> valgrind --log-file=gvim.out gvim -u junk.vim -U NONE macos
>
> The attached file contains the log. Vim crashed eventually, but it took
> a lot of j and k motions, sprinkled with the occasional L and G to get it.
>
> Would one of you tell me how best to apply gdb to gvim? I suppose I
> could run gvim and then attach gdb to it after its started.
You have to run the GUI in the foreground. In gdb use "run -f".
Looks like somehow the data structures allocated for the screen don't
match with the screen size. That's weird.
It probably matters what the terminal size is you start with. Was that
24 x 80?
--
GALAHAD turns back. We see from his POV the lovely ZOOT standing by him
smiling enchantingly and a number of equally delectable GIRLIES draped
around in the seductively poulticed room. They look at him smilingly and
wave.
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" 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/d/optout.