bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Built "gprofng" from source, it hangs forever during collection on multi


From: Gavin Ray
Subject: Built "gprofng" from source, it hangs forever during collection on multithreaded program, strace shows "futex(0x..., FUTEX_WAIT_PRIVATE, 1, NULL)"
Date: Fri, 16 Dec 2022 14:02:07 -0500

Hey all,

This is my first time reporting a bug on this list, please let me know if there's a standard format to follow.
I heard about "gprofng" and wanted to try it; it sounded exciting. The first program I tried it on didn't work unfortunately.

It hung forever at collection:

[user@MSI] $ gprofng collect app ./learning_db
Creating experiment directory test.7.er (Process ID: 2327699) ...

Running strace shows the hang at:

gettid()                                = 2327847
futex(0x5622e2d3cfc4, FUTEX_WAIT_PRIVATE, 1, NULL

Here is the source code to the application, and the strace output:

gprofng hang reproduction (github.com)

I hope this is helpful (it seems to work on some other programs I've tried)
Thank you =)

- Gavin Ray

reply via email to

[Prev in Thread] Current Thread [Next in Thread]