bug-m4
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

m4-1.4.11: assert failure in two self tests on NetBSD


From: Thomas Klausner
Subject: m4-1.4.11: assert failure in two self tests on NetBSD
Date: Fri, 11 Apr 2008 08:07:40 +0200

Hi!

m4-1.4.11 fails two selftests on NetBSD-4.99.48/amd64.
The first one is in test-frexpl:

# gdb test-frexpl test-frexpl.core
GNU gdb 6.5
Copyright (C) 2006 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 "x86_64--netbsd"...
Reading symbols from /usr/lib/libm.so.0...done.
Loaded symbols for /usr/lib/libm.so.0
Reading symbols from /usr/lib/libc.so.12...done.
Loaded symbols for /usr/lib/libc.so.12
Reading symbols from /usr/libexec/ld.elf_so...done.
Loaded symbols for /usr/libexec/ld.elf_so
Core was generated by `test-frexpl'.
Program terminated with signal 6, Aborted.
#0  0x00007f7ffd93269a in kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ffd93269a in kill () from /usr/lib/libc.so.12
#1  0x00007f7ffd9d7a99 in abort () from /usr/lib/libc.so.12
#2  0x00000000004013ae in main () at test-frexpl.c:166
(gdb) fr 2
#2  0x00000000004013ae in main () at test-frexpl.c:166
166           ASSERT (mantissa == 0.505L);
(gdb) p mantissa
$1 = 0.505

The second one is in test-printf-frexpl:

GNU gdb 6.5
Copyright (C) 2006 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 "x86_64--netbsd"...
Reading symbols from /usr/lib/libm.so.0...done.
Loaded symbols for /usr/lib/libm.so.0
Reading symbols from /usr/lib/libc.so.12...done.
Loaded symbols for /usr/lib/libc.so.12
Reading symbols from /usr/libexec/ld.elf_so...done.
Loaded symbols for /usr/libexec/ld.elf_so
Core was generated by `test-printf-frex'.
Program terminated with signal 6, Aborted.
#0  0x00007f7ffd93269a in kill () from /usr/lib/libc.so.12
(gdb) bt
#0  0x00007f7ffd93269a in kill () from /usr/lib/libc.so.12
#1  0x00007f7ffd9d7a99 in abort () from /usr/lib/libc.so.12
#2  0x0000000000400db2 in main () at test-printf-frexpl.c:102
(gdb) fr 2
#2  0x0000000000400db2 in main () at test-printf-frexpl.c:102
102           ASSERT (mantissa == 1.01L);
(gdb) p mantissa
$1 = 1.01
(gdb)

Cheers,
 Thomas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]