[Top][All Lists]

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

Re: '=~' crash on NetBSD

From: Chet Ramey
Subject: Re: '=~' crash on NetBSD
Date: Thu, 7 May 2020 09:20:45 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 5/6/20 2:08 PM, Martijn Dekker wrote:
> On NetBSD, bash (all versions, including current git) dumps core when using
> [[ to match against an ERE containing certain UTF-8 characters, for
> example, É ($'\303\211').
> | $ bin/bash-5.0-debug -c "[[ c =~ $'\303\211' ]]"
> |
> | malloc: unknown:0: assertion botched
> | malloc: 0x81ba08: allocated: last allocated from unknown:0
> | free: start and end chunk sizes differ
> | Aborting...Abort trap (core dumped)

What version of NetBSD? I don't run NetBSD, and I can't reproduce this on
other platforms, so I'll have to go searching for something.


``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    address@hidden    http://tiswww.cwru.edu/~chet/

reply via email to

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