Edgewall Software
Modify

Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#3658 closed defect (wontfix)

Segfault while trying to run Trac

Reported by: lukas@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: web frontend/mod_python Version: 0.10.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

After setting up Trac environment on my Fedora Core 6 test 2 workstation (Trac 0.9.6, Apache 2.2.3, mod_python 3.2.8, i386 build) I get the following error (from error.log of Apache):

[Sat Sep 02 18:20:06 2006] [notice] child pid 26811 exit signal Segmentation fault (11)

No further information included. I know this is not much so if you'd point me where I could get more heplful information, I will supply it.

(I originally thought it crashes because I use a development version of Fedora, but I proved that wrong when I encountered the same bug on Fedora Core 5.)

Attachments (0)

Change History (10)

comment:1 by anonymous, 18 years ago

Seems like a problem with PHP.
Try setting like this in php.ini:

max_execution_time = 30     ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 20M      ; Maximum amount of memory a script may consume (8MB)
post_max_size = 8M

comment:2 by Enderson Maia <endersonmaia@…>, 17 years ago

Version: 0.9.60.10.1

I'm having the same problema here, I did the changes in php.ini and didn't solved. (Why if Trac is in Python?)

I'm using Fedora Core 6

httpd-2.2.3-5 python-2.4.3-18.fc6 trac-0.10.1-1.fc6

I'll try some updates in the system. But if u show me how to debug, I could try.

comment:3 by Enderson Maia <endersonmaia@…>, 17 years ago

I had two versions of python-sqlite installed. I removed the recent one, and the problem is gone.

python-sqlite-1.1.7-1.2.1 python-sqlite2-2.3.2-2.fc6

I removed the python-sqlite2-2.3.2-2.fc6 version.

I installed trac using yum.

comment:4 by Christian Boos, 17 years ago

Resolution: worksforme
Status: newclosed

Well, besides the segfault, there's probably nothing in common between the above issue with PySqlite and the original one. And yes, changing php.ini probably won't help when trying to fix Trac ;)

About the original report, isn't there an incompatibility between mod_python 3.2.8 and Apache 2.2?

See MODPYTHON:78.

(http://issues.apache.org/jira/browse/MODPYTHON-78)

comment:5 by anonymous, 17 years ago

Resolution: worksforme
Status: closedreopened

mod_python 3.2.10 has apache 2.2 support trac still refuses to work with it it works perfect in tracd mode

comment:6 by Christian Boos, 17 years ago

Make sure it's not the classic APR libraries mismatch issue…

comment:7 by Christian Boos, 17 years ago

Component: generalmod_python frontend
Keywords: needinfo added

Any new information?

comment:8 by Christian Boos, 17 years ago

Resolution: wontfix
Status: reopenedclosed

Not enough information, closing.

comment:9 by yoswink@…, 17 years ago

I found the same problem while trying to run trac-0.10.4 on RHEL4.

After a debugging session I have the following conclusions:

  • Be sure trac is working from the standalone server (tracd)
  • Start to disable all the modules loaded by apache (except mod_python)

I solved the segfault disabling mem_cache module.

P.D: Excuse me if the ticket was closed, just want to leave the information here so it can help other users.

comment:10 by Christian Boos, 17 years ago

Keywords: needinfo removed

Thanks for the feedback. An alternative to disabling mem_cache (mod_cache?) would be to upgrade PySqlite to 2.3.3, see Pysqlite:#174.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström 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.