[issue3338] cPickle segfault with deep recursion

2010-08-03 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Un

[issue3338] cPickle segfault with deep recursion

2009-05-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Now that #3640 has been fixed, this bug is probably fixed too (at least in trunk and py3k). -- ___ Python tracker ___ __

[issue3338] cPickle segfault with deep recursion

2009-05-16 Thread Daniel Diniz
Changes by Daniel Diniz : -- dependencies: +test_cpickle crash on AMD64 Windows build priority: -> normal versions: +Python 2.6 -Python 2.4 ___ Python tracker ___ ___

[issue3338] cPickle segfault with deep recursion

2008-08-22 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: > Well, it's definitely a bug, or inconsistency, if you like, between > cPickle and pickle. There is clearly a problem with cPickle stack consumption and a new bug has been opened for this in #3640. What I don't agree with is your argument t

[issue3338] cPickle segfault with deep recursion

2008-08-21 Thread Darryl Dixon
Darryl Dixon <[EMAIL PROTECTED]> added the comment: Well, it's definitely a bug, or inconsistency, if you like, between cPickle and pickle. My gut says that probably there is some fault in cPickle that is causing this. When pickle.py can recurse to 10,000+ and cPickle segfaults at 2600 on a 64bi

[issue3338] cPickle segfault with deep recursion

2008-08-21 Thread Antoine Pitrou
Antoine Pitrou <[EMAIL PROTECTED]> added the comment: Well, the standard recursion limit is precisely there to guard against segfaults when blowing up the C stack, so if you make the recursion limit much larger, it's quite normal to get segfaults. Therefore, I don't think this is a real bug. --

[issue3338] cPickle segfault with deep recursion

2008-07-16 Thread Darryl Dixon
Darryl Dixon <[EMAIL PROTECTED]> added the comment: That is a very interesting observation (x4), especially in light of #3373 Unfortunately I don't really have the (p|g)db -foo to debug either of these properly :( ___ Python tracker <[EMAIL PROTECTED]>

[issue3338] cPickle segfault with deep recursion

2008-07-16 Thread Jesús Cea Avión
Changes by Jesús Cea Avión <[EMAIL PROTECTED]>: -- nosy: +jcea ___ Python tracker <[EMAIL PROTECTED]> ___ ___ Python-bugs-list mailing l

[issue3338] cPickle segfault with deep recursion

2008-07-16 Thread Facundo Batista
Facundo Batista <[EMAIL PROTECTED]> added the comment: Confirmed in... Python 2.6b1+ (trunk:65017M, Jul 16 2008, 13:37:00) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 ...with a more simple case: """ import sys, cPickle sys.setrecursionlimit(10405) class rec(object)

[issue3338] cPickle segfault with deep recursion

2008-07-15 Thread Darryl Dixon
Darryl Dixon <[EMAIL PROTECTED]> added the comment: No, I've just tested /trunk, including r64595, and the Segmentation fault is still present, eg: Python 2.6b1+ (trunk:64998, Jul 16 2008, 15:50:22) [GCC 4.1.1 20070105 (Red Hat 4.1.1-52)] on linux2 Type "help", "copyright", "credits" or "licens

[issue3338] cPickle segfault with deep recursion

2008-07-15 Thread Darryl Dixon
Darryl Dixon <[EMAIL PROTECTED]> added the comment: Hmm, looks like this dup's 2702... Funny how two people find the same thing within a short window of each other *sighs* so looks like it's probably fixed. I'll test /trunk against the failing testcase below and make sure all is OK. D _

[issue3338] cPickle segfault with deep recursion

2008-07-12 Thread Darryl Dixon
Darryl Dixon <[EMAIL PROTECTED]> added the comment: Happens with Python 2.5.2 on 64bit also: Python 2.5.2 (r252:60911, Apr 21 2008, 11:17:30) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import platform >>> platform.arc

[issue3338] cPickle segfault with deep recursion

2008-07-10 Thread Martin v. Löwis
Martin v. Löwis <[EMAIL PROTECTED]> added the comment: Can you try this for a newer version? For 2.4, such problems will not be fixed anymore. -- nosy: +loewis ___ Python tracker <[EMAIL PROTECTED]> _

[issue3338] cPickle segfault with deep recursion

2008-07-10 Thread Darryl Dixon
New submission from Darryl Dixon <[EMAIL PROTECTED]>: In at least Python 2.4, using cPickle.Pickler to try and pickle a nested chain of objects more than about 2590 objects deep causes the Python interpreter to segfault. This doesn't seem to happen when using the pure Python pickle module. It is