Hello,

I am seeing a crash in Logger::~Logger with the stack as below [1].

My loggers are instantiated at static initialization time, with
variables in namespace scope like this:

namespace x { Logger logger = LogManager::getLogger("x"); }

At the crash point in apr_pool_cleanup_kill the (apr_pool_t *) variable
has value 0xfeeefeee suggesting this is a double-free of some kind.

Has anyone else seen this?

Am I missing something?

Thanks,
Pedro.



[1]

libapr-1.dll!apr_pool_cleanup_kill(apr_pool_t * p, const void * data,
int (void *) * cleanup_fn) Line 2264    C
libapr-1.dll!apr_thread_mutex_destroy(apr_thread_mutex_t * mutex) Line 132      
C
log4cxx.dll!log4cxx::Logger::~Logger() Line 55  C++
log4cxx.dll!log4cxx::Logger::`vbase destructor'()       C++
log4cxx.dll!log4cxx::Logger::`vector deleting destructor'(unsigned int) C++
log4cxx.dll!log4cxx::Logger::releaseRef() Line 62       C++
msvcr110.dll!doexit(int code, int quick, int retcaller) Line 585        C
msvcr110.dll!_cexit() Line 410  C
msvcr110.dll!__CRTDLL_INIT(void * hDllHandle, unsigned long dwReason,
void * lpreserved)      C
msvcr110.dll!_CRTDLL_INIT(void * hDllHandle, unsigned long dwReason,
void * lpreserved) Line 210     C
ntdll.dll!77ae9950()    Unknown


-- 
Pedro Lamarão Rosa e Silva
Prodist Technologies
http://www.prodist.com.br/
"Securing Transaction Systems"
Tel.: (21) 4062-7188

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to