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

Handle vDSO frames correctly on i686 #163

Closed
mmilata opened this issue Jun 20, 2014 · 2 comments · Fixed by #176
Closed

Handle vDSO frames correctly on i686 #163

mmilata opened this issue Jun 20, 2014 · 2 comments · Fixed by #176

Comments

@mmilata
Copy link
Contributor

mmilata commented Jun 20, 2014

#include <stdio.h>
#include <stdlib.h>

#include <poll.h>

int main(int argc, char *argv[])
{
    struct pollfd pfd = {
        .fd = 0,
        .events = POLLIN,
        .revents = 0
    };

    return poll(&pfd, 1, 1000000);
}

eu-stack seems to get it right.

Related to #127.

@jankratochvil
Copy link

Is this related to d06baf1? It works with eu-stack which does not contain any explicit dwfl_linux_proc_maps_report() call. Why does satyr need it? Is there a reproducer/testcase?

mmilata added a commit that referenced this issue Aug 13, 2014
@mmilata
Copy link
Contributor Author

mmilata commented Aug 15, 2014

@jankratochvil I believe this affected version of satyr which did not yet use the dwfl_linux_proc_maps_report call (which we probably won't use: #175). It probably was caused by bug in or bad usage of elfutils: https://bugzilla.redhat.com/show_bug.cgi?id=1129756

mmilata added a commit that referenced this issue Feb 24, 2015
It looks like the fix (for rhbz#1129756, #163) in
2543c33 was incomplete.

Fixes rhbz#1191586.

Signed-off-by: Martin Milata <[email protected]>
mmilata added a commit that referenced this issue Feb 27, 2015
Virtual DSOs do not have backing file on the filesystem. However
elfutils knows the name of the shared object (e.g. linux-gate.so.1) and
this is what we can use if the filename cannot be determined.

Fixes rhbz#1191586, related to #163.

Signed-off-by: Martin Milata <[email protected]>
mmilata added a commit that referenced this issue Feb 27, 2015
Virtual DSOs do not have backing file on the filesystem. However
elfutils knows the name of the shared object (e.g. linux-gate.so.1) and
this is what we can use if the filename cannot be determined.

Fixes rhbz#1191586, related to #163.

Signed-off-by: Martin Milata <[email protected]>
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

Successfully merging a pull request may close this issue.

2 participants