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

Re: Segfault in Perl bindings, _wrap_apr_terminate when running "git svn rebase"

From: Branko Čibej <brane_at_xbc.nu>
Date: Tue, 13 May 2008 20:47:48 +0200

Dennis Schridde wrote:
> Am Dienstag, 13. Mai 2008 13:25:12 schrieb Dennis Schridde:
>
>> Am Montag, 12. Mai 2008 23:08:35 schrieb Branko Čibej:
>>
>>> Dennis Schridde wrote:
>>>
>>>> Hello!
>>>>
>>>> I experience a segfault, whenever I run "git svn rebase".
>>>> This crash does not happen with subversion-1.4.6, but only with
>>>> 1.5.0_rc4, 1.5.0_rc5 and current trunk_at_31140. Thus I assume this to be
>>>> a bug in subversion.
>>>>
>>>> The backtrace is attached.
>>>>
>>>> I am using apr-1.2.12, git-1.5.5.1 and perl-5.8.8.
>>>>
>> If found toggle for that crash:
>> --enable-runtime-module-search
>>
>> When enabled, it will crash, when disabled, it will not.
>>
> Surprise, surprise, Gentoo builds 1.4.6(-r2)
> without --enable-runtime-module-search, so that is why 1.4.6 works and
> 1.5.0_rc5 did not.
>

IIRC that flag is new in 1.5, so that's not surprising. :)

Anyway it looks like you found the cause of the bug, and I suspect it's
not even specific to the Perl bindings. This smells of out-of-order pool
destruction because of late module loading; a very familiar topic from
my "BDB registry" days.

Thanks for the follow-up; and I think this could be a showstopper for 1.5.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-13 20:48:36 CEST

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