{"action":"created","issue":{"url":"https://api.github.com/repos/jxcore/jxcore/issues/719","labels_url":"https://api.github.com/repos/jxcore/jxcore/issues/719/labels{/name}","comments_url":"https://api.github.com/repos/jxcore/jxcore/issues/719/comments","events_url":"https://api.github.com/repos/jxcore/jxcore/issues/719/events","html_url":"https://github.com/jxcore/jxcore/issues/719","id":122002964,"number":719,"title":"A crash when using multitasking from command line","user":{"login":"vjrantal","id":207474,"avatar_url":"https://avatars.githubusercontent.com/u/207474?v=3","gravatar_id":"","url":"https://api.github.com/users/vjrantal","html_url":"https://github.com/vjrantal","followers_url":"https://api.github.com/users/vjrantal/followers","following_url":"https://api.github.com/users/vjrantal/following{/other_user}","gists_url":"https://api.github.com/users/vjrantal/gists{/gist_id}","starred_url":"https://api.github.com/users/vjrantal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vjrantal/subscriptions","organizations_url":"https://api.github.com/users/vjrantal/orgs","repos_url":"https://api.github.com/users/vjrantal/repos","events_url":"https://api.github.com/users/vjrantal/events{/privacy}","received_events_url":"https://api.github.com/users/vjrantal/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jxcore/jxcore/labels/0.3.1.1","name":"0.3.1.1","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"obastemur","id":4390745,"avatar_url":"https://avatars.githubusercontent.com/u/4390745?v=3","gravatar_id":"","url":"https://api.github.com/users/obastemur","html_url":"https://github.com/obastemur","followers_url":"https://api.github.com/users/obastemur/followers","following_url":"https://api.github.com/users/obastemur/following{/other_user}","gists_url":"https://api.github.com/users/obastemur/gists{/gist_id}","starred_url":"https://api.github.com/users/obastemur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obastemur/subscriptions","organizations_url":"https://api.github.com/users/obastemur/orgs","repos_url":"https://api.github.com/users/obastemur/repos","events_url":"https://api.github.com/users/obastemur/events{/privacy}","received_events_url":"https://api.github.com/users/obastemur/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-12-14T09:20:03Z","updated_at":"2016-01-04T14:29:19Z","closed_at":null,"body":"A crash like below was seen when trying to leverage the `mt` option:\r\n```\r\n$ lldb jx mt bv_tests/testThaliReplicationManager.js\r\n(lldb) target create \"jx\"\r\nCurrent executable set to 'jx' (x86_64).\r\n(lldb) settings set -- target.run-args  \"mt\" \"bv_tests/testThaliReplicationManager.js\"\r\n(lldb) run\r\nProcess 49176 launched: '/usr/local/bin/jx' (x86_64)\r\nTAP version 13\r\nTAP version 13\r\n# setup\r\n# setup\r\n# ThaliReplicationManager can call start without error\r\n# ThaliReplicationManager can call start without error\r\nProcess 49176 stopped\r\n* thread #2: tid = 0xd1664, 0x00000001003afbf4 jx`v8::internal::String::ReadBlock(v8::internal::String*, v8::internal::String::ReadBlockBuffer*, unsigned int*, unsigned int) + 532, stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)\r\n    frame #0: 0x00000001003afbf4 jx`v8::internal::String::ReadBlock(v8::internal::String*, v8::internal::String::ReadBlockBuffer*, unsigned int*, unsigned int) + 532\r\njx`v8::internal::String::ReadBlock:\r\n->  0x1003afbf4 <+532>: callq  *0x18(%rax)\r\n    0x1003afbf7 <+535>: movl   0x8(%r15), %esi\r\n    0x1003afbfb <+539>: xorl   %ecx, %ecx\r\n    0x1003afbfd <+541>: movl   %r14d, %edx\r\n```\r\n\r\nSteps to reproduce:\r\n\r\n```\r\n$ git clone https://github.com/thaliproject/Thali_CordovaPlugin.git\r\n$ cd Thali_CordovaPlugin/\r\n$ git checkout 506d75f53f309a6c9bda8183eced57e810f2b976\r\n$ cd thali/install/\r\n$ ./setUpDesktop.sh \r\n... enjoy some coffee while the npm dependencies install ...\r\n$ cd ../../test/www/jxcore/\r\n$ jx mt bv_tests/testThaliReplicationManager.js\r\n... the crash happens almost always, but if it doesn't (within seconds), run the command again ...\r\n```"},"comment":{"url":"https://api.github.com/repos/jxcore/jxcore/issues/comments/168691082","html_url":"https://github.com/jxcore/jxcore/issues/719#issuecomment-168691082","issue_url":"https://api.github.com/repos/jxcore/jxcore/issues/719","id":168691082,"user":{"login":"obastemur","id":4390745,"avatar_url":"https://avatars.githubusercontent.com/u/4390745?v=3","gravatar_id":"","url":"https://api.github.com/users/obastemur","html_url":"https://github.com/obastemur","followers_url":"https://api.github.com/users/obastemur/followers","following_url":"https://api.github.com/users/obastemur/following{/other_user}","gists_url":"https://api.github.com/users/obastemur/gists{/gist_id}","starred_url":"https://api.github.com/users/obastemur/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obastemur/subscriptions","organizations_url":"https://api.github.com/users/obastemur/orgs","repos_url":"https://api.github.com/users/obastemur/repos","events_url":"https://api.github.com/users/obastemur/events{/privacy}","received_events_url":"https://api.github.com/users/obastemur/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T14:29:19Z","updated_at":"2016-01-04T14:29:19Z","body":"```\r\n frame #0: 0x00001bc7893120d0\r\n    frame #1: 0x00001bc789311a37\r\n    frame #2: 0x000000010027a80b jx`v8::internal::Invoke(is_construct=<unavailable>, function=<unavailable>, receiver=<unavailable>, argc=1, args=0x00007000001ac218, has_pending_exception=0x00007000001ac197) + 427 at execution.cc:118\r\n    frame #3: 0x000000010021c0dc jx`v8::Function::NewInstance(this=0x0000000102044870, argc=1, argv=0x00007000001ac218) const + 524 at api.cc:3650\r\n    frame #4: 0x0000000101f870e5 leveldown.node`leveldown::Database::NewInstance(location=0x00007000001ac258) + 93 at database.cc:166\r\n    frame #5: 0x0000000101f8705c leveldown.node`leveldown::LevelDOWN(info=0x00007000001ac280) + 51 at database.cc:131\r\n    frame #6: 0x0000000101f8f47e leveldown.node`Nan::imp::FunctionCallbackWrapper(args=<unavailable>) + 184 at nan_callbacks_pre_12_inl.h:291\r\n    frame #7: 0x00000001002455dc jx`v8::internal::Builtin_HandleApiCall(v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>, v8::internal::Isolate*) + 463 at builtins.cc:1146\r\n    frame #8: 0x000000010024540d jx`v8::internal::Builtin_HandleApiCall(args=<unavailable>, isolate=0x0000000103800600)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>, v8::internal::Isolate*) + 29 at builtins.cc:1164\r\n```\r\n"}}