Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 221931 - dev-util/subversion-1.5.0_rc*: --enable-runtime-module-search causes segfaults in Perl bindings
Summary: dev-util/subversion-1.5.0_rc*: --enable-runtime-module-search causes segfault...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Benedikt Böhm (RETIRED)
URL: http://subversion.tigris.org/servlets...
Whiteboard:
Keywords:
Depends on:
Blocks: 238586
  Show dependency tree
 
Reported: 2008-05-13 12:53 UTC by Dennis Schridde
Modified: 2009-07-02 06:06 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild patch to disable runtime-module-search and die on configure errors (subversion-1.5.0_rc5.ebuild.patch,426 bytes, patch)
2008-05-13 20:14 UTC, Dennis Schridde
Details | Diff
Workaround (subversion-1.5.0_rc9.ebuild.patch,1.04 KB, patch)
2008-06-15 15:04 UTC, Arfrever Frehtes Taifersar Arahesis (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2008-05-13 12:53:22 UTC
Passing --enable-runtime-module-search to configure will cause a segfault in the Perl bindings on shutdown of i.e. git-svn.

See http://subversion.tigris.org/servlets/ReadMsg?list=dev&msgNo=138509 for progress reports.

Reproducible: Always

Steps to Reproduce:
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-05-13 14:06:39 UTC
Please write a patch or wait until somebody else writes it.

--enable-runtime-module-search has many significant advantages and not using it is unacceptable.
Comment 2 Dennis Schridde 2008-05-13 20:14:35 UTC
Created attachment 153071 [details, diff]
Ebuild patch to disable runtime-module-search and die on configure errors 

I cannot write a patch, since even the exact cause is not yet know. ;)
Currently subversion devs suspect a generic showstopping bug in pool destruction.
Since that functionality was already present in 1.4 and was not used by Gentoo, I doubt it is now so extremely necessary to have it in a ~arch masked release candidate. ;)
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-05-14 14:38:52 UTC
(In reply to comment #2)
> Created an attachment (id=153071) [edit]
> Ebuild patch to disable runtime-module-search

-1

> and die on configure errors

econf always dies on configure errors. This part is totally useless.

> Currently subversion devs suspect a generic showstopping bug in pool
> destruction.

I heard about it. I'm one of them:
https://svn.collab.net/viewvc/*checkout*/svn/trunk/COMMITTERS

> Since that functionality was already present in 1.4 and was not used by
> Gentoo, I doubt it is now so extremely necessary to have it

It avoids some problems which happen during incompatible upgrades of some (sometimes indirect) dependencies of Subversion.
Comment 4 Christoph Brill (egore) (RESIGNED) 2008-05-14 20:24:27 UTC
How about package.mask-ing the 1.5.0_rc* ebuilds? Why are they in ~arch anyway?
Comment 5 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-05-15 16:47:23 UTC
(In reply to comment #4)
> How about package.mask-ing the 1.5.0_rc* ebuilds?

Wrong idea.

> Why are they in ~arch anyway?

Because they are needed and useful here. Older versions don't work with libtool-2.*.
Comment 6 Dennis Schridde 2008-06-12 11:02:30 UTC
The issue is *still* present in rc9.
Can you please either fix the segfaults immediately, or disable runtime module search?
This is getting annoying...
Comment 7 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-06-15 15:04:58 UTC
Created attachment 156927 [details, diff]
Workaround
Comment 8 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-06-15 15:07:46 UTC
(In reply to comment #7)

dev-util/git[subversion] should depend on dev-util/subversion[-dso].
Comment 9 Dennis Schridde 2008-06-15 19:27:33 UTC
For that matter it should be "anything-that-uses-subversion-bindings" should depend on "subversion -dso"...
But the general idea seems like an acceptable compromise.
Comment 10 Benedikt Böhm (RETIRED) gentoo-dev 2008-06-16 08:35:41 UTC
fixed in 1.5.0_rc9-r1
Comment 11 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2008-06-16 08:45:26 UTC
(In reply to comment #9)
> For that matter it should be "anything-that-uses-subversion-bindings" should
> depend on "subversion -dso"...

Maybe only Subversion Perl bindings. We didn't hear about problems with Python or Ruby bindings.
Comment 12 Dennis Schridde 2008-08-13 21:17:01 UTC
I still see this issue in 1.5.1. (With USE=dso.) Is there anything known about a real fix (besides disabling runtime-module-search)?
Comment 13 Thorben Kröger 2008-08-13 21:21:49 UTC
(In reply to comment #10)
> fixed in 1.5.0_rc9-r1
> 

Where is the fix? If you meant the introduction of the dso useflag, that seems like a step in the right direction, but could you at least echo a big warning if this is enabled? Git svn failed on me and I had now idea where this came from...
Comment 14 Dennis Schridde 2008-09-24 17:03:06 UTC
Duplicated in bug #223747 ?
Comment 15 Luke-Jr 2009-07-02 06:06:53 UTC
According to http://subversion.tigris.org/issues/show_bug.cgi?id=3289 the configure flag in question is "unsupported, experimental and known to break things"; this seems like a very bad idea to have as a default...