[Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications

2024-03-23 Thread carlsonj at workingcode dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31460 --- Comment #8 from James Carlson --- (In reply to Vladimir Mezentsev from comment #7) > Created attachment 15433 [details] > proposed patch That patch works perfectly. Thank you! -- You are receiving this mail because: You are on the CC li

[Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications

2024-03-22 Thread carlsonj at workingcode dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31460 --- Comment #6 from James Carlson --- Neat. I'd be more than happy to try out a patch. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications

2024-03-21 Thread carlsonj at workingcode dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31460 --- Comment #3 from James Carlson --- I found a clue: the application uses libtcmalloc. It seems like this recursion problem happens when that library is either ldopen'd into the address space or LD_PRELOADed in. -- You are receiving this ma

[Bug gprofng/31460] heap tracing causes infinite recursion on calloc with multi-threaded applications

2024-03-21 Thread carlsonj at workingcode dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31460 --- Comment #2 from James Carlson --- First of all, your test case: % gcc -pthread t.c t.c:3:11: warning: built-in function 'calloc' declared as non-function [-Wbuiltin-declaration-mismatch] 3 | long long calloc = 0; | ^~~

[Bug gprofng/31459] need a way to suppress the stderr message

2024-03-11 Thread carlsonj at workingcode dot com
https://sourceware.org/bugzilla/show_bug.cgi?id=31459 --- Comment #2 from James Carlson --- Excellent! I'll use that instead. In that case, please consider adding this option to the documentation. -- You are receiving this mail because: You are on the CC list for the bug.

[Bug gprofng/31460] New: heap tracing causes infinite recursion on calloc with multi-threaded applications

2024-03-07 Thread carlsonj at workingcode dot com
Severity: normal Priority: P2 Component: gprofng Assignee: vladimir.mezentsev at oracle dot com Reporter: carlsonj at workingcode dot com Target Milestone: --- Created attachment 15391 --> https://sourceware.org/bugzilla/attachment.cgi?id=15

[Bug gprofng/31459] New: need a way to suppress the stderr message

2024-03-07 Thread carlsonj at workingcode dot com
Component: gprofng Assignee: vladimir.mezentsev at oracle dot com Reporter: carlsonj at workingcode dot com Target Milestone: --- In the old Oracle Performance Analyzer system, I could use "-O" to redirect the 'collect' output to a file. In the new "