Code required to recreate a node crash using mqlight
- Either download and run MQ Light standalone
https://developer.ibm.com/messaging/mq-light/ or start up a container
docker run --rm -it -e LICENSE=accept -p 5672:5672 ibmcom/mqlight - Clone this repo then run
npm install - In one terminal run
node app.js - In another terminal run
./upload.sh - Wait
The crash should occur with a minute or 2. The console output is as follows:
node.js:342
callback = tock.callback;
^
TypeError: Cannot read property 'callback' of undefined
at process._tickCallback (node.js:342:26)