gawk segfaults on nonexisting file

Thomas Bleher bleher at informatik.uni-muenchen.de
Tue Feb 21 00:12:48 UTC 2006


Package: gawk
Version: 1:3.1.5-1
Severity: normal

gawk segfaults whenever it is given a nonexisting file.
Example:
server# gawk '{print $1}' /does-not-exist
*** glibc detected *** free(): invalid pointer: 0x080923a0 ***
zsh: abort      gawk '{print $1}' /does-not-exist

-- System Information:
Debian Release: testing/unstable
  APT prefers dapper-updates
  APT policy: (500, 'dapper-updates'), (500, 'dapper-security'), (500, 'dapper')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-15-386
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=sh: locale: command not found)

Versions of packages gawk depends on:
ii  libc6                     2.3.6-0ubuntu6 GNU C Library: Shared libraries an

gawk recommends no packages.

-- debconf information:
Can't exec "locale": Datei oder Verzeichnis nicht gefunden at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.




More information about the ubuntu-users mailing list