Hi,
I debugging crashes within the Trac (https://trac.edgewall.org/) when
using the svn backend. The issue seems to be related to Apache Portable
Runtime (APR) pool memory management at Trac together with subversion
SWIG python bindings and libsvn.
I am trying to run subverion with APR (lifetime) debugging enabled
(./configure --enable-pool-debug=all --enable-debug) to give more
insights, how-ever I got stuck with the basics.
First I tried 'svn' which completes fine:
=======================================================================================================================================================
[rick@hbsd122 ~/subversion-trunk]$
/home/rick/subversion-trunk/subversion/svn/.libs/svn
POOL DEBUG: [PID/TID] ACTION (SIZE /POOL SIZE /TOTAL SIZE) POOL
"TAG" <__FILE__:__LINE__> (ALLOCS/TOTAL ALLOCS/CLEARS)
POOL DEBUG: [44278/34384113664] GLOBAL
0x80174d000 <memory/unix/apr_pools.c:apr_pool_initialize>
POOL DEBUG: [44278/34384113664] CREATE ( 0/ 0/
184) 0x80174d0a0 "misc/unix/start.c:58" <misc/unix/start.c:58> (0/0/0)
POOL DEBUG: [44278/34384113664] CREATE ( 0/ 0/
184) 0x80174d140 "subversion/libsvn_subr/dso.c:57"
<subversion/libsvn_subr/dso.c:57> (0/0/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 8/ 8/
192) 0x80174d140 "subversion/libsvn_subr/dso.c:57"
<subversion/libsvn_subr/mutex.c:61> (1/1/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 40/ 40/
224) 0x80174d140 "subversion/libsvn_subr/dso.c:57"
<locks/unix/thread_mutex.c:50> (2/2/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 72/ 72/
256) 0x80174d140 "subversion/libsvn_subr/dso.c:57"
<memory/unix/apr_pools.c:2495> (3/3/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 152/ 152/
336) 0x80174d140 "subversion/libsvn_subr/dso.c:57"
<tables/apr_hash.c:101> (4/4/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 280/ 280/
464) 0x80174d140 "subversion/libsvn_subr/dso.c:57"
<tables/apr_hash.c:93> (5/5/0)
POOL DEBUG: [44278/34384113664] CREATE ( 0/ 0/
464) 0x80174d1e0 "subversion/libsvn_subr/cmdline.c:264"
<subversion/libsvn_subr/cmdline.c:264> (0/0/0)
POOL DEBUG: [44278/34384113664] CREATE ( 0/ 0/
464) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<subversion/libsvn_subr/utf.c:139> (0/0/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 8/ 8/
472) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<subversion/libsvn_subr/mutex.c:61> (1/1/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 40/ 40/
504) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<locks/unix/thread_mutex.c:50> (2/2/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 72/ 72/
536) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<memory/unix/apr_pools.c:2495> (3/3/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 152/ 152/
616) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<tables/apr_hash.c:101> (4/4/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 280/ 280/
744) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<tables/apr_hash.c:93> (5/5/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 312/ 312/
776) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<memory/unix/apr_pools.c:2495> (6/6/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 32/ 32/
808) 0x80174d320 "svn:<undefined>" <locks/unix/thread_mutex.c:50>
(1/1/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 64/ 64/
840) 0x80174d320 "svn:<undefined>" <memory/unix/apr_pools.c:2495>
(2/2/0)
POOL DEBUG: [44278/34384113664] CREATE ( 64/ 64/
840) 0x80174d320 "svn:<undefined>" <svn:<undefined>> (2/2/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 112/ 112/
888) 0x80174d320 "svn root pool" <subversion/svn/notify.c:80> (3/3/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 192/ 192/
968) 0x80174d320 "svn root pool" <tables/apr_hash.c:101> (4/4/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 320/ 320/
1096) 0x80174d320 "svn root pool" <tables/apr_hash.c:93> (5/5/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 400/ 400/
1176) 0x80174d320 "svn root pool" <tables/apr_hash.c:101> (6/6/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 528/ 528/
1304) 0x80174d320 "svn root pool" <tables/apr_hash.c:93> (7/7/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 608/ 608/
1384) 0x80174d320 "svn root pool" <tables/apr_hash.c:101> (8/8/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 736/ 736/
1512) 0x80174d320 "svn root pool" <tables/apr_hash.c:93> (9/9/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 768/ 768/
1544) 0x80174d320 "svn root pool" <tables/apr_tables.c:88> (10/10/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 968/ 968/
1744) 0x80174d320 "svn root pool" <tables/apr_tables.c:66> (11/11/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 1048/ 1048/
1824) 0x80174d320 "svn root pool" <tables/apr_hash.c:101> (12/12/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 1176/ 1176/
1952) 0x80174d320 "svn root pool" <tables/apr_hash.c:93> (13/13/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 1176/ 1176/
1952) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(14/14/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 1208/ 1208/
1984) 0x80174d320 "svn root pool" <tables/apr_tables.c:88> (15/15/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 1216/ 1216/
1992) 0x80174d320 "svn root pool" <tables/apr_tables.c:66> (16/16/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 1312/ 1312/
2088) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(17/17/0)
POOL DEBUG: [44278/34384113664] CREATE ( 0/ 0/
2088) 0x80174d3c0 "subversion/libsvn_ra/ra_loader.c:1433"
<subversion/libsvn_ra/ra_loader.c:1433> (0/0/0)
POOL DEBUG: [44278/34384113664] CLEAR ( 0/ 0/
2088) 0x80174d3c0 "subversion/libsvn_ra/ra_loader.c:1433"
<subversion/libsvn_ra/ra_loader.c:1439> (0/0/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 1568/ 1696/
2472) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(18/18/0)
POOL DEBUG: [44278/34384113664] CLEAR ( 192/ 192/
2536) 0x80174d3c0 "subversion/libsvn_ra/ra_loader.c:1433"
<subversion/libsvn_ra/ra_loader.c:1439> (0/0/1)
POOL DEBUG: [44278/34384113664] CLEAR ( 128/ 128/
2472) 0x80174d3c0 "subversion/libsvn_ra/ra_loader.c:1433"
<subversion/libsvn_ra/ra_loader.c:1439> (0/0/2)
POOL DEBUG: [44278/34384113664] PALLOC ( 2080/ 2336/
3112) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(19/19/0)
POOL DEBUG: [44278/34384113664] DESTROY ( 384/ 384/
3240) 0x80174d3c0 "subversion/libsvn_ra/ra_loader.c:1433"
<subversion/libsvn_ra/ra_loader.c:1470> (0/0/3)
POOL DEBUG: [44278/34384113664] PALLOC ( 321/ 321/
2865) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (7/7/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 361/ 361/
2905) 0x80174d280 "subversion/libsvn_subr/utf.c:139" <xlate/xlate.c:212>
(8/8/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 367/ 367/
2911) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (9/9/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 376/ 376/
2920) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (10/10/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 408/ 408/
2952) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<memory/unix/apr_pools.c:2495> (11/11/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 448/ 448/
2992) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<subversion/libsvn_subr/utf.c:264> (12/12/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 454/ 454/
2998) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (13/13/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 486/ 486/
3030) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<memory/unix/apr_pools.c:2495> (14/14/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 2136/ 2136/
3086) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(20/20/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 2147/ 2147/
3097) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:320> (21/21/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 2170/ 2170/
3120) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:1163> (22/22/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 495/ 495/
3193) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (15/15/0)
POOL DEBUG: [44278/34384113664] PCALLOC ( 535/ 535/
3233) 0x80174d280 "subversion/libsvn_subr/utf.c:139" <xlate/xlate.c:212>
(16/16/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 544/ 544/
3242) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (17/17/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 550/ 550/
3248) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (18/18/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 582/ 582/
3280) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<memory/unix/apr_pools.c:2495> (19/19/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 622/ 622/
3320) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<subversion/libsvn_subr/utf.c:264> (20/20/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 628/ 628/
3326) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (21/21/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 660/ 660/
3358) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<memory/unix/apr_pools.c:2495> (22/22/0)
POOL DEBUG: [44278/34384113664] PALLOC ( 2322/ 2322/
3446) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(23/23/0)
Type 'svn help' for usage.
POOL DEBUG: [44278/34384113664] DESTROY ( 2322/ 2322/
3446) 0x80174d320 "svn root pool" <subversion/svn/svn.c:3337> (23/23/0)
POOL DEBUG: [44278/34384113664] DESTROY ( 184/ 1124/
1124) 0x80174d000 "APR global pool" <memory/unix/apr_pools.c:1722>
(3/3/0)
POOL DEBUG: [44278/34384113664] DESTROY ( 0/ 660/
1124) 0x80174d1e0 "subversion/libsvn_subr/cmdline.c:264"
<memory/unix/apr_pools.c:1722> (0/0/0)
POOL DEBUG: [44278/34384113664] DESTROY ( 660/ 660/
1124) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<memory/unix/apr_pools.c:1722> (22/22/0)
POOL DEBUG: [44278/34384113664] DESTROY ( 280/ 280/
464) 0x80174d140 "subversion/libsvn_subr/dso.c:57"
<memory/unix/apr_pools.c:1722> (5/5/0)
POOL DEBUG: [44278/34384113664] DESTROY ( 0/ 0/
184) 0x80174d0a0 "apr_initialize" <memory/unix/apr_pools.c:1722> (0/0/0)
=======================================================================================================================================================
Next I tried 'svn help' which gives me apr_pool_integrity check
[lifetime] exception:
=======================================================================================================================================================
[rick@hbsd122 ~/subversion-trunk]$ gdb
/home/rick/subversion-trunk/subversion/svn/.libs/svn
GNU gdb (GDB) 10.1 [GDB v10.1 for FreeBSD]
...
Reading symbols from
/home/rick/subversion-trunk/subversion/svn/.libs/svn...
(gdb) run help
Starting program:
/usr/home/rick/subversion-trunk/subversion/svn/.libs/svn help
POOL DEBUG: [PID/TID] ACTION (SIZE /POOL SIZE /TOTAL SIZE) POOL
"TAG" <__FILE__:__LINE__> (ALLOCS/TOTAL ALLOCS/CLEARS)
POOL DEBUG: [29126/34384113664] GLOBAL
0x80174d000 <memory/unix/apr_pools.c:apr_pool_initialize>
POOL DEBUG: [29126/34384113664] CREATE ( 0/ 0/
184) 0x80174d0a0 "misc/unix/start.c:58" <misc/unix/start.c:58> (0/0/0)
POOL DEBUG: [29126/34384113664] CREATE ( 0/ 0/
184) 0x80174d140 "subversion/libsvn_subr/dso.c:57"
<subversion/libsvn_subr/dso.c:57> (0/0/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 8/ 8/
192) 0x80174d140 "subversion/libsvn_subr/dso.c:57"
<subversion/libsvn_subr/mutex.c:61> (1/1/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 40/ 40/
224) 0x80174d140 "subversion/libsvn_subr/dso.c:57"
<locks/unix/thread_mutex.c:50> (2/2/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 72/ 72/
256) 0x80174d140 "subversion/libsvn_subr/dso.c:57"
<memory/unix/apr_pools.c:2495> (3/3/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 152/ 152/
336) 0x80174d140 "subversion/libsvn_subr/dso.c:57"
<tables/apr_hash.c:101> (4/4/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 280/ 280/
464) 0x80174d140 "subversion/libsvn_subr/dso.c:57"
<tables/apr_hash.c:93> (5/5/0)
POOL DEBUG: [29126/34384113664] CREATE ( 0/ 0/
464) 0x80174d1e0 "subversion/libsvn_subr/cmdline.c:264"
<subversion/libsvn_subr/cmdline.c:264> (0/0/0)
POOL DEBUG: [29126/34384113664] CREATE ( 0/ 0/
464) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<subversion/libsvn_subr/utf.c:139> (0/0/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 8/ 8/
472) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<subversion/libsvn_subr/mutex.c:61> (1/1/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 40/ 40/
504) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<locks/unix/thread_mutex.c:50> (2/2/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 72/ 72/
536) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<memory/unix/apr_pools.c:2495> (3/3/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 152/ 152/
616) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<tables/apr_hash.c:101> (4/4/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 280/ 280/
744) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<tables/apr_hash.c:93> (5/5/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 312/ 312/
776) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<memory/unix/apr_pools.c:2495> (6/6/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 32/ 32/
808) 0x80174d320 "svn:<undefined>" <locks/unix/thread_mutex.c:50>
(1/1/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 64/ 64/
840) 0x80174d320 "svn:<undefined>" <memory/unix/apr_pools.c:2495>
(2/2/0)
POOL DEBUG: [29126/34384113664] CREATE ( 64/ 64/
840) 0x80174d320 "svn:<undefined>" <svn:<undefined>> (2/2/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 112/ 112/
888) 0x80174d320 "svn root pool" <subversion/svn/notify.c:80> (3/3/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 192/ 192/
968) 0x80174d320 "svn root pool" <tables/apr_hash.c:101> (4/4/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 320/ 320/
1096) 0x80174d320 "svn root pool" <tables/apr_hash.c:93> (5/5/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 400/ 400/
1176) 0x80174d320 "svn root pool" <tables/apr_hash.c:101> (6/6/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 528/ 528/
1304) 0x80174d320 "svn root pool" <tables/apr_hash.c:93> (7/7/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 608/ 608/
1384) 0x80174d320 "svn root pool" <tables/apr_hash.c:101> (8/8/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 736/ 736/
1512) 0x80174d320 "svn root pool" <tables/apr_hash.c:93> (9/9/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 768/ 768/
1544) 0x80174d320 "svn root pool" <tables/apr_tables.c:88> (10/10/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 968/ 968/
1744) 0x80174d320 "svn root pool" <tables/apr_tables.c:66> (11/11/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1048/ 1048/
1824) 0x80174d320 "svn root pool" <tables/apr_hash.c:101> (12/12/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 1176/ 1176/
1952) 0x80174d320 "svn root pool" <tables/apr_hash.c:93> (13/13/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1176/ 1176/
1952) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(14/14/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1208/ 1208/
1984) 0x80174d320 "svn root pool" <tables/apr_tables.c:88> (15/15/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 1216/ 1216/
1992) 0x80174d320 "svn root pool" <tables/apr_tables.c:66> (16/16/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1288/ 1288/
2064) 0x80174d320 "svn root pool" <misc/unix/getopt.c:45> (17/17/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1312/ 1312/
2088) 0x80174d320 "svn root pool" <misc/unix/getopt.c:58> (18/18/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1344/ 1344/
2120) 0x80174d320 "svn root pool" <tables/apr_tables.c:88> (19/19/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 1352/ 1352/
2128) 0x80174d320 "svn root pool" <tables/apr_tables.c:66> (20/20/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1384/ 1384/
2160) 0x80174d320 "svn root pool" <tables/apr_hash.c:144> (21/21/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 321/ 321/
2169) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (7/7/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 361/ 361/
2209) 0x80174d280 "subversion/libsvn_subr/utf.c:139" <xlate/xlate.c:212>
(8/8/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 367/ 367/
2215) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (9/9/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 376/ 376/
2224) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (10/10/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 408/ 408/
2256) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<memory/unix/apr_pools.c:2495> (11/11/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 448/ 448/
2296) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<subversion/libsvn_subr/utf.c:264> (12/12/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 454/ 454/
2302) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (13/13/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 486/ 486/
2334) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<memory/unix/apr_pools.c:2495> (14/14/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1440/ 1440/
2390) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(22/22/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 1451/ 1451/
2401) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:320> (23/23/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1474/ 1474/
2424) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:1163> (24/24/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 495/ 495/
2433) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (15/15/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 535/ 535/
2473) 0x80174d280 "subversion/libsvn_subr/utf.c:139" <xlate/xlate.c:212>
(16/16/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 544/ 544/
2482) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (17/17/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 550/ 550/
2488) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (18/18/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 582/ 582/
2520) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<memory/unix/apr_pools.c:2495> (19/19/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 622/ 622/
2560) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<subversion/libsvn_subr/utf.c:264> (20/20/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 628/ 628/
2566) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<strings/apr_strings.c:118> (21/21/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 660/ 660/
2598) 0x80174d280 "subversion/libsvn_subr/utf.c:139"
<memory/unix/apr_pools.c:2495> (22/22/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1554/ 1554/
2678) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(25/25/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1582/ 1582/
2706) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:1064> (26/26/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1670/ 1670/
2794) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(27/27/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1709/ 1709/
2833) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:1064> (28/28/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1821/ 1821/
2945) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(29/29/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1862/ 1862/
2986) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:1064> (30/30/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 1982/ 1982/
3106) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(31/31/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2025/ 2025/
3149) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:1064> (32/32/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2145/ 2145/
3269) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(33/33/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2199/ 2199/
3323) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:1064> (34/34/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2343/ 2343/
3467) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(35/35/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2399/ 2399/
3523) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(36/36/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 2410/ 2410/
3534) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:320> (37/37/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2444/ 2444/
3568) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:1163> (38/38/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2548/ 2548/
3672) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(39/39/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2604/ 2604/
3728) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(40/40/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 2615/ 2615/
3739) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:320> (41/41/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2646/ 2646/
3770) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:1163> (42/42/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2742/ 2742/
3866) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(43/43/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2798/ 2798/
3922) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(44/44/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 2809/ 2809/
3933) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:320> (45/45/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2839/ 2839/
3963) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:1163> (46/46/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2935/ 2935/
4059) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(47/47/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 2983/ 2983/
4107) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(48/48/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 3015/ 3015/
4139) 0x80174d320 "svn root pool" <subversion/svn/svn.c:2886> (49/49/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 3095/ 3095/
4219) 0x80174d320 "svn root pool" <tables/apr_hash.c:101> (50/50/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 3223/ 3223/
4347) 0x80174d320 "svn root pool" <tables/apr_hash.c:93> (51/51/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 3247/ 3247/
4371) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:1163> (52/52/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 3303/ 3303/
4427) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(53/53/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 3314/ 3314/
4438) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:320> (54/54/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 3345/ 3345/
4469) 0x80174d320 "svn root pool"
<subversion/libsvn_subr/dirent_uri.c:1163> (55/55/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 3409/ 3409/
4533) 0x80174d320 "svn root pool" <subversion/libsvn_subr/config.c:112>
(56/56/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 3489/ 3489/
4613) 0x80174d320 "svn root pool" <tables/apr_hash.c:101> (57/57/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 3617/ 3617/
4741) 0x80174d320 "svn root pool" <tables/apr_hash.c:93> (58/58/0)
POOL DEBUG: [29126/34384113664] CREATE ( 0/ 0/
4741) 0x80174d460 "subversion/libsvn_subr/config.c:116"
<subversion/libsvn_subr/config.c:116> (0/0/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 3657/ 3657/
4781) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(59/59/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 3697/ 3697/
4821) 0x80174d320 "svn root pool" <subversion/libsvn_subr/string.c:59>
(60/60/0)
POOL DEBUG: [29126/34384113664] CREATE ( 0/ 0/
4821) 0x80174d500 "subversion/libsvn_subr/config_file.c:721"
<subversion/libsvn_subr/config_file.c:721> (0/0/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 80/ 80/
4901) 0x80174d500 "subversion/libsvn_subr/config_file.c:721"
<subversion/libsvn_subr/string.c:59> (1/1/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 32/ 32/
4933) 0x80174d5a0 "svn:<undefined>" <locks/unix/thread_mutex.c:50>
(1/1/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 64/ 64/
4965) 0x80174d5a0 "svn:<undefined>" <memory/unix/apr_pools.c:2495>
(2/2/0)
POOL DEBUG: [29126/34384113664] CREATE ( 64/ 64/
4965) 0x80174d5a0 "svn:<undefined>" <svn:<undefined>> (2/2/0)
POOL DEBUG: [29126/34384113664] PCALLOC ( 96/ 96/
4997) 0x80174d5a0 "svn root pool" <locks/unix/thread_mutex.c:50> (3/3/0)
POOL DEBUG: [29126/34384113664] PALLOC ( 128/ 128/
5029) 0x80174d5a0 "svn root pool" <memory/unix/apr_pools.c:2495> (4/4/0)
POOL DEBUG: [29126/34384113664] CREATEU ( 0/ 0/
5029) 0x80174d640 "subversion/libsvn_subr/pool.c:160"
<subversion/libsvn_subr/pool.c:160> (0/0/0)
POOL DEBUG: [29126/34384113664] LIFE
0x80174d640 <memory/unix/apr_pools.c:apr_pool_integrity check
[lifetime]>
Program received signal SIGABRT, Aborted.
0x0000000801088c2a in thr_kill () from /lib/libc.so.7
(gdb) bt
#0 0x0000000801088c2a in thr_kill () from /lib/libc.so.7
#1 0x0000000801087084 in raise () from /lib/libc.so.7
#2 0x0000000800ffd279 in abort () from /lib/libc.so.7
#3 0x0000000800ea8a57 in apr_pool_check_integrity (pool=0x80174d640) at
memory/unix/apr_pools.c:1618
#4 0x0000000800ea8c3d in apr_pcalloc_debug (pool=0x80174d640, size=16,
file_line=0x800e7c683 "threadproc/unix/threadpriv.c:28") at
memory/unix/apr_pools.c:1795
#5 0x0000000800ebbe49 in apr_threadkey_private_create (key=0x800873998
<error_file_key>,
dest=0x80081d770 <null_threadkey_dtor>, pool=0x80174d640) at
threadproc/unix/threadpriv.c:28
#6 0x000000080081bd61 in locate_init_once (ignored_baton=0x0) at
subversion/libsvn_subr/error.c:77
#7 0x00000008007f6d4e in str_init_func_wrapper
(init_baton=0x7fffffffcfb0) at subversion/libsvn_subr/atomic.c:156
#8 0x00000008007f6bcd in init_once (global_status=0x800873990
<svn_error.locate.init_status>,
init_func=0x8007f6d30 <str_init_func_wrapper>,
init_baton=0x7fffffffcfb0) at subversion/libsvn_subr/atomic.c:71
#9 0x00000008007f6ce0 in svn_atomic__init_once_no_error
(global_status=0x800873990 <svn_error.locate.init_status>,
str_init_func=0x80081bd30 <locate_init_once>, baton=0x0) at
subversion/libsvn_subr/atomic.c:170
#10 0x000000080081bca7 in svn_error__locate (file=0x8007d85cd
"subversion/libsvn_subr/io.c", line=3988)
at subversion/libsvn_subr/error.c:128
#11 0x000000080082235d in svn_io_file_open (new_file=0x7fffffffd0e8,
fname=0x8017523c0 "/etc/subversion/servers",
flag=1, perm=4095, pool=0x80174d500) at
subversion/libsvn_subr/io.c:3988
#12 0x000000080080be29 in svn_config__parse_file (cfg=0x8002ca2c0,
file=0x8017523c0 "/etc/subversion/servers",
must_exist=0, result_pool=0x80174d320) at
subversion/libsvn_subr/config_file.c:724
#13 0x0000000800808917 in svn_config_read3 (cfgp=0x7fffffffd298,
file=0x8017523c0 "/etc/subversion/servers",
must_exist=0, section_names_case_sensitive=0,
option_names_case_sensitive=0, result_pool=0x80174d320)
at subversion/libsvn_subr/config.c:154
#14 0x000000080080ac49 in read_all (cfgp=0x7fffffffd298,
sys_registry_path=0x0, usr_registry_path=0x0,
sys_file_path=0x8017523c0 "/etc/subversion/servers",
usr_file_path=0x8017523e0 "/home/rick/.subversion/servers",
pool=0x80174d320) at subversion/libsvn_subr/config.c:248
#15 0x0000000800808dbf in get_category_config (cfg=0x7fffffffd298,
config_dir=0x0, category=0x8007e142b "servers",
--Type <RET> for more, q to quit, c to continue without paging--
l=0x80174d320) at subversion/libsvn_subr/config.c:327
#16 0x0000000800808bdc in svn_config_get_config
(cfg_hash=0x7fffffffd700, config_dir=0x0, pool=0x80174d320) at
subversion/libsvn_subr/config.c:340
#17 0x000000000025f60d in sub_main (exit_code=0x7fffffffda24, argc=2,
argv=0x7fffffffdaa0, pool=0x80174d320) at subversion/svn/svn.c:2897
#18 0x000000000025cc7f in main (argc=2, argv=0x7fffffffdaa0) at
subversion/svn/svn.c:3325
(gdb)
=======================================================================================================================================================
I tried subversion 1.14.1 and subversion-trunk@1889032. Traces above are
generated using the subversion-trunk codebase.
I have also the unittests of the Apache Portable Runtime (APR) on which
the relevant(?) ones completes successfully.
How can I find out if a) I am looking at an potential issue within
subversion source code, b) whether the APR debugging is flagging this as
a false positive or c) something else?
Kind regards,
Rick