Re: [Zope-dev] Re: Python 2.1.2 does not fix the signal 11 crashing problem !!!!!!!!!!!

2002-01-22 Thread Chris Withers

Shane Hathaway wrote:
 
 Anyway, Zope 2.4.4 is coming soon I'm sure.  The only difference is the
 Python files in lib/python/RestrictedPython so you really don't even
 have to recompile anything.

Maybe those bits could be released as a hotfix or monkeypatch in the meantime?

cheers,

Chris

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



[Zope-dev] Re: Python 2.1.2 does not fix the signal 11 crashing problem !!!!!!!!!!!

2002-01-21 Thread Anthony Baxter


 Harald Koschinski wrote
 Hallo,
 
 after switching to python 2.1.2 compiled with GC 
  (intranet:/usr/local/src/Python-2.1.2 # ./configure --without-pymalloc)
 the crashes are back again :-(((
 

Which version of Zope? Does it have the RestrictedCompiler fix?

As far as I am aware, Zope 2.4 includes it's own version of the
Compiler code, and the current release of 2.4 still has the stacksize
bug.

Anthony

-- 
Anthony Baxter [EMAIL PROTECTED]   
It's never too late to have a happy childhood.


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



Re: [Zope-dev] Re: Python 2.1.2 does not fix the signal 11 crashing problem !!!!!!!!!!!

2002-01-21 Thread Chris McDonough

Yes, there is still a compiler module bug in Zope 2.4.3 that will cause
crashing under any Python version.  Please wait for Zope 2.4.4 (ETA unknown)
or upgrade to Zope 2.5.0b4 (which already has the fix).

- C

- Original Message -
From: Harald Koschinski
To: Anthony Baxter
Cc: Matthew T. Kromer ; Leonardo Rochael Almeida ; Ralph Arenz ; zope-dev
Sent: Monday, January 21, 2002 4:23 AM
Subject: [Zope-dev] Re: Python 2.1.2 does not fix the signal 11 crashing
problem !!!


Anthony Baxter wrote:

Harald Koschinski wrote
Hallo,after switching to python 2.1.2 compiled with GC
(intranet:/usr/local/src/Python-2.1.2 # ./configure --without-pymalloc)the
crashes are back again :-(((
Which version of Zope?
2.4.3

Does it have the RestrictedCompiler fix?
Good question - next question please :-(((

I am again a little bit confused - I thought that the problem is only in the
GC module of Python because zope is running without any crashes when I
disable GC.

As far as I am aware, Zope 2.4 includes it's own version of theCompiler
code, and the current release of 2.4 still has the stacksizebug.Anthony

Matthew: Can you give the final answer ???


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



[Zope-dev] Re: Python 2.1.2 does not fix the signal 11 crashing problem !!!!!!!!!!!

2002-01-21 Thread Matthew T. Kromer

Harald Koschinski wrote:

 Anthony Baxter wrote:

Harald Koschinski wrote

Hallo,

after switching to python 2.1.2 compiled with GC 
 (intranet:/usr/local/src/Python-2.1.2 # ./configure --without-pymalloc)
the crashes are back again :-(((


Which version of Zope? 

 2.4.3

Does it have the RestrictedCompiler fix?

 Good question - next question please :-(((

 I am again a little bit confused - I thought that the problem is only 
 in the GC module of Python because zope is running without any crashes 
 when I disable GC.


As far as I am aware, Zope 2.4 includes it's own version of the
Compiler code, and the current release of 2.4 still has the stacksize
bug.

Anthony


 Matthew: Can you give the final answer ???



2.4.4 (which should be mostly the equivalent of the Zope-2_4-branch in 
our CVS) hasn't been extensively tested.  There are a LOT of things that 
I'm aware of that _can_ cause crashes, ie in MySQL when the database 
object switches threads, it can get unhappy (I think something in MySQL 
may have thread-local state).

Unfortunately, I can't speculate on exactly WHICH problem is causing the 
seg faults, because they don't occur in-house (except for the one 
compiler bug which we were able to reproduce.)

I am notionally toying with the idea of spending some evening hours 
attempting to come up with some kind of Linux-enabled crash capturing 
package, but this is not necessarily going to be trivial, and I dont 
know exactly how I want it to work.  (Ie the proper way is to be able to 
validate all pointers etc, from the stack frame trace on a sig 11 signal 
handler etc.. but that may require some assembly glue).



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



[Zope-dev] Re: Python 2.1.2 does not fix the signal 11 crashing problem !!!!!!!!!!!

2002-01-21 Thread Anthony Baxter


 Matthew T. Kromer wrote
 2.4.4 (which should be mostly the equivalent of the Zope-2_4-branch in 
 our CVS) hasn't been extensively tested.  There are a LOT of things that 
 I'm aware of that _can_ cause crashes, ie in MySQL when the database 
 object switches threads, it can get unhappy (I think something in MySQL 
 may have thread-local state).

In that case, how about cutting a version which is 2.4.3 + the compiler
fixes? Crashes are bad, and it would be very nice to Make Them Go Away. :)

Anthony

-- 
Anthony Baxter [EMAIL PROTECTED]   
It's never too late to have a happy childhood.


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



Re: [Zope-dev] Re: Python 2.1.2 does not fix the signal 11 crashing problem !!!!!!!!!!!

2002-01-21 Thread Matt Behrens

Anthony Baxter wrote:

 In that case, how about cutting a version which is 2.4.3 + the compiler
 fixes? Crashes are bad, and it would be very nice to Make Them Go Away. :)

You already have that.  Check out the Zope-2_4-branch from CVS (see 
http://dev.zope.org/CVS for info).  Now leave poor Matt alone :-)

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



Re: [Zope-dev] Re: Python 2.1.2 does not fix the signal 11 crashing problem !!!!!!!!!!!

2002-01-21 Thread Anthony Baxter


 Behrens Matt - Grand Rapids wrote
 Anthony Baxter wrote:
 
  In that case, how about cutting a version which is 2.4.3 + the compiler
  fixes? Crashes are bad, and it would be very nice to Make Them Go Away. :)
 
 You already have that.  Check out the Zope-2_4-branch from CVS (see 
 http://dev.zope.org/CVS for info).  Now leave poor Matt alone :-)

I know - I do have this. Plenty of other people, tho, do NOT have the
ability to build their own version of Zope. Requiring people to follow
a somewhat arcane set of instructions and steps merely to get a stable
version of Zope that doesn't crash strikes me as... odd.

Anthony

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



Re: [Zope-dev] Re: Python 2.1.2 does not fix the signal 11 crashing problem !!!!!!!!!!!

2002-01-21 Thread Shane Hathaway

Anthony Baxter wrote:

Behrens Matt - Grand Rapids wrote

Anthony Baxter wrote:


In that case, how about cutting a version which is 2.4.3 + the compiler
fixes? Crashes are bad, and it would be very nice to Make Them Go Away. :)

You already have that.  Check out the Zope-2_4-branch from CVS (see 
http://dev.zope.org/CVS for info).  Now leave poor Matt alone :-)

 
 I know - I do have this. Plenty of other people, tho, do NOT have the
 ability to build their own version of Zope. Requiring people to follow
 a somewhat arcane set of instructions and steps merely to get a stable
 version of Zope that doesn't crash strikes me as... odd.

It's not as uncommon as you make it sound; look at BerkeleyDB and the 
Linux kernel. :-)

Anyway, Zope 2.4.4 is coming soon I'm sure.  The only difference is the 
Python files in lib/python/RestrictedPython so you really don't even 
have to recompile anything.

Shane


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