Subject: Re: Experiences with 2.0beta?
To: None <port-sparc@NetBSD.org>
From: Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
List: port-sparc
Date: 05/03/2004 00:42:16
In article <20040502152702.GA3706@antioche.eu.org>
bouyer@antioche.eu.org wrote:

> I didn't have a single crash yet.

I tried build.sh on my SS1+ several times and had no kernel crash,
but *sometimes* groff dumped core:

---
#    format  pthread_cond_broadcast.cat3
PATH=/usr/tools/sparc/lib/groff:${PATH} /usr/tools/sparc/bin/nbnroff \
-mandoc /usr/src/lib/libpthread/pthread_cond_broadcast.3   \
> pthread_cond_broadcast.cat3.tmp && mv pthread_cond_broadcast.cat3.tmp \
pthread_cond_broadcast.cat3
[1]   Segmentation fault (core dumped) PATH=${GROFF_BIN...

*** Failed target:  pthread_cond_broadcast.cat3
*** Failed command: PATH=/usr/tools/sparc/lib/groff:${PATH} \
/usr/tools/sparc/bin/nbnroff -mandoc \
/usr/src/lib/libpthread/pthread_cond_broadcast.3 \
> pthread_cond_broadcast.cat3.tmp && mv pthread_cond_broadcast.cat3.tmp \
pthread_cond_broadcast.cat3
*** Error code 139

legnum# gdb /usr/tools/sparc/lib/groff/groff groff.core
GNU gdb 5.0nb1
Copyright 2000 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 "sparc--netbsdelf"...(no debugging symbols found)...
Core was generated by `groff'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols found)...
done.
Loaded symbols for /usr/libexec/ld.elf_so
Reading symbols from /usr/lib/libstdc++.so.5...(no debugging symbols found)...
done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /usr/lib/libm.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libm.so.0
Reading symbols from /usr/lib/libc.so.12...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.12
#0  0x100b82c8 in std::codecvt<char, char, __mbstate_t>::do_max_length() const
    () from /usr/lib/libstdc++.so.5
(gdb) bt
#0  0x100b82c8 in std::codecvt<char, char, __mbstate_t>::do_max_length() const
    () from /usr/lib/libstdc++.so.5
#1  0x100b82bc in std::codecvt<char, char, __mbstate_t>::do_max_length() const
    () from /usr/lib/libstdc++.so.5
#2  0x100b92c0 in std::locale::~locale() () from /usr/lib/libstdc++.so.5
#3  0x100ad4d8 in __gnu_cxx::stdio_filebuf<char, std::char_traits<char> >::~stdio_filebuf() () from /usr/lib/libstdc++.so.5
#4  0x100ba804 in std::ios_base::Init::_S_ios_destroy() ()
   from /usr/lib/libstdc++.so.5
#5  0x10089550 in _init () from /usr/lib/libstdc++.so.5
#6  0x10089678 in _init () from /usr/lib/libstdc++.so.5
#7  0x100be760 in _fini () from /usr/lib/libstdc++.so.5
#8  0x10032fac in _rtld_call_fini_functions () from /usr/libexec/ld.elf_so
#9  0x101ba1e4 in __cxa_finalize () from /usr/lib/libc.so.12
#10 0x101b9f38 in exit () from /usr/lib/libc.so.12
#11 0x11490 in ___start ()
(gdb) 

---
It failed on formatting various files (but not always),
and all of them had the same backtrace. 
---
Izumi Tsutsui
tsutsui@ceres.dti.ne.jp