Re: assert does not show output in cygwin test build

2019-10-09 Thread Biswapriyo Nath
>From Takashi Yano's query, I ran those command, the last one shows the assertion output. But wait! I rename the home folder (~) in cygwin then revert it back. Now there is no issue. Don't know what happened. -- Problem reports: http://cygwin.com/problems.html FAQ: http://c

RE: assert does not show output in cygwin test build

2019-10-09 Thread Pavel Fedin
> Is this surely the reply to "Re: assert does not show output in > cygwin test build" ? > > Or your reply is regarding "Cygwin and stdexcept bug ?" ? Ops, sorry, messed up. :) The latter of course. Kind regards, Pavel Fedin Senior Engineer Samsung El

Re: assert does not show output in cygwin test build

2019-10-09 Thread Takashi Yano
t; 2. What happens if you execute: > > ./a.exe 2>&1 | cat > > The same. No output. > From gdb i know that the control reaches __cxa_throw and then > RaiseException(). Then the app apparently just exits. > > I'll try to debug this myself when i have some

RE: assert does not show output in cygwin test build

2019-10-09 Thread Pavel Fedin
Hello! > Thanks for your report. However, I cannot reproduce the problem. > > 1. Could you please describe the steps to reproduce this? g++ test.cpp -o test ./test > 2. What happens if you execute: > ./a.exe 2>&1 | cat The same. No output. From gdb i know that the control reaches __cxa_thr

Re: assert does not show output in cygwin test build

2019-10-09 Thread Takashi Yano
On Wed, 9 Oct 2019 12:44:14 +0530 Biswapriyo Nath wrote: > * mintty version: mintty 3.0.6 (x86_64-pc-cygwin) > * cygwin version: 3.1.0-0.6 > * code: > > #include > > int main() { > int x = 1; > assert(x == 0); > } > > * Expected result: The terminal should show this message which appers > i

assert does not show output in cygwin test build

2019-10-09 Thread Biswapriyo Nath
* mintty version: mintty 3.0.6 (x86_64-pc-cygwin) * cygwin version: 3.1.0-0.6 * code: #include int main() { int x = 1; assert(x == 0); } * Expected result: The terminal should show this message which appers in latest stable cygwin version. assertion "x == 0" failed: file "test.c", line 6, f