ports/74460: Update port: shell/rc to 1.7.1

Serge Gagnon ser_gagnon at sympatico.ca
Sun Nov 28 22:05:23 PST 2004


>>>>> On Mon, 29 Nov 2004, "Frank" == Frank J. Laszlo wrote:

  Frank> Serge Gagnon wrote:

  +> Close this PR please because it crash if build WITH_READLINE .
  +> http://www.freebsd.org/cgi/query-pr.cgi?pr=74460

  Frank> I couldnt reproduce this crash, what version of FreeBSD, and how
  Frank> was the crash invoked?

; uname -srp
FreeBSD 4.10-STABLE i386
; 
I always get a core dump when I try the 'name completion' feature of 
readline (tab).

I have made a backtrace:
Script started on Sat Nov 27 23:03:59 2004
; gdb wo*/Po*/sh*/rc*/wo*/rc*/rc rc.core
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 2627 in elfstab_build_psymtabs
Deprecated bfd_read called at /usr/src/gnu/usr.bin/binutils/gdb/../../../../contrib/gdb/gdb/dbxread.c line 933 in fill_symbuf

Core was generated by `rc'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libreadline.so.5...done.
Reading symbols from /usr/lib/libncurses.so.5...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
\#0  0x8050b77 in fmtcat (format=0xbfbfef28, 
    s=0xa905a400 <Address 0xa905a400 out of bounds>) at print.c:247
247		fmtappend(format, s, strlen(s));
(gdb) #0  0x8050b77 in fmtcat (format=0xbfbfef28, 
    s=0xa905a400 <Address 0xa905a400 out of bounds>) at print.c:247
\#1  0x8050701 in sconv (format=0xbfbfef28, ignore=115) at print.c:58
\#2  0x8050be6 in printfmt (format=0xbfbfef28, fmt=0x8056a67 "%s: %s\n")
    at print.c:267
\#3  0x8050ce3 in fprint (fd=2, fmt=0x8056a67 "%s: %s\n") at print.c:320
\#4  0x8051a67 in uerror (s=0xa905a400 <Address 0xa905a400 out of bounds>)
    at utils.c:30
\#5  0x804e4b5 in history () at input.c:348
\#6  0x804def7 in fdgchar () at input.c:150
\#7  0x804dc1d in gchar () at input.c:57
\#8  0x804e667 in yylex () at lex.c:105
\#9  0x804fc74 in yyparse () at y.tab.c:669
\#10 0x804e372 in doit (clobberexecit=TRUE) at input.c:296
\#11 0x804f441 in main (argc=1, argv=0xbfbff548, envp=0xbfbff550) at main.c:103
(gdb) ; 
Script done on Sat Nov 27 23:04:09 2004

I also tried to link against vlr and it was a disaster with a 9term
(the one you get at swtch.com/plan9port, not the one in the ports tree).

cheers...


-- 
Serge Gagnon <ser_gagnon at sympatico.ca>
Quebec, Qc, Canada




More information about the freebsd-ports mailing list