[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#344082: tetex-bin: fmtutil segfault



Hi Matthias, hi Emmanuel,

again a shell script that segfaults.  Could 344082 and 343444 be the
same bugs?  Emmanuel, which version of bash is installed on your system? 

Emmanuel Fuste <emmanuel.fuste@laposte.net> wrote:

> Package: tetex-bin
> Version: 3.0-12
> Severity: grave
> Justification: renders package unusable
>
> Setting up tetex-bin (3.0-12) ...
> Running fmtutil-sys. This may take some time. ...
> /usr/bin/fmtutil: line 344: 16723 Segmentation fault      ${1+"$@"}

Line 344 is the opening brace `{' in 

###############################################################################
# verbose (cmd)
#   execute cmd. Redirect output depending on $mktexfmtMode.
###############################################################################
verbose()
{
  $mktexfmtMode && ${1+"$@"} >&2 || ${1+"$@"}
}

and again there is a variable that's supposed to contain a command and
is not yet expanded before the shell segfaults.

> -- System Information:
> Debian Release: testing/unstable
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: i386 (i586)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.14-rc5
> Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)


Regards, Frank

-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer




Reply to: