Giter VIP home page Giter VIP logo

Comments (5)

timboddy avatar timboddy commented on June 11, 2024

Thank you for reporting this! It is now fixed.

from chap.

hongxuchen avatar hongxuchen commented on June 11, 2024

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.

timboddy avatar timboddy commented on June 11, 2024

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.

timboddy avatar timboddy commented on June 11, 2024

Sorry @hongxuchen I forgot to tag that last comment. Please let me know if you still encounter any problems.

from chap.

hongxuchen avatar hongxuchen commented on June 11, 2024

Thanks, works now!

from chap.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.