X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.3 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RCVD_NUMERIC_HELO,RP_MATCHES_RCVD,SPF_HELO_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: jojelino Subject: Re: debugging SIGSEV on pclose Date: Mon, 05 Sep 2011 22:26:53 +0900 Lines: 15 Message-ID: References: <4E64BE96 DOT 5020107 AT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 5.2; rv:8.0a2) Gecko/20110904 Thunderbird/8.0a2 In-Reply-To: <4E64BE96.5020107@gmail.com> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 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 -- 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