delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.6 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_CG,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4E68F861.5090309@gmail.com> |
Date: | Thu, 08 Sep 2011 19:16:17 +0200 |
From: | Marco atzeri <marco DOT atzeri AT gmail DOT com> |
User-Agent: | Mozilla/5.0 (Windows NT 5.1; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: debugging SIGSEV on pclose |
References: | <4E64BE96 DOT 5020107 AT gmail DOT com> <4E68CE13 DOT 6010106 AT gmail DOT com> <20110908142702 DOT GA28918 AT ednor DOT casa DOT cgf DOT cx> <4E68DB48 DOT 3050906 AT gmail DOT com> <4E68EB4A DOT 5040406 AT gmail DOT com> <20110908165203 DOT GB28918 AT ednor DOT casa DOT cgf DOT cx> |
In-Reply-To: | <20110908165203.GB28918@ednor.casa.cgf.cx> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
On 9/8/2011 6:52 PM, Christopher Faylor wrote: > > As I said, on Linux, if you call pclose twice in succession you get > a SEGV. I am comfortable with Cygwin's behavior especially since you > seem to be seeing an actual program problem. unlikely a octave issue as it SEGFAULT's only on cygwin, and all the other platforms are fine: Linux, BSD, Apple. I suspect more a borderline cygwin issue that octave is just hitting. But of course I could be wrong. >> >> $ grep 'pipe:\[5\]' octave.strace >> 24 595 [main] sh 2840 fhandler_base::fixup_after_exec: here for >> '/dev/fd/pipe:[5]' >> 35 103396815 [main] octave-3.4.2 3664 fhandler_base::close: closing >> '/dev/fd/pipe:[5]' handle 0x46C >> 37 896 [main] gs 2840 fhandler_base::fixup_after_exec: here for >> '/dev/fd/pipe:[5]' >> 48 93072 [main] sh 2840! fhandler_base::close: closing >> '/dev/fd/pipe:[5]' handle 0x46C >> 31 2358333 [main] gs 2840 fhandler_base::close: closing >> '/dev/fd/pipe:[5]' handle 0x46C >> >> but I guess they are the two sides of the pipe > > Well, one of them is in an execed process. Some of the others are in > different processes. > > cgf I will further look Marco -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |