5.3-BETA5 AMD64 Python problems

From: Matt Hamilton (matth_at_netsight.co.uk)
Date: 10/03/04

  • Next message: Brian Fundakowski Feldman: "Re: panic: APIC: Previous IPI is stuck"
    To: freebsd-current@freebsd.org
    Date: Sun, 03 Oct 2004 07:41:08 +0100
    
    

    Hi All,
       We have just bought ourselves an AMD64 machine (HP DL145) and I have
    put 5.3-BETA5 on it. This is our first foray into 5.x, so far we have
    kept all our servers on 4.x. The server is meant to be a Zope server,
    but I am having trouble with python.

    Python 2.3.4 as built from ports cannot pass its own unit tests on this
    platform, specifically it fails test_re.py in about the 4th test
    (something to do with catching infinite recursion on a regular
    expression). The test just core dumps (as does trying to start Zope).
    I thought this was the well known 'FreeBSD has a tiny pthread stack
    size' issue. This is fixed in recent pythons (and the ports) by calling
    pthread_setstacksize to increase the stack to 1MB.

    I've tried this on 5.3-BETA5/AMD64, but to no avail. If I compile
    python *without* thread support, then the unit test passes. So I think
    it is related to threads. I've not managed to keep my finger on the
    -current development pulse, but wasn't threads re-written in 5.x? Or
    was it just the scheduler (I am using whichever scheduler 5.3-BETA5 uses
    by default).

    I've even tried raising the stack size to 64MB in python, but still it
    core dumps.

    Anyone else using python on 5.x? Can you test it passes its regex unit
    tests? As currently I'm unsure if the problem is related to:

    1) AMD64 support
    2) 5.x's new threads and/or scheduler
    3) something else :)

    I'm pretty sure I've heard of people running Zope on 5.1 (I'm guessing
    it was i386) so I'm thinking it is a 64-bit issue.

    -Matt

    -- 
    Matt Hamilton                                       matth@netsight.co.uk
    Netsight Internet Solutions, Ltd.        Business Vision on the Internet
    http://www.netsight.co.uk                             +44 (0)117 9090901
    Web Design | Zope/Plone Development & Consulting | Co-location | Hosting
    _______________________________________________
    freebsd-current@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-current
    To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
    

  • Next message: Brian Fundakowski Feldman: "Re: panic: APIC: Previous IPI is stuck"

    Relevant Pages

    • Re: xmlrpclib hangs execution
      ... the Python command line 'hangs' until I kill the server. ... 'str': 'Connection accepted. ... At this point, Python 'hangs' until I kill the server, and then these last packages are send: ...
      (comp.lang.python)
    • xmlrpclib hangs execution
      ... import xmlrpclib ... the Python command line 'hangs' until I kill the server. ... At this point, Python 'hangs' until I kill the server, and then these last packages are send: ...
      (comp.lang.python)
    • Re: 5.3-BETA5 AMD64 Python problems
      ... I've also been able to confirm that compiling Python without threads ... problems with stack unwinding and threads, and if the stack is getting ... The server is meant to be a Zope server, ... The test just core dumps. ...
      (freebsd-current)
    • Re: Python on a public library computer
      ... >I want to run python scripts from this computer. ... to web proxy) but I needed to access my company's internal mail server ... logged on to the domain) if I could run a putty session with forwarding ... employee's account had only access to a web proxy, ...
      (comp.lang.python)
    • Re: Is there an obvious way to do this in python?
      ... |> I want to write a small system that is transaction based. ... Yes - if you do the whole job on the server - ... |it) and HTML (but there are some python packages that knows how to build ... again - centric thinking - I really would like to change the bits on the client, ...
      (comp.lang.python)