Issue 17565: segfaults during serialization (original) (raw)

Created on 2013-03-27 23:34 by eddiewrc, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
ModelSettings.py eddiewrc,2013-03-27 23:34
Messages (5)
msg185389 - (view) Author: Daniele Raimondi (eddiewrc) Date: 2013-03-27 23:34
pickle and cPickle cause really often segfaults when dumping or loading user defined classes. It happens with python 2.7.3 on 64bits architecture, with any protocol (0,1,2). I attach an example of class afflicted by this problem. Solutions anyone?
msg185390 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2013-03-28 00:03
Please provide a self-contained explain, we can reproduce.
msg185395 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2013-03-28 00:51
ModelSettings.py requires globalSettings which is not attached.
msg185406 - (view) Author: Daniele Raimondi (eddiewrc) Date: 2013-03-28 08:34
I'll try ASAP. unfortunately I'm pretty busy trying to overcome this problem On Thu, Mar 28, 2013 at 1:51 AM, STINNER Victor <report@bugs.python.org>wrote: > > STINNER Victor added the comment: > > ModelSettings.py requires globalSettings which is not attached. > > ---------- > nosy: +haypo > > _______________________________________ > Python tracker <report@bugs.python.org> > <http://bugs.python.org/issue17565> > _______________________________________ >
msg188285 - (view) Author: Alexandre Vassalotti (alexandre.vassalotti) * (Python committer) Date: 2013-05-03 00:51
If you are pickling large objects, you're likely hitting issue #11872. We fixed most 64-bit issues in Python 3, so upgrading might be solution if possible. Since the particular bug you are hitting cannot be reproduced with your test case, I am closing this issue. Feel free to reopen if you come up with a reproducible test case.
History
Date User Action Args
2022-04-11 14:57:43 admin set github: 61765
2013-05-03 00:51:43 alexandre.vassalotti set status: open -> closedtype: crashnosy: + alexandre.vassalottimessages: + resolution: works for mestage: resolved
2013-03-29 03:25:42 barry set nosy: + barry
2013-03-28 08:34:40 eddiewrc set messages: +
2013-03-28 00:51:30 vstinner set nosy: + vstinnermessages: +
2013-03-28 00:03:31 benjamin.peterson set nosy: + benjamin.petersonmessages: +
2013-03-27 23:34:55 eddiewrc create