Hi all
I am using Log4cxx in my application,But in server client architecture after some time a segment violation occurs.
Help me for this.
By chacking core dump by dbx
Error is like this:
detected a multithreaded program
t@49 (
l@12) terminated by signal SEGV (no mapping at the fault address)
Current function is log4cxx::helpers::ObjectPtrT<log4cxx::spi::LoggerFactory>::ObjectPtrT
77 this->p->addRef();
(/export/home/uxapps/workshop/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) where
current thread:
t@49=>[1] log4cxx::helpers::ObjectPtrT<log4cxx::spi::LoggerFactory>::ObjectPtrT(this = 0xf9d7fb2c, p = CLASS), line 77 in "objectptr.h"
[2] log4cxx::Hierarchy::getLogger(this = 0x78c40, name = CLASS), line 164 in "hierarchy.cpp"
[3] log4cxx::net::SocketNode::run(this = 0x7ecf0), line 61 in "socketnode.cpp"
[4] log4cxx::helpers::Thread::run(this = 0x7ddd0), line 114 in "thread.cpp"
[5] threadProc(arg = 0x7ddd0), line 38 in "thread.cpp"
(/export/home/uxapps/workshop/SUNWspro/bin/../WS6U2/bin/sparcv9/dbx) up
Current function is log4cxx::Hierarchy::getLogger
164 return getLogger(name, defaultFactory);
Regards
Jayant Dusane
Starent Networks India Pvt. Ltd