Giter Club home page Giter Club logo

Comments (2)

paulfloyd avatar paulfloyd commented on September 2, 2024

Maybe the bin64 version works better.
I just tried on RHEL 7.6 and a) failed to find libunwind and b) when I set LD_LIBRARY_PATH to point to a fairly recent libunwind, it hangs fairly quickly

set_tid_address(0x7ffdf7c529d0)         = 20622
set_robust_list(0x7ffdf7c529e0, 24)     = 0
rt_sigaction(SIGRTMIN, {0x7ffdf6f5a790, [], SA_RESTORER|SA_SIGINFO, 0x7ffdf6f635d0}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0x7ffdf6f5a820, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7ffdf6f635d0}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---
gettid()                                = 20622
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0} ---

Looks like the stack is hosed.

from drmemory.

paulfloyd avatar paulfloyd commented on September 2, 2024

RHEL 8.2 is a bit better

bin64/drmemory -- pwd
<Application /usr/bin/pwd (1538859). Unable to load client library: libunwind.so.8
	Unable to locate library! Try adding path to LD_LIBRARY_PATH.>
<Application /usr/bin/pwd (1538859).  DynamoRIO internal crash at PC 0x000000007381f5f0.  Please report this at http://dynamorio.org/issues/.  Program aborted.
Received SIGSEGV at unknown pc 0x000000007381f5f0 in thread 1538859
Base: 0x00007ffff7de5000
Registers:eax=0x000000007381f5f0 ebx=0x00007ffde3c555d8 ecx=0x0000000000000008 edx=0x00007fffffffcff8
	esi=0x00007fffffffbde0 edi=0x0000000000000001 esp=0x00007fffffffbdc8 ebp=0x0000000000000000
	r8 =0x0000000000000000 r9 =0x0000000000000000 r10=0x00007fffffffa990 r11=0x0000000000000246
	r12=0x00007fffffffbdda r13=0x00007ffde3c54080 r14=0x00007ffff7f29110 r15=0x00007fffffffef8d
	eflags=0x0000000000010206
version 8.0.18915, custom build
-no_dynamic_options -logdir '.../Downloads/DrMemory-Linux-2.5.0/drmemory/logs/dynamorio' -client_lib '.../Downloads/DrMemory-Linux-2.5.0/bin64/release/libdrmemorylib.so;0;-logdir `.../Downloads/DrMemory-Linux-2.5.0/drmemory/logs` -symcache_dir `.../Downloads/DrMemory-Linux-2.5.0/dr
0x00007ffde3c54080 0x0000000000000000>

and it works OK with LD_LIBRARY_PATH pointing to libunwind.so

from drmemory.

Related Issues (20)

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.