From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f41.google.com ([209.85.128.41]) by ewsd; Thu Apr 25 12:46:54 EDT 2019 Received: by mail-wm1-f41.google.com with SMTP id c1so142202wml.4 for <9front@9front.org>; Thu, 25 Apr 2019 09:46:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=offblast-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=QpPiovUO6Q4p/3be99wdtVOfYCcC2OFoMSu4wAm9cbE=; b=WIOgvdB+xY7DIiNw2CTePOBmqNBCvWcQTaM3NWdxq6+C/EoLwcVRpnET/GI2iQ1P1f ePPr3GMHv5Hsv4g8UdNd+5i65+5X7c4S8CxUhJhkfO3OSCKunfR4G0VVihuZgDwgxsR0 G9Y74dYCLakWx0jby0uh41826AWmXKKXKBf7hYGtctqPROElfvkTakiCQaaY672JeyMI LBNJgOWN1UaRUsW/cO5j1CxN+svaEck9ciNNRudzzvk1/6jbJtfxlY8JN014ot7k/W5V bYlaVC0aqOcz7DQ8dROjwAxfVpqKZT7qLr/P28Dz2jiuHNWw+4txayUVV6r5i1RZuRoQ SO7g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=QpPiovUO6Q4p/3be99wdtVOfYCcC2OFoMSu4wAm9cbE=; b=k6RZoCYXRxjxJu+5INkV6Xt17QfDZnQP8qKoLN3Gd9zIRNniuhJEf+ogQHcHL9K4sc jvGve9ImTyqbXg88dxW2s5T/18dEIsH504vEhP1cCeLcJm+fnzZEs/xA2AsI98yeGHtY adYBTHyywzNqBYyJyQCFbcFj+qe+9tPTqv7qeB71QBbDxxwLh9OaCLuxJCmd+KC96Gia p8niD9B4URL1o3jX0VFnIil9QhQjq6e7n33xWXRV2bvQrSb5q7eeEw4lG34sNvw45aT3 2ITZXgCh0e1HPUF4UMMaGk3VRR7woeArPKcXbjKv0fJ/kUCsfFii+BmKV0zquILKIfJJ 4rQQ== X-Gm-Message-State: APjAAAXwtc4fg/yaeY0kMaVIXRQMyzliJihX4x1jdwrhzbE3S3foIJlh 2gg+J5OQqdKf+GbZg/5fvtm0xqgwlFOmfk8aUGRJq+hdvrc= X-Google-Smtp-Source: APXvYqxEnI7iPQudkiKn5HZ8Im9/AQJK37PMhu/z5eZO2rOfqLqgs784OFHLSBmgYUWU9WVdUWg75Ff4l/5wFluVl6k= X-Received: by 2002:a7b:cb4e:: with SMTP id v14mr3909197wmj.52.1556210810057; Thu, 25 Apr 2019 09:46:50 -0700 (PDT) MIME-Version: 1.0 References: <5CC13ACC.1060302@debu.gs> In-Reply-To: <5CC13ACC.1060302@debu.gs> From: Nick Owens Date: Thu, 25 Apr 2019 09:46:39 -0700 Message-ID: Subject: Re: [9front] bug: awk crash (patch included) To: 9front@9front.org Content-Type: text/plain; charset="UTF-8" List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: converged extensible configuration persistence extension-oriented NoSQL optimizer i believe this was fixed in commit e4a7fe526ec5. see https://code.9front.org/hg/plan9front/rev/e4a7fe526ec5 for a web copy. On Wed, Apr 24, 2019 at 9:43 PM Pete wrote: > > Here is a patch for an awk crash. The crash can be reproduced by doing > this: > > % awk 'BEGIN{nextfile}' > > This is an illegal awk program, but instead of printing the error > message, it tries to Bterm(nil) and doesn't get as far as the error > message. The patch fixes that and awk spits out the error instead of > crashing. > > (Sorry for the cross-post, someone on the grid told me the main ML was a > better place to send this than 9front-bugs.)