Reproduced in arm QEMU, here's the stack trace:

debian-arm:~/tmp# LD_LIBRARY_PATH=/usr/lib/debug:${LD_LIBRARY_PATH} 
gdb dansguardian
GNU gdb 6.8-debian  D': 
LD_LIBRARY_PATH=/usr/lib/debug:${LD_LIBRARY_PATH} gdb dansguardian
Copyright (C) 2008 Free Software Foundation, 
Inc.ebug:${LD_LIBRARY_PATH} gdb dans
License GPLv3+: GNU GPL version 3 or later 
<http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show 
copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnu"...
(gdb) catch throw
Catchpoint 1 (throw)
(gdb) run
Starting program: /usr/sbin/dansguardian 
[Thread debugging using libthread_db enabled]
[New Thread 0x40470f00 (LWP 3822)]
[Switching to Thread 0x40470f00 (LWP 3822)]

Catchpoint 1 (exception thrown)
__cxa_throw (obj=0xc5058, tinfo=0x40295c54, dest=0x401df82c 
<~logic_error>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:64
64      ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc: No such file or 
directory.
        in ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc
(gdb) bt
#0  __cxa_throw (obj=0xc5058, tinfo=0x40295c54, dest=0x401df82c <~logic_error>)
    at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:64
#1  0x401ce708 in std::__throw_logic_error (__s=0x4028947c 
"basic_string::_S_construct NULL not valid")
    at ../../../../../src/libstdc++-v3/src/functexcept.cc:64
#2  0x4024c51c in std::string::_S_construct<char const*> (__beg=0x0, 
__end=0xffffffff <Address 0xffffffff out of bounds>, [EMAIL PROTECTED])
    at 
/build/buildd/gcc-4.3-4.3.1/build/arm-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:139
#3  0x4024c684 in std::string::_S_construct_aux<char const*> (__beg=0x0, 
__end=0xffffffff <Address 0xffffffff out of bounds>, [EMAIL PROTECTED])
    at 
/build/buildd/gcc-4.3-4.3.1/build/arm-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1465
#4  0x4024c6c4 in std::string::_S_construct<char const*> (__beg=0x0, 
__end=0xffffffff <Address 0xffffffff out of bounds>, [EMAIL PROTECTED])
    at 
/build/buildd/gcc-4.3-4.3.1/build/arm-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1481
#5  0x4024c860 in basic_string (this=0xbec68fd4, __s=0x0, [EMAIL PROTECTED])
    at 
/build/buildd/gcc-4.3-4.3.1/build/arm-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:221
#6  0x0006d0c0 in OptionContainer::findoptionS (this=0xc01c0, option=0xafa70 
"pidfilename") at String.hpp:44
#7  0x000725c4 in OptionContainer::read (this=0xc01c0, filename=0xc3984 
"/etc/dansguardian/dansguardian.conf", type=2)
    at OptionContainer.cpp:146
#8  0x00093650 in read_config (configfile=0xc3984 
"/etc/dansguardian/dansguardian.conf", type=2)
    at dansguardian.cpp:84
#9  0x00094c98 in main (argc=1, argv=0xbec69954) at dansguardian.cpp:200

Cheers.
-- 
Jurij Smakov                                           [EMAIL PROTECTED]
Key: http://www.wooyd.org/pgpkey/                      KeyID: C99E03CC



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to