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 when canceling CSV import #585

Closed
agoessling opened this issue Jan 25, 2022 · 0 comments
Closed

Segfault when canceling CSV import #585

agoessling opened this issue Jan 25, 2022 · 0 comments

Comments

@agoessling
Copy link
Contributor

Problem description

When importing large CSV files and cancel is clicked on the progress modal a segfault occurs.

Steps to reproduce (important)

On Ubuntu 20.04.3 LTS with 3959575 hash

  1. Open CSV file.
  2. During import progress modal select "Cancel"
  3. Segfault occurs.

Note, you can use the spacebar to select "Cancel" quickly when the modal appears.

CSV_1.csv

Loading compatible plugins from directory:  "/usr/local/bin"
"libDataLoadCSV.so is a DataLoader plugin"
"libDataLoadULog.so is a DataLoader plugin"
"libDataStreamSample.so is a DataStreamer plugin"  ...disabled, unless option -t is used
"libDataStreamUDP.so is a DataStreamer plugin"
"libDataStreamWebSocket.so is a DataStreamer plugin"
"libProtobufParser.so is a MessageParser plugin"
"libPublisherCSV.so is a StatePublisher plugin"
Type conversion already registered from type QString to type QwtText
"libToolboxFFT.so is a MessageParser plugin"
Type conversion already registered from type QString to type QwtText
"libToolboxQuaternion.so is a MessageParser plugin"
Number of plugins loaded:  8 

Loading compatible plugins from directory:  "/home/agoessling/.local/share/PlotJuggler"
Number of plugins loaded:  0 

Stack trace (most recent call last):
#31   Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7fa26f004115, in QCoreApplication::exec()
#30   Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7fa26effc3aa, in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
#29   Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7fa26f055434, in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
#28   Object "/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7fa26dfc64a2, in g_main_context_iteration
#27   Object "/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7fa26dfc63ff, in 
#26   Object "/usr/lib/x86_64-linux-gnu/libglib-2.0.so.0", at 0x7fa26dfc617c, in g_main_context_dispatch
#25   Object "/usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5", at 0x7fa26b25e32d, in 
#24   Object "/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7fa26f3c235a, in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>)
#23   Object "/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7fa26f3e810a, in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*)
#22   Object "/usr/lib/x86_64-linux-gnu/libQt5Gui.so.5", at 0x7fa26f3e67d2, in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*)
#21   Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7fa26effd809, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#20   Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7fa26fa210ef, in QApplication::notify(QObject*, QEvent*)
#19   Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7fa26fa17a65, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#18   Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7fa26fa791eb, in 
#17   Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7fa26fa7635c, in 
#16   Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7fa26fa20456, in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool)
#15   Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7fa26effd809, in QCoreApplication::notifyInternal2(QObject*, QEvent*)
#14   Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7fa26fa21342, in QApplication::notify(QObject*, QEvent*)
#13   Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7fa26fa17a65, in QApplicationPrivate::notify_helper(QObject*, QEvent*)
#12   Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7fa26fa5a2b5, in QWidget::event(QEvent*)
#11   Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7fa26fb0e034, in QAbstractButton::mouseReleaseEvent(QMouseEvent*)
#10   Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7fa26fb0de72, in 
#9    Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7fa26fb0ca2d, in 
#8    Object "/usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5", at 0x7fa26fb0c805, in QAbstractButton::clicked(bool)
#7    Object "/usr/lib/x86_64-linux-gnu/libQt5Core.so.5", at 0x7fa26f02928b, in QMetaObject::activate(QObject*, int, int, void**)
#6    Object "plotjuggler", at 0x55da16f337d9, in 
#5    Object "plotjuggler", at 0x55da16f32625, in 
#4    Object "plotjuggler", at 0x55da16f6fa25, in 
#3    Object "plotjuggler", at 0x55da16f67e26, in 
#2    Object "plotjuggler", at 0x55da16f61125, in 
#1    Object "/usr/local/bin/libDataLoadCSV.so", at 0x7fa260ad03d8, in DataLoadCSV::readDataFromFile(PJ::FileLoadInfo*, PJ::PlotDataMapRef&)
#0    Object "/usr/local/bin/libDataLoadCSV.so", at 0x7fa260ad4731, in std::_Hashtable<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, PJ::StringSeries>, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char
>, std::allocator<char> > const, PJ::StringSeries> >, std::__detail::_Select1st, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::hash<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::__detail::_Mod_range_hashing, std::__detail::_Default_ranged_hash, std::__detail::_Prim
e_rehash_policy, std::__detail::_Hashtable_traits<true, false, true> >::erase(std::__detail::_Node_const_iterator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, PJ::StringSeries>, false, true>)
Segmentation fault (Address not mapped to object [0x168])
Segmentation fault (core dumped)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant