bash/readline coredumps

From: Michiel Boland (michiel_at_boland.org)
Date: 11/30/04

  • Next message: Andrew Turner: "Live FreeBSD CD"
    Date: Tue, 30 Nov 2004 09:18:04 +0100
    To: current@freebsd.org
    
    

    Hi.
    Lately I am getting core dumps from bash (bash-2.05b.007_2 from ports).
    To reproduce: type a command that spans multiple lines, like

    echo '
    '

    Then bring up the last line with cursor-up or ^P and press enter.

    Some gdb output:

    (gdb) bt
    #0 rl_do_undo () at /usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/undo.c:124
    #1 0x280ee279 in rl_revert_line (count=1, key=0)
        at /usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/undo.c:239
    #2 0x28102e4d in readline_internal_teardown (eof=0)
        at /usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/readline.c:372
    #3 0x281039fc in readline (prompt=0x80c4180 "mboland@leefnet:~$ ")
        at /usr/src/gnu/lib/libreadline/readline/../../../../contrib/libreadline/readline.c:504
    #4 0x08058623 in yy_input_name ()
    #5 0x080c4180 in ?? ()
    #6 0x0807c5e8 in termination_unwind_protect ()
    #7 0x08059fa1 in yyerror ()
    #8 0x0805ae83 in yyerror ()
    #9 0x0805d529 in yyparse ()
    #10 0x08058133 in parse_command ()
    #11 0x080581dd in read_command ()
    #12 0x0805831c in reader_loop ()
    #13 0x08057441 in main ()
    (gdb) print rl_undo_list
    $2 = (UNDO_LIST *) 0x30313100

    This is -CURRENT from last Friday, but the problem has been around longer.

    Anyone any ideas?

    Cheers
    Michiel
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


  • Next message: Andrew Turner: "Live FreeBSD CD"

    Relevant Pages

    • kgdb cleanups
      ... -platforms with the kgdb option may behave in a similar fashion. ... the thread info command and gdb now seems to ask when needed. ... -#define COMMA, ...
      (Linux-Kernel)
    • [UNIX] Lukemftpd (Tnftpd) Multiple Vulnerabilities May Lead To Remote Code Execution
      ... The following security advisory is sent to the securiteam mailing list, and can be found at the SecuriTeam web site: http://www.securiteam.com ... structure tab to indicate if it's acceptable for a command to occur in OOB ... delivering of ABOR and STAT commands in OOB mode. ...
      (Securiteam)
    • Re: Remote Flashing w/ Window Client & OpenOCD
      ... Telnet interface is not as easy as GDB. ... the remote client dumps into the target memory directly. ... is trigger a copy from memory to flash. ... a write command as well as a erase command. ...
      (comp.arch.embedded)
    • Re: [Kgdb-bugreport] [KGDB PATCH][1/7] Add / use kernel/Kconfig.kgdb
      ... Jim Houston wrote: ... >>command to do a better job of displaying the threads. ... >>Gdb would work as it does now if the following set is not done. ... It does require that we implement a new command in the stub, or rather, that we ...
      (Linux-Kernel)
    • NFS locking hangs a process in D state
      ... Recently, I tried to use the visudo command from the sudo port, and the ... GNU gdb 6.1.1 ... There is absolutely no warranty for GDB. ... something significant (network failures, machines rebooting) happening ...
      (comp.unix.bsd.freebsd.misc)