Bugs item #1671676, was opened at 2007-03-01 07:24
Message generated for change (Settings changed) made by akuchling
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1671676&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Threads
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: shashi (shashikala)
>Assigned to: A.M. Kuchling (akuchling)
Summary: test_mailbox is hanging while doing gmake test on HP-UX v3

Initial Comment:

 Hi ,

  I am testing Python 2.5 on HP-UX 11iv3 using gmake test , while testing the 
test  test_mailbox.py is hanging . 

  when tried to track the problem i came to know that
in the function 
      if pid == 0:
            # In the child, lock the mailbox.
            self._box.lock()
            time.sleep(2)
            self._box.unlock()
            os._exit(0)

        # In the parent, sleep a bit to give the child time to acquire
        # the lock.
        time.sleep(0.5)
        try:
            self.assertRaises(mailbox.ExternalClashError,
                              self._box.lock)
        finally:
            # Wait for child to exit.  Locking should now succeed.
            exited_pid, status = os.waitpid(pid, 0)

 after forking the child , child is not returning status to the parent while 
its waiting for the return status. 

  which part of the Python functionality is checked. 
 
   Please assist me to solve this.

Thanks in advance ,
shashi

 

----------------------------------------------------------------------

Comment By: shashi (shashikala)
Date: 2007-03-31 09:27

Message:
Logged In: YES 
user_id=1506183
Originator: YES

please find attached log stacktrace of test_mailbox.py , assist me to
analyse the test hang.
File Added: python.txt

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1671676&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to