On May 24, 2007, at 9:20 AM, Marshall Powers wrote:

Ok, I finally finished rebuilding the log4cxx stuff, recompiling this (big) project, fixing log4cxx, re-recompiling, and finally deploying and running, and I get a segfault (but not the same IOT/Abort Trap message). I went back to my simple program, and got the same thing, not even any logging output
now. Here is my test program:

#include <log4cxx/logger.h>
#include <log4cxx/basicconfigurator.h>

using namespace log4cxx;

int main(int argc, char * argv[])
{
        LoggerPtr root = Logger::getRootLogger();
        BasicConfigurator::configure();

        root->debug("foo!");
        return 0;
}

Compiled with gcc on AIX 5.3 with flags -g and -maix64, as were log4cxx,
apr, and apr-util. Any suggestions?


Thanks,
Marshall



If you used autotools to build, what happens if you do "make check"?

If you used ant to build, did the unit tests pass?

Any details on the segfault?


Reply via email to