public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "alexander.lelyakin at googlemail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/99737] New: [modules] malloc(): smallbin double linked list corrupted Date: Tue, 23 Mar 2021 20:14:24 +0000 [thread overview] Message-ID: <bug-99737-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99737 Bug ID: 99737 Summary: [modules] malloc(): smallbin double linked list corrupted Product: gcc Version: 11.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: alexander.lelyakin at googlemail dot com Target Milestone: --- /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header sstream /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cstring /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header locale /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header numeric /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header limits /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header string_view /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header cuchar /usr/local/bin/g++ -std=c++20 -fmodules-ts -x c++-system-header filesystem ---- malloc(): smallbin double linked list corrupted In file included from /usr/local/include/c++/11.0.1/bits/shared_ptr_base.h:53, from /usr/local/include/c++/11.0.1/bits/shared_ptr.h:53, from /usr/local/include/c++/11.0.1/bits/fs_path.h:46, from /usr/local/include/c++/11.0.1/filesystem:45: /usr/local/include/c++/11.0.1/bits/allocated_ptr.h:58:66: internal compiler error: Aborted 58 | typename _Req = _Require<is_same<_Ptr, value_type*>>> | ^~ 0x110107f crash_signal ../../gcc/gcc/toplev.c:327 0x1d46680 xrealloc ../../gcc/libiberty/xmalloc.c:179 0xa6d283 void va_heap::reserve<tree_node*>(vec<tree_node*, va_heap, vl_embed>*&, unsigned int, bool) ../../gcc/gcc/vec.h:290 0xa6d283 vec<tree_node*, va_heap, vl_ptr>::reserve(unsigned int, bool) ../../gcc/gcc/vec.h:1778 0xa6d283 vec<tree_node*, va_heap, vl_ptr>::safe_push(tree_node* const&) ../../gcc/gcc/vec.h:1887 0xa6d283 trees_in::post_process(tree_node*) ../../gcc/gcc/cp/module.cc:2956 0xa6d283 trees_in::read_function_def(tree_node*, tree_node*) ../../gcc/gcc/cp/module.cc:11495 0xa6f3e1 module_state::read_cluster(unsigned int) ../../gcc/gcc/cp/module.cc:14855 0xa6fa5d module_state::load_section(unsigned int, binding_slot*) ../../gcc/gcc/cp/module.cc:18117 0xa6fb1f module_state::lazy_load(unsigned int, binding_slot*) ../../gcc/gcc/cp/module.cc:18778 0xa72d37 lazy_load_pendings(tree_node*) ../../gcc/gcc/cp/module.cc:18871 0xb2237f lookup_template_class_1 ../../gcc/gcc/cp/pt.c:9799 0xb23f4c lookup_template_class(tree_node*, tree_node*, tree_node*, tree_node*, int, int) ../../gcc/gcc/cp/pt.c:10237 0xb4c28b finish_template_type(tree_node*, tree_node*, int) ../../gcc/gcc/cp/semantics.c:3563 0xabe061 cp_parser_template_id ../../gcc/gcc/cp/parser.c:17458 0xabe24b cp_parser_class_name ../../gcc/gcc/cp/parser.c:24685 0xab57ba cp_parser_qualifying_entity ../../gcc/gcc/cp/parser.c:7002 0xab57ba cp_parser_nested_name_specifier_opt ../../gcc/gcc/cp/parser.c:6684 0xacaf34 cp_parser_simple_type_specifier ../../gcc/gcc/cp/parser.c:18851 0xaa9cdd cp_parser_type_specifier ../../gcc/gcc/cp/parser.c:18509 Please submit a full bug report, with preprocessed source if appropriate. Please include the complete backtrace with any bug report. See <https://gcc.gnu.org/bugs/> for instructions. ---- g++ (GCC) 11.0.1 20210323 (experimental) Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
next reply other threads:[~2021-03-23 20:14 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-03-23 20:14 alexander.lelyakin at googlemail dot com [this message] 2021-03-27 12:23 ` [Bug c++/99737] " alexander.lelyakin at googlemail dot com 2021-03-27 19:44 ` alexander.lelyakin at googlemail dot com 2021-03-27 19:50 ` alexander.lelyakin at googlemail dot com 2021-04-01 5:30 ` alexander.lelyakin at googlemail dot com 2021-12-30 16:09 ` pinskia at gcc dot gnu.org 2024-03-07 19:56 ` ppalka at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-99737-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).