{"action":"created","issue":{"url":"https://api.github.com/repos/oracle/node-oracledb/issues/256","labels_url":"https://api.github.com/repos/oracle/node-oracledb/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/oracle/node-oracledb/issues/256/comments","events_url":"https://api.github.com/repos/oracle/node-oracledb/issues/256/events","html_url":"https://github.com/oracle/node-oracledb/issues/256","id":112838811,"number":256,"title":"problem with extract data from lob","user":{"login":"randomailer","id":1937791,"avatar_url":"https://avatars.githubusercontent.com/u/1937791?v=3","gravatar_id":"","url":"https://api.github.com/users/randomailer","html_url":"https://github.com/randomailer","followers_url":"https://api.github.com/users/randomailer/followers","following_url":"https://api.github.com/users/randomailer/following{/other_user}","gists_url":"https://api.github.com/users/randomailer/gists{/gist_id}","starred_url":"https://api.github.com/users/randomailer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/randomailer/subscriptions","organizations_url":"https://api.github.com/users/randomailer/orgs","repos_url":"https://api.github.com/users/randomailer/repos","events_url":"https://api.github.com/users/randomailer/events{/privacy}","received_events_url":"https://api.github.com/users/randomailer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/oracle/node-oracledb/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-10-22T16:16:05Z","updated_at":"2015-11-20T00:34:52Z","closed_at":null,"body":"I have a problem with extract lob data.\r\n\r\n```\r\nnode(82037,0x7fff7b5aa000) malloc: *** error for object 0x10296ae08: incorrect checksum for freed object - object was probably modified after being freed.\r\n*** set a breakpoint in malloc_error_break to debug\r\n```\r\n\r\nthis going with only one row, all another rows ok,\r\nthis error only on 1.2.0 and 1.3.0 version\r\n\r\non version 1.1 all ok"},"comment":{"url":"https://api.github.com/repos/oracle/node-oracledb/issues/comments/158243608","html_url":"https://github.com/oracle/node-oracledb/issues/256#issuecomment-158243608","issue_url":"https://api.github.com/repos/oracle/node-oracledb/issues/256","id":158243608,"user":{"login":"cjbj","id":200778,"avatar_url":"https://avatars.githubusercontent.com/u/200778?v=3","gravatar_id":"","url":"https://api.github.com/users/cjbj","html_url":"https://github.com/cjbj","followers_url":"https://api.github.com/users/cjbj/followers","following_url":"https://api.github.com/users/cjbj/following{/other_user}","gists_url":"https://api.github.com/users/cjbj/gists{/gist_id}","starred_url":"https://api.github.com/users/cjbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjbj/subscriptions","organizations_url":"https://api.github.com/users/cjbj/orgs","repos_url":"https://api.github.com/users/cjbj/repos","events_url":"https://api.github.com/users/cjbj/events{/privacy}","received_events_url":"https://api.github.com/users/cjbj/received_events","type":"User","site_admin":false},"created_at":"2015-11-20T00:34:52Z","updated_at":"2015-11-20T00:34:52Z","body":"It sometimes did & didn't reproduce when I was playing using non-bluebird promises and/or changing the `finally` and DROP TABLE code. \r\n\r\nThis change also reproduced it in Node 4.2.2 with node-oracledb 1.4:\r\n```\r\n2d1 \r\n< var Promise = require('bluebird'); \r\n15c14,15 \r\n<                          .finally(function () { \r\n--- \r\n> //                         .finally(function () { \r\n>                          .then(function () { \r\n30c30,39 \r\n<                        connection.execute('DROP TABLE TESTCASE', function \r\n(err, result) { \r\n--- \r\n>                        var sql; \r\n>                        sql = \"BEGIN \" \r\n>                            + \"EXECUTE IMMEDIATE 'DROP TABLE testcase'; \" \r\n>                            + \"EXCEPTION WHEN OTHERS THEN \" \r\n>                            + \"IF SQLCODE <> -942 THEN \" \r\n>                            + \"RAISE; \" \r\n>                            + \"END IF; \" \r\n>                            + \"END;\"; \r\n>                        sql2 = 'DROP TABLE TESTCASE'; \r\n>                        connection.execute(sql, function (err, result) { \r\n```"}}