From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62605 invoked by alias); 7 Nov 2018 19:36:20 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 61342 invoked by uid 89); 7 Nov 2018 19:36:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=WAVE, segfault, complaint, Hx-spam-relays-external:ESMTPA X-HELO: vsmx011.vodafonemail.xion.oxcs.net Received: from vsmx011.vodafonemail.xion.oxcs.net (HELO vsmx011.vodafonemail.xion.oxcs.net) (153.92.174.89) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 07 Nov 2018 19:36:15 +0000 Received: from vsmx003.vodafonemail.xion.oxcs.net (unknown [192.168.75.197]) by mta-5-out.mta.xion.oxcs.net (Postfix) with ESMTP id D510B3E0523 for ; Wed, 7 Nov 2018 19:36:09 +0000 (UTC) Received: from Gertrud (unknown [91.47.63.38]) by mta-7-out.mta.xion.oxcs.net (Postfix) with ESMTPA id A47DE300646 for ; Wed, 7 Nov 2018 19:36:07 +0000 (UTC) From: Achim Gratz To: cygwin@cygwin.com Subject: Re: Bug report: Core dump with too many args References: Date: Wed, 07 Nov 2018 19:36:00 -0000 In-Reply-To: (Ole Tange's message of "Wed, 7 Nov 2018 13:37:53 +0000") Message-ID: <87d0rgd6jh.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2018-11/txt/msg00069.txt.bz2 Ole Tange writes: > I get core dump when running: > > $ /bin/echo `seq 1000000` > Segmentation fault (core dumped) > > This also looks bad: > > $ /bin/wc `seq 1000000` > 2 [main] -bash 15396 C:\cygwin\bin\bash.exe: *** fatal error - cmalloc would have returned NULL > Hangup They both just segfault with a stacktrace on my work laptop. OTOH, both succeed on our server, which admittedly has much more physical memory (128GB), with lots of it free while I ran the commands. So I guess the only real complaint is that the out-of-memory condition should take precedence over other faults, or did you have something else in mind? Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple