Comments (5)
Thank you for reporting this! It is now fixed.
from chap.
Hi @timboddy , I'm not sure what is going wrong, however chap
aborts when running against the core file in the tutorial.
$ ./chap ./in/core
The arena next pointer was not found.
[1] 23490 abort (core dumped) ./chap ./in/core
gdb backtrace:
Reading symbols from ./chap...done.
gdb$ run
Starting program: /home/hongxu/FOT/test_cpp/chap/BUILD/chap ./in/core
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
The arena next pointer was not found.
Program received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=0x6) at ../sysdeps/unix/sysv/linux/raise.c:51
51 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
gdb$ bt
#0 __GI_raise (sig=sig@entry=0x6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1 0x00007ffff68b3801 in __GI_abort () at abort.c:79
#2 0x0000000000545eeb in chap::Linux::LibcMallocAllocationFinder<unsigned long>::LibcMallocAllocationFinder (this=0x613000000200, virtualMemoryPartition=...) at /home/hongxu/FOT/test_cpp/chap/src/Linux/Subcommands/../LibcMallocAllocationFinder.h:63
#3 0x00000000005259a1 in chap::Linux::LinuxProcessImage<chap::Linux::ELFImage<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr, Elf64_Nhdr, unsigned long, unsigned int, (unsigned char)2, chap::Linux::ELF64PRStatusRegInfo> >::LinuxProcessImage (this=0x617000000080, elfImage=..., truncationCheckOnly=0x0) at /home/hongxu/FOT/test_cpp/chap/src/Linux/LinuxProcessImage.h:45
#4 0x00000000005228b0 in chap::Linux::ELFCoreFileAnalyzer<chap::Linux::ELFImage<Elf64_Ehdr, Elf64_Phdr, Elf64_Shdr, Elf64_Nhdr, unsigned long, unsigned int, (unsigned char)2, chap::Linux::ELF64PRStatusRegInfo> >::ELFCoreFileAnalyzer (this=<optimized out>, fileImage=..., truncationCheckOnly=0x0) at /home/hongxu/FOT/test_cpp/chap/src/Linux/ELFCoreFileAnalyzer.h:23
#5 0x00000000005225a0 in chap::Linux::ELFCore64FileAnalyzerFactory::MakeFileAnalyzer (this=<optimized out>, fileImage=..., truncationCheckOnly=0x0) at /home/hongxu/FOT/test_cpp/chap/src/Linux/ELFCore64FileAnalyzerFactory.h:24
#6 0x0000000000515c7c in main (argc=0x2, argv=0x7fffffffbc88) at /home/hongxu/FOT/test_cpp/chap/src/FileAnalyzer.cpp:70
core.txt
(I appended the ".txt" to the core file name so that it can be uploaded to GitHub.)
from chap.
Thank you for reporting that and for supplying the core. It appears that chap was slightly off on the scan for the main arena with glibc 2.27. It is fixed now.
from chap.
Sorry @hongxuchen I forgot to tag that last comment. Please let me know if you still encounter any problems.
from chap.
Thanks, works now!
from chap.
Related Issues (8)
- NULL pointer dereference in chap::Linux::ELFImage HOT 6
- printing partially when showing leaked HOT 2
- Can't clone the repository onto an NTFS drive HOT 7
- Chep complains a slate build environment and requires a rebuild HOT 2
- Controlling chap with python/externally HOT 2
- showing code lines HOT 5
- Command completion is missing a few commands
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 chap.