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 hongweipeng
Recipients ezio.melotti, hongweipeng, magu, vstinner, xtreak
Date 2018-09-30.03:22:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538277741.76.0.545547206417.issue32291@psf.upfronthosting.co.za>
In-reply-to
Content
I think I know the reason. `c_wchar_p` corresponds to the string pointer `wchar_t *`.It's not a good idea to pass pointers between processes. As quoted from `multiprocessing` docs:

Note Although it is possible to store a pointer in shared memory remember that this will refer to a location in the address space of a specific process. However, the pointer is quite likely to be invalid in the context of a second process and trying to dereference the pointer from the second process may cause a crash.

https://docs.python.org/3.6/library/multiprocessing.html?#module-multiprocessing.sharedctypes
History
Date User Action Args
2018-09-30 03:22:21hongweipengsetrecipients: + hongweipeng, vstinner, ezio.melotti, magu, xtreak
2018-09-30 03:22:21hongweipengsetmessageid: <1538277741.76.0.545547206417.issue32291@psf.upfronthosting.co.za>
2018-09-30 03:22:21hongweipenglinkissue32291 messages
2018-09-30 03:22:21hongweipengcreate