This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Delgan
Recipients Delgan
Date 2020-04-28.08:33:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588062803.12.0.525075528099.issue40399@roundup.psfhosted.org>
In-reply-to
Content
I noticed the bug is reproducible even if the child process does not put object in the queue:




    import multiprocessing 
    import threading 
    import time 

    if __name__ == "__main__": 
      queue = multiprocessing.SimpleQueue() 

      def consume(queue):
        while True:
          print("Consumed:", queue.get())

      thread = threading.Thread(target=consume, args=(queue,))
      thread.start()
      
      for i in range(10000):
        queue.put(i)
        p = multiprocessing.Process(target=lambda: None) 
        p.start() 
        p.join()

        print("Not hanging yet", i)
History
Date User Action Args
2020-04-28 08:33:23Delgansetrecipients: + Delgan
2020-04-28 08:33:23Delgansetmessageid: <1588062803.12.0.525075528099.issue40399@roundup.psfhosted.org>
2020-04-28 08:33:23Delganlinkissue40399 messages
2020-04-28 08:33:22Delgancreate