newscache: Optimized Newscache crashes?
Subject:
AW: Optimized Newscache crashes?
From:
Straub Herbert ####@####.####
Date:
31 Mar 2004 17:29:23 +0100
Message-Id: <3365692EA1026A498A5DB41801AE2DB50290D82B@xcwrk2.xund.magwien.gv.at>
Thank you for this error report and I can reproduce this error situation. I
will hopefully fix this with the next release.
Best Regards
Herbert Straub
-----Ursprüngliche Nachricht-----
Von: Dean Takemori ####@####.####
Gesendet: Mittwoch, 31. März 2004 01:14
An: ####@####.####
Betreff: Optimized Newscache crashes?
Hello,
On Fedora Core 1, with gcc-3.3.2-1.athlon.rpm (aka)
> gcc -v
Reading specs from /usr/lib/gcc-lib/athlon-redhat-linux/3.3.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--host=athlon-redhat-linux
Thread model: posix
gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1)
compiling NewsCache with "-foptimize-sibling-calls" generates an
executable that dumps core when
starting. Turning on all other (common) optimizers generates a binary
that seems to work fine under
moderate loads. I don't speak C++ so I don't know if this is a
compiler bug or a NewsCache bug.
(On the other hand, -O or -O2 causes a compile error, but that's
almost certainly a compiler bug)
#0 0x0805b91f in std::_Rb_tree<std::string, std::pair<std::string
const, nnrp_command_t*>, std::_Select1st<std::pair<std::string const,
nnrp_command_t*> >, std::less<std::string>,
std::allocator<std::pair<std::string const, nnrp_command_t*> >
>:_M_empty_initialize() (this=0x808acdc)
at stl_tree.h:756
#1 0x0805b883 in _Rb_tree (this=0x808acdc, __comp=@0xbfed73df,
__a=@0xbfed73e0) at stl_tree.h:730
#2 0x0805b817 in map (this=0x808acdc) at stl_map.h:144
#3 0x08051a64 in NNRPCommandMap (this=0x808acdc) at NewsCache.cc:229 #4
0x08059645 in __static_initialization_and_destruction_0
(__initialize_p=1, __priority=65535)
at NewsCache.cc:258
#5 0x080596f4 in _GLOBAL__I_clientTimeoutReached () at
VirtualIterator.h:50
#6 0x0807b31b in __do_global_ctors_aux ()
#7 0x0804bbe9 in _init ()
#8 0x0807b28e in __libc_csu_init ()
#9 0x00a83729 in __libc_start_main () from /lib/tls/libc.so.6 #10
0x0804c8a1 in _start ()
-dean takemori
---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####