Edgewall Software
Modify

Opened 11 years ago

Closed 11 years ago

#9608 closed defect (cantfix)

Segmentation fault of apache2 when linking to SVN repository

Reported by: team@… Owned by:
Priority: high Milestone:
Component: version control Version: 0.12-stable
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

My trac.ini (fragment of it):

[repositories]
test.dir = /home/me/reps/test
test.description = main repository
test.type = svn
test.url = svn://svn.fazend.com/test
.alias = test
.hidden = true

This configuration leads to "segmentation fault" of Apache 2, without any messages in log files (neither Trac, nor Apache). When I remove this text from trac.ini file everything works fine, but Trac doesn't see any repositories.

What am I doing wrong? Thanks!

Attachments (0)

Change History (2)

comment:1 by team@…, 11 years ago

The problem is inside my Python configuration:

$ trac-admin ~/me repository resync test
/home/me/lib/python2.5/libsvn/fs.py:7: RuntimeWarning: Python C API version mismatch for module _fs: This Python has API version 1013, module _fs has version 1012.
  import _fs
/home/me/lib/python2.5/libsvn/fs.py:7: RuntimeWarning: Python C API version mismatch for module swig_runtime_data3: This Python has API version 1013, module swig_runtime_data3 has version 1012.
  import _fs
/home/me/lib/python2.5/libsvn/core.py:7: RuntimeWarning: Python C API version mismatch for module _core: This Python has API version 1013, module _core has version 1012.
  import _core
/home/me/lib/python2.5/libsvn/delta.py:7: RuntimeWarning: Python C API version mismatch for module _delta: This Python has API version 1013, module _delta has version 1012.
  import _delta
/home/me/lib/python2.5/libsvn/repos.py:7: RuntimeWarning: Python C API version mismatch for module _repos: This Python has API version 1013, module _repos has version 1012.
  import _repos
Segmentation fault

comment:2 by Christian Boos, 11 years ago

Milestone: 0.12.1
Resolution: cantfix
Status: newclosed

Well, this is an InstallationIssue

There are many possible ways to get segmentation faults thanks to the Python bindings for Subversion, we can't document them all ;-)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.