This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]