Skip to content

Instantly share code, notes, and snippets.

@fjullien
Created August 29, 2024 16:16
Show Gist options
  • Save fjullien/d0b4c7feea1b6bde65ce199ac5ca1591 to your computer and use it in GitHub Desktop.
Save fjullien/d0b4c7feea1b6bde65ce199ac5ca1591 to your computer and use it in GitHub Desktop.
(gdb) bt
#0 __pthread_kill_implementation (no_tid=0, signo=6, threadid=140733696693824) at ./nptl/pthread_kill.c:44
#1 __pthread_kill_internal (signo=6, threadid=140733696693824) at ./nptl/pthread_kill.c:78
#2 __GI___pthread_kill (threadid=140733696693824, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#3 0x00007ffff5842476 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#4 0x00007ffff58287f3 in __GI_abort () at ./stdlib/abort.c:79
#5 0x00007ffff5ca2b9e in () at /lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff5cae20c in () at /lib/x86_64-linux-gnu/libstdc++.so.6
#7 0x00007ffff5cae277 in () at /lib/x86_64-linux-gnu/libstdc++.so.6
#8 0x00007ffff5cae4d8 in () at /lib/x86_64-linux-gnu/libstdc++.so.6
#9 0x000055555583fe0c in vk::detail::throwResultException(vk::Result, char const*) (message=0x5555559405d0 "Device::createBuffer", result=vk::Result::eErrorOutOfDeviceMemory)
at /home/franck-rdp/VulkanSDK/1.3.275.0/x86_64/include/vulkan/vulkan.hpp:6539
#10 vk::raii::Device::createBuffer(vk::BufferCreateInfo const&, vk::Optional<vk::AllocationCallbacks const>) const (allocator=..., createInfo=<optimized out>, this=<optimized out>)
at /home/franck-rdp/VulkanSDK/1.3.275.0/x86_64/include/vulkan/vulkan_raii.hpp:12383
#11 vk::raii::Buffer::Buffer(vk::raii::Device const&, vk::BufferCreateInfo const&, vk::Optional<vk::AllocationCallbacks const>)
(this=0x5555560c0e80, device=<optimized out>, createInfo=<optimized out>, allocator=...) at /home/franck-rdp/VulkanSDK/1.3.275.0/x86_64/include/vulkan/vulkan_raii.hpp:4818
#12 0x00005555558465d5 in std::make_unique<vk::raii::Buffer, vk::raii::Device&, vk::BufferCreateInfo&>(vk::raii::Device&, vk::BufferCreateInfo&) ()
at /usr/include/c++/11/bits/unique_ptr.h:962
#13 AcceleratorBuffer<float>::AllocateCpuBuffer(unsigned long) (this=this@entry=0x7fff18004008, size=size@entry=9223372036854775800)
at /home/franck-rdp/scopehal-apps/lib/scopehal/../scopehal/AcceleratorBuffer.h:1086
#14 0x000055555584969b in AcceleratorBuffer<float>::Reallocate(unsigned long) (this=0x7fff18004008, size=9223372036854775800)
at /home/franck-rdp/scopehal-apps/lib/scopehal/../scopehal/AcceleratorBuffer.h:595
#15 0x00007ffff6fd3211 in AcceleratorBuffer<float>::reserve(unsigned long) (size=9223372036854775800, this=0x7fff18004008)
at /home/franck-rdp/scopehal-apps/lib/scopehal/AcceleratorBuffer.h:452
#16 AcceleratorBuffer<float>::resize(unsigned long) (size=9223372036854775800, this=0x7fff18004008) at /home/franck-rdp/scopehal-apps/lib/scopehal/AcceleratorBuffer.h:434
#17 UniformWaveform<float>::Resize(unsigned long) (size=9223372036854775800, this=0x7fff18003f50) at /home/franck-rdp/scopehal-apps/lib/scopehal/Waveform.h:294
#18 LeCroyOscilloscope::ProcessAnalogWaveform(char const*, unsigned long, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned int, long, double, double--Type <RET> for more, q to quit, c to continue without paging--
*)
(this=0x5555560ce880, data=<optimized out>, datalen=<optimized out>, wavedesc=<optimized out>, num_sequences=<optimized out>, ttime=<optimized out>, basetime=<optimized out>, wavetime=<optimized out>) at /home/franck-rdp/scopehal-apps/lib/scopehal/LeCroyOscilloscope.cpp:2557
#19 0x00007ffff6fd4a1b in LeCroyOscilloscope::AcquireData() (this=0x5555560ce880) at /home/franck-rdp/scopehal-apps/lib/scopehal/LeCroyOscilloscope.cpp:2904
#20 0x000055555578663d in InstrumentThread(InstrumentThreadArgs) (args=...) at /home/franck-rdp/scopehal-apps/src/ngscopeclient/InstrumentThread.cpp:103
#21 0x0000555555880c32 in std::__invoke_impl<void, void (*)(InstrumentThreadArgs), InstrumentThreadArgs>(std::__invoke_other, void (*&&)(InstrumentThreadArgs), InstrumentThreadArgs&&)
(__f=<optimized out>) at /usr/include/c++/11/bits/invoke.h:61
#22 std::__invoke<void (*)(InstrumentThreadArgs), InstrumentThreadArgs>(void (*&&)(InstrumentThreadArgs), InstrumentThreadArgs&&) (__fn=<optimized out>)
at /usr/include/c++/11/bits/invoke.h:96
#23 std::thread::_Invoker<std::tuple<void (*)(InstrumentThreadArgs), InstrumentThreadArgs> >::_M_invoke<0ul, 1ul>(std::_Index_tuple<0ul, 1ul>) (this=<optimized out>)
at /usr/include/c++/11/bits/std_thread.h:259
#24 std::thread::_Invoker<std::tuple<void (*)(InstrumentThreadArgs), InstrumentThreadArgs> >::operator()() (this=<optimized out>) at /usr/include/c++/11/bits/std_thread.h:266
#25 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (*)(InstrumentThreadArgs), InstrumentThreadArgs> > >::_M_run() (this=<optimized out>)
at /usr/include/c++/11/bits/std_thread.h:211
#26 0x00007ffff5cdc253 in () at /lib/x86_64-linux-gnu/libstdc++.so.6
#27 0x00007ffff5894ac3 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:442
#28 0x00007ffff5926850 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment