Re: [boost] OpenBSD regression, hanging tests!

2003-02-15 Thread John Maddock
> It strange. At least 2.95.3 should crash imidiately. This compiler does
not
> support sigaction. So there is no signal handling installed. And the first

sigaction is supported by all gcc versions if the platform has it (and BSD
does).

John Maddock
http://ourworld.compuserve.com/homepages/john_maddock/index.htm


___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost



RE: [boost] OpenBSD regression, hanging tests!

2003-02-14 Thread Rozental, Gennadiy
> I can give you very little when it comes to information. 
> Under normal runs it just hangs, no output.

It strange. At least 2.95.3 should crash imidiately. This compiler does not
support sigaction. So there is no signal handling installed. And the first
time I force SIGFPE
it should abort. At least that what happening on win32 and sun (I just
checked)
 
> So is there something I can do to get you more meaningfull 
> information?

Could you set a breakpoint on line 73:

divide_by_zero = 1 / divide_by_zero;

and see what is happening here?

Gennadiy.

___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost



RE: [boost] OpenBSD regression, hanging tests!

2003-02-14 Thread Rene Rivera
[2003-02-14] Rozental, Gennadiy wrote:

>> Hangs on both GCC 2.95.3 and 3.2:
>> 
>> test / errors_handling_test...
>> http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.
>> html#errors_handling_test%20gcc
>> http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.
>> html#errors_handling_test%20gcc-3.2
>
>I tested these both in win32 yesteday. They does not pass, but it does not
>hang up either.
>
>Couldn't you give a little bit more information on where exectly it's
>looping?

I can give you very little when it comes to information. Under normal runs
it just hangs, no output.

Trying to attach to a running version from GDB is useless, it just stops the
run, without any semblance of a stack trace, and it can't continue the
execution.

Running it in GDB require turning of some of the signals you are catching.
So after disabling GDB handling of FPE, ABRT, and SEGV I get the infinite
loop of...

red5of5:runtime-link-dynamic {154} gdb ./errors_handling_test
warning: failed to install memory consistency checks; configuration should
define NO_MMCHECK or MMCHECK_FORCE
GNU gdb 4.16.1
Copyright 1996 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-unknown-openbsd3.2"...
(gdb) handle SIGFPE nostop
SignalStop  Print   Pass to program Description
SIGFPENoYes Yes Arithmetic exception
(gdb) handle SIGSEGV nostop
SignalStop  Print   Pass to program Description
SIGSEGV   NoYes Yes Segmentation fault
(gdb) handle SIGABRT nostop
SignalStop  Print   Pass to program Description
SIGABRT   NoYes Yes Aborted
(gdb) run
Starting program:
/export/home/grafik/CVSROOTs/Boost/boost_regression/libs/test/test/bin/errors_handling_test.test/gcc/debug/runtime-link-dynamic/./errors_handling_test
 

Program received signal SIGFPE, Arithmetic exception.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGABRT, Aborted.

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGABRT, Aborted.

>>> repeat an indefinite number of times ;-)

Program received signal SIGSEGV, Segmentation fault.

Program received signal SIGABRT, Aborted.
---Type  to continue, or q  to quit---q
Quit
(gdb) 

The stack trace at this point is the non-informative...

(gdb) bt
#0  0x0 in ?? ()
(gdb)

So is there something I can do to get you more meaningfull information?

-- grafik - Don't Assume Anything
-- [EMAIL PROTECTED] - [EMAIL PROTECTED]
-- 102708583@icq
___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost



RE: [boost] OpenBSD regression, hanging tests!

2003-02-14 Thread Rozental, Gennadiy
> Hangs on both GCC 2.95.3 and 3.2:
> 
> test / errors_handling_test...
> http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.
> html#errors_handling_test%20gcc
> http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.
> html#errors_handling_test%20gcc-3.2

I tested these both in win32 yesteday. They does not pass, but it does not
hang up either.

Couldn't you give a little bit more information on where exectly it's
looping?

Gennadiy.
___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost



Re: [boost] OpenBSD regression, hanging tests!

2003-02-14 Thread William E. Kempf

Rene Rivera said:
> The tests for OpenBSD just finished a while ago and there are some tests
> that fail because they hang, using 99% CPU with indefinite execution:
>
> Hang on GCC 2.95.3:
>
> thread / test_condition...
> 
>http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.html#test_condition%20gcc
>
> thread / test_mutex...
> http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.html#test_mutex%20gcc
>
> thread / test_thread...
> http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.html#test_thread%20gcc
>
> Hangs on both GCC 2.95.3 and 3.2:
>
> test / errors_handling_test...
> 
>http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.html#errors_handling_test%20gcc
> 
>http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.html#errors_handling_test%20gcc-3.2

Thanks.  I'll try to look into this tomorrow.

-- 
William E. Kempf


___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost



[boost] OpenBSD regression, hanging tests!

2003-02-14 Thread Rene Rivera
The tests for OpenBSD just finished a while ago and there are some tests
that fail because they hang, using 99% CPU with indefinite execution:

Hang on GCC 2.95.3:

thread / test_condition...
http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.html#test_condition%20gcc

thread / test_mutex...
http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.html#test_mutex%20gcc

thread / test_thread...
http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.html#test_thread%20gcc

Hangs on both GCC 2.95.3 and 3.2:

test / errors_handling_test...
http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.html#errors_handling_test%20gcc
http://boost.sourceforge.net/regression-logs/cs-OpenBSD-links.html#errors_handling_test%20gcc-3.2


-- grafik - Don't Assume Anything
-- [EMAIL PROTECTED] - [EMAIL PROTECTED]
-- 102708583@icq
___
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost