Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

segmentation fault and ticket 2611

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


gnychis at cmu

Feb 16, 2009, 8:12 AM

Post #1 of 8 (463 views)
Permalink
segmentation fault and ticket 2611

Hi all,

I am having the following error:
http://trac.edgewall.org/ticket/2611

I tried adding "PythonInterpreter main_interpreter" which is suggested
by users in the ticket, however, I am still getting the segfault.

Here is my full configuration, line 333 is where the related config starts:
http://pastebin.com/f7ab11ddb

A little bit about what I'm using:
Apache/2.2.6 (FreeBSD)
mod_ssl/2.2.6
OpenSSL/0.9.8g
DAV/2
SVN/1.4.4
PHP/5.2.5 with Suhosin-Patch
mod_python/3.3.1
Python/2.5.1

I'd greatly appreciate any suggestions.

Thanks!
George

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


gnychis at cmu

Feb 17, 2009, 1:43 PM

Post #2 of 8 (428 views)
Permalink
Re: segmentation fault and ticket 2611 [In reply to]

sorry for the bump, still having issues with this.

George Nychis wrote:
> Hi all,
>
> I am having the following error:
> http://trac.edgewall.org/ticket/2611
>
> I tried adding "PythonInterpreter main_interpreter" which is suggested
> by users in the ticket, however, I am still getting the segfault.
>
> Here is my full configuration, line 333 is where the related config starts:
> http://pastebin.com/f7ab11ddb
>
> A little bit about what I'm using:
> Apache/2.2.6 (FreeBSD)
> mod_ssl/2.2.6
> OpenSSL/0.9.8g
> DAV/2
> SVN/1.4.4
> PHP/5.2.5 with Suhosin-Patch
> mod_python/3.3.1
> Python/2.5.1
>
> I'd greatly appreciate any suggestions.
>
> Thanks!
> George
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Graham.Dumpleton at gmail

Feb 18, 2009, 1:49 AM

Post #3 of 8 (428 views)
Permalink
Re: segmentation fault and ticket 2611 [In reply to]

You don't even follow the advice in that ticket. You have:

PythonInterpreter "trac"

You must use:

PythonInterpreter main_interpreter

Go read the two references linked from last comment in that ticket.

Graham

On Feb 18, 8:43 am, George Nychis <gnyc...@cmu.edu> wrote:
> sorry for the bump, still having issues with this.
>
> George Nychis wrote:
> > Hi all,
>
> > I am having the following error:
> >http://trac.edgewall.org/ticket/2611
>
> > I tried adding "PythonInterpreter main_interpreter" which is suggested
> > by users in the ticket, however, I am still getting the segfault.
>
> > Here is my full configuration, line 333 is where the related config starts:
> >http://pastebin.com/f7ab11ddb
>
> > A little bit about what I'm using:
> > Apache/2.2.6 (FreeBSD)
> > mod_ssl/2.2.6
> > OpenSSL/0.9.8g
> > DAV/2
> > SVN/1.4.4
> > PHP/5.2.5 with Suhosin-Patch
> > mod_python/3.3.1
> > Python/2.5.1
>
> > I'd greatly appreciate any suggestions.
>
> > Thanks!
> > George
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


gnychis at cmu

Feb 18, 2009, 7:10 AM

Post #4 of 8 (419 views)
Permalink
Re: segmentation fault and ticket 2611 [In reply to]

Sorry, I had tried "PythonInterpreter main_interpreter" and it didn't
help, as I mentioned in my e-mail. So, I tried switching to "trac"
which is when I posted to the mailing list. I have a mod_python version
after 3.2.8, which the comment suggested in comment 1.

As for the second comment, I'm not using mod_wsgi, and it said the
solution is the same as "PythonInterpreter main_interpreter" ...

- George


