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

Crash when dragging data into plot area on MacOS #911

Open
ztqwerty opened this issue Jan 12, 2024 · 0 comments
Open

Crash when dragging data into plot area on MacOS #911

ztqwerty opened this issue Jan 12, 2024 · 0 comments

Comments

@ztqwerty
Copy link

ztqwerty commented Jan 12, 2024

Thanks for contributing to PlotJuggler. You are great!

I encountered some issues when installing / using PlotJuggler. The program crashed when I try to drag a data into the plot area
OS: MacOS Big Sur 11.7.6

Steps to reproduce (important)
I compiled PlotJuggler from source on MacOS (Big Sur 11.7.6) with CMake (debug mode). The compilation process is successful, and I can successfully run plotjuggler in terminal.

Then I am able to load some data (.ulg) from the main UI. The data list can be shown on the left panel. But when I try to drag some data to the plot area, it suddenly crashed. (100% reproducible, no matter I use my own data input or dummy sample data)

The terminal prints logs like below:
qt.qpa.fonts: Populating font family aliases took 273 ms. Replace uses of missing font family "Ubuntu" with one that exists to avoid this cost.
Loading compatible plugins from directory: "/usr/local/bin"
"libDataLoadCSV.dylib is a DataLoader plugin"
"libDataLoadMCAP.dylib is a DataLoader plugin"
"libDataLoadULog.dylib is a DataLoader plugin"
"libDataStreamSample.dylib is a DataStreamer plugin" ...disabled, unless option -t is used
"libDataStreamUDP.dylib is a DataStreamer plugin"
"libDataStreamWebSocket.dylib is a DataStreamer plugin"
"libDataStreamZMQ.dylib is a DataStreamer plugin"
"libParserDataTamer.dylib is a MessageParser plugin"
"libParserROS1.dylib is a MessageParser plugin"
"libParserROS2.dylib is a MessageParser plugin"
"libPublisherCSV.dylib is a StatePublisher plugin"
Type conversion already registered from type QString to type QwtText
"libToolboxFFT.dylib is a Toolbox plugin"
"libToolboxLuaEditor.dylib is a Toolbox plugin"
Type conversion already registered from type QString to type QwtText
"libToolboxQuaternion.dylib is a Toolbox plugin"
Number of plugins loaded: 13

Loading compatible plugins from directory: "/Users/Someuser/Library/Application Support/PlotJuggler"
Number of plugins loaded: 0

