Closed theod closed 9 years ago
This one should be fixed, but please try to do some more tests.
I still have a crash when I try to learn something coming from Modul8 :
Thread 3 Crashed: 0 QtWidgets 0x000000010e4852d8 QTreeViewPrivate::itemHeight(int) const + 200 1 QtWidgets 0x000000010e4854b3 QTreeViewPrivate::updateScrollBars() + 179 2 QtWidgets 0x000000010e49104c QTreeView::updateGeometries() + 476 3 QtWidgets 0x000000010e485934 QTreeView::expand(QModelIndex const&) + 500 4 QtWidgets 0x000000010e4bd2bc QTreeWidget::expandItem(QTreeWidgetItem const) + 108 5 OSSIA.i-score 0x000000010d9c8515 NetworkTree::expandItems(QList<QTreeWidgetItem>&) + 213 (NetworkTree.cpp:1075) 6 OSSIA.i-score 0x000000010d9cbb96 NetworkTree::refreshItemNamespace(QTreeWidgetItem, bool) + 5334 (NetworkTree.cpp:1473) 7 OSSIA.i-score 0x000000010d91d699 deviceCallback(TTSymbol&) + 265 (Maquette.cpp:2141) 8 OSSIA.i-score 0x000000010d8f6e3b NamespaceCallback(TTValue const&, TTValue const&) + 203 (Engine.cpp:3492) 9 JamomaFoundation.dylib 0x000000010dc3c127 TTCallback::notify(TTValue const&, TTValue&) + 71 (TTCallback.cpp:72) 10 JamomaFoundation.dylib 0x000000010dc5f3b7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 11 JamomaFoundation.dylib 0x000000010dc5c851 TTObject::send(TTSymbol, TTValue const&, TTValue&) + 65 (TTObject.cpp:143) 12 JamomaFoundation.dylib 0x000000010de02aae TTNodeDirectory::notifyObservers(TTAddress, TTNode, TTAddressNotificationFlag) + 1630 (TTNodeDirectory.cpp:734) 13 JamomaFoundation.dylib 0x000000010de006f1 TTNodeDirectory::TTNodeCreate(TTAddress&, TTObject&, void_, TTNode_, bool) + 1217 (TTNodeDirectory.cpp:284) 14 JamomaModular.dylib 0x000000010e08b220 TTApplication::appendProxyData(Protocol, TTAddress, TTSymbol) + 512 (TTApplication.cpp:1723) 15 JamomaModular.dylib 0x000000010e085380 TTApplication::UpdateDirectory(TTValue const&, TTValue&) + 1280 (TTApplication.cpp:717) 16 JamomaModular.dylib 0x000000010e08559f TTApplication::UpdateAttribute(TTValue const&, TTValue&) + 95 (TTApplication.cpp:745) 17 JamomaFoundation.dylib 0x000000010dc5f3b7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 18 JamomaFoundation.dylib 0x000000010dc5c851 TTObject::send(TTSymbol, TTValue const&, TTValue&) + 65 (TTObject.cpp:143) 19 JamomaModular.dylib 0x000000010e0988d2 TTApplicationManager::ApplicationListenAnswer(TTValue const&, TTValue&) + 978 (TTApplicationManager.cpp:812) 20 JamomaFoundation.dylib 0x000000010dc5f3b7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 21 JamomaFoundation.dylib 0x000000010dc5c851 TTObject::send(TTSymbol, TTValue const&, TTValue&) + 65 (TTObject.cpp:143) 22 OSC.ttdylib 0x000000011376376d Protocol::ReceiveListenAnswer(TTSymbol, TTAddress, TTValue&) + 413 (Protocol.cpp:408) 23 OSC.ttdylib 0x000000011376d1de OSCReceiveMessageCallback(TTValue const&, TTValue const&) + 1038 (OSC.cpp:591) 24 JamomaFoundation.dylib 0x000000010dc3c127 TTCallback::notify(TTValue const&, TTValue&) + 71 (TTCallback.cpp:72) 25 JamomaFoundation.dylib 0x000000010dc5f3b7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 26 JamomaFoundation.dylib 0x000000010dc5c851 TTObject::send(TTSymbol, TTValue const&, TTValue&) + 65 (TTObject.cpp:143) 27 NetworkLib.ttdylib 0x0000000113721d1e TTOscReceive::oscSocketReceive(TTValue const&, TTValue&) + 110 (TTOscReceive.cpp:66) 28 JamomaFoundation.dylib 0x000000010dc5f3b7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 29 NetworkLib.ttdylib 0x000000011372320e TTOscSocket::ProcessMessage(osc::ReceivedMessage const&, IpEndpointName const&) + 1038 (TTOscSocket.cpp:112) 30 NetworkLib.ttdylib 0x0000000113724f4d osc::OscPacketListener::ProcessPacket(char const, int, IpEndpointName const&) + 173 (OscPacketListener.h:67) 31 NetworkLib.ttdylib 0x000000011372b989 SocketReceiveMultiplexer::Implementation::Run() + 4153 (UdpSocket.cpp:958) 32 NetworkLib.ttdylib 0x0000000113728528 SocketReceiveMultiplexer::Run() + 24 (UdpSocket.cpp:1040) 33 NetworkLib.ttdylib 0x0000000113723e9c UdpListeningReceiveSocket::Run() + 28 (UdpSocket.h:152) 34 NetworkLib.ttdylib 0x0000000113722903 TTOscSocketListener(void) + 307 (TTOscSocket.cpp:29) 35 JamomaFoundation.dylib 0x000000010dc4fa60 TTThread::doCallbackMethod() + 48 (TTThread.cpp:77) 36 JamomaFoundation.dylib 0x000000010dc4f92d TTThreadCallback(void) + 29 (TTThread.cpp:19) 37 libsystem_c.dylib 0x00007fff9013a772 _pthread_start + 327 38 libsystem_c.dylib 0x00007fff901271a1 thread_start + 13
Here is mine with millumin
Thread 14 Crashed: 0 NetworkLib.ttdylib 0x00000001137e44dc osc::ToUInt32(char const) + 12 1 NetworkLib.ttdylib 0x00000001137e44c8 osc::ReceivedBundleElement::Size() const + 24 2 NetworkLib.ttdylib 0x00000001137e4479 osc::ReceivedBundleElement::IsBundle() const + 25 3 NetworkLib.ttdylib 0x00000001137d2fc4 osc::OscPacketListener::ProcessBundle(osc::ReceivedBundle const&, IpEndpointName const&) + 100 4 NetworkLib.ttdylib 0x00000001137d2f1a osc::OscPacketListener::ProcessPacket(char const, int, IpEndpointName const&) + 122 5 NetworkLib.ttdylib 0x00000001137d9989 SocketReceiveMultiplexer::Implementation::Run() + 4153 6 NetworkLib.ttdylib 0x00000001137d6528 SocketReceiveMultiplexer::Run() + 24 7 NetworkLib.ttdylib 0x00000001137d1e9c UdpListeningReceiveSocket::Run() + 28 8 NetworkLib.ttdylib 0x00000001137d0903 TTOscSocketListener(void) + 307 9 JamomaFoundation.dylib 0x000000010d8cd670 TTThread::doCallbackMethod() + 48 10 JamomaFoundation.dylib 0x000000010d8cd53d TTThreadCallback(void) + 29 11 libsystem_pthread.dylib 0x00007fff8b295899 _pthread_body + 138 12 libsystem_pthread.dylib 0x00007fff8b29572a _pthread_start + 137 13 libsystem_pthread.dylib 0x00007fff8b299fc9 thread_start + 13
Mhhhh the last one seems to be related to OscPack, it's a bit scary imho... Maybe it is related to the bundle stuff ? (it looks like an OSC Bundle by the trace)
Jean-Michaël Celerier Élève-ingénieur spécialisé en informatique ENSEIRB-MATMECA, Université Bordeaux 1 http://www.jcelerier.name
On Thu, Sep 25, 2014 at 4:56 PM, reno- notifications@github.com wrote:
Here is mine with millumin
Thread 14 Crashed: 0 NetworkLib.ttdylib 0x00000001137e44dc osc::ToUInt32(char const) + 12 1 NetworkLib.ttdylib 0x00000001137e44c8 osc::ReceivedBundleElement::Size() const + 24 2 NetworkLib.ttdylib 0x00000001137e4479 osc::ReceivedBundleElement::IsBundle() const + 25 3 NetworkLib.ttdylib 0x00000001137d2fc4 osc::OscPacketListener::ProcessBundle(osc::ReceivedBundle const&, IpEndpointName const&) + 100 4 NetworkLib.ttdylib 0x00000001137d2f1a osc::OscPacketListener::ProcessPacket(char const, int, IpEndpointName const&) + 122 5 NetworkLib.ttdylib 0x00000001137d9989 SocketReceiveMultiplexer::Implementation::Run() + 4153 6 NetworkLib.ttdylib 0x00000001137d6528 SocketReceiveMultiplexer::Run() + 24 7 NetworkLib.ttdylib 0x00000001137d1e9c UdpListeningReceiveSocket::Run() + 28 8 NetworkLib.ttdylib 0x00000001137d0903 TTOscSocketListener(void) + 307 9 JamomaFoundation.dylib 0x000000010d8cd670 TTThread::doCallbackMethod() + 48 10 JamomaFoundation.dylib 0x000000010d8cd53d TTThreadCallback(void) + 29 11 libsystem_pthread.dylib 0x00007fff8b295899 _pthread_body + 138 12 libsystem_pthread.dylib 0x00007fff8b29572a _pthread_start + 137 13 libsystem_pthread.dylib 0x00007fff8b299fc9 thread_start + 13
— Reply to this email directly or view it on GitHub https://github.com/i-score/i-score/issues/41#issuecomment-56830862.
the OSC bundles are handled now. actually this is the kind of bug @reno- already had and it have been resolved simply by a fresh build … I still don't understand why this crashes here as it is used so many times that should always crash ...
one question : is there messages sent when creating an OSC device ? and is the crash happens when the device is created or at the moment where the learn mode is enabled ?
Is it the crash with Modul8 still happenning ?
@jcelerier : yes, i-score crash when modul8 send it OSC @theod : i-score crash when it receive an OSC bundle (learn mode enable or not)… always the same crashlog, I pasted it a few messages before.
there was an exception raised due to a bad bundle parsing. I have updated the oscpack library into CoreFoundation/extensions/NetworkLib (and I have updated Score too). now the exception is not raised anymore but there is a crash into the tree :
Thread 5 Crashed: 0 QtWidgets 0x000000010560e2d8 QTreeViewPrivate::itemHeight(int) const + 200 1 QtWidgets 0x000000010560e4b3 QTreeViewPrivate::updateScrollBars() + 179 2 QtWidgets 0x000000010561a04c QTreeView::updateGeometries() + 476 3 QtWidgets 0x00000001055d3eee QAbstractItemView::doItemsLayout() + 46 4 QtWidgets 0x0000000105615255 QTreeView::doItemsLayout() + 789 5 QtWidgets 0x00000001056197a0 QTreeView::collapseAll() + 352 6 OSSIA.i-score 0x0000000104b1fa17 NetworkTree::expandItems(QList<QTreeWidgetItem*>&) + 55 (NetworkTree.cpp:1086) 7 OSSIA.i-score 0x0000000104b1c588 NetworkTree::refreshItemNamespace(QTreeWidgetItem, bool) + 7560 (NetworkTree.cpp:1516) 8 OSSIA.i-score 0x0000000104a714a9 deviceCallback(TTSymbol&) + 233 (Maquette.cpp:2142) 9 OSSIA.i-score 0x0000000104a4ab3b NamespaceCallback(TTValue const&, TTValue const&) + 203 (Engine.cpp:3509) 10 JamomaFoundation.dylib 0x0000000104dbb127 TTCallback::notify(TTValue const&, TTValue&) + 71 (TTCallback.cpp:72) 11 JamomaFoundation.dylib 0x0000000104dde3b7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 12 JamomaFoundation.dylib 0x0000000104ddb851 TTObject::send(TTSymbol, TTValue const&, TTValue&) + 65 (TTObject.cpp:143) 13 JamomaFoundation.dylib 0x0000000104f81aae TTNodeDirectory::notifyObservers(TTAddress, TTNode, TTAddressNotificationFlag) + 1630 (TTNodeDirectory.cpp:734) 14 JamomaFoundation.dylib 0x0000000104f7f6f1 TTNodeDirectory::TTNodeCreate(TTAddress&, TTObject&, void_, TTNode_, bool) + 1217 (TTNodeDirectory.cpp:284) 15 JamomaModular.dylib 0x0000000105211150 TTApplication::appendProxyData(Protocol, TTAddress, TTSymbol) + 512 (TTApplication.cpp:1723) 16 JamomaModular.dylib 0x000000010520b2b0 TTApplication::UpdateDirectory(TTValue const&, TTValue&) + 1280 (TTApplication.cpp:717) 17 JamomaModular.dylib 0x000000010520b4cf TTApplication::UpdateAttribute(TTValue const&, TTValue&) + 95 (TTApplication.cpp:745) 18 JamomaFoundation.dylib 0x0000000104dde3b7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 19 JamomaFoundation.dylib 0x0000000104ddb851 TTObject::send(TTSymbol, TTValue const&, TTValue&) + 65 (TTObject.cpp:143) 20 JamomaModular.dylib 0x000000010521e802 TTApplicationManager::ApplicationListenAnswer(TTValue const&, TTValue&) + 978 (TTApplicationManager.cpp:812) 21 JamomaFoundation.dylib 0x0000000104dde3b7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 22 JamomaFoundation.dylib 0x0000000104ddb851 TTObject::send(TTSymbol, TTValue const&, TTValue&) + 65 (TTObject.cpp:143) 23 OSC.ttdylib 0x000000010ab9676d Protocol::ReceiveListenAnswer(TTSymbol, TTAddress, TTValue&) + 413 (Protocol.cpp:408) 24 OSC.ttdylib 0x000000010aba01de OSCReceiveMessageCallback(TTValue const&, TTValue const&) + 1038 (OSC.cpp:591) 25 JamomaFoundation.dylib 0x0000000104dbb127 TTCallback::notify(TTValue const&, TTValue&) + 71 (TTCallback.cpp:72) 26 JamomaFoundation.dylib 0x0000000104dde3b7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 27 JamomaFoundation.dylib 0x0000000104ddb851 TTObject::send(TTSymbol, TTValue const&, TTValue&) + 65 (TTObject.cpp:143) 28 NetworkLib.ttdylib 0x000000010ab52e8e TTOscReceive::oscSocketReceive(TTValue const&, TTValue&) + 110 (TTOscReceive.cpp:66) 29 JamomaFoundation.dylib 0x0000000104dde3b7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 30 NetworkLib.ttdylib 0x000000010ab5437a TTOscSocket::ProcessMessage(osc::ReceivedMessage const&, IpEndpointName const&) + 1034 (TTOscSocket.cpp:112) 31 NetworkLib.ttdylib 0x000000010ab56172 osc::OscPacketListener::ProcessBundle(osc::ReceivedBundle const&, IpEndpointName const&) + 226 (OscPacketListener.h:59) 32 NetworkLib.ttdylib 0x000000010ab56049 osc::OscPacketListener::ProcessPacket(char const, int, IpEndpointName const&) + 121 (OscPacketListener.h:71) 33 NetworkLib.ttdylib 0x000000010ab5d006 SocketReceiveMultiplexer::Implementation::Run() + 4294 (UdpSocket.cpp:495) 34 NetworkLib.ttdylib 0x000000010ab59a18 SocketReceiveMultiplexer::Run() + 24 (UdpSocket.cpp:581) 35 NetworkLib.ttdylib 0x000000010ab5500c UdpListeningReceiveSocket::Run() + 28 (UdpSocket.h:169) 36 NetworkLib.ttdylib 0x000000010ab53a73 TTOscSocketListener(void) + 307 (TTOscSocket.cpp:29) 37 JamomaFoundation.dylib 0x0000000104dcea60 TTThread::doCallbackMethod() + 48 (TTThread.cpp:77) 38 JamomaFoundation.dylib 0x0000000104dce92d TTThreadCallback(void) + 29 (TTThread.cpp:19) 39 libsystem_c.dylib 0x00007fff8a75c772 _pthread_start + 327 40 libsystem_c.dylib 0x00007fff8a7491a1 thread_start + 13
Mhhh.. Theo, which version of Qt5 are you runing ? It looks like there was a crash looking a bit like this in 5.2 : https://bugreports.qt-project.org/browse/QTBUG-34717
is this issue have been tested since the oscpack library have been updated to its latest version ?
I guess this is for @reno- so assigning to him..
I still have some crash / weird behavior when learning OSC, see #51 so I guess this issue is still there, but maybe duplicated ?
still the case ?
@theod could you try with https://github.com/i-score/i-score/commit/d2280fb613c8b7d5ba3676b9db7ac92fe149f2e6 ? it seems to work here, at least, I can send my whole namespace in one single bundle or separate message without any ugly delay in between
I've tested with an address generation code based on [uzi] on it works fine. Nice job @avilleret !
This happen when the namespace is updated. It look like to be a problem on i-score side.
Thread 3 Crashed: 0 QtWidgets 0x00000001074f62d8 QTreeViewPrivate::itemHeight(int) const + 200 1 QtWidgets 0x00000001074f64b3 QTreeViewPrivate::updateScrollBars() + 179 2 QtWidgets 0x000000010750204c QTreeView::updateGeometries() + 476 3 QtWidgets 0x00000001074bbeee QAbstractItemView::doItemsLayout() + 46 4 QtWidgets 0x00000001074fd255 QTreeView::doItemsLayout() + 789 5 QtWidgets 0x00000001075017a0 QTreeView::collapseAll() + 352 6 OSSIA.i-score 0x0000000106b56915 NetworkTree::expandItems(QList<QTreeWidgetItem*>&) + 21 7 OSSIA.i-score 0x0000000106b59f2e NetworkTree::refreshItemNamespace(QTreeWidgetItem, bool) + 1614 8 OSSIA.i-score 0x0000000106b07654 deviceCallback(TTSymbol&) + 132 9 OSSIA.i-score 0x0000000106afabb0 NamespaceCallback(TTValue const&, TTValue const&) + 128 10 JamomaFoundation.dylib 0x0000000106ca7d37 TTCallback::notify(TTValue const&, TTValue&) + 71 (TTCallback.cpp:67) 11 JamomaFoundation.dylib 0x0000000106ccafc7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 12 JamomaFoundation.dylib 0x0000000106cc8461 TTObject::send(TTSymbol, TTValue const&, TTValue&) + 65 (TTObject.cpp:143) 13 JamomaFoundation.dylib 0x0000000106e6ea3e TTNodeDirectory::notifyObservers(TTAddress, TTNode, TTAddressNotificationFlag) + 1630 (TTNodeDirectory.cpp:734) 14 JamomaFoundation.dylib 0x0000000106e6c681 TTNodeDirectory::TTNodeCreate(TTAddress&, TTObject&, void_, TTNode_, bool) + 1217 (TTNodeDirectory.cpp:284) 15 JamomaModular.dylib 0x00000001070fda40 TTApplication::appendProxyData(Protocol, TTAddress, TTSymbol) + 512 (TTApplication.cpp:1722) 16 JamomaModular.dylib 0x00000001070f7ba0 TTApplication::UpdateDirectory(TTValue const&, TTValue&) + 1280 (TTApplication.cpp:717) 17 JamomaModular.dylib 0x00000001070f7dbf TTApplication::UpdateAttribute(TTValue const&, TTValue&) + 95 (TTApplication.cpp:745) 18 JamomaFoundation.dylib 0x0000000106ccafc7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 19 JamomaFoundation.dylib 0x0000000106cc8461 TTObject::send(TTSymbol, TTValue const&, TTValue&) + 65 (TTObject.cpp:143) 20 JamomaModular.dylib 0x000000010710b152 TTApplicationManager::ApplicationListenAnswer(TTValue const&, TTValue&) + 978 (TTApplicationManager.cpp:812) 21 JamomaFoundation.dylib 0x0000000106ccafc7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 22 JamomaFoundation.dylib 0x0000000106cc8461 TTObject::send(TTSymbol, TTValue const&, TTValue&) + 65 (TTObject.cpp:143) 23 OSC.ttdylib 0x000000010c3fa76d Protocol::ReceiveListenAnswer(TTSymbol, TTAddress, TTValue&) + 413 (Protocol.cpp:408) 24 OSC.ttdylib 0x000000010c4041de OSCReceiveMessageCallback(TTValue const&, TTValue const&) + 1038 (OSC.cpp:591) 25 JamomaFoundation.dylib 0x0000000106ca7d37 TTCallback::notify(TTValue const&, TTValue&) + 71 (TTCallback.cpp:67) 26 JamomaFoundation.dylib 0x0000000106ccafc7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 27 JamomaFoundation.dylib 0x0000000106cc8461 TTObject::send(TTSymbol, TTValue const&, TTValue&) + 65 (TTObject.cpp:143) 28 NetworkLib.ttdylib 0x000000010c3b8d1e TTOscReceive::oscSocketReceive(TTValue const&, TTValue&) + 110 (TTOscReceive.cpp:66) 29 JamomaFoundation.dylib 0x0000000106ccafc7 TTObjectBase::sendMessage(TTSymbol, TTValue const&, TTValue&) + 615 (TTObjectBase.cpp:449) 30 NetworkLib.ttdylib 0x000000010c3ba20e TTOscSocket::ProcessMessage(osc::ReceivedMessage const&, IpEndpointName const&) + 1038 (TTOscSocket.cpp:112) 31 NetworkLib.ttdylib 0x000000010c3bbf4d osc::OscPacketListener::ProcessPacket(char const, int, IpEndpointName const&) + 173 (OscPacketListener.h:67) 32 NetworkLib.ttdylib 0x000000010c3c2989 SocketReceiveMultiplexer::Implementation::Run() + 4153 (UdpSocket.cpp:958) 33 NetworkLib.ttdylib 0x000000010c3bf528 SocketReceiveMultiplexer::Run() + 24 (UdpSocket.cpp:1040) 34 NetworkLib.ttdylib 0x000000010c3bae9c UdpListeningReceiveSocket::Run() + 28 (UdpSocket.h:152) 35 NetworkLib.ttdylib 0x000000010c3b9903 TTOscSocketListener(void) + 307 (TTOscSocket.cpp:29) 36 JamomaFoundation.dylib 0x0000000106cbb670 TTThread::doCallbackMethod() + 48 (TTThread.cpp:77) 37 JamomaFoundation.dylib 0x0000000106cbb53d TTThreadCallback(void) + 29 (TTThread.cpp:19) 38 libsystem_c.dylib 0x00007fff928fb772 _pthread_start + 327 39 libsystem_c.dylib 0x00007fff928e81a1 thread_start + 13