Graham Dumpleton wrote:
> You don't even follow the advice in that ticket. You have:
>
> PythonInterpreter "trac"
>
> You must use:
>
> PythonInterpreter main_interpreter
>
> Go read the two references linked from last comment in that ticket.
>
> Graham
>
> On Feb 18, 8:43 am, George Nychis <gnyc...@cmu.edu> wrote:
>> sorry for the bump, still having issues with this.
>>
>> George Nychis wrote:
>>> Hi all,
>>> I am having the following error:
>>> http://trac.edgewall.org/ticket/2611
>>> I tried adding "PythonInterpreter main_interpreter" which is suggested
>>> by users in the ticket, however, I am still getting the segfault.
>>> Here is my full configuration, line 333 is where the related config starts:
>>> http://pastebin.com/f7ab11ddb
>>> A little bit about what I'm using:
>>> Apache/2.2.6 (FreeBSD)
>>> mod_ssl/2.2.6
>>> OpenSSL/0.9.8g
>>> DAV/2
>>> SVN/1.4.4
>>> PHP/5.2.5 with Suhosin-Patch
>>> mod_python/3.3.1
>>> Python/2.5.1
>>> I'd greatly appreciate any suggestions.
>>> Thanks!
>>> George
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


gnychis at cmu

Feb 20, 2009, 7:27 PM

Post #5 of 8 (414 views)
Permalink
Re: segmentation fault and ticket 2611 [In reply to]

Any other ideas?

George Nychis wrote:
> Sorry, I had tried "PythonInterpreter main_interpreter" and it didn't
> help, as I mentioned in my e-mail. So, I tried switching to "trac"
> which is when I posted to the mailing list. I have a mod_python version
> after 3.2.8, which the comment suggested in comment 1.
>
> As for the second comment, I'm not using mod_wsgi, and it said the
> solution is the same as "PythonInterpreter main_interpreter" ...
>
> - George
>
>
> Graham Dumpleton wrote:
>> You don't even follow the advice in that ticket. You have:
>>
>> PythonInterpreter "trac"
>>
>> You must use:
>>
>> PythonInterpreter main_interpreter
>>
>> Go read the two references linked from last comment in that ticket.
>>
>> Graham
>>
>> On Feb 18, 8:43 am, George Nychis <gnyc...@cmu.edu> wrote:
>>> sorry for the bump, still having issues with this.
>>>
>>> George Nychis wrote:
>>>> Hi all,
>>>> I am having the following error:
>>>> http://trac.edgewall.org/ticket/2611
>>>> I tried adding "PythonInterpreter main_interpreter" which is suggested
>>>> by users in the ticket, however, I am still getting the segfault.
>>>> Here is my full configuration, line 333 is where the related config starts:
>>>> http://pastebin.com/f7ab11ddb
>>>> A little bit about what I'm using:
>>>> Apache/2.2.6 (FreeBSD)
>>>> mod_ssl/2.2.6
>>>> OpenSSL/0.9.8g
>>>> DAV/2
>>>> SVN/1.4.4
>>>> PHP/5.2.5 with Suhosin-Patch
>>>> mod_python/3.3.1
>>>> Python/2.5.1
>>>> I'd greatly appreciate any suggestions.
>>>> Thanks!
>>>> George
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Graham.Dumpleton at gmail

Feb 21, 2009, 4:15 PM

Post #6 of 8 (412 views)
Permalink
Re: segmentation fault and ticket 2611 [In reply to]

On Feb 19, 2:10 am, George Nychis <gnyc...@cmu.edu> wrote:
> Sorry, I had tried "PythonInterpreter main_interpreter" and it didn't
> help, as I mentioned in my e-mail.  So, I tried switching to "trac"
> which is when I posted to the mailing list.  I have a mod_python version
> after 3.2.8, which the comment suggested in comment 1.
>
> As for the second comment, I'm not using mod_wsgi, and it said the
> solution is the same as "PythonInterpreter main_interpreter" ...

I suggest mod_wsgi as mod_python still has other bugs in it related to
Python GIL which mod_wsgi doesn't. It is also much easier to isolate
the problem with mod_wsgi because you can use daemon mode to delegate
Trac to a process of its own, allowing debuggers to be more easily
attached and capture where crash is occuring.

Anyway, it is quite possible it isn't even that issue as there are
various other issues that can cause Trac to crash. For one, have you
even checked the expat incompatibility problem. Or the problem caused
by svn module for Apache being built and/or using different version of
svn libraries to Python svn libraries. And have you ensure you aren't
running PHP in same Apache instance.

For the expat issue see:

http://code.google.com/p/modwsgi/wiki/IssuesWithExpatLibrary
http://www.dscpl.com.au/wiki/ModPython/Articles/ExpatCausingApacheCrash

Graham


> - George
>
> Graham Dumpleton wrote:
> > You don't even follow the advice in that ticket. You have:
>
> >   PythonInterpreter "trac"
>
> > You must use:
>
> >   PythonInterpreter main_interpreter
>
> > Go read the two references linked from last comment in that ticket.
>
> > Graham
>
> > On Feb 18, 8:43 am, George Nychis <gnyc...@cmu.edu> wrote:
> >> sorry for the bump, still having issues with this.
>
> >> George Nychis wrote:
> >>> Hi all,
> >>> I am having the following error:
> >>>http://trac.edgewall.org/ticket/2611
> >>> I tried adding "PythonInterpreter main_interpreter" which is suggested
> >>> by users in the ticket, however, I am still getting the segfault.
> >>> Here is my full configuration, line 333 is where the related config starts:
> >>>http://pastebin.com/f7ab11ddb
> >>> A little bit about what I'm using:
> >>> Apache/2.2.6 (FreeBSD)
> >>> mod_ssl/2.2.6
> >>> OpenSSL/0.9.8g
> >>> DAV/2
> >>> SVN/1.4.4
> >>> PHP/5.2.5 with Suhosin-Patch
> >>> mod_python/3.3.1
> >>> Python/2.5.1
> >>> I'd greatly appreciate any suggestions.
> >>> Thanks!
> >>> George
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


gnychis at cmu

Mar 3, 2009, 7:33 AM

Post #7 of 8 (367 views)
Permalink
Re: segmentation fault and ticket 2611 [In reply to]

> I suggest mod_wsgi as mod_python still has other bugs in it related to
> Python GIL which mod_wsgi doesn't. It is also much easier to isolate
> the problem with mod_wsgi because you can use daemon mode to delegate
> Trac to a process of its own, allowing debuggers to be more easily
> attached and capture where crash is occuring.
>
> Anyway, it is quite possible it isn't even that issue as there are
> various other issues that can cause Trac to crash. For one, have you
> even checked the expat incompatibility problem. Or the problem caused
> by svn module for Apache being built and/or using different version of
> svn libraries to Python svn libraries. And have you ensure you aren't
> running PHP in same Apache instance.
>
> For the expat issue see:
>
> http://code.google.com/p/modwsgi/wiki/IssuesWithExpatLibrary
> http://www.dscpl.com.au/wiki/ModPython/Articles/ExpatCausingApacheCrash
>

Thanks for the suggestions. I'm using after python version 2.5, so
according to the expat documentation, it is not the cause of my
segmentation fault.

I switched over to mod_wsgi and am still getting the segmentation fault:
http://pastebin.com/fabde3d4

I am going to check version matching, but if anyone else has any
suggestions I'd greatly appreciate it.

Thanks!
George

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


olemis at gmail

Mar 3, 2009, 8:04 AM

Post #8 of 8 (366 views)
Permalink
Re: segmentation fault and ticket 2611 [In reply to]

On Tue, Mar 3, 2009 at 10:33 AM, George Nychis <gnychis[at]cmu.edu> wrote:
>

Like I already said (... in some other thread [1]_ ;) ... this might
be due to a bug in svn python bindings. I reported this behavior some
time ago in svn-users list [2]_, but I'm still «enjoying the silence»
... :( The problem seems to be that SWIG wrappers return NULL pointers
to svn-lib methods ...

If you have the time ... try to debug Trac (i.e. tracd ;) itself (...
suggestion, use PyDev plugin for Eclipse ...). Read [1]_ and [2]_ for
further details. Perhaps this helps, maybe you find out that another
thing is going on ... i.e. a «win or win» situation ... ;)

.. [1] Trac installation problem: Shows "Available projects" list
cannot access individual projects
(http://www.mail-archive.com/trac-users[at]googlegroups.com/msg13396.html)

.. [2] Problem with python svn bindings and SWIG...
(http://svn.haxx.se/users/archive-2008-07/0338.shtml)

--
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-users[at]googlegroups.com
To unsubscribe from this group, send email to trac-users+unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.