Python Forum
Embedding python cause crash when use boost::asio multi threading
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Embedding python cause crash when use boost::asio multi threading
#1
Hi there!

I have a problem.

The program is that, im using embeded python in my c++ project (Win32), it is okay, but when i use boost::asio socket in that project, sometime the program crashes on start.

What can be the problem, can someone gives me a tip for solve this problem? Maybe multi threading problem?

The asio and python module uses same class in memory, can it be problem?


Thank your for all!
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Concurrent futures threading running at same speed as non-threading billykid999 13 1,813 May-03-2023, 08:22 AM
Last Post: billykid999
  Embedding python script into html via pyscript pyscript_dude 7 1,550 Apr-16-2023, 11:17 PM
Last Post: pyscript_dude
  C++ python embedding comarius 0 825 Aug-26-2022, 02:01 AM
Last Post: comarius
  Catching a crash within a library code ebolisa 9 3,148 Nov-22-2021, 11:02 AM
Last Post: bowlofred
  Tutorials on sockets, threading and multi-threading? muzikman 2 2,120 Oct-01-2021, 08:32 PM
Last Post: muzikman
  Python Crash Course ( 2nd edition) alok 1 1,879 Jul-19-2021, 05:55 PM
Last Post: snippsat
  Can I open\use threading in Python? korenron 2 1,793 Jun-30-2021, 10:42 AM
Last Post: korenron
Question Embedding a python file online Dreary35 0 1,520 Jun-10-2021, 05:05 PM
Last Post: Dreary35
  Need help multi-threading scraping spacedog 2 2,479 Apr-28-2021, 03:48 PM
Last Post: spacedog
  how to run linux command with multi pipes by python !! evilcode1 2 6,331 Jan-25-2021, 11:19 AM
Last Post: DeaD_EyE

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020