[2013-12-25 07:51:24.420] [ERROR] console - Caught exception: Error: sourceEnd out of bounds
at Buffer.copy (buffer.js:530:11)
at copyArray (/Users/Tom/Desktop/github/chatofpomelo-websocket/game-server/node_modules/pomelo/node_modules/pomelo-protocol/lib/protocol.js:259:11)
at Object.Package.decode (/Users/Tom/Desktop/github/chatofpomelo-websocket/game-server/node_modules/pomelo/node_modules/pomelo-protocol/lib/protocol.js:135:5)
at WebSocket.Socket.state (/Users/Tom/Desktop/github/chatofpomelo-websocket/game-server/node_modules/pomelo/lib/connectors/hybridsocket.js:32:21)
at WebSocket.EventEmitter.emit (events.js:99:17)
at Receiver.self._receiver.ontext (/Users/Tom/Desktop/github/chatofpomelo-websocket/game-server/node_modules/pomelo/node_modules/ws/lib/WebSocket.js:544:10)
at Receiver.parse (/Users/Tom/Desktop/github/chatofpomelo-websocket/game-server/node_modules/pomelo/node_modules/ws/lib/Receiver.hixie.js:141:8)
at doAdd (/Users/Tom/Desktop/github/chatofpomelo-websocket/game-server/node_modules/pomelo/node_modules/ws/lib/Receiver.hixie.js:100:19)
at Receiver.add (/Users/Tom/Desktop/github/chatofpomelo-websocket/game-server/node_modules/pomelo/node_modules/ws/lib/Receiver.hixie.js:104:22)
at Socket.firstHandler (/Users/Tom/Desktop/github/chatofpomelo-websocket/game-server/node_modules/pomelo/node_modules/ws/lib/WebSocket.js:524:22)
SOLVE:
升级pomelo 到 0.8.0, 暂时没有出现了
希望pomelo 越来越稳定,现在感觉调试就是噩梦