After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 122347 - strtod-test fails
strtod-test fails
Status: RESOLVED DUPLICATE of bug 101874
Product: glib
Classification: Platform
Component: general
2.2.x
Other OSF/1
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2003-09-15 16:00 UTC by mmokrejs
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description mmokrejs 2003-09-15 16:00:14 UTC
I tried glib-2.2.3 on Tru64Unix:


$ LDFLAGS="-L/software/@sys/usr/lib -L/usr/local/lib -L/usr/lib"
CXXFLAGS="-O2 -arch ev6" CPPFLAGS="-I/software/@sys/usr/include
-I/usr/local/include -I/software/@sys/usr/include/freetype2" CFLAGS="-ieee
-O2 -arch ev6 -std1 -pthread" ./configure  --prefix=/software/@sys/usr
--enable-shared --enable-static --enable-threads
$ make
$ make check
[cut]
PASS: spawn-test
PASS: strfunc-test
PASS: string-test

** ERROR **: file strtod-test.c: line 49: assertion failed: (d ==
g_ascii_strtod (g_ascii_dtostr (buffer, sizeof (buffer), d), NULL))
aborting...
FAIL: strtod-test
PASS: thread-test
PASS: threadpool-test
PASS: tree-test
PASS: type-test

$ dbx ../tests/.libs/lt-strtod-test ./core
dbx version 5.1
Type 'help' for help.
Core file created by program "lt-strtod-test"

thread 0x8 signal IOT/Abort trap at >*[__nxm_thread_kill, 0x3ff8057d818]  
     ret     zero, (ra), 1
(dbx) where
>  0 __nxm_thread_kill(0x6, 0x20000a0fc40, 0x3ff80576618, 0x3ffc0184000,
0x3ffc0184000) [0x3ff8057d818]
   1 pthread_kill(0x0, 0x11fffaeb8, 0x0, 0x11fffc010, 0x1) [0x3ff80576630]
   2 (unknown)() [0x3ff80581bd8]
   3 (unknown)() [0x3ff807e3aa0]
   4 exc_raise_signal_exception(0x60ffe0003, 0x86, 0x0, 0x3ff8057d818, 0x1)
[0x3ff807e3e90]
   5 (unknown)() [0x3ff80578110]
   6 __nxm_thread_kill(0x0, 0x0, 0x0, 0x3ffc0184000, 0x3ffc0184000)
[0x3ff8057d818]
   7 pthread_kill(0x0, 0x3ffffff88c8, 0x2, 0x3ffffff95a8, 0x1) [0x3ff80576630]
   8 (unknown)() [0x3ff8058daf8]
   9 __tis_raise(0x1, 0x0, 0x3ff8013b4d8, 0x6, 0x3ff801a20d4) [0x3ff8013b4d4]
  10 raise(0x3ff8013b4d8, 0x6, 0x3ff801a20d4, 0x100000000, 0x3ff801c53d4)
[0x3ff801a20d0]
  11 abort(0x3ffbffbb50c, 0x140000068, 0x3ff80577e70, 0x0, 0x600000000)
[0x3ff801c53d0]
  12 g_logv(0x11fffbf38, 0x3bb6d0022f5a4, 0x3ff801cff1c, 0x11fffbfc0, 0x0)
[0x3ffbffbb508]
  13 g_log(0x0, 0x4, 0x140000138, 0x140000168, 0x31) [0x3ffbffbb6f4]
  14 main() ["strtod-test.c":49, 0x1200019a4]
(dbx) 


This bug is also mentioned in
http://bugzilla.gnome.org/show_bug.cgi?id=106091 , although another bug is
reported in there.
Comment 1 Owen Taylor 2003-09-15 16:29:31 UTC

*** This bug has been marked as a duplicate of 101874 ***