apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 52785] New: testall fails if pool debug is enabled
Date Tue, 28 Feb 2012 11:14:59 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=52785

             Bug #: 52785
           Summary: testall fails if pool debug is enabled
           Product: APR
           Version: 1.4.6
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR test
        AssignedTo: bugs@apr.apache.org
        ReportedBy: andre@gnu4u.org
    Classification: Unclassified


When using pool debug, the testall fails.

Steps to reproduce:
$ tar -xvf  apr-1.4.6.tar.bz2
$ cd apr-1.4.6/
$ ./configure --enable-pool-debug=all --enable-threads
$ make
$ cd test
$ make
$ ./testall

Output:
[...]
POOL DEBUG: [30734/140510846469888]  THREAD                                   
0x1f907c0 <memory/unix/apr_pools.c:apr_pool_integrity check> 
\POOL DEBUG: [30734/140510972262144] PCALLOC (      2168/      2168/      2368)
0x1f8e660 "testutil.c:43" <threadproc/unix/thread.c:154> (83/83/0) 
POOL DEBUG: [30734/140510972262144] PCALLOC (      2176/      2176/      2376)
0x1f8e660 "testutil.c:43" <threadproc/unix/thread.c:160> (84/84/0) 
POOL DEBUG: [30734/140510972262144]  CREATE (         0/         0/      2376)
0x1f983b0 "threadproc/unix/thread.c:174" <threadproc/unix/thread.c:174> (0/0/0) 
POOL DEBUG: [30734/140510947182336]  THREAD                                   
0x1f8ef00 <memory/unix/apr_pools.c:apr_pool_integrity check> 
Aborted (core dumped)

Stack trace:
(gdb) bt
#0  0x00007fcb419b41b5 in *__GI_raise (sig=<value optimized out>) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007fcb419b6fc0 in *__GI_abort () at abort.c:92
#2  0x00007fcb4255cf1f in apr_pool_check_integrity (pool=0x1f907c0) at
memory/unix/apr_pools.c:1352
#3  0x00007fcb4255e251 in pool_destroy_debug (pool=0x780e, file_line=0x781c
<Address 0x781c out of bounds>) at memory/unix/apr_pools.c:1632
#4  0x00007fcb42568416 in apr_thread_exit (thd=<value optimized out>,
retval=<value optimized out>) at threadproc/unix/thread.c:206
#5  0x000000000041a131 in thread_func_atomic (thd=0x1f90770, data=<value
optimized out>) at testatomic.c:258
#6  0x00007fcb41eee8ca in start_thread (arg=<value optimized out>) at
pthread_create.c:300
#7  0x00007fcb41a5186d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

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


Mime
View raw message