[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug: assertion failure in tests
From: |
David Fang |
Subject: |
bug: assertion failure in tests |
Date: |
Sat, 27 Mar 2004 02:38:50 -0500 (EST) |
GMP-maintainers,
I may have found a bug in gmp. I enabled assertions in my
configuration and it died on a scanf test. Here are the details:
VERSION: GMP version 4.1.2
PLATFORM: Mac OS X 10.3.3, Power Mac dual 533 MHz G4, 256 MB RAM
configi[fsf].guess: powerpc7400-apple-darwin7.3.0
uname -a: Darwin Fangs-Mac.local 7.3.0 Darwin Kernel Version
7.3.0: Fri Mar 5 14:22:55 PST 2004;
root:xnu/xnu-517.3.15.obj~4/RELEASE_PPC Power Macintosh powerpc
COMPILER: gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)
TEST_PROGRAM: (from the tests included with distribution)
in tests/misc/t-scanf.c: line 1421, assertion failed
1420: ret = gmp_sscanf ("123", "%*d%d", &x);
1421: ASSERT_ALWAYS (ret == -1);
CONFIGURATION:
configure --enable-cxx --disable-shared --enable-assert CXX=g++
CFLAGS="-fast -mcpu=7450 -pipe"
STACKDUMP: (not any more helpful than the above description)
(gdb) where
#0 0x90042aac in kill ()
#1 0x9009ec5c in abort ()
#2 0x00088fbc in __gmp_assert_fail ()
#3 0x00005c84 in check_misc ()
#4 0x00006a5c in main ()
#5 0x000025dc in _start (argc=1, argv=0xbffffa84, envp=0xbffffa8c) at
/SourceCache/Csu/Csu-46/crt.c:267
#6 0x00002450 in start ()
Hope this is enough information.
David Fang
- bug: assertion failure in tests,
David Fang <=