[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-dev] more details about tcp crashes



hi,

today i saw one very rare thing with the bug described before (SuperCollider.app crashing when TCP connections are closed) : in this case, the app didn't crash but sclang posted an error message in the post win:


ERROR: Message 'prConnectionClosed' not understood.
RECEIVER:
Instance of 8l {    (1776DEF0, gc=6B, fmt=4C, flg=61, set=65)
  indexed slots [4]
unknown obj_format 4C
}
ARGS:
CALL STACK:
	DoesNotUnderstandError:reportError   16842DE0
		arg this = <instance of DoesNotUnderstandError>
	Nil:handleError   16842D20
		arg this = nil
		arg error = <instance of DoesNotUnderstandError>
	Object:throw   16842CC0
		arg this = <instance of DoesNotUnderstandError>
	Object:doesNotUnderstand   16842C60
		arg this = <instance of 8l>
		arg selector = 'prConnectionClosed'
		arg args = [*0]

(that's all, the stack trace looks truncated, i don't know)


for convenience, here's a again the info about the "normal crashing":

Thread 15 Crashed:
0 SuperCollider 0x0006db37 dumpObject(PyrObject*) + 95 (PyrObject.cpp:1733) 1 SuperCollider 0x0007eaf4 objectDump(VMGlobals*, int) + 20 (PyrPrimitive.cpp:1925) 2 SuperCollider 0x0007fafa doPrimitive(VMGlobals*, PyrMethod*, int) + 184 (PyrPrimitive.cpp:3535) 3 SuperCollider 0x00053e0f Interpret(VMGlobals*) + 9437 (PyrInterpreter3.cpp:2166) 4 SuperCollider 0x00056155 runInterpreter + 103 (PyrInterpreter3.cpp:120) 5 SuperCollider 0x0009c6e7 netAddrTcpClientNotifyFunc (void*) + 97 (OSCData.cpp:360) 6 SuperCollider 0x00097554 SC_TcpClientPort::Run() + 666 (SC_ComPort.cpp:573)
7   libSystem.B.dylib        	0x90023d87 _pthread_body + 84


thanks, -sciss-