Your message dated Wed, 28 Sep 2011 12:08:09 +0200
with message-id <[email protected]>
and subject line fixed in 6.17.06
has caused the Debian Bug report #595348,
regarding tcsh: Segfault with a legitimate NLSPATH 
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
595348: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=595348
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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



--- End Message ---
--- Begin Message ---
Package: tcsh
Version: 6.17.06-2

This bug is fixed in tcsh version 6.17.06. I ran the test script, and
it passed with no errors.
-- 
regards Thomas


--- End Message ---

Reply via email to