Skip to content

Instantly share code, notes, and snippets.

Avatar

k_lyashkevich ctin

  • Minsk
View GitHub Profile
View here f2 will be null
class Field1 {
Field1() {
print("Field1()");
}
}
class Field2 {
Field2() {
print("Field2()");
}
View gist:15c21d112a76ad5eb7c51f8473b85038
namespace Serializer {
template <typename... Args>
std::string serialize(Args&&... args);
template <typename... Args>
void convert(const std::string& str, Args&&... args);
}; // namespace Serializer
View glfw callstack
Thread 1 (Thread 0x7fc7fd77d7c0 (LWP 860)):
#0 __lll_lock_wait_private () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:95
#1 0x00007fc7f94bc352 in __libc_calloc (n=<optimized out>, elem_size=<optimized out>) at malloc.c:3407
#2 0x00007fc7fc3ea2b2 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#3 0x00007fc7f7cae48c in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.107
#4 0x00007fc7f7cb3cb7 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.107
#5 0x00007fc7f7ca49e8 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.107
#6 0x00007fc7f7d1304e in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.107
#7 0x00007fc7f7d1357e in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.107
#8 0x00007fc7f7cf8cce in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.107
View callstack
Thread 1 (Thread 0x7f3bd6d977c0 (LWP 829)):
#0 0x00007f3bd2b3ee57 in sched_yield () at ../sysdeps/unix/syscall-template.S:78
#1 0x00007f3bd5a0a214 in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#2 0x00007f3bd132c553 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.107
#3 0x00007f3bd12f43ac in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.107
#4 0x00007f3bd13120be in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.107
#5 0x00007f3bd1312378 in ?? () from /usr/lib/x86_64-linux-gnu/libnvidia-glcore.so.340.107
#6 0x00007f3bd59fadff in ?? () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#7 0x00007f3bd59d43f8 in glXSwapBuffers () from /usr/lib/x86_64-linux-gnu/libGL.so.1
#8 0x0000000000657050 in ?? ()