Comments (1)
Hi,
To be slightly more precise, the kernel is not "buggy". It seems you are using
an executable and/or dynamic libraries which were compiled with the relro
option of the linker. This is the default with recent GNU ld. Compiling your
binary with the ld option -z norelro is a possible workaround, however not very
nice.
The patch you provided works, but doesn't fit my needs. In case of huge
applications, that would dump everything, in particular shared libraries, which
means an overhead of hundreds of MBs in the resulting core dump file.
I developed this patch that aims at dumping only the mappings that are needed
by gdb. The basic idea is to also dump region that are file backed, readonly,
but with at least one anonymous page (meaning the original file content was
altered). This has been tested on x64 SLES 11 SP1 boxes.
Cheers,
Romain
Original comment by [email protected]
on 19 Mar 2015 at 10:52
Attachments:
from google-coredumper.
Related Issues (18)
- SVN source browser is empty HOT 3
- linux/dirent.h removed from kernel HOT 7
- There are no tags in the svn repository.
- Source tarball 1.2.1 contains slight differences to the files in the repository HOT 1
- readelf -n core-test error
- test suite fails with latest gdb
- Wrong compilation with icc over IA64 HOT 1
- Stacks can't be fully analysed on Sles11 HOT 2
- Could I have some suggestion on porting coredumper to PPC Linux system? HOT 1
- Kernel Hardening breaks ptrace in ubuntu
- do it had freebsd version
- Compile error
- error: 'CLONE_VM' undeclared HOT 1
- /dev/ memory are not dumped in the core
- No direct mention of platform support on main pages
- [Feature] Corepoint: generate a core dump the enxt time you meet a given asm instruction (x64 implementation only)
- Coredumper library dumps 2 core files and crashes the system on x86 32 bit platform
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 google-coredumper.