Re: APR_POOL_DEBUG usage question

2024-02-01 Thread Simon Walter
On 2024-02-01 14:29, Yann Ylavic wrote: > On Wed, Jan 31, 2024 at 7:44 PM Simon Walter wrote: >> >> My question about how to debuging should be done. abort() is called on >> apr_initialize(): >> >> Program received signal SIGABRT, Aborted. > > Does the attached patch fix the issue with

Re: APR_POOL_DEBUG usage question

2024-02-01 Thread Yann Ylavic
On Thu, Feb 1, 2024 at 2:38 PM Simon Walter wrote: > > I had partial success with '--enable-pool-debug=yes' and > '--enable-pool-debug=verbose'. Then I ran into something else regarding > apr-util. I see there are pre-processor conditions based on APR_POOL_DEBUG. Yes, you need to both apr and

Re: APR_POOL_DEBUG usage question

2024-02-01 Thread Simon Walter
On 2024-02-01 14:21, Yann Ylavic wrote: > On Thu, Feb 1, 2024 at 1:56 PM Yann Ylavic wrote: >> >> On Wed, Jan 31, 2024 at 7:44 PM Simon Walter wrote: >>> >>> Should I use '--enable-pool-debug=yes' or '--enable-pool-debug=verbose'? >> >> I'd suggest using simple --enable-pool-debug[=yes] and

Re: APR_POOL_DEBUG usage question

2024-02-01 Thread Yann Ylavic
On Wed, Jan 31, 2024 at 7:44 PM Simon Walter wrote: > > My question about how to debuging should be done. abort() is called on > apr_initialize(): > > Program received signal SIGABRT, Aborted. Does the attached patch fix the issue with apr_initialize()? Regards; Yann. Index:

Re: APR_POOL_DEBUG usage question

2024-02-01 Thread Yann Ylavic
On Thu, Feb 1, 2024 at 1:56 PM Yann Ylavic wrote: > > On Wed, Jan 31, 2024 at 7:44 PM Simon Walter wrote: > > > > Should I use '--enable-pool-debug=yes' or '--enable-pool-debug=verbose'? > > I'd suggest using simple --enable-pool-debug[=yes] and ASan (Address > Sanitizer, i.e.

Re: APR_POOL_DEBUG usage question

2024-02-01 Thread Yann Ylavic
On Wed, Jan 31, 2024 at 7:44 PM Simon Walter wrote: > > Should I use '--enable-pool-debug=yes' or '--enable-pool-debug=verbose'? I'd suggest using simple --enable-pool-debug[=yes] and ASan (Address Sanitizer, i.e. "-fsanitize=address -fno-sanitize-recover=address" in $CFLAGS). Regards, Yann.