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?
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> > _______________________________________ >
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