[issue7358] cPickle crash on failed assertion
New submission from Ryan Shaw ryan.s...@stanfordalumni.org: def save_object(r, key, m): r.set(key, cPickle.dumps(m)) [4] save_object(r, 'cluster', cluster) python: ./Modules/cStringIO.c:419: O_cwrite: Assertion `oself-pos + l 2147483647' failed. Aborted Linux 2.6.30.9-96.fc11.x86_64 #1 SMP x86_64 GNU/Linux -- components: Library (Lib) messages: 95482 nosy: rybesh severity: normal status: open title: cPickle crash on failed assertion type: crash versions: Python 2.6 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7358 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7358] cPickle crash on failed assertion
Ryan Shaw ryan.s...@stanfordalumni.org added the comment: r is the Redis python client. cluster is a large cluster tree along the lines of the cluster_node class found here: http://jesolem.blogspot.com/2009/04/hierarchical-clustering-in-python.html -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7358 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7358] cPickle crash on failed assertion
Ryan Shaw ryan.s...@stanfordalumni.org added the comment: I can't reproduce this in a self-contained script. Pickling a smaller cluster object and storing it in Redis works fine. The cluster object that caused the crash was large, a binary tree with 5000 leaves holding the results of a nine-hour calculation. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue7358 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com