Bug #686

patch using jamoma 0.5 ui crashes on startup

Added by Diemo Schwarz about 7 years ago. Updated almost 7 years ago.

Status:ClosedStart date:2011-02-09
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-Spent time:-
Target version:MVC for 0.6
Branch: OS:

Description

Sure we don't expect it to work, but we should be able to at least load an old patch to port it to 0.6...

Thread 0 Crashed:
0 libstdc++.6.dylib 0x90a2639e std::basic_string<char, std::char_traits<char>, std::allocator<char> >::c_str() const + 6
1 JamomaFoundation.dylib 0x17d5c650 TTSymbol::getCString() + 26 (TTSymbol.cpp:51)
2 org.jamoma.jcom.ui 0x2d0e8be2 ui_build(_ui*) + 928
3 com.cycling74.MaxMSP 0x00032fc6 defer_exec(_defer*) + 60
4 com.cycling74.MaxMSP 0x0002a59b sched_dequeue + 119
5 com.cycling74.MaxMSP 0x000123e9 max_tick + 77

topo-mapper-0.6.maxpat - main patch without abstractions, might not crash therefore (533 KB) Diemo Schwarz, 2011-02-09 05:37 pm

scene.xml Magnifier - preset file, just in case (18.1 KB) Diemo Schwarz, 2011-02-09 05:37 pm

History

#1 Updated by Théo de la Hogue about 7 years ago

  • Status changed from New to Resolved

Hi, after a fix in jcom.ui I managed to open your patch.

best,
TO

#2 Updated by Pascal Baltazar almost 7 years ago

I have tried a few 0.5 modules :

from my tests, they don't crash at startup, but when closing the patch

I don't know if this is worth spending time on, though... as we can port modules (but then need to be cautious saving all he work before closing the patch...)

#3 Updated by Pascal Baltazar almost 7 years ago

surprisingly, not all modules crash (e.g. FileNameGenerator)

and not all crashes produce a crash log

here is one I could get :

Process: MaxMSP [92937]
Path: /Applications/Max5/MaxMSP.app/Contents/MacOS/MaxMSP
Identifier: com.cycling74.MaxMSP
Version: 5.1.8 (45300) (5.1.8)
Code Type: X86 (Native)
Parent Process: launchd [120]

Date/Time: 2011-06-28 09:56:59.532 +0200
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6

Interval Since Last Report: 1984862 sec
Crashes Since Last Report: 115
Per-App Interval Since Last Report: 160664 sec
Per-App Crashes Since Last Report: 26
Anonymous UUID: 616C8EE0-58E7-40F6-A7FF-314BF881A9E9

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x00000000214950d8
Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 JamomaFoundation.dylib 0x16ed28cb TTHash::lookup(TTSymbol*, TTValue&) + 43 (table.hpp:55)
1 JamomaFoundation.dylib 0x16ed6eac TTObject::findAttribute(TTSymbol*, TTAttribute**) + 44 (TTObject.cpp:141)
2 JamomaModular.dylib 0x1a8712c1 TTContainer::unbind() + 337 (TTContainer.cpp:643)
3 JamomaModular.dylib 0x1a8722a5 TTContainer::~TTContainer() + 37 (TTContainer.cpp:72)
4 JamomaFoundation.dylib 0x16ed1685 TTEnvironment::releaseInstance(TTObject**) + 117 (TTEnvironment.cpp:252)
5 JamomaFoundation.dylib 0x16ed16ea TTObjectRelease(TTObject**) + 42 (TTEnvironment.cpp:294)
6 org.jamoma.jcom.hub 0x1b9cac32 wrappedModularClass_unregister(_wrappedModularInstance*) + 127 (TTModularClassWrapperMax.cpp:116)
7 org.jamoma.jcom.hub 0x1b9cadf5 wrappedModularClass_free(_wrappedModularInstance*) + 29 (TTModularClassWrapperMax.cpp:162)
8 com.cycling74.MaxMSP 0x0002fd62 freeobject + 168
9 com.cycling74.MaxMSP 0x00161c81 jnewobj_free + 25
10 com.cycling74.MaxMSP 0x0002fd62 freeobject + 168
11 com.cycling74.MaxMSP 0x000b84fd object_free + 27
12 com.cycling74.MaxMSP 0x0017e954 jpatcher_free + 284
13 com.cycling74.MaxMSP 0x0002fd62 freeobject + 168
14 com.cycling74.MaxMSP 0x000b84fd object_free + 27
15 com.cycling74.MaxMSP 0x0012ea5d jbpatcher_setpatcher(_jbpatcher*, object*) + 117
16 com.cycling74.MaxMSP 0x0012f406 jbpatcher_free(_jbpatcher*) + 26
17 com.cycling74.MaxMSP 0x0002fd62 freeobject + 168
18 com.cycling74.MaxMSP 0x000b84fd object_free + 27
19 com.cycling74.MaxMSP 0x0017e954 jpatcher_free + 284
20 com.cycling74.MaxMSP 0x0002fd62 freeobject + 168
21 com.cycling74.MaxMSP 0x000b84fd object_free + 27
22 com.cycling74.MaxMSP 0x000bb390 object_method + 896
23 com.cycling74.MaxMSP 0x00196f5e jwind_close + 906
24 com.cycling74.MaxMSP 0x002da75e juce::HIViewComponentPeer::handleWindowClassEvent(OpaqueEventRef*) + 1220
25 com.cycling74.MaxMSP 0x002da893 juce::HIViewComponentPeer::handleWindowEventForPeer(OpaqueEventHandlerCallRef*, OpaqueEventRef*) + 295
26 com.cycling74.MaxMSP 0x002da92f juce::HIViewComponentPeer::handleWindowEvent(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 65
27 com.apple.HIToolbox 0x93970c2f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567
28 com.apple.HIToolbox 0x9396fef6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
29 com.apple.HIToolbox 0x939927f3 SendEventToEventTarget + 52
30 com.apple.HIToolbox 0x93a8fdb7 HIWindowButtonView::SendWindowEvent(unsigned long, unsigned long) + 207
31 com.apple.HIToolbox 0x93a8fe68 HIWindowButtonView::ControlHitSelf(OpaqueControlRef*, short, unsigned long) + 156
32 com.apple.HIToolbox 0x9398561b HIView::EventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 9309
33 com.apple.HIToolbox 0x93970c2f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567
34 com.apple.HIToolbox 0x9396fef6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
35 com.apple.HIToolbox 0x939927f3 SendEventToEventTarget + 52
36 com.apple.HIToolbox 0x939e1cce SendControlHit(HIView*, OpaqueEventRef*, short, unsigned long) + 296
37 com.apple.HIToolbox 0x939e1b4f HIView::NotifyControlHit(OpaqueEventRef*, short, unsigned long) + 45
38 com.apple.HIToolbox 0x93a4665f HIView::ClickInternal(CGPoint const&, unsigned long, void ()(OpaqueControlRef, short), OpaqueEventRef*, bool) + 245
39 com.apple.HIToolbox 0x93a47c18 HIView::ClickSelf(OpaqueEventRef*) + 368
40 com.apple.HIToolbox 0x93983af9 HIView::EventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 2363
41 com.apple.HIToolbox 0x93970c2f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567
42 com.apple.HIToolbox 0x9396fef6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
43 com.apple.HIToolbox 0x939927f3 SendEventToEventTarget + 52
44 com.apple.HIToolbox 0x939e0b8e HIView::Click(OpaqueEventRef*) + 480
45 com.apple.HIToolbox 0x939e095b HandleClickAsHIView(OpaqueWindowPtr*, OpaqueEventRef*) + 151
46 com.apple.HIToolbox 0x939df238 HandleWindowClick(OpaqueWindowPtr*, Point, short, unsigned long, OpaqueEventRef*) + 491
47 com.apple.HIToolbox 0x939ded3b HandleMouseEvent(OpaqueEventHandlerCallRef*, OpaqueEventRef*) + 786
48 com.apple.HIToolbox 0x939de652 StandardWindowEventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 93
49 com.apple.HIToolbox 0x93970c2f DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 1567
50 com.apple.HIToolbox 0x9396fef6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
51 com.apple.HIToolbox 0x939927f3 SendEventToEventTarget + 52
52 com.apple.HIToolbox 0x939a43ef ToolboxEventDispatcherHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) + 1417
53 com.apple.HIToolbox 0x93971080 DispatchEventToHandlers(EventTargetRec*, OpaqueEventRef*, HandlerCallRec*) + 2672
54 com.apple.HIToolbox 0x9396fef6 SendEventToEventTargetInternal(OpaqueEventRef*, OpaqueEventTargetRef*, HandlerCallRec*) + 411
55 com.apple.HIToolbox 0x939927f3 SendEventToEventTarget + 52
56 com.cycling74.MaxMSP 0x002d3892 juce::juce_dispatchNextMessageOnSystemQueue(bool, bool) + 630
57 com.cycling74.MaxMSP 0x002dd4cb juce::MessageManager::dispatchNextMessage(bool, bool*, bool) + 79
58 com.cycling74.MaxMSP 0x002dd58a juce::MessageManager::runDispatchLoop() + 42
59 com.cycling74.MaxMSP 0x002dbee5 juce::JUCEApplication::main(juce::String&, juce::JUCEApplication*) + 605
60 com.cycling74.MaxMSP 0x002dbfbf juce::JUCEApplication::main(int, char**, juce::JUCEApplication*) + 125
61 com.cycling74.MaxMSP 0x001e5126 main + 76
62 com.cycling74.MaxMSP 0x00005d7e _start + 216
63 com.cycling74.MaxMSP 0x00005ca5 start + 41

Thread 1: Dispatch queue: com.apple.libdispatch-manager
0 libSystem.B.dylib 0x9251f922 kevent + 10
1 libSystem.B.dylib 0x9252003c _dispatch_mgr_invoke + 215
2 libSystem.B.dylib 0x9251f4f9 _dispatch_queue_invoke + 163
3 libSystem.B.dylib 0x9251f29e _dispatch_worker_thread2 + 240
4 libSystem.B.dylib 0x9251ed21 _pthread_wqthread + 390
5 libSystem.B.dylib 0x9251eb66 start_wqthread + 30

Thread 2:
0 libSystem.B.dylib 0x924f90fa semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x92526c85 _pthread_cond_wait + 1066
2 libSystem.B.dylib 0x92555aa8 pthread_cond_timedwait_relative_np + 47
3 ...ple.CoreServices.CarbonCore 0x91590e3d TSWaitOnConditionTimedRelative + 242
4 ...ple.CoreServices.CarbonCore 0x91590b7b TSWaitOnSemaphoreCommon + 511
5 ...ple.CoreServices.CarbonCore 0x915b4deb TimerThread + 97
6 libSystem.B.dylib 0x925267fd _pthread_start + 345
7 libSystem.B.dylib 0x92526682 thread_start + 34

Thread 3:
0 libSystem.B.dylib 0x92518066 select$DARWIN_EXTSN + 10
1 Minuit.dylib 0x17c98c20 SocketReceiveMultiplexer::Implementation::Run() + 960 (UdpSocket.cpp:953)
2 Minuit.dylib 0x17c94c21 OSCReceiveFunction(void*) + 129 (ReceiveOSCThread.cpp:19)
3 libSystem.B.dylib 0x925267fd _pthread_start + 345
4 libSystem.B.dylib 0x92526682 thread_start + 34

Thread 4:
0 libSystem.B.dylib 0x924f909a mach_msg_trap + 10
1 libSystem.B.dylib 0x924f9807 mach_msg + 68
2 com.apple.audio.midi.CoreMIDI 0x1797d0c1 XServerMachPort::ReceiveMessage(int&, void*, int&) + 155
3 com.apple.audio.midi.CoreMIDI 0x1799b97a MIDIProcess::RunMIDIInThread() + 150
4 com.apple.audio.midi.CoreMIDI 0x1797e2d9 XThread::RunHelper(void*) + 17
5 com.apple.audio.midi.CoreMIDI 0x1797dca6 CAPThread::Entry(CAPThread*) + 96
6 libSystem.B.dylib 0x925267fd _pthread_start + 345
7 libSystem.B.dylib 0x92526682 thread_start + 34

Thread 5:
0 libSystem.B.dylib 0x924f90fa semaphore_timedwait_signal_trap + 10
1 libSystem.B.dylib 0x92526c85 _pthread_cond_wait + 1066
2 libSystem.B.dylib 0x92555aa8 pthread_cond_timedwait_relative_np + 47
3 com.cycling74.MaxMSP 0x002d2c9c juce::WaitableEvent::wait(int) const + 122
4 com.cycling74.MaxMSP 0x0034fd1b juce::Thread::wait(int) const + 27
5 com.cycling74.MaxMSP 0x002de537 juce::InternalTimerThread::run() + 229
6 com.cycling74.MaxMSP 0x0034fdae juce::Thread::threadEntryPoint(juce::Thread*) + 142
7 com.cycling74.MaxMSP 0x002d2d77 juce::threadEntryProc(void*) + 17
8 libSystem.B.dylib 0x925267fd _pthread_start + 345
9 libSystem.B.dylib 0x92526682 thread_start + 34

Thread 6:
0 libSystem.B.dylib 0x925c041e accept$NOCANCEL$UNIX2003 + 10
1 libSystem.B.dylib 0x925bf286 accept + 32
2 com.cycling74.MaxMSP 0x00394259 juce::StreamingSocket::waitForNextConnection() const + 257
3 com.cycling74.MaxMSP 0x00216eb7 tcpconnection_listenthread(_tcpconnection*) + 27
4 com.cycling74.MaxMSP 0x00065f16 systhread_threadproc(void*) + 60
5 libSystem.B.dylib 0x925267fd _pthread_start + 345
6 libSystem.B.dylib 0x92526682 thread_start + 34

Thread 7:
0 libSystem.B.dylib 0x92518066 select$DARWIN_EXTSN + 10
1 Minuit.dylib 0x17c98c20 SocketReceiveMultiplexer::Implementation::Run() + 960 (UdpSocket.cpp:953)
2 Minuit.dylib 0x17c94c21 OSCReceiveFunction(void*) + 129 (ReceiveOSCThread.cpp:19)
3 libSystem.B.dylib 0x925267fd _pthread_start + 345
4 libSystem.B.dylib 0x92526682 thread_start + 34

Thread 8:
0 libSystem.B.dylib 0x924f90e2 semaphore_wait_signal_trap + 10
1 libSystem.B.dylib 0x92526c9c _pthread_cond_wait + 1089
2 libSystem.B.dylib 0x9256f45f pthread_cond_wait + 48
3 com.cycling74.MaxAPI 0x032713ce systhread_cond_wait + 38
4 com.cycling74.JitterAPI 0x181da9b8 jit_qt_movie_worker + 138
5 com.cycling74.MaxMSP 0x00065f16 systhread_threadproc(void*) + 60
6 libSystem.B.dylib 0x925267fd _pthread_start + 345
7 libSystem.B.dylib 0x92526682 thread_start + 34

Thread 0 crashed with X86 Thread State (32-bit):
eax: 0x1eabf3d8 ebx: 0x00a75740 ecx: 0x1eabb9c0 edx: 0x00a75740
edi: 0x00000013 esi: 0x1eabb830 ebp: 0xbfffd6f8 esp: 0xbfffd6e0
ss: 0x0000001f efl: 0x00010246 eip: 0x16ed28cb cs: 0x00000017
ds: 0x0000001f es: 0x0000001f fs: 0x00000000 gs: 0x00000037
cr2: 0x214950d8

#4 Updated by Pascal Baltazar almost 7 years ago

  • Status changed from Resolved to Closed

this was very probably related to http://redmine.jamoma.org/issues/794
after opening a few modules and having no crash, I'm closing this bug

Also available in: Atom PDF