Subject: pkg/29547: chat/centericq bus error (c++ std class problem)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <syn@sceen.net>
List: pkgsrc-bugs
Date: 02/27/2005 16:37:00
>Number:         29547
>Category:       pkg
>Synopsis:       chat/centericq bus error (c++ std class problem)
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Feb 27 16:37:00 +0000 2005
>Originator:     syn@sceen.net
>Release:        NetBSD 1.6.2_STABLE
>Organization:
Richard Braun
>Environment:
System: NetBSD kenobi 1.6.2_STABLE NetBSD 1.6.2_STABLE (KENOBI) #0: Sun Feb 13 04:28:23 CET 2005 syn@kenobi:/mnt/sd1a/src/sys/arch/sparc64/compile/KENOBI sparc64
Architecture: sparc64
Machine: sparc64
>Description:
When using centericq on sparc64 (compiled with gcc 3.3.5), the program
crashes with SIGBUS. Here is a stack backtrace :

Program received signal SIGBUS, Bus error.
0x2cf27c in std::string* std::__uninitialized_fill_n_aux<std::string*, unsigned long, std::string>(std::string*, unsigned long, std::string const&, __false_type) ()
(gdb) bt
#0  0x2cf27c in std::string* std::__uninitialized_fill_n_aux<std::string*, unsigned long, std::string>(std::string*, unsigned long, std::string const&, __false_type) ()
#1  0x153090 in std::basic_string<char, std::char_traits<char>, std::allocator<char> > std::operator+<char, std::char_traits<char>, std::allocator<char> >(char const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#2  0x1c8b54 in main ()
#3  0x1c74b8 in main ()
#4  0x107f24 in _init ()
(gdb) 

What I did is :
start centericq
select terminated
press enter
select terminated
press enter
and then, sigbus

From what is showed, the problems seems to be in the std class.

I can provide a shell account on the box for whoever is willing to
debug this.

>Fix:

Unknown