Package: tcsh Version: 6.17.02-3 Severity: normal Hello,
When the environment variable NLSPATH has a legitimate value, tcsh segfaults during a startup. The following script is an example: #!/bin/csh -f echo -n 'test ...' setenv NLSPATH "/1/1/1/123456789/locale/%l_%t/%N:/1/123/123456789/locale/%l_%t/%N:/1/12345/123456789/locale/%l_%t/%N" /usr/bin/tcsh -f -c 'echo " passed."' # end of script Sorry that the value of NLSPATH is somewhat funny. This is just because we have simplified the testcase. This seems to be a bug of tcsh 6.17.02. I confirmed that upstream's 6.17.00 has no trouble with the above script. This problem has a simple workaround. It is suffice to slightly change NLSPATH, e.g., #!/bin/csh -f echo -n 'test ...' setenv NLSPATH "/1/1/1/123456789/locale/%l_%t/%N:/1/123/123456789/locale/%l_%t/%N:/1/12345/123456789/locale/%l_%t/%N" # a workaround setenv NLSPATH "${NLSPATH}:${NLSPATH}" # 'setenv NLSPATH "${NLSPATH}:bar"' will also work... /usr/bin/tcsh -f -c 'echo " passed."' # end of script Sincerely yours, Atushi TANAKA -- System Information: Debian Release: squeeze/sid APT prefers testing APT policy: (105, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores) Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages tcsh depends on: ii libc6 2.11.2-2 Embedded GNU C Library: Shared lib ii libncurses5 5.7+20100313-2 shared libraries for terminal hand tcsh recommends no packages. tcsh suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org