Issue 9812: cPickle segfault with nested dicts in threaded env (original) (raw)

Issue9812

Created on 2010-09-09 15:03 by kdombrowski, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test_cpickle.nested_dicts_in_threaded_env.diff kdombrowski,2010-09-09 15:03
Messages (2)
msg115950 - (view) Author: Kenneth Dombrowski (kdombrowski) Date: 2010-09-09 15:03
FreeBSD 8.0-RELEASE-p2 Python 2.5.5 amd64 attached diff provides a test for cpickle which reproduces a segfault when pickling >15 nested dicts in a threaded environment cpickle.patch attached to http://bugs.python.org/issue3640 applys cleanly to the 2.5 source and fixes this issue i understand 2.5 is no longer maintained except for security fixes, i leave it up to the maintainers to decide if this segfault warrants a security patch thank you
msg115956 - (view) Author: Amaury Forgeot d'Arc (amaury.forgeotdarc) * (Python committer) Date: 2010-09-09 18:15
Python has several known crashers, they are not considered as security holes. It seems that FreeBSD has a small stack size for threads (64k); did you try to increase it with thread.stack_size(10**6)?
History
Date User Action Args
2022-04-11 14:57:06 admin set github: 54021
2011-06-01 06:20:34 terry.reedy set status: open -> closedresolution: out of date
2010-09-09 18:15:13 amaury.forgeotdarc set nosy: + loewis, amaury.forgeotdarcmessages: +
2010-09-09 15:03:20 kdombrowski create