-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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 Error: Expecting promise in table. 0 #2033
Comments
When printing out Highly suspecting it related with the shifting logic of shared_queue. The content of the very last message that triggers e.g. for Uint8Array [ 20, 0, 0, 0, 16, 0, 18, 0, 8, 0, 0, 0, 0, 0, 0, 0, 7, 0, 12, 0, 16, 0, 0, 0, 0, 0, 0, 30, 254, 0, 0, 0, 12, 0, 0, 0, 0, 0, 6, 0, 8, 0, 4, 0, 6, 0, 0, 0, 130, 0, 0, 0 ] Uint8Array [ 20, 0, 0, 0, 16, 0, 18, 0, 8, 0, 0, 0, 0, 0, 0, 0, 7, 0, 12, 0, 16, 0, 0, 0, 0, 0, 0, 30, 0, 1, 0, 0, 12, 0, 0, 0, 0, 0, 6, 0, 8, 0, 4, 0, 6, 0, 0, 0, 131, 0, 0, 0 ] Uint8Array [ 20, 0, 0, 0, 16, 0, 18, 0, 8, 0, 0, 0, 0, 0, 0, 0, 7, 0, 12, 0, 16, 0, 0, 0, 0, 0, 0, 30, 2, 1, 0, 0, 12, 0, 0, 0, 0, 0, 6, 0, 8, 0, 4, 0, 6, 0, 0, 0, 132, 0, 0, 0 ] Uint8Array [ 32, 22, 0, 0, 84, 22, 0, 0, 136, 22, 0, 0, 188, 22, 0, 0, 240, 22, 0, 0, 36, 23, 0, 0, 88, 23, 0, 0, 140, 23, 0, 0, 192, 23, 0, 0, 244, 23, 0, 0, 40, 24, 0, 0, 92, 24, 0, 0, 144, 24, 0, 0 ] Will try investigate the actual flatbuffers layout logic tomorrow to see what is going on. |
I've been poking into the typescript api with flatbuffers. Not sure if I understand enough of it yet to give any feedback, but it seems like some of the flatbuffers created in the api are missing some fields. E.g. https://github.com/denoland/deno/blob/master/js/fetch.ts#L327 Could this be shifting some of the buffers around? A few of the other ts apis with flatbuffers also seem to miss adding some fields. |
env
description
got
cmdId
on here get 0. I tried to setlet nextCmdId = 1
and got the same error. MaybehandleAsyncMsgFromRust
had been called with invalid argument.The text was updated successfully, but these errors were encountered: