X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.3 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Message-ID: <4E64D638.4030507@gmail.com> Date: Mon, 05 Sep 2011 16:01:28 +0200 From: Marco atzeri 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> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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/5/2011 3:26 PM, jojelino wrote: > On 2011-09-05 PM 9:20, Marco atzeri wrote: >> command=0x207e969c "/usr/bin/gs -dQUIET -dNOPAUSE -dBATCH -dSAFER >> -sDEVICE=png16m -dTextAlphaBits=4 -dGraphicsAlphaBits=4 -r150x150 >> -dEPSCrop -sOutputFile=fltk.png -", in_type=0x1a45b18 "w") >> at /pub/cygwin/cvs/src_new/winsup/cygwin/syscalls.cc:3920 >> 3920 { > as far as i know, -dTextAlphaBits=4 -dGraphicsAlphaBits=4 make gs crash. > because if textalphabits is used, apple-patented font hinting is > needed.(although freetype library implemented alternative hinting, it > doesn't migrated to gs.) so gs calls THROW_PATENTED which uses > longjmp(yet i can't make sure why it crashed instead of showing error > message), there is bug report regarding to this issue(but not for this > sigsegv). > http://www.ghostscript.com/pipermail/gs-bugs/2009-November/010447.html > i think it would be okay if you remove textalphabits when invoking gs > Hi jojelino, gs is unlikely crashing as the fltk.png is correctly produced. From strace I know that octave crashes before gs complete its output. Are you sure about the bug number ? http://www.ghostscript.com/pipermail/gs-bugs/2009-November/010447.html is referring to patent expiration Regards 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