From: Jesper Juhl <juhl@eisenstein.dk>
To: linux-kernel@vger.kernel.org
Subject: mmap2 causes SIGBUS on 2.4.4-ac6
Date: Thu, 10 May 2001 20:44:27 +0200 [thread overview]
Message-ID: <3AFAE18B.1010906@eisenstein.dk> (raw)
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
reply other threads:[~2001-05-10 18:38 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3AFAE18B.1010906@eisenstein.dk \
--to=juhl@eisenstein.dk \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox