Using the '>' operator to create a file larger than 2GB fails under tcsh from RC2. Error is "Filesize limit exceeded (core dumped)". However, using the 'limit' command reveals that no fsize limit is set. Creating the file using bash is successful. This is a change from 7.0 -- it worked fine under 7.0-release. I hadn't tested this case with earlier betas, so I don't know when the problem was introduced. Here's a backtrace from gdb on the core file: [dumpdisk@danton t]$ dd if=/dev/zero bs=1M count=3072 > foo Filesize limit exceeded (core dumped) [dumpdisk@danton t]$ ls core foo [dumpdisk@danton t]$ gdb tcsh GNU gdb 5.0rh-3 Red Hat Linux 7.1 Copyright 2001 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-redhat-linux"... (no debugging symbols found)... (gdb) core core warning: core file may not match specified executable file. Core was generated by `dd if /dev/zero bs 1M count 3072'. Program terminated with signal 25, File size limit exceeded. #0 0x400f4664 in ?? () (gdb) bt #0 0x400f4664 in ?? () #1 0x0804a589 in strcpy () #2 0x0804acd7 in strcpy () #3 0x40041d4c in ?? () (gdb)
See also bug #30797 -- tcsh has very bad behavior on appends (>>) that will extend a file past 2GB. The problem reported in 30797 /will cause data loss/.
*** This bug has been marked as a duplicate of 30797 ***