This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Failed assertion in path.cc (path_conv::check)
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: cygwin at cygwin dot com
- Date: Fri, 21 Jun 2013 03:26:14 -0400
- Subject: Failed assertion in path.cc (path_conv::check)
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