bug-gawk
[Top][All Lists]
Advanced

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

[bug-gawk] Segfault when using higher ascii range in regexp


From: Jaromir Obr
Subject: [bug-gawk] Segfault when using higher ascii range in regexp
Date: Sat, 28 May 2016 21:58:03 +0200

Hi,

steps to reproduce:

$ printf "a"|awk '/[\x80-\x81]/ {count++}; END {print count}'
awk: cmd. line:1: fatal error: internal error: segfault
Aborted (core dumped)

or simply:
$ printf "a"|awk '/[\x7f-\x80]/'
awk: cmd. line:1: fatal error: internal error: segfault
Aborted (core dumped)

Used SW:
  • Ubuntu 16.04 x86_64
  • gawk --version: GNU Awk 4.1.3, API: 1.1 (GNU MPFR 3.1.4, GNU MP 6.1.0)
See the attached crashdump.

Regards

Jaromir Obr

Attachment: _usr_bin_gawk.1000.crash
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]