Edgewall Software

Ticket #3658 (closed defect: wontfix)

Opened 2 years ago

Last modified 15 months ago

Segfault while trying to run Trac

Reported by: lukas@… Owned by: jonas
Priority: normal Milestone:
Component: web frontend/mod_python Version: 0.10.1
Severity: normal Keywords:
Cc:

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

Change History

Changed 22 months ago by anonymous

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

Changed 22 months ago by Enderson Maia <endersonmaia@…>

  • version changed from 0.9.6 to 0.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.

Changed 22 months ago by Enderson Maia <endersonmaia@…>

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.

Changed 22 months ago by cboos

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

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)

Changed 20 months ago by anonymous

  • status changed from closed to reopened
  • resolution worksforme deleted

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

Changed 20 months ago by cboos

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

Changed 17 months ago by cboos

  • keywords needinfo added
  • component changed from general to mod_python frontend

Any new information?

Changed 16 months ago by cboos

  • status changed from reopened to closed
  • resolution set to wontfix

Not enough information, closing.

Changed 15 months ago by yoswink@…

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.

Changed 15 months ago by cboos

  • 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.

Add/Change #3658 (Segfault while trying to run Trac)

Author



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