Skip to content

erts: Fix crash in binary_to_term - #11425

Merged
sverker merged 1 commit into
erlang:maintfrom
sverker:sverker/erts/binary_to_term-crash/OTP-20281
Aug 12, 2026
Merged

erts: Fix crash in binary_to_term#11425
sverker merged 1 commit into
erlang:maintfrom
sverker:sverker/erts/binary_to_term-crash/OTP-20281

Conversation

@sverker

@sverker sverker commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

Fix #11404

@sverker sverker self-assigned this Aug 4, 2026
@sverker sverker added team:VM Assigned to OTP team VM fix labels Aug 4, 2026
@github-actions

github-actions Bot commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

CT Test Results

    3 files    136 suites   50m 40s ⏱️
1 685 tests 1 629 ✅ 56 💤 0 ❌
2 328 runs  2 254 ✅ 74 💤 0 ❌

Results for commit e79b04b.

♻️ This comment has been updated with latest results.

To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass.

See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally.

Artifacts

// Erlang/OTP Github Action Bot

@sverker sverker added the testing currently being tested, tag is used by OTP internal CI label Aug 5, 2026
Comment thread erts/emulator/beam/external.c Outdated
@sverker
sverker force-pushed the sverker/erts/binary_to_term-crash/OTP-20281 branch from 76f869a to a33c1e0 Compare August 5, 2026 13:30
@jhogberg

Copy link
Copy Markdown
Contributor
Thread 1 (Thread 0x7fd767c06700 (LWP 40948)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007fd7ab717859 in __GI_abort () at abort.c:79
#2  0x000055785ae2f671 in erl_assert_error (expr=expr@entry=0x55785b054acf "ctx->state < B2TDecodeInit", func=func@entry=0x55785b054a60 <__func__.28824> "binary_to_term_int", file=file@entry=0x55785b054abf "beam/external.c", line=line@entry=2130) at sys/unix/sys.c:1082
#3  0x000055785ad2a0d3 in binary_to_term_int (p=0x55785bcbcad8, bin=140563127121850, ctx=ctx@entry=0x7fd767c05b80) at beam/external.c:2112
#4  0x000055785ad335f4 in binary_to_term_1 (A__p=, BIF__ARGS=, A__I=) at beam/external.c:2156
#5  0x000055785ac2d7df in process_main (esdp=0x2, esdp@entry=0x7fd7697dd7c0) at x86_64-pc-linux-gnu/opt/emu/beam_hot.h:291
#6  0x000055785ac0381e in sched_thread_func (vesdp=0x7fd7697dd7c0) at beam/erl_process.c:8799
#7  0x000055785afa4913 in thr_wrapper (vtwd=0x7ffd4a8c4300) at pthread/ethread.c:118
#8  0x00007fd7ab8ef609 in start_thread (arg=) at pthread_create.c:477
#9  0x00007fd7ab814353 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

@sverker
sverker force-pushed the sverker/erts/binary_to_term-crash/OTP-20281 branch from 660daa7 to e79b04b Compare August 11, 2026 11:31
@sverker
sverker requested a review from jhogberg August 11, 2026 11:39
@sverker
sverker merged commit 49a4686 into erlang:maint Aug 12, 2026
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix team:VM Assigned to OTP team VM testing currently being tested, tag is used by OTP internal CI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants