Segv in mmap.move()

magnus.lycka at gmail.com magnus.lycka at gmail.com
Wed Jul 23 14:07:57 EDT 2008


Does anyone recognize this little Python crasher?

I'll file a bug report unless someone notices it as an already
documented bug. I found some open mmap bugs, but it wasn't
obvious to me that this problem was one of those...

Python 2.5.2 (r252:60911, Apr 21 2008, 11:12:42)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import mmap
>>> data = mmap.mmap(-1, 1)
>>> data.move(1,1,-1)
Segmenteringsfel (core dumped)

I first noticed the problem under Windows in 2.5.1.





More information about the Python-list mailing list