[issue19337] MMAP: Bus error (core dump) under heavy read/write

2013-10-21 Thread Jesús Cea Avión
Changes by Jesús Cea Avión : -- nosy: +jcea ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue19337] MMAP: Bus error (core dump) under heavy read/write

2013-10-21 Thread Ribhi Kamal
Changes by Ribhi Kamal : Removed file: http://bugs.python.org/file32285/core.gz ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue19337] MMAP: Bus error (core dump) under heavy read/write

2013-10-21 Thread Ribhi Kamal
Changes by Ribhi Kamal : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue19337] MMAP: Bus error (core dump) under heavy read/write

2013-10-21 Thread Ribhi Kamal
Ribhi Kamal added the comment: I figured I was doing something wrong... sorry about that -- components: -Library (Lib) resolution: invalid -> status: closed -> open versions: -Python 3.3, Python 3.4 ___ Python tracker

[issue19337] MMAP: Bus error (core dump) under heavy read/write

2013-10-21 Thread Charles-François Natali
Charles-François Natali added the comment: > 3- From another process, like bash, continuously write to the file. That's the problem: reducing (actually truncating in your case) a file currently mmaped *can only result in a core dump*: when you try to read from a location in memory which doesn'

[issue19337] MMAP: Bus error (core dump) under heavy read/write

2013-10-21 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Confirm on 2.7 and 3.x. -- components: +Library (Lib) nosy: +serhiy.storchaka versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___

[issue19337] MMAP: Bus error (core dump) under heavy read/write

2013-10-21 Thread Ribhi Kamal
Ribhi Kamal added the comment: Code dump attached -- Added file: http://bugs.python.org/file32285/core.gz ___ Python tracker ___ ___ P

[issue19337] MMAP: Bus error (core dump) under heavy read/write

2013-10-21 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo, neologix, pitrou, sbt ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue19337] MMAP: Bus error (core dump) under heavy read/write

2013-10-21 Thread Ribhi Kamal
New submission from Ribhi Kamal: I was about to use memory mapping for something when I discovered that the code example posted on python.org causes python to core dump. %100 reproducible The steps are really simple. 1- Create a file and map it using mmap.mmap 2- In a while loop, contintously