Comments (1)
More detailed call stack for operator new
:
#0 0x00007ffffa858e30 in operator new(unsigned long)@plt () from /lib/x86_64-linux-gnu/libLLVM-10.so.1
#1 0x00007ffffa99903b in initializeMutex () at /build/llvm-toolchain-10-yegZYJ/llvm-toolchain-10-10.0.0/llvm/lib/Support/ManagedStatic.cpp:25
#2 0x00007fffff78f47f in __pthread_once_slow (once_control=0x7ffffe6beec8 <mutex_init_flag>, init_routine=0x7ffffebb5b50 <__once_proxy>) at pthread_once.c:116
#3 0x00007ffffa998e6a in __gthread_once () at /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/x86_64-linux-gnu/c++/9/bits/gthr-default.h:700
#4 call_once<void (&)()> () at /usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/mutex:683
#5 call_once<void (&)()> () at /build/llvm-toolchain-10-yegZYJ/llvm-toolchain-10-10.0.0/llvm/include/llvm/Support/Threading.h:120
#6 getManagedStaticMutex () at /build/llvm-toolchain-10-yegZYJ/llvm-toolchain-10-10.0.0/llvm/lib/Support/ManagedStatic.cpp:29
#7 RegisterManagedStatic () at /build/llvm-toolchain-10-yegZYJ/llvm-toolchain-10-10.0.0/llvm/lib/Support/ManagedStatic.cpp:37
#8 0x00007ffffa946d9d in operator* () at /build/llvm-toolchain-10-yegZYJ/llvm-toolchain-10-10.0.0/llvm/include/llvm/Support/ManagedStatic.h:89
#9 operator-> () at /build/llvm-toolchain-10-yegZYJ/llvm-toolchain-10-10.0.0/llvm/include/llvm/Support/ManagedStatic.h:94
#10 registerCategory () at /build/llvm-toolchain-10-yegZYJ/llvm-toolchain-10-10.0.0/llvm/lib/Support/CommandLine.cpp:482
#11 0x00007ffffa85a252 in _GLOBAL__sub_I_CommandLine.cpp () at /build/llvm-toolchain-10-yegZYJ/llvm-toolchain-10-10.0.0/llvm/include/llvm/Support/CommandLine.h:202
#12 0x00007fffff7c1b8a in ?? () from /lib64/ld-linux-x86-64.so.2
#13 0x00007fffff7c1c91 in ?? () from /lib64/ld-linux-x86-64.so.2
#14 0x00007fffff7b113a in ?? () from /lib64/ld-linux-x86-64.so.2
#15 0x0000000000000001 in ?? ()
#16 0x00007ffffffee8f7 in ?? ()
#17 0x0000000000000000 in ?? ()
llvm/lib/Support/ManagedStatic.cpp:25:
static void initializeMutex() {
ManagedStaticMutex = new std::recursive_mutex();
}
Yeah, external stuff misusing your operator new
/operator delete
is always fun to handle. Makes you think whether this language feature was properly thought-out.
In such scenarios I think using TRACY_DELAYED_INIT
will be the most appropriate.
from tracy.
Related Issues (20)
- (Documentation request) Move the build instructions to Markdown HOT 1
- 4101 Compilation Warning in Visual Studio2022
- TRACY_MANUAL_LIFETIME crash with TracyLockable HOT 6
- Mutex instrumentation leaks HOT 4
- Info icons in the top bar are hard to hover due to layout changes during recording HOT 1
- Can you change the data collection side to socket-clinet? HOT 1
- Filter sampling statistics by thread
- Weird interaction between TRACY_MANUAL_LIFETIME and TRACY_DELAYED_INIT HOT 3
- Add ways to filter out all data from call stacks that include a certain method call
- Add ability to search memory allocations for call stack method name
- Add ability to compare memory allocations of two traces
- Add option to show allocation indicator on thread view
- Thread IDs instead of names when profiling context switches on Windows HOT 2
- Tracy reliably segfaults trying to load this trace HOT 4
- Application hangs when connecting to profiler, only when GPU events have been submitted HOT 9
- guidance for integrating tracy on a non gaming application
- Ability to save profiler config/options?
- Unexpected behavior with administrator permissions and ON_DEMAND enabled HOT 1
- vkGetPhysicalDeviceCalibrateableTimeDomainsEXT is instance-dispatchable function
- Bazel support HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tracy.