subversion fatal error

Bug #139315 reported by Mouse
2
Affects Status Importance Assigned to Milestone
subversion
New
Undecided
Unassigned
db4.4 (Ubuntu)
New
Undecided
Unassigned

Bug Description

I have on my i386 Feisty machine (upgraded to Gutsy):
 + subversion 1.4.4dfsg1-1ubuntu2
 + db4.4 4.4.20-8ubuntu2

When I've updated to db4.4 4.20-8.1ubuntu2, then on any operation with svn I've got:
$ svnadmin create --fs-type bdb /var/lib/svn/repo
svnadmin: Berkeley DB error for filesystem '/var/lib/svn/repo/db' while committing Berkeley DB transaction:
DB_RUNRECOVERY: Fatal error, run database recovery
svnadmin: bdb: not a restored transaction
svnadmin: bdb: PANIC: Invalid argument

If I downgrade to 4.20-8ubuntu2 all works fine.

Revision history for this message
Mouse (a-kachalov) wrote :

Only one thing was affected between versions. It was a configure option in debian/rules:

-ifneq (,$(findstring z$(DEB_BUILD_GNU_CPU)z,$(NPTL_SUPPORTED_CPUS)))
+#ifneq (,$(findstring z$(DEB_BUILD_GNU_CPU)z,$(NPTL_SUPPORTED_CPUS)))
 ifneq (,$(findstring z$(DEB_BUILD_GNU_SYSTEM)z,$(NPTL_SUPPORTED_SYSTEMS)))
 CONFIGURE_SWITCHES += --enable-pthreadsmutexes=yes
 endif
-endif
+#endif

And as a result:
$ ldd 4.20-8/libdb-4.4.so
        linux-gate.so.1 => (0xffffe000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d9c000)
        /lib/ld-linux.so.2 (0x80000000)

$ ldd 4.20-8.1/libdb-4.4.so
        linux-gate.so.1 => (0xffffe000)
        libpthread.so.0 => /lib/tls/i686/cmov/libpthread.so.0 (0xb7ea2000)
        libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7d58000)
        /lib/ld-linux.so.2 (0x80000000)

New lib about 4k larger.

Revision history for this message
Alexander Bokovoy (abbra) wrote :

Confirm, this breaks Subversion badly.

Revision history for this message
Daniel Hahler (blueyed) wrote :

I cannot confirm the bug using just "svnadmin create --fs-type bdb foo-repo".

But I get a similar problem when trying to work with a bdb-repo from Feisty. See bug 154555.

I'm still investigating, but the change found by Mouse above is the same I've found when looking for differences in Debian/Ubuntu: Debian Bug 441152 (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=441152) appears similar, but they've done this in the update from -8.1 to -9.

I'll make bug 153996 the metabug for this.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.