Re: patch for compiling objectptr with g++4.1.x with many warnings enabled and warnings as errors

2009-01-16 Thread Curt Arnold
On Jan 16, 2009, at 11:53 AM, Rhosyn wrote: We found we needed this tiny patch in our environment to compile objectptr with various warnings enabled and warnings-as-errors when using g++ 4.1.x Please find the patch attached - it simply explicitly initialises the base class in the initializer l

Re: log4cxx-0.10.0: Fix for 64 bit-only thread safety bug in ObjectPtrBase

2009-01-16 Thread Curt Arnold
On Jan 16, 2009, at 11:47 AM, Rhosyn wrote: The attach patch fixes a thread safety issue we found with ObjectPtrBase when we ported our application to a 64 bit platform. It will only work if you are using a version of apr with apr_atomic_xchgptr() Cheers apr_atomic_xchgptr was added at

Re: log4cxx-0.10.0: exception on logging long message to syslog

2009-01-16 Thread Curt Arnold
On Jan 16, 2009, at 10:45 AM, Rhosyn wrote: Dear all, We would like to share with you a patch we use for log4cxx in order to prevent an exception being raised when a very long message is logged. We found our system was sometimes misbehaving due to an exception being raised by log4cxx when a

Re: Crashes on exit() from multithreaded program using log4cxx

2009-01-16 Thread Curt Arnold
On Jan 16, 2009, at 9:34 AM, Rhosyn wrote: Dear all, The crashes === We would like to share with you some patches to log4cxx we have found useful in our environment. Our product (a Linux platform server product, compiled with g++ 4.3.x) started suffering from crashes during (wh

log4cxx-0.10.0 : Fix for infinite loop in Hierarchy::updateParents in hierarchy.cpp when module name of "." is used

2009-01-16 Thread Rhosyn
The attached patch fixes an infinite loop in log4cxx if a module hierarchy name of "." was used in certain circumstances/API calls which ended up in calling Hierarchy::updateParents Hope this helps someone! Cheers, __ This ema

patch for compiling objectptr with g++4.1.x with many warnings enabled and warnings as errors

2009-01-16 Thread Rhosyn
We found we needed this tiny patch in our environment to compile objectptr with various warnings enabled and warnings-as-errors when using g++ 4.1.x Please find the patch attached - it simply explicitly initialises the base class in the initializer list. Cheers,

log4cxx-0.10.0: Fix for 64 bit-only thread safety bug in ObjectPtrBase

2009-01-16 Thread Rhosyn
The attach patch fixes a thread safety issue we found with ObjectPtrBase when we ported our application to a 64 bit platform. It will only work if you are using a version of apr with apr_atomic_xchgptr() Cheers __ This email

log4cxx-0.10.0: exception on logging long message to syslog

2009-01-16 Thread Rhosyn
Dear all, We would like to share with you a patch we use for log4cxx in order to prevent an exception being raised when a very long message is logged. We found our system was sometimes misbehaving due to an exception being raised by log4cxx when a very large message was logged - but only when th

Crashes on exit() from multithreaded program using log4cxx

2009-01-16 Thread Rhosyn
Dear all, The crashes === We would like to share with you some patches to log4cxx we have found useful in our environment. Our product (a Linux platform server product, compiled with g++ 4.3.x) started suffering from crashes during (what should have been) graceful process exit ("exit(