On Sat, Aug 08, 2009 at 11:12:02AM +0200, Landry Breuil wrote:
> On Fri, Aug 07, 2009 at 04:06:53PM -0700, Aaron Stellman wrote:
> > Hello ports@,
> > attached is the ports of vifm -- ncurses file manager with vi
> > keybindings.
> > 
> > cat pkg/DESCR
> > Vifm is a ncurses based file manager with vi like keybindings. If you
> > use vi, vifm gives you complete keyboard control over your files without
> > having to learn a new set of commands.
> 
> I had this in my tree at some point (maybe 0.3), and i remember its code
> was rather ugly. Works on i386, but seems to do really bad things (tm)
> on sparc64 just at startup :
> 
> Program received signal SIGABRT, Aborted.
> __stack_smash_handler (func=0x21d058 "moveto_list_pos", damaged=-738134664) 
> at /usr/src/lib/libc/sys/stack_protector.c:91
>       /usr/src/lib/libc/sys/stack_protector.c: No such file or directory.
>         in /usr/src/lib/libc/sys/stack_protector.c
> (gdb) bt
> #0  __stack_smash_handler (func=0x21d058 "moveto_list_pos", 
> damaged=-738134664) at /usr/src/lib/libc/sys/stack_protector.c:91
> #1  0x000000000010c074 in moveto_list_pos (view=0x720698, pos=0) at 
> filelist.c:553
> #2  0x0000000000102e04 in main (argc=1, argv=0xfffffffffffe9a68) at vifm.c:26
> 
> I don't see the reason of this crash, will investigate a bit, but i'll
> appreciate if others could have a look too.
> 
> Landry

That's not surprising, from memory the code uses sizeof(buf)
when it actually wanted bufsize in a number of places. I will take a
look as well.

Tobias

Reply via email to