apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52167] New: Cross-compiled libapr produces mutex exception in log4cxx
Date Thu, 10 Nov 2011 15:23:08 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52167

             Bug #: 52167
           Summary: Cross-compiled libapr produces mutex exception in
                    log4cxx
           Product: APR
           Version: 1.4.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: major
          Priority: P2
         Component: APR
        AssignedTo: bugs@apr.apache.org
        ReportedBy: marc.ferland@gmail.com
    Classification: Unclassified


I'm currently working on a cross-compiled linux system (target is for i586)
created with the Yocto Project. My application does logging through log4cxx.
Each time I start the application inside the QEMU emulator it immediately 
terminates with an exception:

terminate called after throwing an instance of
'log4cxx::helpers::MutexException'
  what():  Mutex exception: stat = 70023

Running in gdb yields to:
Program received signal SIGABRT, Aborted.
0x46a5bc7e in raise () from /lib/libc.so.6
(gdb) bt
#0  0x46a5bc7e in raise () from /lib/libc.so.6
#1  0x46a5f1ae in abort () from /lib/libc.so.6
#2  0xb7b40815 in __gnu_cxx::__verbose_terminate_handler() ()
   from /usr/lib/libstdc++.so.6
#3  0xb7b3e714 in ?? () from /usr/lib/libstdc++.so.6
#4  0xb7b3e750 in std::terminate() () from /usr/lib/libstdc++.so.6
#5  0xb7b3e88f in __cxa_throw () from /usr/lib/libstdc++.so.6
#6  0xb7e7b159 in log4cxx::helpers::Mutex::Mutex(log4cxx::helpers::Pool&)
    () from /usr/lib/liblog4cxx.so.10
#7  0xb7e5a57e in log4cxx::Hierarchy::Hierarchy() ()
   from /usr/lib/liblog4cxx.so.10
#8  0xb7e747ae in log4cxx::LogManager::getLoggerRepository() ()
   from /usr/lib/liblog4cxx.so.10
#9  0xb7e749ba in log4cxx::LogManager::getRootLogger() ()
   from /usr/lib/liblog4cxx.so.10
#10 0xb7e6f20d in log4cxx::Logger::getRootLogger() ()
   from /usr/lib/liblog4cxx.so.10
#11 0x08494003 in hmi::logger::info(char const*, ...) ()
#12 0x082194ef in main ()

This is exactly the same thing as:
https://issues.apache.org/jira/browse/LOGCXX-384

I will attach the configure script output.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message