You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting a segfault and/or stack overflow whenever I try to deserialize my data using any serde compatible library (as far as i can tell, serialization works fine), I tried ron and serde_json.
Oh, i found these repeating lines in the stacktrace:
#33 0x0000560e4cdef65b in serde::de::impls::{impl#197}::deserialize<cofd_schema::prerequisites::Prerequisite, serde::__private::de::content::ContentRefDeserializer<serde_json::error::Error>> (
deserializer=...) at /home/m00n/.local/share/cargo/registry/src/index.crates.io-6f17d22bba15001f/serde-1.0.190/src/de/impls.rs:762
#34 0x0000560e4cdc4a15 in cofd_schema::prerequisites::_::{impl#0}::deserialize::{closure#0}<serde::__private::de::content::ContentRefDeserializer<serde_json::error::Error>> ()
at /home/m00n/.local/share/cargo/git/checkouts/cofd-miner-56c4e31c2b72a1f5/961d25b/cofd-schema/src/prerequisites.rs:17
#35 0x0000560e4cdc4417 in cofd_schema::prerequisites::_::{impl#0}::deserialize<serde::__private::de::content::ContentRefDeserializer<serde_json::error::Error>> (__deserializer=...)
at /home/m00n/.local/share/cargo/git/checkouts/cofd-miner-56c4e31c2b72a1f5/961d25b/cofd-schem/src/prerequisites.rs:17
I'm getting a segfault and/or stack overflow whenever I try to deserialize my data using any serde compatible library (as far as i can tell, serialization works fine), I tried
ron
andserde_json
.Definitions: (Should the two main files involved)
Example json:
(Not an actual sample, but I can't post that online and this still gives the error)
Example deserialization code:
Output:
The text was updated successfully, but these errors were encountered: