[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Issue 993

From: <cmpilato_at_collab.net>
Date: 2002-11-19 16:21:23 CET

Marc Haesen <marc.haesen@telindus.com> writes:

> Since I do not have permission to add comments to issues I am sending this
> to you.
>
> I have found the reason for the crash.
>
> Each of the python bindings is a dll which is staticly linked with the apr
> library. This means that each of the dlls has it's own global_pool variable
> (defined in apr/unix/apr_pools.c). The apr_initialize function (which
> initialises the global_pool variable) is only called from the _util.pyd
> extension module. By doing a 'cd to a non-existing directory' another
> extension module is making a call to the make_error_internal function. This
> function is crashing because global_pool has the value NULL in this
> extension module.

Ick. Yep, that would explain it. In fact, that may have been the
cause of some problems I saw when I built the bindings under Windows
(making each one a DLL that statically linked to APR, exactly as you
did).

I will annotate the issue with your findings, and am Cc:ing this
mail to the dev-list.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Nov 19 16:24:43 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.