'How can I debug SIGSEV in operator new on Linux
I have a case where my application crashes in operator new with SIGSEV when the a certan user action is performed.
- It's repeatable for a certain action but it doesn't always crash when the user performs the particular actoin, perhaps crash 20% of the times the action is performed.
- The application is written in C++14 and uses Qt for GUI. Can be built for both Linux and Windows
- The problem exists only on Linux
- valgrind has not revealed any memory issues
The call stack shows
tcache_get
__GI__libc_malloc
operator new(unsigned long)
x = new myobject(arg);
Anyone one that can give a hint on how to identify the issue?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
