This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tobiasmarschall
Recipients tobiasmarschall
Date 2013-07-11.09:40:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1373535639.26.0.108709359025.issue18427@psf.upfronthosting.co.za>
In-reply-to
Content
Running the following two lines of code causes a segfault:

s = 'A' * 3142044943 
t = s.replace('\n','')

My setup:
Python 2.7.5 (default, Jul 11 2013, 11:17:50) 
[GCC 4.6.3] on linux2
Linux 3.2.0-45-generic #70-Ubuntu SMP Wed May 29 20:12:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

I could reproduce this behavior on Python 2.6.8 and 2.5.6.

Please let me know if I can provide additional information.
History
Date User Action Args
2013-07-11 09:40:39tobiasmarschallsetrecipients: + tobiasmarschall
2013-07-11 09:40:39tobiasmarschallsetmessageid: <1373535639.26.0.108709359025.issue18427@psf.upfronthosting.co.za>
2013-07-11 09:40:39tobiasmarschalllinkissue18427 messages
2013-07-11 09:40:38tobiasmarschallcreate