{"action":"opened","issue":{"url":"https://api.github.com/repos/C4Framework/M-O/issues/28","labels_url":"https://api.github.com/repos/C4Framework/M-O/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/C4Framework/M-O/issues/28/comments","events_url":"https://api.github.com/repos/C4Framework/M-O/issues/28/events","html_url":"https://github.com/C4Framework/M-O/issues/28","id":99338769,"number":28,"title":"swipe gesture causes crash","user":{"login":"C4Framework","id":1447498,"avatar_url":"https://avatars.githubusercontent.com/u/1447498?v=3","gravatar_id":"","url":"https://api.github.com/users/C4Framework","html_url":"https://github.com/C4Framework","followers_url":"https://api.github.com/users/C4Framework/followers","following_url":"https://api.github.com/users/C4Framework/following{/other_user}","gists_url":"https://api.github.com/users/C4Framework/gists{/gist_id}","starred_url":"https://api.github.com/users/C4Framework/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/C4Framework/subscriptions","organizations_url":"https://api.github.com/users/C4Framework/orgs","repos_url":"https://api.github.com/users/C4Framework/repos","events_url":"https://api.github.com/users/C4Framework/events{/privacy}","received_events_url":"https://api.github.com/users/C4Framework/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-06T02:15:16Z","updated_at":"2015-08-06T02:15:16Z","closed_at":null,"body":"THREAD\r\n```\r\n#12\t0x0000000183328ab0 in -[_NSPlaceholderData initWithBytes:length:copy:deallocator:] ()\r\n#13\t0x000000010003a45c in @!objc ObjectiveC.NSData.init (ObjectiveC.NSData.Type)(bytes : Swift.UnsafePointer<()>, length : Swift.Int) -> ObjectiveC.NSData ()\r\n#14\t0x0000000100039aec in ObjectiveC.NSData.__allocating_init (ObjectiveC.NSData.Type)(bytes : Swift.UnsafePointer<()>, length : Swift.Int) -> ObjectiveC.NSData ()\r\n#15\t0x0000000100039208 in MOPeripheral.MOPacket.init (MOPeripheral.MOPacket.Type)(ObjectiveC.NSData) -> MOPeripheral.MOPacket at /Users/SlantMacPro/Development/M-O/Message.swift:106\r\n#16\t0x00000001000417e4 in MOPeripheral.PeripheralSocketManager.socket (MOPeripheral.PeripheralSocketManager)(Swift.ImplicitlyUnwrappedOptional<ObjectiveC.GCDAsyncSocket>, didReadData : Swift.ImplicitlyUnwrappedOptional<ObjectiveC.NSData>, withTag : Swift.Int) -> () at /Users/SlantMacPro/Development/M-O/MOPeripheral/MOPeripheral/PeripheralSocketManager.swift:169\r\n#17\t0x0000000100042018 in @objc MOPeripheral.PeripheralSocketManager.socket (MOPeripheral.PeripheralSocketManager)(Swift.ImplicitlyUnwrappedOptional<ObjectiveC.GCDAsyncSocket>, didReadData : Swift.ImplicitlyUnwrappedOptional<ObjectiveC.NSData>, withTag : Swift.Int) -> () ()\r\n#18\t0x000000010002ab84 in __37-[GCDAsyncSocket completeCurrentRead]_block_invoke at /Users/SlantMacPro/Development/M-O/GCDAsyncSocket.m:5018\r\n```\r\n\r\nCONSOLE\r\n```\r\napplicationDidBecomeActive\r\nnetServiceBrowserWillSearch\r\nperipheralSocketManagerDidStartSearching()\r\nnetServiceBrowser(_:didFindService:moreComing:) _m-o._tcp.\r\nnetServiceBrowser(_:didFindService:moreComing:) _m-o-time._tcp.\r\nperipheralSocketManagerDidHandshake()\r\nperipheralSocketManagerDidHandshake()\r\n2015-08-05 19:10:31.118 MOPeripheral[397:141625] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** NSAllocateMemoryPages(3575729881088) failed'\r\n*** First throw call stack:\r\n(0x1825042d8 0x193e600e4 0x182504218 0x18338ea98 0x1833611b0 0x183328ab0 0x10003a45c 0x100039aec 0x100039208 0x1000417e4 0x100042018 0x10002ab84 0x10101cfd4 0x10101cf94 0x101021c28 0x1824bb7f8 0x1824b98a0 0x1823e52d4 0x18bceb6fc 0x186fe2f40 0x10004ee7c 0x19450aa08)\r\nlibc++abi.dylib: terminating with uncaught exception of type NSException\r\n```\r\n\r\nDATA\r\n```\r\ndata\tNSData\t82 bytes\t0x0000000170241f80\r\nNSMutableData\tNSMutableData\t\t\r\nNSData\tNSData\t\t\r\nNSObject\tNSObject\t\t\r\nisa\tNSConcreteMutableData *\t82 bytes\t0x0000000170241f80\r\n_length\tunsigned long long\t82\t82\r\n_capacity\tunsigned long long\t123\t123\r\n_bytes\tvoid *\t0x1740fe000\t0x00000001740fe000\r\nself\tMOPeripheral.MOPacket\t\t\r\ntype\tMOPeripheral.PacketType\tConnection\tConnection\r\nmessage\tMOPeripheral.PacketMessage\tdidConnect\tdidConnect\r\ninfoLength\tInt\t3575729881088\t3575729881088\r\ninfo\tNSData?\tnil\tNone\r\nobject\tMOPeripheral.MOObject\tCore\tCore\r\nid\tInt\t12884901888\t12884901888\r\ntimestamp\tNSTimeInterval\t1.369535617230146E-312\t1.369535617230146E-312\r\nindex\tInt\t27\t27\r\n```\r\n\r\nNOTES: \r\nJayme was trying to swipe.\r\nThere might be conflicting gestures.\r\nBut, the \"message\" that's being unpacked says \"didConnect\" which doesn't make sense, because the devices were already connected for about 30s."}}