luizperes / simdjson_nodejs

Node.js bindings for the simdjson project: "Parsing gigabytes of JSON per second"
https://arxiv.org/abs/1902.08318
Apache License 2.0
549 stars 25 forks source link

what(): stoi Aborted (core dumped) #46

Open aayush-sib opened 3 years ago

aayush-sib commented 3 years ago

Hi, I have implemented simdjson in my server to parse the incoming body. But after some requests server breaks with the error. Also, I am not able to replicate the issue at my end but this is affecting our clients.

terminate called after throwing an instance of 'std::invalid_argument'
  what():  stoi
Aborted (core dumped)

@luizperes Can you help me with this?

luizperes commented 2 years ago

Hi @aayush-sib, I missed the notification for this issue.

I think that we had a version with this problem but by now it is potentially fixed. Could you take another look at it?

jcuenod commented 1 year ago

I get this error when I supply an invalid path. Is your path dynamic?