Hi, I have just compiled apr 1.4.5 with -DAPR_POOL_DEBUG=0x1f and --enable-threads. Is this a valid configuration? Is it supposed to survive "make check"?
"make check" first calls ./testlockperf which succeeds. Then comes ./testmutexscope which fails. Called manually it says: POOL DEBUG: [PID/TID] ACTION (SIZE /POOL SIZE /TOTAL SIZE) POOL "TAG" <__FILE__:__LINE__> (ALLOCS/TOTAL ALLOCS/CLEARS) POOL DEBUG: [9305/140618473854784] GLOBAL 0x604010 <memory/unix/apr_pools.c:apr_pool_initialize> POOL DEBUG: [9305/140618473854784] CREATE ( 0/ 0/ 200) 0x6045c0 "misc/unix/start.c:58" <misc/unix/start.c:58> (0/0/0) Trying proc mutexes with mechanism `default'... POOL DEBUG: [9305/140618473854784] CREATE ( 0/ 0/ 200) 0x604660 "testmutexscope.c:116" <testmutexscope.c:116> (0/0/0) POOL DEBUG: [9305/140618473854784] PCALLOC ( 48/ 48/ 248) 0x604660 "testmutexscope.c:116" <locks/unix/thread_mutex.c:50> (1/1/0) POOL DEBUG: [9305/140618473854784] PALLOC ( 80/ 80/ 280) 0x604660 "testmutexscope.c:116" <memory/unix/apr_pools.c:2212> (2/2/0) POOL DEBUG: [9305/140618473854784] PCALLOC ( 144/ 144/ 344) 0x604660 "testmutexscope.c:116" <locks/unix/proc_mutex.c:887> (3/3/0) POOL DEBUG: [9305/140618473854784] PALLOC ( 264/ 264/ 464) 0x604660 "testmutexscope.c:116" <locks/unix/proc_mutex.c:228> (4/4/0) POOL DEBUG: [9305/140618473854784] PALLOC ( 296/ 296/ 496) 0x604660 "testmutexscope.c:116" <memory/unix/apr_pools.c:2212> (5/5/0) POOL DEBUG: [9305/140618473854784] PCALLOC ( 336/ 336/ 536) 0x604660 "testmutexscope.c:116" <threadproc/unix/thread.c:154> (6/6/0) POOL DEBUG: [9305/140618473854784] PCALLOC ( 344/ 344/ 544) 0x604660 "testmutexscope.c:116" <threadproc/unix/thread.c:160> (7/7/0) POOL DEBUG: [9305/140618473854784] CREATE ( 0/ 0/ 544) 0x604ce0 "threadproc/unix/thread.c:174" <threadproc/unix/thread.c:174> (0/0/0) POOL DEBUG: [9305/140618473854784] PCALLOC ( 384/ 384/ 584) 0x604660 "testmutexscope.c:116" <threadproc/unix/thread.c:154> (8/8/0) POOL DEBUG: [9305/140618473854784] PCALLOC ( 392/ 392/ 592) 0x604660 "testmutexscope.c:116" <threadproc/unix/thread.c:160> (9/9/0) POOL DEBUG: [9305/140618473854784] CREATE ( 0/ 0/ 592) 0x604f00 "threadproc/unix/thread.c:174" <threadproc/unix/thread.c:174> (0/0/0) POOL DEBUG: [9305/140618473854784] PCALLOC ( 432/ 432/ 632) 0x604660 "testmutexscope.c:116" <threadproc/unix/thread.c:154> (10/10/0) POOL DEBUG: [9305/140618473854784] PCALLOC ( 440/ 440/ 640) 0x604660 "testmutexscope.c:116" <threadproc/unix/thread.c:160> (11/11/0) POOL DEBUG: [9305/140618473854784] CREATE ( 0/ 0/ 640) 0x605120 "threadproc/unix/thread.c:174" <threadproc/unix/thread.c:174> (0/0/0) POOL DEBUG: [9305/140618473854784] PCALLOC ( 480/ 480/ 680) 0x604660 "testmutexscope.c:116" <threadproc/unix/thread.c:154> (12/12/0) POOL DEBUG: [9305/140618473854784] PCALLOC ( 488/ 488/ 688) 0x604660 "testmutexscope.c:116" <threadproc/unix/thread.c:160> (13/13/0) POOL DEBUG: [9305/140618473854784] CREATE ( 0/ 0/ 688) 0x605340 "threadproc/unix/thread.c:174" <threadproc/unix/thread.c:174> (0/0/0) POOL DEBUG: [9305/140618473854784] PCALLOC ( 528/ 528/ 728) 0x604660 "testmutexscope.c:116" <threadproc/unix/thread.c:154> (14/14/0) POOL DEBUG: [9305/140618473854784] PCALLOC ( 536/ 536/ 736) 0x604660 "testmutexscope.c:116" <threadproc/unix/thread.c:160> (15/15/0) POOL DEBUG: [9305/140618473854784] CREATE ( 0/ 0/ 736) 0x605560 "threadproc/unix/thread.c:174" <threadproc/unix/thread.c:174> (0/0/0) Mutex mechanism `default' is global in scope on this platform. POOL DEBUG: [9305/140618454791936] THREAD 0x604ce0 <memory/unix/apr_pools.c:apr_pool_integrity check> POOL DEBUG: [9305/140618421221120] THREAD 0x605560 <memory/unix/apr_pools.c:apr_pool_integrity check> POOL DEBUG: [9305/140618438006528] THREAD 0x605120 <memory/unix/apr_pools.c:apr_pool_integrity check> POOL DEBUG: [9305/140618429613824] THREAD 0x605340 <memory/unix/apr_pools.c:apr_pool_integrity check> POOL DEBUG: [9305/140618446399232] THREAD 0x604f00 <memory/unix/apr_pools.c:apr_pool_integrity check> Aborted Torsten Förtsch -- Need professional modperl support? Hire me! (http://foertsch.name) Like fantasy? http://kabatinte.net