Could not create pixmap from :/style_light/transparent.png
Could not create pixmap from :/style_light/transparent.png
Stack trace (most recent call last):
#31 Object "HIServices", at 0x7fff25ab1c60, in DoDropMessage + 41
#30 Object "HIServices", at 0x7fff25ab1e6a, in DoMultipartDropMessage + 104
#29 Object "HIServices", at 0x7fff25ab7bba, in CallReceiveMessageCollectionWithMessage + 102
#28 Object "AppKit", at 0x7fff23365b23, in NSCoreDragReceiveMessageProc + 475
#27 Object "libqcocoa.dylib", at 0x10b925ca4, in qt_plugin_instance + 126635
#26 Object "QtGui", at 0x107fd449e, in QWindowSystemInterface::handleDrop(QWindow*, QMimeData const*, QPoint const&, QFlagsQt::DropAction, QFlagsQt::MouseButton, QFlagsQt::KeyboardModifier) + 66
#25 Object "QtGui", at 0x107fe66f7, in QGuiApplicationPrivate::processDrop(QWindow*, QMimeData const*, QPoint const&, QFlagsQt::DropAction, QFlagsQt::MouseButton, QFlagsQt::KeyboardModifier) + 131
#24 Object "QtCore", at 0x1084c040d, in QCoreApplication::notifyInternal2(QObject*, QEvent*) + 137
#23 Object "QtWidgets", at 0x107b5f7f1, in QApplication::notify(QObject*, QEvent*) + 487
#22 Object "QtWidgets", at 0x107b5e995, in QApplicationPrivate::notify_helper(QObject*, QEvent*) + 211
#21 Object "QtWidgets", at 0x107b980b2, in QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**) + 5704
#20 Object "QtWidgets", at 0x107b99a22, in QDesktopWidget::qt_metacall(QMetaObject::Call, int, void**) + 12216
#19 Object "QtCore", at 0x1084c040d, in QCoreApplication::notifyInternal2(QObject*, QEvent*) + 137
#18 Object "QtWidgets", at 0x107b60191, in QApplication::notify(QObject*, QEvent*) + 2951
#17 Object "QtWidgets", at 0x107b5e995, in QApplicationPrivate::notify_helper(QObject*, QEvent*) + 211
#16 Object "plotjuggler", at 0x10630f03a, in QwtPlot::event(QEvent*) + 34
#15 Object "QtWidgets", at 0x107bf8af6, in QFrame::event(QEvent*) + 42
#14 Object "QtWidgets", at 0x107b86212, in QWidget::event(QEvent*) + 2246
#13 Object "plotjuggler", at 0x1062931c2, in PJ::PlotWidgetBase::QwtPlotPimpl::dropEvent(QDropEvent*) + 40
#12 Object "plotjuggler", at 0x106297792, in std::function<void (QEvent*)>::operator()(QEvent*) const + 72
#11 Object "plotjuggler", at 0x106298251, in std::_Function_handler<void (QEvent*), PJ::PlotWidgetBase::PlotWidgetBase(QWidget*)::{lambda(QEvent*)#2}>::_M_invoke(std::_Any_data const&, QEvent*&&) + 54
#10 Object "plotjuggler", at 0x106298c90, in std::enable_if<is_invocable_r_v<void, PJ::PlotWidgetBase::PlotWidgetBase(QWidget*)::{lambda(QEvent*)#2}&, QEvent*>, void>::type std::__invoke_r<void, PJ::PlotWidgetBase::PlotWidgetBase(QWidget*)::{lambda(QEvent*)#2}&, QEvent*>(PJ::PlotWidgetBase::PlotWidgetBase(QWidget*)::{lambda(QEvent*)#2}&, QEvent*&&) + 54
#9 Object "plotjuggler", at 0x106299575, in void std::__invoke_impl<void, PJ::PlotWidgetBase::PlotWidgetBase(QWidget*)::{lambda(QEvent*)#2}&, QEvent*>(std::__invoke_other, PJ::PlotWidgetBase::PlotWidgetBase(QWidget*)::{lambda(QEvent*)#2}&, QEvent*&&) + 57
#8 Object "plotjuggler", at 0x106293b51, in PJ::PlotWidgetBase::PlotWidgetBase(QWidget*)::{lambda(QEvent*)#2}::operator()(QEvent*) const + 51
#7 Object "libstdc++.6.dylib", at 0x108772710, in __dynamic_cast + 175
#6 Object "libc++abi.dylib", at 0x7fff206df557, in __cxxabiv1::__si_class_type_info::has_unambiguous_public_base(__cxxabiv1::__dynamic_cast_info*, void*, int) const + 5
#5 Object "libsystem_platform.dylib", at 0x7fff20760d7c, in _sigtramp + 28
#4 Object "plotjuggler", at 0x1062026cb, in backward::SignalHandling::sig_handler(int, __siginfo*, void*) + 39
#3 Object "plotjuggler", at 0x106202609, in backward::SignalHandling::handleSignal(int, __siginfo*, void*) + 112
#2 Object "plotjuggler", at 0x10620070d, in backward::StackTraceImplbackward::system_tag::darwin_tag::load_from(void*, unsigned long) + 43
#1 Object "plotjuggler", at 0x1062006a6, in backward::StackTraceImplbackward::system_tag::darwin_tag::load_here(unsigned long) + 102
#0 Object "plotjuggler", at 0x10620299e, in unsigned long backward::details::unwind<backward::StackTraceImplbackward::system_tag::darwin_tag::callback>(backward::StackTraceImplbackward::system_tag::darwin_tag::callback, unsigned long) + 38
[1] 7002 segmentation fault plotjuggler

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