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]

grep -P segfault


Can anyone reproduce this?

This is on a fairly small Cygwin installation on WinXP, last updated 4 days 
ago. 

$ echo hello | grep -P '\n'
hello

?  hello

?  hello
      4 [main] grep 3280 _cygtls::handle_exceptions: Error while dumping state 
(probably corrupted stack)
Segmentation fault (core dumped)


(The command I was really trying to run was
  grep --color -P -U '\r[^\n]|[^\r]\n' *.txt
 to find files that don't consistently use CR+LF line separators,
 but I was able to reduce it to a simpler test case.)


Thanks,
Mike

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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