Hello I think I have found a bug in read. When doing this:
while true read in echo $in end all is well. But when I put it in a file of it's own with a shebang: #!/usr/bin/fish while true read in echo $in end and run it I get segmentation faults when pressing <UP> in the second round. fish: Job 1, “./repl.fish ” terminated by signal SIGSEGV (Address boundary error) and in dmsg [79587.586688] fish[24142]: segfault at 7f1a00000008 ip 000000000042c5b4 sp 00007fff41f4a040 error 4 in fish[400000+5f000] fish -v fish, version 1.23.1 uname -a Linux wrk 2.6.32-32-generic #62-Ubuntu SMP Wed Apr 20 21:52:38 UTC 2011 x86_64 GNU/Linux and Linux lemur 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:50 UTC 2011 i686 athlon i386 GNU/Linux Distro: Ubuntu 10.04.2 LTS (amd64) and 11.04 (i386) Br Pål Wester ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ Fish-users mailing list Fish-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fish-users