X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org BD3A4385B835 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bellsouth.net Authentication-Results: sourceware.org; spf=none smtp.mailfrom=worsafe AT bellsouth DOT net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bellsouth.net; s=s2048; t=1587162684; bh=yERkY8KyzBs1Hsg3PgS9y0I+22kHnU7DlDoE/cy6bpQ=; h=Subject:References:From:To:Date:In-Reply-To:From:Subject; b=tDcw4ghFxXr8cDS9m9HdpaTU3I4p6fFzrbnPFy1jwgfrxaDA3+i1mlDVEJce6wwU96wkbGkxqbdyIvtxJBNJUsRucsSCdKj/tsn/9FcDlPHQ3jD5ySkShkFttyH3586+kX/WKb82Zj2hpAH/RpZ7NZ9+V3PtZwTo5OK0j4OTrIbXzXMJQYqErocuHEX0AQdN5kE5qF5s8PqBU2zDxm/fdnGATXaZZw+jjJSBhZq9KsrB0Fx9dEPV1B6vOAjJFgFmIfb7N3ibAQCXTHHA/6fgXPZXEW6j0q382rR+KDm16pji2P5kpfIEwdcWjVANw6Zg4mnaMRQ8lEi/TvUvrqJa4g== X-YMail-OSG: YXUNr_0VM1mnzDMa3dT6yyFtDuAdSCgc4XXeBECM5Ki28RZyvsUT7M184txljaa DYdMfkqRSmMiVwSxn7AXN9oqxavf00nZzKXBH.dxILWXGRodExmNHYYHN9tBrhOmTI8AQHDnbyuS Lrtn04yPKQX2eFF.IrWyyrraqDU8FaWX35up5YfUz30fLgG5OfeRE0lbZToikgk4pv5Ezs.iP_DK WEW7xgidTqYNTy9Q39iIUWNJPgUknMtdX.PQMDNXrZyTHlTmRo4V_dMbFhO3huwCnBO2bL56KVGh UsYNlJ7HUd4EkS0vXV0J4HXFxIIGEWJQQh_Bghe2hmwSf2zzAkCc2rV.zUamaIdtq8dqyPwFiheB txlNXaH8rQE9aIVda37Cnfhe41wblEleyCIFFMFPMIKPEmT4hxU6_IWg3jMOISg4VuWntnv1FPgl e5AbnxwjyCsHL1Oy2Wvgr_pT4ylt0V7SDkdy4U0mEnxmj_bBA52ih_UG6MWZOR.wA1g.YtRZcOkY QEwlvjlr0Fbh_8XdJoclQM_W9400jwjNaFr2m9BvS.Y51n_7B21pyuew_3l7ZYxNuW6Oih3BAqXV W1SbGirhQ6eohUEh4CRlB34sMSwVq4l45n1QQksYTLBdgmCXZauKMgTHo3tPUjIq6aNM4SSDl8n1 vQGgq7dlCS9BXYcEcjnPM16d57etuOSns1SOMbIxZBHQItHZv.9ITXhnCwk8PL97D9R4XPvc1yrs bW72mOS8arqgYB3MVRjVTjMpN31.Dx.B9zmvvb.9dP8WMEu1.3st74JpbYAHyIPdQJqP0BsxuSIo cmPuRcVBtw6UNEvZsriC8Ejhc_C6zmZUf2JnG72aZJRBTLUmmCDA0.Ou9guwDjI_PIn0qa0Lu7SB 2CLBq4gghe3pfLgx.19HeLiNwvHPJVOvXTV1SUq5JNtvI5p9KM7EWf8hFurWYQP7nT19xZbx6pbc DTIjSSs0q7CLMagUg.CpKs2IrA4AbkkkzRCjvIRG7lxqBMwP3ar.O6ZZHmpJWFKaB_4m4WtOdm6V vrj1gZlFuvfja8HGA4qO2NHNUClDOQsdBGd2QJ.gNTxck9SCmoDRPZej3XBjPfsVBMKVC4YkInyT h11LdtapddUsLu4JHDzxb72XySG.opGxPw_lcGmmilitnaxKNKwp5_l_GVwnFH8Zjv04m3wW6pJP MdSn_hA9jDCYrQujDyJEB2WVLfIBk8nnGsMmGugB5uc_fB6ULj9WCIltbVS7DMOXtvOeqbBSKliH Y6yj8puUa2DBGCq2nCtN5qr5szFBWO05qkHgSVVRRNtSYqIlFjumbeTmjO5gZ4SswMYOUEQnEGUA G_RKJi9SyCJGw5Nt6yxifiZsdAej_W_LPOcqvQQ-- Subject: Re: cygwin gfortran segfaulting on valid write statements References: <d04d793a-6c8b-7a11-5a9b-5cda1bb86e50 DOT ref AT bellsouth DOT net> <d04d793a-6c8b-7a11-5a9b-5cda1bb86e50 AT bellsouth DOT net> <35fe63d9-b708-8e3b-3cc8-51ab0c7e5025 AT gmail DOT com> From: Charles Russell <worsafe AT bellsouth DOT net> To: cygwin cygwin <cygwin AT cygwin DOT com> Message-ID: <ae0ac0fa-aee4-f8b1-d65c-2b80cf0aeb7e@bellsouth.net> Date: Fri, 17 Apr 2020 17:29:44 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 MIME-Version: 1.0 In-Reply-To: <35fe63d9-b708-8e3b-3cc8-51ab0c7e5025@gmail.com> Content-Language: en-US X-Mailer: WebService/1.1.15651 hermes Apache-HttpAsyncClient/4.1.4 (Java/11.0.6) X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com> List-Unsubscribe: <http://cygwin.com/mailman/options/cygwin>, <mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe> List-Archive: <https://cygwin.com/pipermail/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help> List-Subscribe: <http://cygwin.com/mailman/listinfo/cygwin>, <mailto:cygwin-request AT cygwin DOT com?subject=subscribe> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com> On 4/17/2020 2:39 PM, Marco Atzeri via Cygwin wrote: > in what type of statement have you the segfault ? I recently tried building and running some old fortran code using what I think is the current version of cygwin gfortran (--version reports 9.3.0) and was surprised to get a run-time error message saying that a format statement was missing a left parenthesis. There was no format error in that line (the same code ran previously on cygwin, and runs now on debian stable). Furthermore I would not expect to see a syntax error message at run time. I got around the problem by switching from cygwin to a debian virtual machine, but then went back for another look at cygwin, using different (old, tested) code. Again I hit a segfault, this time with no explicit message, but stepping through gdb tracked the error to a write statement. Copying the offending write statement into a simple example failed to reproduce the error. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple