Re: [Zope-dev] Python core dump zope 2.6.1+CMF1.3

2003-02-12 Thread Casey Duncan
On Wednesday 12 February 2003 09:20 am, R. David Murray wrote:
[snip]
> I sup regularly, and rebuild regularly.  That patch is already
> applied.  Also, 2.2 appears to not need the patch, and it crashes, too.

I can confirm that 2.2 does need to be configured with a larger stack size to 
work correctly with Zope/CMF on FreeBSD. Whether the port has this patch or 
not included I'm not sure. I don't use the port to run Zope apps, I only use 
it for others apps and testing.

This also affects MacOSX, but I think the stack size *is* automatically bumped 
up during the Python compile (Go figure).

As for Windows, no-one can honestly be surprised at software crashes there, it 
all part of the experience ;^)

-Casey

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Python core dump zope 2.6.1+CMF1.3

2003-02-12 Thread Andy McKay
Well, the others seeing the problem are *not* running FreeBSD.
I was able to confirm that one saw it with Windows2000.  Not
sure about the others at the moment.


Sorry mate, we've got ours (Win and Mac OS X) fixed. Our CMF was what 
out of whack with an attempted patch to FSObject.py. Our issue wasn't 
2.6.1 related.
--
  Andy McKay


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Python core dump zope 2.6.1+CMF1.3

2003-02-12 Thread R. David Murray
On Tue, 11 Feb 2003, Barry Pederson wrote:
> Sounds like you need the THREAD_STACKS_SIZE patch for FreeBSD's Python 2.1

Well, the others seeing the problem are *not* running FreeBSD.
I was able to confirm that one saw it with Windows2000.  Not
sure about the others at the moment.

> If you've cvsup-ed your ports tree lately, there may already be a patch in
> place in that same directory named "patch-Python-thread_pthread.h-stacksize"
> that looks like it does basically the same thing.

I sup regularly, and rebuild regularly.  That patch is already
applied.  Also, 2.2 appears to not need the patch, and it crashes, too.

--RDM

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )



Re: [Zope-dev] Python core dump zope 2.6.1+CMF1.3

2003-02-11 Thread Barry Pederson
R. David Murray wrote:

I haven't touched Z2 in a while.  But I need a Plone site (I think).
So I downloaded 2.6.1, CMF1.3, and Plone 1.0.  Installed all on
FreeBSD 4.7.  Created a plone portal.  Going to the plone site URL
causes a python core dump.  Created a plain CMF site.  Going to the
site URL causes a python core dump.  Going to the /manage version
of the same URL works fine, by the way.

Others have seen this, so it should be easy for Concerned Parties
to reproduce this.  I have to run off to a meeting so I can't do
any more deubgging on this tonight.  NB: python 2.2.2 also core
dumps under the same scenario.


Sounds like you need the THREAD_STACKS_SIZE patch for FreeBSD's Python 2.1

http://sourceforge.net/tracker/?func=detail&atid=305470&aid=554841&group_id=5470

There's a download link near the bottom of the page.

Basically put that patch in your /usr/ports/lang/python2.1/files directory, 
then re-build the Python 2.1 port with "-DTHREAD_STACK_SIZE=0x2" 
specified as an argument to the make command.

* OR **

If you've cvsup-ed your ports tree lately, there may already be a patch in 
place in that same directory named "patch-Python-thread_pthread.h-stacksize" 
that looks like it does basically the same thing.

However I haven't tried it, I built my Python 2.1 + Zope 2.6.0 + Plone setup 
before that was added to the port. The first patch from sourceforge did the 
trick for curing crashes in my case, so I'd guess that an updated port and a 
re-built Python 2.1 might be the ticket in your case.

	Barry


___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


[Zope-dev] Python core dump zope 2.6.1+CMF1.3

2003-02-11 Thread R. David Murray
I haven't touched Z2 in a while.  But I need a Plone site (I think).
So I downloaded 2.6.1, CMF1.3, and Plone 1.0.  Installed all on
FreeBSD 4.7.  Created a plone portal.  Going to the plone site URL
causes a python core dump.  Created a plain CMF site.  Going to the
site URL causes a python core dump.  Going to the /manage version
of the same URL works fine, by the way.

Others have seen this, so it should be easy for Concerned Parties
to reproduce this.  I have to run off to a meeting so I can't do
any more deubgging on this tonight.  NB: python 2.2.2 also core
dumps under the same scenario.

--RDM

___
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )