node-ibm_db: Node.js app crashes when sending sending blob to db2

We are getting inconsistent errors. The app fails when we attempt to store file attachments. This issue seems very closely related to issue #141. We don’t get a lot of details in the logs but do see this come up after each crash:

ERR *** Error in `node’: double free or corruption (!prev): 0x00000000034e67e0 ***

We applied the following recommendations from issue #141:

  1. var ibmdb = require(‘ibm_db’); var pool = new ibmdb.Pool(); … ibmdb.open();

With these changes, we have noticed a decrease in the failure rate but it is still occurring.

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 28 (15 by maintainers)

Most upvoted comments

@bimaljha what fixed it? Would love to read the commit