Skip to content
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

Stack overflow in Type_binary.Decode (?) #107

Open
smondet opened this issue Mar 13, 2024 · 0 comments
Open

Stack overflow in Type_binary.Decode (?) #107

smondet opened this issue Mar 13, 2024 · 0 comments

Comments

@smondet
Copy link

smondet commented Mar 13, 2024

This happened with Tezos v15.1 (old version) which uses repr 0.6.1
(see here)

Reporting here in case it helps because I see a non-tail-recursive function at
type_binary.ml:172 but maybe the stack trace is just messed up (or the outer List.map is the culprit?).

Thread 2 killed on uncaught exception Stack_overflow
Raised by primitive operation at Repr__Binary.Mono_container.decode.sub in file "src/repr/binary.ml", line 232, characters 18-34
Called from Repr__Type_binary.Decode.map.(fun) in file "src/repr/type_binary.ml", line 211, characters 32-56
Called from Index__Data.Entry.Make.decode_key in file "src/data.ml", line 79, characters 16-35
Called from Index__Log_file.Make.key_of_offset in file "src/log_file.ml", line 74, characters 8-68
Called from Index__Log_file.Make.replace_memory.(fun) in file "src/log_file.ml", line 128, characters 25-56
Called from Stdlib__List.map in file "list.ml", line 92, characters 20-23
Called from Stdlib__List.map in file "list.ml", line 92, characters 32-39
Called from Stdlib__List.map in file "list.ml", line 92, characters 32-39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant