Using LabPlot2 built from AUR on 64bit Arch Linux. When importing e.g. the following simple data file 1;1 2;2 3;3 LabPlot2 crashes, no matter what options are selected.
Cannot reproduce this. Can you please send the call-stack? Does it work for you if you select ';' as the separating character? You can check the behavior of the parsing algorithm in the preview tab in the import dialog. E.g., change the separating character and hit the preview button to refresh the preview. If the data is shown correctly here, you should also see the correct data in LabPlot after the import.
As I already mentioned, no matter what options are selected! The complete log follows: Application: labplot2 (labplot2), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7ff58e01d840 (LWP 921))] Thread 3 (Thread 0x7ff56bfff700 (LWP 923)): #0 0x00007ff584d3924d in poll () from /usr/lib/libc.so.6 #1 0x00007ff57e047c09 in ?? () from /usr/lib/libglib-2.0.so.0 #2 0x00007ff57e047d1c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007ff585b97084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #4 0x00007ff585b3affb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #5 0x00007ff58595440e in QThread::exec() () from /usr/lib/libQt5Core.so.5 #6 0x00007ff581b59396 in ?? () from /usr/lib/libQt5DBus.so.5 #7 0x00007ff58595915b in ?? () from /usr/lib/libQt5Core.so.5 #8 0x00007ff580ae4297 in start_thread () from /usr/lib/libpthread.so.0 #9 0x00007ff584d431ef in clone () from /usr/lib/libc.so.6 Thread 2 (Thread 0x7ff573413700 (LWP 922)): #0 0x00007ff584d3924d in poll () from /usr/lib/libc.so.6 #1 0x00007ff57d2bb8e0 in ?? () from /usr/lib/libxcb.so.1 #2 0x00007ff57d2bd679 in xcb_wait_for_event () from /usr/lib/libxcb.so.1 #3 0x00007ff57577372a in ?? () from /usr/lib/libQt5XcbQpa.so.5 #4 0x00007ff58595915b in ?? () from /usr/lib/libQt5Core.so.5 #5 0x00007ff580ae4297 in start_thread () from /usr/lib/libpthread.so.0 #6 0x00007ff584d431ef in clone () from /usr/lib/libc.so.6 Thread 1 (Thread 0x7ff58e01d840 (LWP 921)): [KCrash Handler] #5 0x00007ff586990c93 in QLineEdit::text() const () from /usr/lib/libQt5Widgets.so.5 #6 0x000000000056da63 in ImportFileWidget::saveSettings(FileDataSource*) const () #7 0x0000000000576448 in ImportFileDialog::importToFileDataSource(FileDataSource*, QStatusBar*) const () #8 0x000000000055bfdd in MainWin::newFileDataSourceActionTriggered() () #9 0x000000000082062d in ?? () #10 0x00007ff585b6c786 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5 #11 0x00007ff58685d543 in QAction::triggered(bool) () from /usr/lib/libQt5Widgets.so.5 #12 0x00007ff58685fd66 in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQt5Widgets.so.5 #13 0x00007ff5869bf515 in ?? () from /usr/lib/libQt5Widgets.so.5 #14 0x00007ff5869c6a5c in ?? () from /usr/lib/libQt5Widgets.so.5 #15 0x00007ff5869c78c4 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQt5Widgets.so.5 #16 0x00007ff5868a5d68 in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #17 0x00007ff5869c9b54 in QMenu::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #18 0x00007ff586863e4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #19 0x00007ff58686bea1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #20 0x00007ff585b3cbd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #21 0x00007ff58686ae2a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQt5Widgets.so.5 #22 0x00007ff5868c0c82 in ?? () from /usr/lib/libQt5Widgets.so.5 #23 0x00007ff5868c3691 in ?? () from /usr/lib/libQt5Widgets.so.5 #24 0x00007ff586863e4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #25 0x00007ff58686b926 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #26 0x00007ff585b3cbd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #27 0x00007ff58609f1e4 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5 #28 0x00007ff5860a0d46 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5 #29 0x00007ff5860784ac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #30 0x00007ff5757d7cc1 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #31 0x00007ff57e047a57 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #32 0x00007ff57e047c88 in ?? () from /usr/lib/libglib-2.0.so.0 #33 0x00007ff57e047d1c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #34 0x00007ff585b97061 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #35 0x00007ff585b3affb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #36 0x00007ff5869c47c6 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib/libQt5Widgets.so.5 #37 0x00000000007f4502 in ProjectExplorer::contextMenuEvent(QContextMenuEvent*) () #38 0x00007ff5868a6b8b in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5 #39 0x00007ff586863e4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #40 0x00007ff58686c6d0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #41 0x00007ff585b3cbd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #42 0x00007ff5868c1093 in ?? () from /usr/lib/libQt5Widgets.so.5 #43 0x00007ff5868c3691 in ?? () from /usr/lib/libQt5Widgets.so.5 #44 0x00007ff586863e4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #45 0x00007ff58686b926 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5 #46 0x00007ff585b3cbd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5 #47 0x00007ff58609f1e4 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5 #48 0x00007ff5860a0d46 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5 #49 0x00007ff5860784ac in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5 #50 0x00007ff5757d7cc1 in ?? () from /usr/lib/libQt5XcbQpa.so.5 #51 0x00007ff57e047a57 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #52 0x00007ff57e047c88 in ?? () from /usr/lib/libglib-2.0.so.0 #53 0x00007ff57e047d1c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #54 0x00007ff585b97061 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #55 0x00007ff585b3affb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5 #56 0x00007ff585b44048 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5 #57 0x000000000054e7d1 in main ()
The crash happens when using FileDataSource. We'll fix this. The import to a spreadsheet doesn't have this problem. Do you really need FileDataSource? If you only want to import and to plot the data, you can create a spreadsheet und import the data into it.
Created attachment 119612 [details] New crash information added by DrKonqi labplot2 (2.4.0) using Qt 5.9.4 - What I was doing when the application crashed: Importing data from a .dat file - Unusual behavior I noticed: The software always crashes - Custom settings of the application: -- Backtrace (Reduced): #11 0x00007fcdea7a115f in QLineEdit::text() const () from /usr/lib64/libQt5Widgets.so.5 #12 0x000055aa7e2d7393 in ImportFileWidget::saveSettings(FileDataSource*) const () #13 0x000055aa7e2df5c8 in ImportFileDialog::importToFileDataSource(FileDataSource*, QStatusBar*) const () #14 0x000055aa7e2c594d in MainWin::newFileDataSourceActionTriggered() () [...] #17 0x00007fcdea662cf2 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5
(In reply to Luspr95 from comment #4) > Created attachment 119612 [details] > New crash information added by DrKonqi > > labplot2 (2.4.0) using Qt 5.9.4 > [...] You reported a problem with LabPlot 2.4.0 which is more than two years old. Current version is 2.6 - https://labplot.kde.org/2019/04/19/labplot-2-6-released/ . Can you please update to the current version and try again?