--- Begin Message ---
- To: Debian Bug Tracking System <submit@bugs.debian.org>
- Subject: fish: crashes when trying to complete $ as the first thing
- From: Gustavo Noronha Silva <kov@debian.org>
- Date: Wed, 25 Feb 2009 13:30:46 -0300
- Message-id: <20090225163046.10770.80702.reportbug@abacate.horta>
Package: fish
Version: 1.23.0-6
Severity: important
If I type echo $<tab> as the first thing in a fish shell, it crashes.
Here's a little test demonstrating the problem:
kov@abacate ~> bash
kov@abacate:~$ echo $
kov@abacate:~$ fish
Welcome to fish, the friendly interactive shell
Type help for instructions on how to use fish
kov@abacate ~> echo $
Segmentation fault (core dumped)
A backtrace follows:
(gdb) bt full
#0 escape (in_orig=0x861db68, flags=<value optimized out>) at common.c:818
in = (const wchar_t *) 0x864c5f0
escape_all = 1
no_quoted = 0
out = (wchar_t *) 0x8626b80
pos = (wchar_t *) 0x866b000
need_escape = 1
need_complex_escape = 1
__func__ = "escape"
#1 0x0806ebde in reader_readline () at reader.c:1162
begin = (wchar_t *) 0x85fb930
end = (wchar_t *) 0x85fb948
token_begin = (wchar_t *) 0x85fb944
token_end = (wchar_t *) 0x85fb948
buffcpy = (wchar_t *) 0x8607c78
c = 57367
i = <value optimized out>
last_char = 36
yank = 0
yank_str = <value optimized out>
comp = (array_list_t *) 0x85f9340
comp_empty = 0
finished = <value optimized out>
old_modes = {c_iflag = 11522, c_oflag = 5, c_cflag = 1215,
c_lflag = 35377, c_line = 0 '\0',
c_cc = "\003\034\177\025\004\000\001�\021\023\032�\022\017\027\026�", '\0' <repeats 14 times>, c_ispeed = 15, c_ospeed = 15}
#2 0x0806f478 in reader_read (fd=0, io=0x0) at reader.c:2289
res = <value optimized out>
inter = <value optimized out>
#3 0x080840a1 in main (argc=1, argv=0xbfb59754) at fish.c:327
res = <value optimized out>
cmd = 0x0
my_optind = 1
Thanks,
-- System Information:
Debian Release: 5.0
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.28kov (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages fish depends on:
ii bc 1.06.94-3 The GNU bc arbitrary precision cal
ii elinks [www-browser] 0.12~pre2.dfsg0-1 advanced text-mode WWW browser
ii epiphany-gecko [www-br 2.24.3-1 Intuitive GNOME web browser - Geck
ii epiphany-webkit [www-b 2.24.2.1-1 Intuitive GNOME web browser - webk
ii iceweasel [www-browser 3.0.6-1 lightweight web browser based on M
ii libc6 2.9-3 GNU C Library: Shared libraries
ii libncurses5 5.7+20090214-1 shared libraries for terminal hand
ii links [www-browser] 2.2-1 Web browser running in text mode
ii lynx 2.8.7dev13-1 Text-mode WWW Browser (transitiona
ii lynx-cur [www-browser] 2.8.7dev13-1 Text-mode WWW Browser with NLS sup
ii midori [www-browser] 0.1.2-1 fast, lightweight graphical web br
ii w3m [www-browser] 0.5.2-2+b1 WWW browsable pager with excellent
Versions of packages fish recommends:
ii xsel 1.2.0-1 command-line tool to access X clip
Versions of packages fish suggests:
ii doc-base 0.9.1 utilities to manage online documen
ii menu 2.1.41 generates programs menu for all me
-- no debconf information
--- End Message ---