Edgewall Software

Ticket #2364 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

following a link for tracks causes a dump

Reported by: anonymous Owned by: jonas
Priority: normal Milestone:
Component: general Version: 0.9
Severity: normal Keywords:
Cc:

Description

Clicking on the following link:

http://dev.rousette.org.uk/timeline

causes:

Traceback (most recent call last):

File "/usr/local/lib/python2.4/site-packages/trac/core.py", line 531, in cgi_start

real_cgi_start()

File "/usr/local/lib/python2.4/site-packages/trac/core.py", line 526, in real_cgi_start

dispatch_request(path_info, args, req, env)

File "/usr/local/lib/python2.4/site-packages/trac/core.py", line 439, in dispatch_request

module = module_factory(args, env, database, req)

File "/usr/local/lib/python2.4/site-packages/trac/core.py", line 172, in module_factory

import sync

File "/usr/local/lib/python2.4/site-packages/trac/sync.py", line 22, in ?

from svn import core, fs, delta, repos

File "/usr/local/lib/python2.4/site-packages/svn/core.py", line 19, in ?

from libsvn.core import *

File "/usr/local/lib/python2.4/site-packages/libsvn/core.py", line 5, in ?

import _core

ImportError?: /usr/local/lib/apache2/libaprutil-0.so.9: Undefined symbol "db_strerror_4002"

Attachments

Change History

Changed 3 years ago by anonymous

This is from the top of the page:

"

Trac detected an internal error:

/usr/local/lib/apache2/libaprutil-0.so.9: Undefined symbol "db_strerror_4002"

"

Changed 3 years ago by cboos

  • status changed from new to closed
  • resolution set to duplicate

A similar problem has already been reported, see #2346

(the magic of numbers... :) )

Changed 3 years ago by cboos

Forgot to say that in your case:

import _core ImportError?: /usr/local/lib/apache2/libaprutil-0.so.9: Undefined symbol "db_strerror_4002"

it's probably a mismatch between the aprutil used for building Subversion and the one used at runtime within Apache: they are apparently not compatible, as the one used for building Subversion contained a db_strerror_4002 symbol (for supporting Berkeley DB 4.2?) and the one from Apache doesn't have that symbol.

You should always take care to use Apache's APR when building Subversion if you intend to use the subversion libraries within Apache (e.g. mod_dav_svn or the SVN python bindings loaded by mod_python).

Add/Change #2364 (following a link for tracks causes a dump)

Author



Change Properties
<Author field>
Action
as closed
Next status will be 'reopened'
to The owner will change from jonas. Next status will be 'closed'
 
Note: See TracTickets for help on using tickets.