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

Regular expression operation case segmentation fault #56371

Open
gilb77 opened this issue Dec 26, 2024 · 0 comments
Open

Regular expression operation case segmentation fault #56371

gilb77 opened this issue Dec 26, 2024 · 0 comments

Comments

@gilb77
Copy link

gilb77 commented Dec 26, 2024

Version

22.6.0

Platform

Run docker container with image node:22.6.0-bullseye-slim in k8s

Subsystem

No response

What steps will reproduce the bug?

I don't know what the root cause for this bug

How often does it reproduce? Is there a required condition?

Reproduce every few hours without any reason

What do you see instead?

The nodejs crashed with the following stack trace:

/lib/x86_64-linux-gnu/libpthread.so.0(+0x13140)[0x7f26aa69c140] node(_ZN2v88internal10TickSample14GetStackSampleEPNS0_7IsolateEPNS_13RegisterStateENS1_17RecordCEntryFrameEPPvmPNS_10SampleInfoEPNS_8StateTagEb+0x74)[0x1834a44] node(_ZN2v88internal10TickSample4InitEPNS0_7IsolateERKNS_13RegisterStateENS1_17RecordCEntryFrameEbbNS_4base9TimeDeltaE+0x53)[0x1834da3] node(_ZN2v88internal10CpuSampler11SampleStackERKNS_13RegisterStateE+0xf7)[0x17ffcb7] node(_ZN2v87sampler14SamplerManager8DoSampleERKNS_13RegisterStateE+0xdf)[0x15b4c1f] node(_ZN2v87sampler13SignalHandler20HandleProfilerSignalEiP9siginfo_tPv+0x6b)[0x15b4c9b] /lib/x86_64-linux-gnu/libpthread.so.0(+0x13140)[0x7f26aa69c140] /usr/lib/x86_64-linux-gnu/libstdc++.so.6(_ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0RS+0x279)[0x7f26aa8c5229] node[0x1845bb0] node(_ZN2v88internal34RegExpBytecodePeepholeOptimization16OptimizeBytecodeEPNS0_7IsolateEPNS0_4ZoneENS0_6HandleINS0_6StringEEEPKhiRKNS0_16ZoneUnorderedMapIiiNS_4base4hashIiEESt8equal_toIiEEE+0x297)[0x18466c7] node(_ZN2v88internal23RegExpBytecodeGenerator7GetCodeENS0_6HandleINS0_6StringEEE+0xf7)[0x1840447] node(_ZN2v88internal14RegExpCompiler8AssembleEPNS0_7IsolateEPNS0_20RegExpMacroAssemblerEPNS0_10RegExpNodeEiNS0_6HandleINS0_6StringEEE+0x1ce)[0x185830e] node(_ZN2v88internal10RegExpImpl7CompileEPNS0_7IsolateEPNS0_4ZoneEPNS0_17RegExpCompileDataENS_4base5FlagsINS0_10RegExpFlagEiiEENS0_6HandleINS0_6StringEEESE_bRj+0x329)[0x1883489] node(_ZN2v88internal10RegExpImpl15CompileIrregexpEPNS0_7IsolateENS0_6HandleINS0_8JSRegExpEEENS4_INS0_6StringEEEb+0x173)[0x1883ba3] node(_ZN2v88internal10RegExpImpl15IrregexpPrepareEPNS0_7IsolateENS0_6HandleINS0_8JSRegExpEEENS4_INS0_6StringEEE+0x147)[0x1884647] node(_ZN2v88internal10RegExpImpl12IrregexpExecEPNS0_7IsolateENS0_6HandleINS0_8JSRegExpEEENS4_INS0_6StringEEEiNS4_INS0_15RegExpMatchInfoEEENS0_6RegExp10ExecQuirksE+0x60)[0x1884780] node(_ZN2v88internal18Runtime_RegExpExecEiPmPNS0_7IsolateE+0x95)[0x18ac325] [0x7f2143eac576]
Segmentation fault

Additional information

Something the nodejs crash with this error too: corrupted double-linked list

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