|
From: | vladimir.mezentsev at oracle dot com |
Subject: | [Bug gprofng/30360] New: [gprofng collect] Seg. Fault when application uses std::thread |
Date: | Sun, 16 Apr 2023 04:14:45 +0000 |
https://sourceware.org/bugzilla/show_bug.cgi?id=30360 Bug ID: 30360 Summary: [gprofng collect] Seg. Fault when application uses std::thread Product: binutils Version: 2.41 (HEAD) Status: NEW Severity: normal Priority: P2 Component: gprofng Assignee: vladimir.mezentsev at oracle dot com Reporter: vladimir.mezentsev at oracle dot com Target Milestone: --- The small test below demonstrates the problem: % cat t.cc #include <iostream> #include <thread> void thread_function() { std::cout << "thread function\n"; } int main() { std::thread t(&thread_function); std::cout << "main thread\n"; t.join(); return 0; } % g++ -pthread t.cc % ./a.out main thread thread function % gprofng collect app ./a.out Creating experiment directory test.1.er (Process ID: 1949746) ... Segmentation fault (core dumped) -- You are receiving this mail because: You are on the CC list for the bug.
[Prev in Thread] | Current Thread | [Next in Thread] |