Skip to content

Instantly share code, notes, and snippets.

@avilleret
Created November 3, 2014 15:06
Show Gist options
  • Save avilleret/a712d09e2e7916042ce8 to your computer and use it in GitHub Desktop.
Save avilleret/a712d09e2e7916042ce8 to your computer and use it in GitHub Desktop.
crash when clicking on a box while playing
antoine@antoine-DellXPS15z:~$ gdb i-score
GNU gdb (Ubuntu 7.8-1ubuntu4) 7.8.0.20141001-cvs
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from i-score...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/local/bin/i-score
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffeac5f700 (LWP 1283)]
*** Initialisation of Modular environnement ***
JamomaFoundation -- Version 0.6
TTFoundationLoadExternalClassesFromFolder(/usr/local/lib/jamoma/extensions, 1)
JamomaDSP -- Version 0.6
Modular -- Version 0.1
*** Creation of i-score application ***
i-score application instantiated
*** Enable Minuit communication ***
Minuit protocol instantiated
[New Thread 0x7fffd88b9700 (LWP 1285)]
Minuit::Run : connected to port 13579
*** Enable OSC communication ***
OSC protocol instantiated
[New Thread 0x7fffd3fff700 (LWP 1286)]
OSC::Run : connected to port 13580 for local application
*** Enable MIDI communication ***
MIDI protocol instantiated
*** Initialisation of Score environnement ***
Score -- Version 0.2
*** Creating an empty Scenario ***
MinuitDevice application instantiated
[Thread 0x7fffd88b9700 (LWP 1285) exited]
[New Thread 0x7fffd0d8e700 (LWP 1287)]
Minuit::Run : connected to port 13579
void NetworkTree::addNewDevice(QString)
void NetworkTree::refreshItemNamespace(QTreeWidgetItem*, bool)
MinuitAnswerManager::ReceiveDiscoverAnswer can't find a request at MinuitDevice/node1/subnode1/control
New node created: MinuitDevice/node1
New node created: MinuitDevice/node1/subnode1
New node created: MinuitDevice/node1/subnode1/control
New node created: MinuitDevice/node1/subnode2
New node created: MinuitDevice/node1/subnode2/control
New node created: MinuitDevice/node1/subnode2/param
New node created: MinuitDevice/node2
New node created: MinuitDevice/node2/subthing1
New node created: MinuitDevice/node2/subthing1/subsub
New node created: MinuitDevice/node2/subthing1/subsub/marap
New node created: MinuitDevice/node2/subthing1/subsub/troncol
New node created: MinuitDevice/node2/subthing2
New node created: MinuitDevice/node2/subthing2/subsub
New node created: MinuitDevice/node2/subthing2/subsub/marap
New node created: MinuitDevice/node2/subthing2/subsub/troncol
New node created: MinuitDevice/node3
New node created: MinuitDevice/node3/control
void NetworkTree::loadNetworkTree(AbstractBox*)
void NetworkTree::displayBoxContent(AbstractBox*)
TimeProcess 2 created at 1328 ms for a duration of 7744 ms
void NetworkTree::loadNetworkTree(AbstractBox*)
void NetworkTree::displayBoxContent(AbstractBox*)
Insert MinuitDevice/node1/subnode1/control
Insert MinuitDevice/node1/subnode2/control
Insert MinuitDevice/node1/subnode2/param
Engine::getTimeOffset = 0
***************************************
Engine::play
TimeProcess 1 starts at 0 ms
** System::Go() CALLED **
[New Thread 0x7fffcbfff700 (LWP 1289)]
** System::SystemThreadCallback() STARTED **
Engine::getTimeOffset = 0
void MainWindow::updateRecordingBoxes(bool)
TimeProcess 2 starts at 1328 ms
** System::Go() CALLED **
[New Thread 0x7fffcb7fe700 (LWP 1290)]
** System::Go() CALLED **
** System::SystemThreadCallback() STARTED **
[New Thread 0x7fffcaffd700 (LWP 1291)]
** System::SystemThreadCallback() STARTED **
void NetworkTree::loadNetworkTree(AbstractBox*)
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffcb7fe700 (LWP 1290)]
0x00007ffff63d34f7 in TTCurveNextSampleAt(TTCurve*, double&, double&) () from /usr/local/lib/jamoma/lib/libJamomaScore.so
(gdb) thread apply all bt
Thread 8 (Thread 0x7fffcaffd700 (LWP 1291)):
#0 0x00007ffff4e6388d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007fffde335265 in System::computeDeltaTime() () from /usr/local/lib/jamoma/extensions/libSystem.ttso
#2 0x00007fffde3364b2 in System::Tick() () from /usr/local/lib/jamoma/extensions/libSystem.ttso
#3 0x00007fffde335d82 in System::SystemThreadCallback() () from /usr/local/lib/jamoma/extensions/libSystem.ttso
#4 0x00007ffff573edd0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff4b8c0a5 in start_thread (arg=0x7fffcaffd700) at pthread_create.c:309
#6 0x00007ffff4e9c84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 7 (Thread 0x7fffcb7fe700 (LWP 1290)):
#0 0x00007ffff63d34f7 in TTCurveNextSampleAt(TTCurve*, double&, double&) () from /usr/local/lib/jamoma/lib/libJamomaScore.so
#1 0x00007fffdcb7988e in Automation::Process(TTValue const&, TTValue&) () from /usr/local/lib/jamoma/extensions/libAutomation.ttso
#2 0x00007ffff63f786a in TTTimeProcessSchedulerCallback(void*, double, double) () from /usr/local/lib/jamoma/lib/libJamomaScore.so
#3 0x00007fffde336686 in System::Tick() () from /usr/local/lib/jamoma/extensions/libSystem.ttso
#4 0x00007fffde335d82 in System::SystemThreadCallback() () from /usr/local/lib/jamoma/extensions/libSystem.ttso
#5 0x00007ffff573edd0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#6 0x00007ffff4b8c0a5 in start_thread (arg=0x7fffcb7fe700) at pthread_create.c:309
#7 0x00007ffff4e9c84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 6 (Thread 0x7fffcbfff700 (LWP 1289)):
#0 0x00007ffff4e6388d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007fffde335265 in System::computeDeltaTime() () from /usr/local/lib/jamoma/extensions/libSystem.ttso
#2 0x00007fffde3364b2 in System::Tick() () from /usr/local/lib/jamoma/extensions/libSystem.ttso
#3 0x00007fffde335d82 in System::SystemThreadCallback() () from /usr/local/lib/jamoma/extensions/libSystem.ttso
#4 0x00007ffff573edd0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#5 0x00007ffff4b8c0a5 in start_thread (arg=0x7fffcbfff700) at pthread_create.c:309
#6 0x00007ffff4e9c84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 5 (Thread 0x7fffd0d8e700 (LWP 1287)):
#0 0x00007ffff4e941c3 in select () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007fffddad7468 in SocketReceiveMultiplexer::Implementation::Run() () from /usr/local/lib/jamoma/extensions/libNetworkLib.ttso
#2 0x00007fffddabcef9 in TTOscSocketListener(void*) () from /usr/local/lib/jamoma/extensions/libNetworkLib.ttso
#3 0x00007ffff573edd0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff4b8c0a5 in start_thread (arg=0x7fffd0d8e700) at pthread_create.c:309
#5 0x00007ffff4e9c84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 4 (Thread 0x7fffd3fff700 (LWP 1286)):
---Type <return> to continue, or q <return> to quit---
#0 0x00007ffff4e941c3 in select () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007fffddad7468 in SocketReceiveMultiplexer::Implementation::Run() () from /usr/local/lib/jamoma/extensions/libNetworkLib.ttso
#2 0x00007fffddabcef9 in TTOscSocketListener(void*) () from /usr/local/lib/jamoma/extensions/libNetworkLib.ttso
#3 0x00007ffff573edd0 in ?? () from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#4 0x00007ffff4b8c0a5 in start_thread (arg=0x7fffd3fff700) at pthread_create.c:309
#5 0x00007ffff4e9c84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 2 (Thread 0x7fffeac5f700 (LWP 1283)):
#0 0x00007ffff4e9239d in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x00007ffff21f0b72 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2 0x00007ffff21f264f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3 0x00007fffed870af9 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#4 0x00007ffff6a442ee in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5 0x00007ffff4b8c0a5 in start_thread (arg=0x7fffeac5f700) at pthread_create.c:309
#6 0x00007ffff4e9c84d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
Thread 1 (Thread 0x7ffff7fc1780 (LWP 1279)):
#0 0x00007ffff66930b0 in TTSymbolTable::lookup(char const*) () from /usr/local/lib/jamoma/lib/libJamomaFoundation.so
#1 0x00007fffd8cfa40e in TTFreeHandFunction::setCurveList(TTValue const&) () from /usr/local/lib/jamoma/extensions/libFunctionLib.ttso
#2 0x00007ffff66835ec in TTObjectBase::setAttributeValue(TTSymbol, TTValue&) () from /usr/local/lib/jamoma/lib/libJamomaFoundation.so
#3 0x00007ffff63d74cf in TTCurve::setFunctionParameters(TTValue const&) () from /usr/local/lib/jamoma/lib/libJamomaScore.so
#4 0x00007ffff66835ec in TTObjectBase::setAttributeValue(TTSymbol, TTValue&) () from /usr/local/lib/jamoma/lib/libJamomaFoundation.so
#5 0x00007fffdcb7b4db in Automation::CurveUpdate(TTValue const&, TTValue&) () from /usr/local/lib/jamoma/extensions/libAutomation.ttso
#6 0x00007fffdcb7af27 in Automation::CurveUpdate(TTValue const&, TTValue&) () from /usr/local/lib/jamoma/extensions/libAutomation.ttso
#7 0x00007ffff6684042 in TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) ()
from /usr/local/lib/jamoma/lib/libJamomaFoundation.so
#8 0x00007ffff6684166 in TTObjectBase::sendMessage(TTSymbol) () from /usr/local/lib/jamoma/lib/libJamomaFoundation.so
#9 0x00007ffff66826f7 in TTObject::send(TTSymbol) () from /usr/local/lib/jamoma/lib/libJamomaFoundation.so
#10 0x00000000004cbd31 in Engine::setCtrlPointMessagesToSend(unsigned int, unsigned int, std::vector<std::string, std::allocator<std::string> >, bool) ()
#11 0x00000000004f13b0 in Maquette::setStartMessagesToSend(unsigned int, NetworkMessages*, bool) ()
#12 0x000000000051555c in AttributesEditor::startMessagesChanged(bool) ()
#13 0x0000000000514d05 in AttributesEditor::setAttributes(AbstractBox*) ()
#14 0x00000000005444db in MaquetteScene::setAttributes(AbstractBox*) ()
#15 0x00000000005231ac in BasicBox::mouseReleaseEvent(QGraphicsSceneMouseEvent*) ()
#16 0x00007ffff7773bd9 in QGraphicsItem::sceneEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff779e2e9 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff77a466a in QGraphicsScene::mouseReleaseEvent(QGraphicsSceneMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00000000005471fd in MaquetteScene::mouseReleaseEvent(QGraphicsSceneMouseEvent*) ()
#20 0x00007ffff77b0f08 in QGraphicsScene::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff748d16c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff749241e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x000000000058d19a in IScoreApplication::notify(QObject*, QEvent*) ()
#24 0x00007ffff6c7d81b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#25 0x00007ffff77cc7c5 in QGraphicsView::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#26 0x00007ffff74caf98 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff75cd1fe in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff77cd5c3 in QGraphicsView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff6c7d60a in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#30 0x00007ffff748d14c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ffff7492ca4 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x000000000058d19a in IScoreApplication::notify(QObject*, QEvent*) ()
#33 0x00007ffff6c7d81b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007ffff7491183 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)
() from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007ffff74e98b6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ffff74ebce3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007ffff748d16c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ffff749241e in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x000000000058d19a in IScoreApplication::notify(QObject*, QEvent*) ()
#40 0x00007ffff6c7d81b in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007ffff5a774d0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#42 0x00007ffff5a78e25 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) ()
from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#43 0x00007ffff5a5e4af in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#44 0x00007fffed895d80 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms/libqxcb.so
#45 0x00007ffff466cc5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007ffff466cf48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007ffff466cffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007ffff6cd4e57 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#49 0x00007ffff6c7b042 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#50 0x00007ffff6c82acc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#51 0x00000000004ba8cb in main ()
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment