yoichiro / chromeos-filesystem-cifs

BSD 3-Clause "New" or "Revised" License
56 stars 21 forks source link

Operations taking more time then expected #180

Open flouxnet opened 8 years ago

flouxnet commented 8 years ago

Hi,

I have a bug when trying to mount a share. When I clic on mount, I get all the directories in a popup message to select which one I want to mount. But after that I am getting the error that it is taking more time then expected when I'm on the file explorer.

This is the end of the log where it fails

`background.js:6524 Header {types: Types, protocol: "SMB", command: 50, errorClass: 0, errorCode: 0…} background.js:6524 QueryPathInfoResponse {types: Types, responseUtils: ResponseUtils, file: File} background.js:6517 Object {metadata: Object} background.js:6517 TaskQueue: consumeTask - queue: empty background.js:6517 TaskQueue: addTask - Call consume task: length=1 background.js:6517 TaskQueue: consumeTask - execute task: length=1 background.js:19032 onReadDirectoryRequested Object {directoryPath: "/", fileSystemId: "cifsfs://sstqfiler:445/HQ@xxxxxxxxxxxxxx/xxxxxxxxxxxxxxxx", requestId: 2} background.js:6517 Client#readDirectory: \ background.js:6524 Header {types: Types, protocol: "SMB", command: 50, errorClass: 0, errorCode: 0…}command: 50errorClass: 0errorCode: 0flag2: 51267flag: 24multiplexId: 5ntStyleErrorCode: 0processId: 2protocol: "SMB"treeId: 64types: TypesuserId: 2048proto: Header background.js:6524 TransactionRequest {types: Types, transactionName: null, flags: 0, timeout: 0, parameter: Object…} background.js:6524 Packet {types: Types, data: ArrayBuffer, dataLength: 86, packetHelper: PacketHelper}dataLength: 86data: ArrayBufferpacketHelper: PacketHelpertypes: Typesproto: Packet background.js:6517 writePacket background.js:6524 FF53 4D42 3200 0000 0018 43C8 0000 0000 .SMB2.....C..... 0000 0000 0000 0000 4000 0200 0008 0500 ........@....... 0F14 0000 0000 0400 0400 0000 0000 0000 ................ 0000 0014 0042 0000 0000 0001 0001 0015 .....B.......... 0000 1600 C800 0000 0401 0000 0000 5C00 ............... 5C00 2A00 0000 .*...

background.js:6517 readPacket background.js:6517 _readPacketSize background.js:6517 _readPacketSize - 2 background.js:6517 readPacket: 216 background.js:6524 FF53 4D42 3200 0000 0098 0180 0000 0000 .SMB2........... 0000 0000 0000 0000 4000 0200 0008 0500 ........@....... 0A0A 0094 0000 000A 0038 0000 0094 0044 .........8.....D 0000 0000 00A1 008D 0200 0100 0100 0000 ................ 5E00 0000 9400 0000 0300 0000 9E94 0E8D ^............... D268 D101 9E94 0E8D D268 D101 9E94 0E8D .h.......h...... D268 D101 9E94 0E8D D268 D101 0000 0000 .h.......h...... 0000 0000 4000 0000 0000 0000 2000 0000 ....@....... ... 3400 0000 0000 0000 1800 4E00 4F00 5500 4.........N.O.U. 5600 4500 4100 7E00 3100 2E00 5400 5800 V.E.A.~.1...T.X. 5400 4E00 6F00 7500 7600 6500 6100 7500 T.N.o.u.v.e.a.u. 2000 6400 6F00 6300 7500 6D00 6500 6E00 .d.o.c.u.m.e.n. 7400 2000 7400 6500 7800 7400 6500 2E00 t. .t.e.x.t.e... 7400 7800 7400 0000 t.x.t...` Here you can see the name of the file ("Nouveau document texte.txt") that is on the share and then I get :

extensions::uncaught_exception_handler:8 Error in event handler for sockets.tcp.onReceive: RangeError: Offset is outside the bounds of the DataView at Types.getFixed4BytesValue (chrome-extension://mfhnnfciefdpolbelmfkpmhhmlkehbdf/background.js:6997:27) at ResponseUtils.loadData (chrome-extension://mfhnnfciefdpolbelmfkpmhhmlkehbdf/background.js:9709:47) at loadData (chrome-extension://mfhnnfciefdpolbelmfkpmhhmlkehbdf/background.js:12705:43) at FindFirst2Response.load (chrome-extension://mfhnnfciefdpolbelmfkpmhhmlkehbdf/background.js:12664:18) at Protocol.parseFindFirst2ResponsePacket (chrome-extension://mfhnnfciefdpolbelmfkpmhhmlkehbdf/background.js:14391:28) at null.<anonymous> (chrome-extension://mfhnnfciefdpolbelmfkpmhhmlkehbdf/background.js:16398:44) at null.<anonymous> (chrome-extension://mfhnnfciefdpolbelmfkpmhhmlkehbdf/background.js:15258:21) at ChromeSocket2.fetch (chrome-extension://mfhnnfciefdpolbelmfkpmhhmlkehbdf/background.js:15487:26) at ChromeSocket2.fetch (chrome-extension://mfhnnfciefdpolbelmfkpmhhmlkehbdf/background.js:15489:26)handler @ extensions::uncaught_exception_handler:8(anonymous function) @ extensions::uncaught_exception_handler:100EventImpl.dispatch_ @ extensions::event_bindings:376dispatchArgs @ extensions::event_bindings:243dispatchEvent @ extensions::event_bindings:252

Thanks for everything :)