Bug #62

hg clone sometimes fails with "abort: error" and no description

Added by Chris Cannam over 13 years ago. Updated over 13 years ago.

Status:In ProgressStart date:2011-01-19
Priority:HighDue date:
Assignee:Chris Cannam% Done:

0%

Category:-
Target version:-

Description

Cloning a repository on this server sometimes fails, with an error that says simply:

abort: error: ''

The cause appears to be the authentication module, with the error log reporting

DBD::Pg::db FETCH failed: handle 2 is owned by thread 7f957b55e6a0 not current thread 7f957c1e4c00 (handles can't be shared between threads and your driver may need a CLONE method added), <DATA> line 556.

from the access handler.

Repeating the clone operation will often work. I haven't yet seen this with any other hg commands, though it doesn't appear from the error that the command should make any difference.

History

#1 Updated by Chris Cannam over 13 years ago

I have switched from DBI to Apache::DBI via "PerlModule Apache::DBI" in mods-available/perl.conf.

I tried this before, but got a 500 on every request -- turns out this is a bug in Apache::DBI 1.0.7, fixed in 1.0.8 but not yet available via apt. Patching Apache/DBI.pm as per http://rt.cpan.org/Public/Bug/Display.html?id=36346 (place eval{} around "$r = Apache2::RequestUtil->request;") seems to have fixed that.

Monitoring the situation...

#2 Updated by Chris Cannam over 13 years ago

  • Status changed from New to In Progress

Also available in: Atom PDF