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 receiving osc message to load a media that doesn't exist #344

Open
skankerror opened this issue Feb 25, 2017 · 0 comments
Open

Comments

@skankerror
Copy link
Contributor

When I send osc message to load a media that doesn't exist, mapmap crashes.

Here's my gdb output :

(gdb) r
Starting program: /home/ray/src/mapmap/mapmap
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffe837f700 (LWP 2516)]
[New Thread 0x7fffdcd47700 (LWP 2517)]
[New Thread 0x7fffd7fff700 (LWP 2518)]
[New Thread 0x7fffd4deb700 (LWP 2519)]
Listening on port 12345
[New Thread 0x7fffccfd3700 (LWP 2520)]
OscInterface::applyOscCommand: Receive OSC:

Thread 1 "mapmap" received signal SIGABRT, Aborted.
0x00007ffff333004f in raise () from /usr/lib/libc.so.6
(gdb) bt
#0 0x00007ffff333004f in raise () at /usr/lib/libc.so.6
#1 0x00007ffff333147a in abort () at /usr/lib/libc.so.6
#2 0x0000000000434d2d in mmp::ConsoleWindow::printMessage(QtMsgType, QMessageLogContext const&, QString const&) (this=0x13a50f0, type=QtFatalMsg, context=..., msg=...) at ConsoleWindow.cpp:127
#3 0x00000000004a0789 in logMessageHandler(QtMsgType, QMessageLogContext const&, QString const&) (type=QtFatalMsg, context=..., msg=...) at main.cpp:73
#4 0x00007ffff4b53208 in () at /usr/lib/libQt5Core.so.5
#5 0x00007ffff4b54d79 in QMessageLogger::fatal(char const*, ...) const () at /usr/lib/libQt5Core.so.5
#6 0x00007ffff4b503b1 in () at /usr/lib/libQt5Core.so.5
#7 0x000000000056d773 in QVector::operator const (this=0x268c1d0, i=0) at /usr/include/qt/QtCore/qvector.h:433
#8 0x000000000056d639 in mmp::Image::getIcon() const (this=0x268c180) at Paint.h:262
#9 0x0000000000439cec in mmp::MainWindow::handlePaintChanged(QSharedPointermmp::Paint) (this=0x13a44b0, paint=...)
at MainWindow.cpp:234
#10 0x00000000005662b9 in mmp::MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x13a44b0, _c=QMetaObject::InvokeMetaMethod, _id=31, _a=0x7fffffffbf60) at moc_MainWindow.cpp:404
#11 0x00007ffff4d750c9 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#12 0x000000000056db39 in mmp::PaintGui::valueChanged(QSharedPointermmp::Paint) (this=0x26911c0, _t1=...) at moc_PaintGui.cpp:145
#13 0x0000000000484820 in mmp::ImageGui::setValue(QtProperty*, QVariant const&) (this=0x26911c0, property=0x605d600, value=...)
at PaintGui.cpp:140
#14 0x000000000056d89e in mmp::PaintGui::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x26911c0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffffffc190) at moc_PaintGui.cpp:88
#15 0x00007ffff4d750c9 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#16 0x000000000053597d in QtVariantPropertyManager::valueChanged(QtProperty*, QVariant const&) (this=0x603e270, _t1=0x605d600, _t2=...) at ./moc_qtvariantproperty.cpp:297
#17 0x00000000005630e7 in VariantManager::setValue(QtProperty*, QVariant const&) (this=0x603e270, property=0x605d600, val=...)
at contrib/qtpropertybrowser-extension/variantmanager.cpp:108
#18 0x00000000005287c1 in QtVariantProperty::setValue(QVariant const&) (this=0x605d600, value=...)
at contrib/qtpropertybrowser/src/qtvariantproperty.cpp:280
#19 0x0000000000484979 in mmp::ImageGui::setValue(QString, QVariant) (this=0x26911c0, propertyName=..., value=...)
at PaintGui.cpp:155
#20 0x000000000043a6cd in mmp::MainWindow::paintPropertyChanged(int, QString, QVariant) (this=0x13a44b0, id=1, propertyName=..., value=...) at MainWindow.cpp:317
#21 0x00000000005663c4 in mmp::MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x13a44b0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fffffffc590) at moc_MainWindow.cpp:406
#22 0x00007ffff4d750c9 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#23 0x00000000005658cc in mmp::Element::propertyChanged(int, QString, QVariant) (this=0x268c180, _t1=1, _t2=..., _t3=...)
at moc_Element.cpp:212
#24 0x0000000000435dfd in mmp::Element::_emitPropertyChanged(QString const&) (this=0x268c180, propertyName=...) at Element.cpp:88
#25 0x0000000000481486 in mmp::Image::setUri(QString const&) (this=0x268c180, uri=...) at Paint.cpp:100
#26 0x000000000056cb79 in mmp::Image::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x268c180, _c=QMetaObject::WriteProperty, _id=0, _a=0x7fffffffc7b0) at moc_Paint.cpp:402
#27 0x000000000056cce2 in mmp::Image::qt_metacall(QMetaObject::Call, int, void**) (this=0x268c180, _c=QMetaObject::WriteProperty, _id=0, _a=0x7fffffffc7b0) at moc_Paint.cpp:440
#28 0x00007ffff4d578b7 in QMetaProperty::write(QObject*, QVariant const&) const () at /usr/lib/libQt5Core.so.5
#29 0x00007ffff4d7d82f in QObject::setProperty(char const*, QVariant const&) () at /usr/lib/libQt5Core.so.5
#30 0x000000000047b981 in mmp::OscInterface::setElementProperty(QSharedPointermmp::Element const&, QString const&, QVariant const&) (this=0x245fb10, elem=..., property=..., value=...) at OscInterface.cpp:334
#31 0x000000000047b1f1 in mmp::OscInterface::applyOscCommand(mmp::MainWindow&, QList&) (this=0x245fb10, main_window=..., command=...) at OscInterface.cpp:251
#32 0x000000000047a41a in mmp::OscInterface::consume_commands(mmp::MainWindow&) (this=0x245fb10, main_window=...)
at OscInterface.cpp:106
#33 0x0000000000452e1e in mmp::MainWindow::pollOscInterface() (this=0x13a44b0) at MainWindow.cpp:3258
#34 0x0000000000566437 in mmp::MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=0x13a44b0, _c=QMetaObject::InvokeMetaMethod, _id=38, _a=0x7fffffffcd30) at moc_MainWindow.cpp:411
#35 0x00007ffff4d750c9 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#36 0x00007ffff4d82118 in QTimer::timerEvent(QTimerEvent*) () at /usr/lib/libQt5Core.so.5
#37 0x00007ffff4d75ee3 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#38 0x00007ffff630034c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#39 0x00007ffff6307b61 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#40 0x00000000004387c9 in mmp::MainApplication::notify(QObject*, QEvent*) (this=0x7fffffffd580, receiver=0x2462030, event=0x7fffffffd130) at MainApplication.cpp:61
#41 0x00007ffff4d497c0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#42 0x00007ffff4d9d03e in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#43 0x00007ffff4d9d891 in () at /usr/lib/libQt5Core.so.5
#44 0x00007ffff3f88587 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#45 0x00007ffff3f887f0 in () at /usr/lib/libglib-2.0.so.0
#46 0x00007ffff3f8889c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#47 0x00007ffff4d9e3cf in QEventDispatcherGlib::processEvents(QFlagsQEventLoop::ProcessEventsFlag) () at /usr/lib/libQt5Core.so.5
#48 0x00007ffff4d47c1a in QEventLoop::exec(QFlagsQEventLoop::ProcessEventsFlag) () at /usr/lib/libQt5Core.so.5
#49 0x00007ffff4d50164 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#50 0x00000000004a1ca4 in main(int, char**) (argc=1, argv=0x7fffffffdc48) at main.cpp:256

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