{"action":"created","issue":{"url":"https://api.github.com/repos/realm/realm-core/issues/2298","repository_url":"https://api.github.com/repos/realm/realm-core","labels_url":"https://api.github.com/repos/realm/realm-core/issues/2298/labels{/name}","comments_url":"https://api.github.com/repos/realm/realm-core/issues/2298/comments","events_url":"https://api.github.com/repos/realm/realm-core/issues/2298/events","html_url":"https://github.com/realm/realm-core/issues/2298","id":189297361,"number":2298,"title":"pthread_mutex_lock() failed on process termination","user":{"login":"jpsim","id":474794,"avatar_url":"https://avatars.githubusercontent.com/u/474794?v=3","gravatar_id":"","url":"https://api.github.com/users/jpsim","html_url":"https://github.com/jpsim","followers_url":"https://api.github.com/users/jpsim/followers","following_url":"https://api.github.com/users/jpsim/following{/other_user}","gists_url":"https://api.github.com/users/jpsim/gists{/gist_id}","starred_url":"https://api.github.com/users/jpsim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpsim/subscriptions","organizations_url":"https://api.github.com/users/jpsim/orgs","repos_url":"https://api.github.com/users/jpsim/repos","events_url":"https://api.github.com/users/jpsim/events{/privacy}","received_events_url":"https://api.github.com/users/jpsim/received_events","type":"User","site_admin":false},"labels":[{"id":3772949,"url":"https://api.github.com/repos/realm/realm-core/labels/T:Bug","name":"T:Bug","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-15T04:29:10Z","updated_at":"2016-11-15T15:10:32Z","closed_at":"2016-11-15T15:10:32Z","body":"This can frequently (though not always) be reproduced by running these steps:\r\n\r\n```shell\r\n$ git clone https://github.com/realm/realm-cocoa.git\r\n$ cd realm-cocoa\r\n$ git checkout v2.0.4\r\n$ git submodule update --init --recursive\r\n$ ./build.sh verify-osx-object-server\r\n```\r\n\r\nStack trace:\r\n\r\n```\r\nutil/thread.cpp:217: [realm-core-2.1.4] pthread_mutex_lock() failed: Invalid mutex object provided\r\n0   realm-node.node                     0x0000000103ad85d8 _ZN5realm4utilL18terminate_internalERNSt3__118basic_stringstreamIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE + 40\r\n1   realm-node.node                     0x0000000103ad88d5 _ZN5realm4util9terminateEPKcS2_lOSt16initializer_listINS0_9PrintableEE + 517\r\n2   realm-node.node                     0x0000000103ad917a _ZN5realm4util5Mutex11lock_failedEi + 122\r\n3   realm-node.node                     0x0000000103bca63a _ZN5realm4util17InterprocessMutex14free_lock_infoEv + 186\r\n4   realm-node.node                     0x0000000103bc7e27 _ZN5realm11SharedGroupD2Ev + 119\r\n5   realm-node.node                     0x0000000103ccd9eb _ZN5realm5_impl21ClientFileAccessCache4Slot12proper_closeEv + 347\r\n6   realm-node.node                     0x0000000103cffa2f _ZN12_GLOBAL__N_110ClientImpl23stop_and_start_sessionsEv + 255\r\n7   realm-node.node                     0x0000000103cfd62b _ZN5realm4sync6Client3runEv + 235\r\n8   realm-node.node                     0x0000000103acd73c _ZNSt3__114__thread_proxyINS_5tupleIJZN5realm5_impl10SyncClientC1ENS_10unique_ptrINS2_4util6LoggerENS_14default_deleteIS7_EEEENS_8functionIFviNS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEEEENS2_4sync6Client9ReconnectEbEUlvE_EEEEEPvSP_ + 153\r\n9   libsystem_pthread.dylib             0x00007fffce32faab _pthread_body + 180\r\n10  libsystem_pthread.dylib             0x00007fffce32f9f7 _pthread_body + 0\r\n11  libsystem_pthread.dylib             0x00007fffce32f1fd thread_start + 13\r\nIMPORTANT: if you see this error, please send this log to help@realm.io.%\r\n```"},"comment":{"url":"https://api.github.com/repos/realm/realm-core/issues/comments/260666871","html_url":"https://github.com/realm/realm-core/issues/2298#issuecomment-260666871","issue_url":"https://api.github.com/repos/realm/realm-core/issues/2298","id":260666871,"user":{"login":"finnschiermer","id":5137726,"avatar_url":"https://avatars.githubusercontent.com/u/5137726?v=3","gravatar_id":"","url":"https://api.github.com/users/finnschiermer","html_url":"https://github.com/finnschiermer","followers_url":"https://api.github.com/users/finnschiermer/followers","following_url":"https://api.github.com/users/finnschiermer/following{/other_user}","gists_url":"https://api.github.com/users/finnschiermer/gists{/gist_id}","starred_url":"https://api.github.com/users/finnschiermer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/finnschiermer/subscriptions","organizations_url":"https://api.github.com/users/finnschiermer/orgs","repos_url":"https://api.github.com/users/finnschiermer/repos","events_url":"https://api.github.com/users/finnschiermer/events{/privacy}","received_events_url":"https://api.github.com/users/finnschiermer/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T15:10:32Z","updated_at":"2016-11-15T15:10:32Z","body":"Already fixed by #2278"}}
{"actor":{"display_login":"finnschiermer"}}