X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=Osx bFPu4zgAsUjVPW/8v3efBXTgjN0Hme2YwrklWI/QxrTxZWKMlTjMcl/qF2QVJOSj g0LUnBf0kQkLR91ll0qulwmAgeDcleTjjIu4GEWlvbBdtRdEcJaTT8iu7BDxKgLn SMqH/elFlVqW8TYSu2r/DTRTH+4nf4d059GvpSmI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=ELxXopC58 rjj0PQFHYlxUVPZTkw=; b=LG8JiPldF6U4a7mfr8f7aqqEgXIcLIMYRnYHsgVQb 8vw8/Z0HLa6S2+wQXsXmrjdKnkhIPelKUSDnv3dgRPJsp6lAXZUK0cJTjn9I5x85 9Lin5XwNZv5qnZYjkor4Ah530gvjJuuTcbD0qNVhamcCAG/82Y0E4vHto6PfMLCx No= 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 X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_NO,SPF_PASS autolearn=ham version=3.3.1 Message-ID: <51C40016.3000409@cwilson.fastmail.fm> Date: Fri, 21 Jun 2013 03:26:14 -0400 From: Charles Wilson User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Failed assertion in path.cc (path_conv::check) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit The following statement: char * tmp_path = (char *) cygwin_create_path (CCP_POSIX_TO_WIN_A, newargz[0]); Results in this error popup (and a coredump), when newargz[0] is NULL. Sure, it's a bug in my program to do that...but shouldn't it be handled more gracefully? Like...return a NULL, rather than SIGABRT? Failed assertion src at line 675 of file /home/corinna/src/cygwin/cygwin-1.7.21/64/cygwin-1.7.21-5/src /src/winsup/cygwin/path.cc in function void path_conv::check(const char*, unsigned int, const suffix_info*) -- Chuck -- 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