Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught Attempt to write outside buffer bounds #188

Open
carletonewatkins opened this issue May 7, 2020 · 0 comments
Open

Uncaught Attempt to write outside buffer bounds #188

carletonewatkins opened this issue May 7, 2020 · 0 comments

Comments

@carletonewatkins
Copy link

[Enter steps to reproduce:]

  1. ...set up a new db connection to MySQL server localhost, port 3306, MySQL 5.7

  2. ...Stack is thrown immediately upon trying to execute the connection

Atom: 1.46.0 x64
Electron: 4.2.7
OS: Ubuntu 18.04.4
Thrown From: data-atom package 0.29.1

Stack Trace

Uncaught Attempt to write outside buffer bounds

At internal/buffer.js:51

RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to write outside buffer bounds
    at boundsError (internal/buffer.js:51:11)
    at Buffer.readUInt8 (internal/buffer.js:141:5)
    at Packet.isLast (/packages/data-atom/node_modules/tedious/lib/packet.js:112:29)
    at /packages/data-atom/node_modules/tedious/lib/message-io.js:91:18)
    at ReadablePacketStream.emit (events.js:182:13)
    at addChunk (/packages/data-atom/node_modules/readable-stream/lib/_stream_readable.js:291:12)
    at readableAddChunk (/packages/data-atom/node_modules/readable-stream/lib/_stream_readable.js:278:11)
    at ReadablePacketStream.Readable.push (/packages/data-atom/node_modules/readable-stream/lib/_stream_readable.js:245:10)
    at ReadablePacketStream.Transform.push (/packages/data-atom/node_modules/readable-stream/lib/_stream_transform.js:148:32)
    at ReadablePacketStream._transform (/packages/data-atom/node_modules/tedious/lib/message-io.js:57:16)
    at ReadablePacketStream.Transform._read (/packages/data-atom/node_modules/readable-stream/lib/_stream_transform.js:184:10)
    at ReadablePacketStream.Transform._write (/packages/data-atom/node_modules/readable-stream/lib/_stream_transform.js:172:83)
    at doWrite (/packages/data-atom/node_modules/readable-stream/lib/_stream_writable.js:428:64)
    at writeOrBuffer (/packages/data-atom/node_modules/readable-stream/lib/_stream_writable.js:417:5)
    at ReadablePacketStream.Writable.write (/packages/data-atom/node_modules/readable-stream/lib/_stream_writable.js:334:11)
    at Socket.ondata (_stream_readable.js:666:20)
    at Socket.emit (events.js:182:13)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at Socket.Readable.push (_stream_readable.js:219:10)
    at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)

Commands

     -3:37.8.0 data-atom:edit-connections (div.tool-panel.tree-view)
     -3:11 data-atom:new-connection (input.hidden-input)

Non-Core Packages

atom-python-run 0.9.7 
data-atom 0.29.1 
ide-python 1.5.0 
python-debugger 0.2.0 
script 3.26.0 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant