Comments (5)
SIGBUS
usually means that we attempted to access memory outside the mapped file but I don't see anything wrong with the test here. It opens a file lseek()
s and write()
s it in order to resize it, then mmap()
s it, and then mremap()
s it so that the mapping is twice it's size and writes to the memory. And then it fills the memory that corresponds to the mapped file which is likely the place where we get the SIGBUS
.
The only thing that caught my eye is that the memory is mapped PROT_WRITE
only, but we do not attempt to read from the mapping at all.
Is that problem 100% reproducible? Can you get a strace
of the failure?
from ltp.
What kernel are you using? What filesystem is on TMPDIR?
from ltp.
Log: runltp.log.txt
Kernel is 4.4 (from SLES12SP2 RC2), heavily patched. There's ext4 on the loopback connected to TMPDIR.
from ltp.
@mnowaksuse any chance to get the strace from the failing testcase? Otherwise I doubt that we can figure out what is wrong there.
from ltp.
Haven't seen it fail for quite some time.
from ltp.
Related Issues (20)
- irqbalance01 reports broken - RHEL9 HOT 12
- sched test failures in RHEL8 - no rt_runtime set
- Make warning happen in getcwd01.c HOT 1
- Build failure while trying to build from source HOT 2
- Add listmount() and statmount() tests HOT 1
- Compilation error when building against linux-rolling-stable branch headers HOT 19
- A few tests not belong to syscall category HOT 5
- 20240129 release has TODO instead of description HOT 1
- How to use this on an embedded system linux HOT 1
- fsx-linux: fname filename input option needed back HOT 7
- kirk executable not present in the container HOT 3
- Move tests variants from runtest files into tests HOT 1
- tst_fd imports sys/fanotify.h HOT 4
- test_robind 1 TBROK: mkfs.f2fs /dev/block/loop44 failed HOT 1
- arm32: Test killed by SIGILL : readahead01 accept03 splice07 HOT 2
- splice07 fails on kernels <5.10 HOT 2
- Fix msync04 race HOT 4
- about :opclock_settime/speculative /4-4.c HOT 1
- power_management tests on riscv64
- documentation: Unclear what the difference is between TFAIL and TBROK HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ltp.