Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault in HistoryWindow::OnWaveformDataReady when loading .scopesession from File|Open (not triggered by command line loads) #383

Closed
azonenberg opened this issue Jun 23, 2021 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@azonenberg
Copy link
Collaborator

azonenberg commented Jun 23, 2021

(gdb) bt
#0  0x00007ffff5a852fb in __cxxabiv1::__dynamic_cast(void const*, __cxxabiv1::__class_type_info const*, __cxxabiv1::__class_type_info const*, ptrdiff_t)
    (src_ptr=0x555556d90f60, src_type=0x5555557a3870 <typeinfo for WaveformBase>, dst_type=0x5555557a3858 <typeinfo for Waveform<EmptyConstructorWrapper<float> >>, src2dst=0) at ../../../../src/libstdc++-v3/libsupc++/dyncast.cc:68
#1  0x000055555562d578 in HistoryWindow::OnWaveformDataReady() (this=0x555555897bd0) at /ceph/fast/home/azonenberg/code/scopehal-apps/src/glscopeclient/HistoryWindow.cpp:227
#2  0x00005555556517cb in OscilloscopeWindow::LoadWaveformDataForScope(YAML::Node const&, Oscilloscope*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, IDTable&, FileProgressDialog&, float, float)
    (this=0x55555626cfe0, node=..., scope=0x555556374400, datadir="/ceph/fast/home/azonenberg/scopehal-tests/mdio_data", table=..., progress=..., base_progress=0, progress_range=1)
    at /ceph/fast/home/azonenberg/code/scopehal-apps/src/glscopeclient/OscilloscopeWindow.cpp:1588
#3  0x00005555556507fa in OscilloscopeWindow::LoadWaveformData(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, IDTable&)
    (this=0x55555626cfe0, filename="/ceph/fast/home/azonenberg/scopehal-tests/mdio.scopesession", table=...) at /ceph/fast/home/azonenberg/code/scopehal-apps/src/glscopeclient/OscilloscopeWindow.cpp:1410
#4  0x000055555564fddc in OscilloscopeWindow::DoFileOpen(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, bool)
    (this=0x55555626cfe0, filename="/ceph/fast/home/azonenberg/scopehal-tests/mdio.scopesession", loadLayout=true, loadWaveform=true, reconnect=false)
    at /ceph/fast/home/azonenberg/code/scopehal-apps/src/glscopeclient/OscilloscopeWindow.cpp:1299

@azonenberg azonenberg added the bug Something isn't working label Jun 23, 2021
@azonenberg azonenberg added this to the v0.1 milestone Jun 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant