public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* mmap2 causes SIGBUS on 2.4.4-ac6
@ 2001-05-10 18:44 Jesper Juhl
  0 siblings, 0 replies; only message in thread
From: Jesper Juhl @ 2001-05-10 18:44 UTC (permalink / raw)
  To: linux-kernel


After compiling and installing a 2.4.4-ac6 kernel I noticed that some 
programs (notably 'grep') started crashing with 'Bus error's and 
captured some 'strace' output... In all cases the last four lines of 
output from strace are:

mmap2(0x8059000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0) = 0x8059000
mmap2(0x8059000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 
0xe00008) = 0x8059000
--- SIGBUS (Bus error) ---
+++ killed by SIGBUS +++

For those who would like to try and reproduce it, this command generates 
it every time:

$ grep foo /usr/src/linux/Documentation/*


So there seems to be some mmap related problem with 2.4.4-ac6. I tried 
running the exact same commands on a 2.2.17 and 2.2.19 and they do not 
exhibit this behaviour. I can try some more 2.4.x kernels if the 
information would be valuable?
If there is any other relevant information I can gather, then please let 
me know and I'll be happy to provide it.

I tried searching for "mmap2" and "SIGBUS" on 
http://www.uwsg.indiana.edu/hypermail/linux/kernel/ but could not find 
any posts related to this, so I thought it would be ok to post this.


Best regards,
Jesper Juhl - juhl@eisenstein.dk


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-05-10 18:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-10 18:44 mmap2 causes SIGBUS on 2.4.4-ac6 Jesper Juhl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox