You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@apr.apache.org by bu...@apache.org on 2011/11/10 16:23:08 UTC

DO NOT REPLY [Bug 52167] New: Cross-compiled libapr produces mutex exception in log4cxx

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


DO NOT REPLY [Bug 52167] Cross-compiled libapr produces mutex exception in log4cxx

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52167

--- Comment #1 from Marc <ma...@gmail.com> 2011-11-10 15:25:48 UTC ---
Created attachment 27919
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27919
Configure script output

Configure script output when building under the cross-compiled environment of
Yocto.

-- 
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


DO NOT REPLY [Bug 52167] Cross-compiled libapr produces mutex exception in log4cxx

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=52167

--- Comment #2 from Marc <ma...@gmail.com> 2011-11-10 15:30:32 UTC ---
Forgot to mention this is with apr version 1.4.5.
The build recipe can be found here:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-support/apr/apr_1.4.5.bb?h=edison

-- 
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