On Wed, Nov 26, 2014 at 10:12:20PM -0700, Ted Bullock wrote:
> On 2014-10-31 2:43 AM, Ted Bullock wrote:
> >- The upstream hashing function uses internal sqlite API calls which I
> >think is dumb; I tried to use the APR hashing api (which at least is
> >public api) but I've done something bad and its segfaulting when exiting
> >the daemon, so I should probably fix that.
> 
> This is fixed. Like I said earlier I will probably still re-roll this from
> scratch.

Have you tried to figure out why the code using apr hash tables
caused a crash? There could be a problem with how the applications
manages apr pools.

apr is compiled with pool-debugging by default on OpenBSD.
This is to make malloc junking etc. work reliably. Enabling pool
debug is the easiest way of mapping apr pools directly to malloc/free.

You might be able to trigger the same crash on other platforms if APR
is compiled with pool debug there.

Reply via email to