[issue26360] Deadlock in thread.join on Python 2.7/Mac OS X 10.9, 10.10

2019-09-14 Thread Mark Dickinson


Mark Dickinson  added the comment:

> Maybe issue38106 related.

That looks plausible, but unfortunately I'm still able to reproduce the hang 
with your PR (commit 9b135c02aa1edab4c99c915c43cd62d988f1f9c1, macOS 10.14.6).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26360] Deadlock in thread.join on Python 2.7/Mac OS X 10.9, 10.10

2019-09-11 Thread Kirill Smelkov


Kirill Smelkov  added the comment:

Maybe issue38106 related.

--
nosy: +navytux

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26360] Deadlock in thread.join on Python 2.7/Mac OS X 10.9, 10.10

2016-02-23 Thread Mark Dickinson

Changes by Mark Dickinson :


--
title: Deadlock in thread.join on Python 2.7/Mac OS X 10.9 -> Deadlock in 
thread.join on Python 2.7/Mac OS X 10.9, 10.10

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26360] Deadlock in thread.join on Python 2.7/Mac OS X 10.9

2016-02-23 Thread Mark Dickinson

Mark Dickinson added the comment:

I've found OS X 10.10 and OS X 10.11 machines to test on. I'm able to reproduce 
on 10.10, but not on 10.11. This adds to the plausibility of the "Apple bug" 
explanation.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26360] Deadlock in thread.join on Python 2.7/Mac OS X 10.9

2016-02-18 Thread Mark Dickinson

Mark Dickinson added the comment:

A minor update: I did manage to verify that the GIL is indeed not held by any 
threads at the moment of the hang, so it does look very much as though a 
`pthread_cond_signal` signal has gone astray somehow.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26360] Deadlock in thread.join on Python 2.7/Mac OS X 10.9

2016-02-18 Thread Mark Dickinson

Mark Dickinson added the comment:

Thanks, Ned. I tried with:

   ./configure --with-pydebug MACOSX_DEPLOYMENT_TARGET=10.9 && make

I'm still able to reproduce. I plan to find some time this weekend to dig into 
the source and see if I can narrow down the cause (or at least make the hang 
easier / quicker to reproduce).

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26360] Deadlock in thread.join on Python 2.7/Mac OS X 10.9

2016-02-17 Thread Ned Deily

Ned Deily added the comment:

I'm not able to test it myself at the moment but you could also try ensuring 
your 2.7 build is with the most up-to-date ABI for your system:

./configure MACOSX_DEPLOYMENT_TARGET=10.9

2.7 builds do not set this automatically; 3.x builds do.

--
nosy: +ned.deily

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26360] Deadlock in thread.join on Python 2.7/Mac OS X 10.9

2016-02-17 Thread STINNER Victor

STINNER Victor added the comment:

> Thanks for testing! It wouldn't entirely surprise me if this turned out to be 
> an Apple bug somewhere.

I'm ran threading_hang.py on Mac OS X 10.10 Yosemite (darwin 14.5) on Python 
2.7 compiled in release mode.

After 28 iterations (~4 hours, 9 minutes per iteration), the bug was still not 
reproduced.

It looks like my OS X version is more recent than yours. You should run your 
test on various OS X versions to try to identify the bug.

Since it's likely a race condition, I would not be surprised that the bug is 
very hard to reproduce and may exist on other platforms, but may be less likely 
on other platforms or even less likely on some computers for various reasons...

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26360] Deadlock in thread.join on Python 2.7/Mac OS X 10.9

2016-02-17 Thread Mark Dickinson

Mark Dickinson added the comment:

Thanks for testing! It wouldn't entirely surprise me if this turned out to be 
an Apple bug somewhere.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue26360] Deadlock in thread.join on Python 2.7/Mac OS X 10.9

2016-02-17 Thread STINNER Victor

Changes by STINNER Victor :


--
title: Deadlock in thread.join -> Deadlock in thread.join on Python 2.7/Mac OS 
X 10.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com