{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3703","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3703/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3703/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3703/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/3703","id":56066183,"number":3703,"title":"r.js caused a crash in a worker process","user":{"login":"elifarley","id":519940,"avatar_url":"https://avatars.githubusercontent.com/u/519940?v=3","gravatar_id":"","url":"https://api.github.com/users/elifarley","html_url":"https://github.com/elifarley","followers_url":"https://api.github.com/users/elifarley/followers","following_url":"https://api.github.com/users/elifarley/following{/other_user}","gists_url":"https://api.github.com/users/elifarley/gists{/gist_id}","starred_url":"https://api.github.com/users/elifarley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elifarley/subscriptions","organizations_url":"https://api.github.com/users/elifarley/orgs","repos_url":"https://api.github.com/users/elifarley/repos","events_url":"https://api.github.com/users/elifarley/events{/privacy}","received_events_url":"https://api.github.com/users/elifarley/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/labels/tp:bug","name":"tp:bug","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/90","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/90/labels","id":956694,"number":90,"title":"1.16.x","description":"","creator":{"login":"coffeemug","id":48436,"avatar_url":"https://avatars.githubusercontent.com/u/48436?v=3","gravatar_id":"","url":"https://api.github.com/users/coffeemug","html_url":"https://github.com/coffeemug","followers_url":"https://api.github.com/users/coffeemug/followers","following_url":"https://api.github.com/users/coffeemug/following{/other_user}","gists_url":"https://api.github.com/users/coffeemug/gists{/gist_id}","starred_url":"https://api.github.com/users/coffeemug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coffeemug/subscriptions","organizations_url":"https://api.github.com/users/coffeemug/orgs","repos_url":"https://api.github.com/users/coffeemug/repos","events_url":"https://api.github.com/users/coffeemug/events{/privacy}","received_events_url":"https://api.github.com/users/coffeemug/received_events","type":"User","site_admin":false},"open_issues":19,"closed_issues":0,"state":"open","created_at":"2015-01-29T12:41:25Z","updated_at":"2015-01-30T19:12:09Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-01-30T18:17:09Z","updated_at":"2015-01-30T19:43:59Z","closed_at":null,"body":"Rethinkdb 1.15.3 and 1.16\r\nCache size of 100 MB\r\nSystem memory: 1 GB\r\n~5400 documents\r\nFedora release 20 (Heisenbug)  Kernel 2.6.32-042stab093.4 x86_64 under OpenVZ\r\n\r\nRqlRuntimeError: Javascript query `(function(row) {return {mime2: row.mime}; })` caused a crash in a worker process in:\r\nr.table(\"en\").hasFields(\"file_name\").pluck(\"file_name\", \"title\", \"mime\").merge(r.js(\"(function(row) {return {mime2: row.mime}; })\"))\r\n                                                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ \r\nThe query that returned an error is:\r\n\r\nr.table('en').hasFields('file_name').pluck('file_name','title','mime').merge( r.js(\"(function(row) {return {mime2: row.mime}; })\") ) \r\n"},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/72258594","html_url":"https://github.com/rethinkdb/rethinkdb/issues/3703#issuecomment-72258594","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3703","id":72258594,"user":{"login":"danielmewes","id":505365,"avatar_url":"https://avatars.githubusercontent.com/u/505365?v=3","gravatar_id":"","url":"https://api.github.com/users/danielmewes","html_url":"https://github.com/danielmewes","followers_url":"https://api.github.com/users/danielmewes/followers","following_url":"https://api.github.com/users/danielmewes/following{/other_user}","gists_url":"https://api.github.com/users/danielmewes/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmewes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmewes/subscriptions","organizations_url":"https://api.github.com/users/danielmewes/orgs","repos_url":"https://api.github.com/users/danielmewes/repos","events_url":"https://api.github.com/users/danielmewes/events{/privacy}","received_events_url":"https://api.github.com/users/danielmewes/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T19:43:59Z","updated_at":"2015-01-30T19:43:59Z","body":"Thanks for the info. Does the bug happen on the table with the fake values as well?\r\nFor copying from one table into another, you can run `r.table(\"dest\").insert(r.table(\"src\"))`\r\nFor dumping a specific table to a file, you can use the console command `rethinkdb dump -e <db>.<table>` (e.g. `rethinkdb dump -e test.en` to dump the table `en` in the default database `test`)."}}