[issue7358] cPickle crash on failed assertion

2011-01-31 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.o

[issue7358] cPickle crash on failed assertion

2011-01-31 Thread Alexander Belopolsky
Alexander Belopolsky added the comment: Ryan, Do you still have the setup that can reproduce this error? If so, can you try running it with pickle rather than cPickle? If it works with pickle, please see if you can reproduce the error by unpickling the result of pickle and repickling it wi

[issue7358] cPickle crash on failed assertion

2009-11-19 Thread Ryan Shaw
Ryan Shaw 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. --

[issue7358] cPickle crash on failed assertion

2009-11-19 Thread Ryan Shaw
Ryan Shaw 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

[issue7358] cPickle crash on failed assertion

2009-11-19 Thread Eric Smith
Eric Smith added the comment: What are the types and values of cluster and r? Can you reproduce this in a self-contained script? -- nosy: +eric.smith ___ Python tracker ___

[issue7358] cPickle crash on failed assertion

2009-11-19 Thread Ryan Shaw
New submission from Ryan Shaw : 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 --