Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault when instrumenting program #99

Open
MathieuDuponchelle opened this issue Oct 14, 2022 · 1 comment
Open

Segfault when instrumenting program #99

MathieuDuponchelle opened this issue Oct 14, 2022 · 1 comment

Comments

@MathieuDuponchelle
Copy link

MathieuDuponchelle commented Oct 14, 2022

I have successfully built and installed libmesh now (thanks @bpowers btw), and it appears to work as expected:

 meh  ~  1  MALLOCSTATS=1 LD_PRELOAD=/usr/lib/libmesh.so git status
fatal: not a git repository (or any parent up to mount point /)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
MESH COUNT:         0
Meshed MB (total):  0.0
Meshed pages HWM:   0
Meshed MB HWM:      0.0
MH Alloc Count:     409
MH Free  Count:     0
MH High Water Mark: 409
 meh  ~  1  128 

However I get an instant segfault when trying to run a GStreamer program:

meh   f4692cb  …  gstreamer  sandbox  webrtcsink  1  MALLOCSTATS=1 LD_PRELOAD=/usr/lib/libmesh.so gst-inspect-1.0 fakesrc
segfault (1/0x3200000075): in arena? 0
^CAborted (core dumped)
 meh   f4692cb  …  gstreamer  sandbox  webrtcsink  1  SIGABRT 

I couldn't find info in the README about what I could provide to help debug this, just let me know :)

@nirbheek
Copy link

I can reproduce it too, even the simplest gstreamer program causes the segfault.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants