Skip to content

Multiple clients example hangs and crashes #31

Description

@codeanticode

Running the MultipleServers/Clients example pair has some issue in RC3. The server example runs fine, each individual server can be read a syphon client, but trying to read all servers at one from Processing hangs the sketch with this error in the console:

2017-09-10 10:40:25.598 java[74061:24550735] -[SyphonServerDirectory objectForKey:]: unrecognized selector sent to instance 0x7ffec2edbb20
2017-09-10 10:40:25.599 java[74061:24550735] -[SyphonServerDirectory objectForKey:]: unrecognized selector sent to instance 0x7ffec2edbb20
2017-09-10 10:40:25.608 java[74061:24550735] (
	0   CoreFoundation                      0x00007fff8d9fb452 __exceptionPreprocess + 178
	1   libobjc.A.dylib                     0x00007fff9cc45f7e objc_exception_throw + 48
	2   CoreFoundation                      0x00007fff8da6518d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
	3   CoreFoundation                      0x00007fff8d96b4c1 ___forwarding___ + 1009
	4   CoreFoundation                      0x00007fff8d96b048 _CF_forwarding_prep_0 + 120
	5   libJSyphon.jnilib                   0x000000011e8a69f7 -[SyphonNameboundClient parametersMatchDescription:] + 183
	6   libJSyphon.jnilib                   0x000000011e8a6d4c -[SyphonNameboundClient handleServerAnnounce:] + 156
	7   CoreFoundation                      0x00007fff8d986b0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
	8   CoreFoundation                      0x00007fff8d986a9f ___CFXRegistrationPost_block_invoke + 63
	9   CoreFoundation                      0x00007fff8d986a17 _CFXRegistrationPost + 407
	10  CoreFoundation                      0x00007fff8d986782 ___CFXNotificationPost_block_invoke + 50
	11  CoreFoundation                      0x00007fff8d943592 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1922
	12  CoreFoundation                      0x00007fff8d9427e5 _CFXNotificationPost + 693
	13  Foundation                          0x00007fff936b8f9a -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
	14  Syphon                              0x000000011e8beb99 -[SyphonServerDirectory handleServerAnnounce:] + 745
	15  CoreFoundation                      0x00007fff8d986b0c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
	16  CoreFoundation                      0x00007fff8d986a9f ___CFXRegistrationPost_block_invoke + 63
	17  CoreFoundation                      0x00007fff8d99040c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
	18  CoreFoundation                      0x00007fff8d96fc55 __CFRunLoopDoBlocks + 341
	19  CoreFoundation                      0x00007fff8d96f9bb __CFRunLoopRun + 2347
	20  CoreFoundation                      0x00007fff8d96ee28 CFRunLoopRunSpecific + 296
	21  HIToolbox                           0x00007fff8a757935 RunCurrentEventLoopInMode + 235
	22  HIToolbox                           0x00007fff8a75776f ReceiveNextEventCommon + 432
	23  HIToolbox                           0x00007fff8a7575af _BlockUntilNextEventMatchingListInModeWithFilter + 71
	24  AppKit                              0x00007fff91cd6df6 _DPSNextEvent + 1067
	25  AppKit                              0x00007fff91cd6226 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 454
	26  libosxapp.dylib                     0x00000001195373aa -[NSApplicationAWT nextEventMatchingMask:untilDate:inMode:dequeue:] + 124
	27  AppKit                              0x00007fff91ccad80 -[NSApplication run] + 682
	28  libosxapp.dylib                     0x000000011953714d +[NSApplicationAWT runAWTLoopWithApp:] + 156
	29  libawt_lwawt.dylib                  0x00000001194c3edf -[AWTStarter starter:] + 905
	30  Foundation                          0x00007fff93728dfe __NSThreadPerformPerform + 279
	31  CoreFoundation                      0x00007fff8d9907e1 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
	32  CoreFoundation                      0x00007fff8d96ff0c __CFRunLoopDoSources0 + 556
	33  CoreFoundation                      0x00007fff8d96f42f __CFRunLoopRun + 927
	34  CoreFoundation                      0x00007fff8d96ee28 CFRunLoopRunSpecific + 296
	35  java                                0x0000000100544465 CreateExecutionEnvironment + 871
	36  java                                0x000000010054018c JLI_Launch + 1952
	37  java                                0x00000001005464c2 main + 101
	38  java                                0x000000010053f9e4 start + 52
	39  ???                                 0x000000000000000e 0x0 + 14
)
2017-09-10 10:40:25.619 java[74061:24551234] SYPHON DEBUG: SyphonClientConnectionManager: Registering for info updates

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions