public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Tom Tromey <tom@tromey.com>
Cc: gdb-patches@sourceware.org, luis.machado@arm.com
Subject: Re: Two observations using GDB 13 snapshot
Date: Thu, 29 Dec 2022 21:13:10 +0200	[thread overview]
Message-ID: <83wn6a6n21.fsf@gnu.org> (raw)
In-Reply-To: <87k02aaxc8.fsf@tromey.com> (message from Tom Tromey on Thu, 29 Dec 2022 11:17:27 -0700)

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

> From: Tom Tromey <tom@tromey.com>
> Cc: Tom Tromey <tom@tromey.com>,  gdb-patches@sourceware.org,
>   luis.machado@arm.com
> Date: Thu, 29 Dec 2022 11:17:27 -0700
> 
> I wonder if just randomly interrupting gdb a few times during that 2
> minutes and doing a "bt" would be more informative.

Done, see the attached.


[-- Attachment #2: dwarf2-read-debug-session.txt --]
[-- Type: text/plain, Size: 108383 bytes --]

Thread 4 received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 1784.0x1074]
0x7c90120f in ntdll!DbgBreakPoint () from C:\WINDOWS\system32\ntdll.dll
(gdb) thread 1
[Switching to thread 1 (Thread 1784.0x10c4)]
#0  0x004e78f0 in cpnameyylex (lvalp=lvalp@entry=0x1df1e468, state=0x1df1f918)
    at cp-name-parser.y:1930
1930    }
(gdb) bt
#0  0x004e78f0 in cpnameyylex (lvalp=lvalp@entry=0x1df1e468, state=0x1df1f918)
    at cp-name-parser.y:1930
#1  0x004e8e10 in cpnameyyparse (state=<optimized out>,
    state@entry=0x1df1f918) at cp-name-parser.c.tmp:1857
#2  0x004eb45a in cp_demangled_name_to_comp (
    demangled_name=demangled_name@entry=0x2a16a170 "new_allocator<std::unique_ptr<objfile, std::default_delete<objfile> > >", errmsg=errmsg@entry=0x0)
    at cp-name-parser.y:2044
#3  0x004f279c in cp_canonicalize_string (
    string=0x2a16a170 "new_allocator<std::unique_ptr<objfile, std::default_delete<objfile> > >") at cp-support.c:634
#4  0x005117ff in cooked_index::do_finalize (this=<optimized out>)
    at dwarf2/cooked-index.c:224
#5  0x00511912 in <lambda()>::operator() (__closure=0x1df1fa10)
    at dwarf2/cooked-index.c:123
#6  std::_Function_handler<void(), cooked_index::finalize()::<lambda()> >::_M_invoke (__functor=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:300
#7  std::function<void ()>::operator()() const (this=0x1df1fa10)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:690
#8  gdb::thread_pool::post_task(std::function<void ()>&&) (
    this=<optimized out>, func=...) at ./../gdbsupport/thread-pool.h:132
#9  cooked_index::finalize (this=<optimized out>) at dwarf2/cooked-index.c:124
#10 0x0051198f in cooked_index_vector::cooked_index_vector (this=0x217fcdd8,
    vec=...) at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/unique_ptr.h:154
#11 0x00a08df6 in dwarf2_build_psymtabs_hard (per_objfile=<optimized out>)
    at dwarf2/read.c:7185
#12 dwarf2_build_psymtabs (objfile=<optimized out>) at dwarf2/read.c:5434
#13 cooked_index_functions::read_partial_symbols (this=<optimized out>,
    objfile=<optimized out>) at dwarf2/read.c:18593
#14 0x00782929 in objfile::require_partial_symbols (
    this=this@entry=0x1e7764f8, verbose=<optimized out>, verbose@entry=false)
    at symfile-debug.c:541
#15 0x0078a99e in read_symbols (objfile=objfile@entry=0x1e7764f8,
    add_flags=..., add_flags@entry=...) at symfile.c:795
#16 0x00789e50 in syms_from_objfile_1 (add_flags=..., addrs=0x1df1fc70,
    objfile=0x1e7764f8) at symfile.c:968
#17 syms_from_objfile (add_flags=..., addrs=<optimized out>,
    objfile=0x1e7764f8) at symfile.c:985
#18 symbol_file_add_with_addrs (abfd=..., name=<optimized out>,
    name@entry=0x1e6c46a8 "./gdb.exe", add_flags=..., add_flags@entry=...,
    addrs=<optimized out>, addrs@entry=0x0, flags=flags@entry=...,
    parent=<optimized out>, parent@entry=0x0) at symfile.c:1088
#19 0x0078bbd8 in symbol_file_add_from_bfd (parent=0x0, flags=..., addrs=0x0,
    add_flags=..., name=0x1e6c46a8 "./gdb.exe", abfd=...) at symfile.c:1168
#20 symbol_file_add (name=name@entry=0x1e6c46a8 "./gdb.exe", add_flags=...,
    add_flags@entry=..., addrs=addrs@entry=0x0, flags=..., flags@entry=...)
    at symfile.c:1181
#21 0x0078bc51 in symbol_file_add_main_1 (args=0x1e6c46a8 "./gdb.exe",
    add_flags=..., flags=..., reloff=0) at symfile.c:1205
#22 0x0078bce5 in symbol_file_add_main (args=0x1e6c46a8 "./gdb.exe",
    add_flags=...) at symfile.c:1196
#23 0x00663ce2 in catch_command_errors (
    command=command@entry=0x663c90 <symbol_file_add_main_adapter(char const*, int)>, arg=0x1e6c46a8 "./gdb.exe", from_tty=1,
    do_bp_actions=do_bp_actions@entry=false) at main.c:513
#24 0x00666746 in captured_main_1 (context=<optimized out>,
    context@entry=0x1df1ff64) at main.c:1213
#25 0x00666878 in captured_main (data=0x1df1ff64) at main.c:1320
#26 gdb_main (args=args@entry=0x1df1ff64) at main.c:1345
#27 0x00a7ceba in main (argc=3, argv=0x1e6c0d60) at gdb.c:32
(gdb) c
Continuing.
[Thread 1784.0x1074 exited with code 0]
[New Thread 1784.0x14a0]

Thread 6 received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 1784.0x290]
0x7c90120f in ntdll!DbgBreakPoint () from C:\WINDOWS\system32\ntdll.dll
(gdb) thread 1
[Switching to thread 1 (Thread 1784.0x10c4)]
#0  0x77c348d5 in msvcrt!__crtLCMapStringA ()
   from C:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0  0x77c348d5 in msvcrt!__crtLCMapStringA ()
   from C:\WINDOWS\system32\msvcrt.dll
#1  0x77c348cd in msvcrt!__crtLCMapStringA ()
   from C:\WINDOWS\system32\msvcrt.dll
#2  0x77c30045 in wmktemp () from C:\WINDOWS\system32\msvcrt.dll
#3  0x77c1c992 in tolower () from C:\WINDOWS\system32\msvcrt.dll
#4  0x77c462a1 in stricmp () from C:\WINDOWS\system32\msvcrt.dll
#5  0x005107d3 in strcasecmp (__s2=<optimized out>, __s1=<optimized out>)
    at d:/usr/include/strings.h:92
#6  cooked_index_entry::operator< (this=<optimized out>, other=...)
    at ./dwarf2/cooked-index.h:150
#7  <lambda(const cooked_index_entry*, const cooked_index_entry*)>::operator()
    (__closure=<optimized out>, b=<optimized out>, a=<optimized out>)
    at dwarf2/cooked-index.c:249
#8  __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >::operator()<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> > > (this=<optimized out>, __it2=..., __it1=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/predefined_ops.h:143
#9  std::__unguarded_partition<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__pivot=..., __last=0xffffffff, __first=0x21f63390, __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1904
#10 std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__last=0x35e8e7f0, __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1922
#11 std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >)
    (__first=<error reading variable: Cannot access memory at address 0x1>,
    __first@entry=0x366c82b0, __last=__last@entry=0x35e8e7f0,
    __depth_limit=18, __depth_limit@entry=19, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1952
#12 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x39baaf30,
    __last=__last@entry=0x35e8e7f0, __depth_limit=19, __depth_limit@entry=20,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#13 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x35db1a70,
    __last=__last@entry=0x358fef30, __depth_limit=20, __depth_limit@entry=24,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#14 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x35f58dd0,
    __last=__last@entry=0x358fef30, __depth_limit=24, __depth_limit@entry=25,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#15 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x395c88d0,
    __last=__last@entry=0x21fbce10, __depth_limit=25, __depth_limit@entry=27,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#16 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x35d43150,
    __last=__last@entry=0x2233f390, __depth_limit=27, __depth_limit@entry=29,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#17 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x35c42f50,
    __last=__last@entry=0x378cc3b0, __depth_limit=29, __depth_limit@entry=31,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#18 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x37207470,
    __last=__last@entry=0x38504390, __depth_limit=31, __depth_limit@entry=35,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#19 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x35f66a50, __last=__last@entry=0x0,
    __depth_limit=35, __depth_limit@entry=37, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#20 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x363df850, __last=__last@entry=0x0,
    __depth_limit=37, __depth_limit@entry=38, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#21 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x37382a70, __last=__last@entry=0x0,
    __depth_limit=38, __depth_limit@entry=39, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#22 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x3873cf10, __last=__last@entry=0x0,
    __depth_limit=39, __depth_limit@entry=40, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#23 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x2145fb08, __last=__last@entry=0x0,
    __depth_limit=40, __depth_limit@entry=41, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#24 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x37e76f10, __last=__last@entry=0x0,
    __depth_limit=41, __depth_limit@entry=42, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#25 0x00511672 in std::__sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__comp=..., __last=..., __first=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1967
#26 std::sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > (__last=..., __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:4860
#27 cooked_index::do_finalize (this=<optimized out>)
    at dwarf2/cooked-index.c:246
#28 0x00511912 in <lambda()>::operator() (__closure=0x1df1fa10)
    at dwarf2/cooked-index.c:123
#29 std::_Function_handler<void(), cooked_index::finalize()::<lambda()> >::_M_invoke (__functor=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:300
#30 std::function<void ()>::operator()() const (this=0x1df1fa10)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:690
#31 gdb::thread_pool::post_task(std::function<void ()>&&) (
    this=<optimized out>, func=...) at ./../gdbsupport/thread-pool.h:132
#32 cooked_index::finalize (this=<optimized out>) at dwarf2/cooked-index.c:124
#33 0x0051198f in cooked_index_vector::cooked_index_vector (this=0x217fcdd8,
    vec=...) at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/unique_ptr.h:154
#34 0x00a08df6 in dwarf2_build_psymtabs_hard (per_objfile=<optimized out>)
    at dwarf2/read.c:7185
#35 dwarf2_build_psymtabs (objfile=<optimized out>) at dwarf2/read.c:5434
#36 cooked_index_functions::read_partial_symbols (this=<optimized out>,
    objfile=<optimized out>) at dwarf2/read.c:18593
#37 0x00782929 in objfile::require_partial_symbols (
    this=this@entry=0x1e7764f8, verbose=<optimized out>, verbose@entry=false)
    at symfile-debug.c:541
#38 0x0078a99e in read_symbols (objfile=objfile@entry=0x1e7764f8,
    add_flags=..., add_flags@entry=...) at symfile.c:795
#39 0x00789e50 in syms_from_objfile_1 (add_flags=..., addrs=0x1df1fc70,
    objfile=0x1e7764f8) at symfile.c:968
#40 syms_from_objfile (add_flags=..., addrs=<optimized out>,
    objfile=0x1e7764f8) at symfile.c:985
#41 symbol_file_add_with_addrs (abfd=..., name=<optimized out>,
    name@entry=0x1e6c46a8 "./gdb.exe", add_flags=..., add_flags@entry=...,
    addrs=<optimized out>, addrs@entry=0x0, flags=flags@entry=...,
    parent=<optimized out>, parent@entry=0x0) at symfile.c:1088
#42 0x0078bbd8 in symbol_file_add_from_bfd (parent=0x0, flags=..., addrs=0x0,
    add_flags=..., name=0x1e6c46a8 "./gdb.exe", abfd=...) at symfile.c:1168
#43 symbol_file_add (name=name@entry=0x1e6c46a8 "./gdb.exe", add_flags=...,
    add_flags@entry=..., addrs=addrs@entry=0x0, flags=..., flags@entry=...)
    at symfile.c:1181
#44 0x0078bc51 in symbol_file_add_main_1 (args=0x1e6c46a8 "./gdb.exe",
    add_flags=..., flags=..., reloff=0) at symfile.c:1205
#45 0x0078bce5 in symbol_file_add_main (args=0x1e6c46a8 "./gdb.exe",
    add_flags=...) at symfile.c:1196
#46 0x00663ce2 in catch_command_errors (
    command=command@entry=0x663c90 <symbol_file_add_main_adapter(char const*, int)>, arg=0x1e6c46a8 "./gdb.exe", from_tty=1,
    do_bp_actions=do_bp_actions@entry=false) at main.c:513
#47 0x00666746 in captured_main_1 (context=<optimized out>,
    context@entry=0x1df1ff64) at main.c:1213
#48 0x00666878 in captured_main (data=0x1df1ff64) at main.c:1320
#49 gdb_main (args=args@entry=0x1df1ff64) at main.c:1345
#50 0x00a7ceba in main (argc=3, argv=0x1e6c0d60) at gdb.c:32
(gdb) c
Continuing.[]
[New Thread 1784.0x658]
Thread 7 received signal SIGTRAP, Trace/breakpoint trap.]
0x7c90120f in ntdll!DbgBreakPoint () from C:\WINDOWS\system32\ntdll.dll
(gdb) thread 1
[Switching to thread 1 (Thread 1784.0x10c4)]
#0  0x7c87f106 in KERNEL32!GetCurrencyFormatW ()
   from C:\WINDOWS\system32\kernel32.dll
(gdb) bt
#0  0x7c87f106 in KERNEL32!GetCurrencyFormatW ()
   from C:\WINDOWS\system32\kernel32.dll
#1  0x7c84b7ed in SetUnhandledExceptionFilter ()
   from C:\WINDOWS\system32\kernel32.dll
#2  0x77c34878 in msvcrt!__crtLCMapStringA ()
   from C:\WINDOWS\system32\msvcrt.dll
#3  0x00000409 in ?? ()
#4  0x00000100 in ?? ()
#5  0x1df1f61c in ?? ()
#6  0x77c1c992 in tolower () from C:\WINDOWS\system32\msvcrt.dll
#7  0x77c46293 in stricmp () from C:\WINDOWS\system32\msvcrt.dll
#8  0x005107d3 in strcasecmp (__s2=<optimized out>, __s1=<optimized out>)
    at d:/usr/include/strings.h:92
#9  cooked_index_entry::operator< (this=<optimized out>, other=...)
    at ./dwarf2/cooked-index.h:150
#10 <lambda(const cooked_index_entry*, const cooked_index_entry*)>::operator()
    (__closure=<optimized out>, b=<optimized out>, a=<optimized out>)
    at dwarf2/cooked-index.c:249
#11 __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >::operator()<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> > > (this=<optimized out>, __it2=..., __it1=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/predefined_ops.h:143
#12 std::__unguarded_partition<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__pivot=...,
    __last=<error reading variable: Cannot access memory at address 0xc5>,
    __first=0x21fe6e30, __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1904
#13 std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__last=0x37f054d0, __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1922
#14 std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >)
    (__first=0x20000184, __first@entry=0x38289370,
    __last=__last@entry=0x37025390, __depth_limit=29, __depth_limit@entry=31,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1952
#15 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x360728f0,
    __last=__last@entry=0x37025390, __depth_limit=31, __depth_limit@entry=32,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#16 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x37882f10,
    __last=__last@entry=0x37025390, __depth_limit=32, __depth_limit@entry=33,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#17 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x39e88b90,
    __last=__last@entry=0x37025390, __depth_limit=33, __depth_limit@entry=34,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#18 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x3a79d5b0,
    __last=__last@entry=0x37025390, __depth_limit=34, __depth_limit@entry=35,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#19 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x36f3c430,
    __last=__last@entry=0x37025390, __depth_limit=35, __depth_limit@entry=36,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#20 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x3650ee10,
    __last=__last@entry=0x37025390, __depth_limit=36, __depth_limit@entry=37,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#21 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x359aee30, __last=__last@entry=0x0,
    __depth_limit=37, __depth_limit@entry=39, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#22 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x3873cf10, __last=__last@entry=0x0,
    __depth_limit=39, __depth_limit@entry=40, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#23 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x2145fb08, __last=__last@entry=0x0,
    __depth_limit=40, __depth_limit@entry=41, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#24 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x37e76f10, __last=__last@entry=0x0,
    __depth_limit=41, __depth_limit@entry=42, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#25 0x00511672 in std::__sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__comp=..., __last=..., __first=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1967
#26 std::sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > (__last=..., __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:4860
#27 cooked_index::do_finalize (this=<optimized out>)
    at dwarf2/cooked-index.c:246
#28 0x00511912 in <lambda()>::operator() (__closure=0x1df1fa10)
    at dwarf2/cooked-index.c:123
#29 std::_Function_handler<void(), cooked_index::finalize()::<lambda()> >::_M_invoke (__functor=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:300
#30 std::function<void ()>::operator()() const (this=0x1df1fa10)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:690
#31 gdb::thread_pool::post_task(std::function<void ()>&&) (
    this=<optimized out>, func=...) at ./../gdbsupport/thread-pool.h:132
#32 cooked_index::finalize (this=<optimized out>) at dwarf2/cooked-index.c:124
#33 0x0051198f in cooked_index_vector::cooked_index_vector (this=0x217fcdd8,
    vec=...) at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/unique_ptr.h:154
#34 0x00a08df6 in dwarf2_build_psymtabs_hard (per_objfile=<optimized out>)
    at dwarf2/read.c:7185
#35 dwarf2_build_psymtabs (objfile=<optimized out>) at dwarf2/read.c:5434
#36 cooked_index_functions::read_partial_symbols (this=<optimized out>,
    objfile=<optimized out>) at dwarf2/read.c:18593
#37 0x00782929 in objfile::require_partial_symbols (
    this=this@entry=0x1e7764f8, verbose=<optimized out>, verbose@entry=false)
    at symfile-debug.c:541
#38 0x0078a99e in read_symbols (objfile=objfile@entry=0x1e7764f8,
    add_flags=..., add_flags@entry=...) at symfile.c:795
#39 0x00789e50 in syms_from_objfile_1 (add_flags=..., addrs=0x1df1fc70,
    objfile=0x1e7764f8) at symfile.c:968
#40 syms_from_objfile (add_flags=..., addrs=<optimized out>,
    objfile=0x1e7764f8) at symfile.c:985
#41 symbol_file_add_with_addrs (abfd=..., name=<optimized out>,
    name@entry=0x1e6c46a8 "./gdb.exe", add_flags=..., add_flags@entry=...,
    addrs=<optimized out>, addrs@entry=0x0, flags=flags@entry=...,
    parent=<optimized out>, parent@entry=0x0) at symfile.c:1088
#42 0x0078bbd8 in symbol_file_add_from_bfd (parent=0x0, flags=..., addrs=0x0,
    add_flags=..., name=0x1e6c46a8 "./gdb.exe", abfd=...) at symfile.c:1168
#43 symbol_file_add (name=name@entry=0x1e6c46a8 "./gdb.exe", add_flags=...,
    add_flags@entry=..., addrs=addrs@entry=0x0, flags=..., flags@entry=...)
    at symfile.c:1181
#44 0x0078bc51 in symbol_file_add_main_1 (args=0x1e6c46a8 "./gdb.exe",
    add_flags=..., flags=..., reloff=0) at symfile.c:1205
#45 0x0078bce5 in symbol_file_add_main (args=0x1e6c46a8 "./gdb.exe",
    add_flags=...) at symfile.c:1196
#46 0x00663ce2 in catch_command_errors (
    command=command@entry=0x663c90 <symbol_file_add_main_adapter(char const*, int)>, arg=0x1e6c46a8 "./gdb.exe", from_tty=1,
    do_bp_actions=do_bp_actions@entry=false) at main.c:513
#47 0x00666746 in captured_main_1 (context=<optimized out>,
    context@entry=0x1df1ff64) at main.c:1213
#48 0x00666878 in captured_main (data=0x1df1ff64) at main.c:1320
#49 gdb_main (args=args@entry=0x1df1ff64) at main.c:1345
#50 0x00a7ceba in main (argc=3, argv=0x1e6c0d60) at gdb.c:32
(gdb) c
Continuing.
[][New Thread 1784.0x858]
Thread 8 received signal SIGTRAP, Trace/breakpoint trap.]
0x7c90120f in ntdll!DbgBreakPoint () from C:\WINDOWS\system32\ntdll.dll
(gdb) thread 1
[Switching to thread 1 (Thread 1784.0x10c4)]
#0  0x77c3745a in strerror () from C:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0  0x77c3745a in strerror () from C:\WINDOWS\system32\msvcrt.dll
#1  0x77c34721 in msvcrt!__crtLCMapStringA ()
   from C:\WINDOWS\system32\msvcrt.dll
#2  0x00000001 in ?? ()
#3  0x1e777860 in ?? ()
#4  0x77c1c992 in tolower () from C:\WINDOWS\system32\msvcrt.dll
#5  0x77c462a1 in stricmp () from C:\WINDOWS\system32\msvcrt.dll
#6  0x005107d3 in strcasecmp (__s2=<optimized out>, __s1=<optimized out>)
    at d:/usr/include/strings.h:92
#7  cooked_index_entry::operator< (this=<optimized out>, other=...)
    at ./dwarf2/cooked-index.h:150
#8  <lambda(const cooked_index_entry*, const cooked_index_entry*)>::operator()
    (__closure=<optimized out>, b=<optimized out>, a=<optimized out>)
    at dwarf2/cooked-index.c:249
#9  __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >::operator()<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> > > (this=<optimized out>, __it2=..., __it1=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/predefined_ops.h:143
#10 std::__unguarded_partition<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__pivot=..., __last=0x1, __first=0x215c8d48, __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1904
#11 std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__last=0x38137a30, __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1922
#12 std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >)
    (__first=<error reading variable: Cannot access memory at address 0x1>,
    __first@entry=0x38c70050, __last=__last@entry=0x0, __depth_limit=38,
    __depth_limit@entry=41, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1952
#13 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x37e76f10, __last=__last@entry=0x0,
    __depth_limit=41, __depth_limit@entry=42, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#14 0x00511672 in std::__sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__comp=..., __last=..., __first=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1967
#15 std::sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > (__last=..., __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:4860
#16 cooked_index::do_finalize (this=<optimized out>)
    at dwarf2/cooked-index.c:246
#17 0x00511912 in <lambda()>::operator() (__closure=0x1df1fa10)
    at dwarf2/cooked-index.c:123
#18 std::_Function_handler<void(), cooked_index::finalize()::<lambda()> >::_M_invoke (__functor=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:300
#19 std::function<void ()>::operator()() const (this=0x1df1fa10)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:690
#20 gdb::thread_pool::post_task(std::function<void ()>&&) (
    this=<optimized out>, func=...) at ./../gdbsupport/thread-pool.h:132
#21 cooked_index::finalize (this=<optimized out>) at dwarf2/cooked-index.c:124
#22 0x0051198f in cooked_index_vector::cooked_index_vector (this=0x217fcdd8,
    vec=...) at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/unique_ptr.h:154
#23 0x00a08df6 in dwarf2_build_psymtabs_hard (per_objfile=<optimized out>)
    at dwarf2/read.c:7185
#24 dwarf2_build_psymtabs (objfile=<optimized out>) at dwarf2/read.c:5434
#25 cooked_index_functions::read_partial_symbols (this=<optimized out>,
    objfile=<optimized out>) at dwarf2/read.c:18593
#26 0x00782929 in objfile::require_partial_symbols (
    this=this@entry=0x1e7764f8, verbose=<optimized out>, verbose@entry=false)
    at symfile-debug.c:541
#27 0x0078a99e in read_symbols (objfile=objfile@entry=0x1e7764f8,
    add_flags=..., add_flags@entry=...) at symfile.c:795
#28 0x00789e50 in syms_from_objfile_1 (add_flags=..., addrs=0x1df1fc70,
    objfile=0x1e7764f8) at symfile.c:968
#29 syms_from_objfile (add_flags=..., addrs=<optimized out>,
    objfile=0x1e7764f8) at symfile.c:985
#30 symbol_file_add_with_addrs (abfd=..., name=<optimized out>,
    name@entry=0x1e6c46a8 "./gdb.exe", add_flags=..., add_flags@entry=...,
    addrs=<optimized out>, addrs@entry=0x0, flags=flags@entry=...,
    parent=<optimized out>, parent@entry=0x0) at symfile.c:1088
#31 0x0078bbd8 in symbol_file_add_from_bfd (parent=0x0, flags=..., addrs=0x0,
    add_flags=..., name=0x1e6c46a8 "./gdb.exe", abfd=...) at symfile.c:1168
#32 symbol_file_add (name=name@entry=0x1e6c46a8 "./gdb.exe", add_flags=...,
    add_flags@entry=..., addrs=addrs@entry=0x0, flags=..., flags@entry=...)
    at symfile.c:1181
#33 0x0078bc51 in symbol_file_add_main_1 (args=0x1e6c46a8 "./gdb.exe",
    add_flags=..., flags=..., reloff=0) at symfile.c:1205
#34 0x0078bce5 in symbol_file_add_main (args=0x1e6c46a8 "./gdb.exe",
    add_flags=...) at symfile.c:1196
#35 0x00663ce2 in catch_command_errors (
    command=command@entry=0x663c90 <symbol_file_add_main_adapter(char const*, int)>, arg=0x1e6c46a8 "./gdb.exe", from_tty=1,
    do_bp_actions=do_bp_actions@entry=false) at main.c:513
#36 0x00666746 in captured_main_1 (context=<optimized out>,
    context@entry=0x1df1ff64) at main.c:1213
#37 0x00666878 in captured_main (data=0x1df1ff64) at main.c:1320
#38 gdb_main (args=args@entry=0x1df1ff64) at main.c:1345
#39 0x00a7ceba in main (argc=3, argv=0x1e6c0d60) at gdb.c:32(gdb) cContinuing.[][New Thread 1784.0x14b0]Thread 9 received signal SIGTRAP, Trace/breakpoint trap.[Switching to Thread 1784.0x14b0]0x7c90120f in ntdll!DbgBreakPoint () from C:\Wl(gdb) thread 1[Switching to thread 1 (Thread 1784.0x10c4)]
#0  0x7c80a2ad in WideCharToMultiByte () from C:\WINDOWS\system32\kernel32.dll(t
#0  0x7c80a2ad in WideCharToMultiByte () from C:\WINDOWS\system32\kernel32.dll
#1  0x7c80a294 in WideCharToMultiByte () from C:\WINDOWS\system32\kernel32.dll
#2  0x77c3494b in msvcrt!__crtLCMapStringA ()
   from C:\WINDOWS\system32\msvcrt.dll
#3  0x000004e4 in ?? ()
#4  0x00000000 in ?? ()
(gdb) c
Continuing.
[Thread 1784.0x14b0 exited with code 0]
[New Thread 1784.0x1198]
Thread 10 received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 1784.0x1198]
0x7c90120f in ntdll!DbgBreakPoint () from C:\Wl
(gdb) thread 1
[Switching to thread 1 (Thread 1784.0x10c4)]
#0  0x7c80d261 in KERNEL32!CompareStringA ()
   from C:\WINDOWS\system32\kernel32.dll
(gdb) bt
#0  0x7c80d261 in KERNEL32!CompareStringA ()
   from C:\WINDOWS\system32\kernel32.dll
#1  0x7c84c59c in SetUnhandledExceptionFilter ()
   from C:\WINDOWS\system32\kernel32.dll
#2  0x77c3485e in msvcrt!__crtLCMapStringA ()
   from C:\WINDOWS\system32\msvcrt.dll
#3  0x000004e4 in ?? ()
#4  0x00000001 in ?? ()
#5  0x1df1f930 in ?? ()
#6  0x77c1c992 in tolower () from C:\WINDOWS\system32\msvcrt.dll
#7  0x77c46293 in stricmp () from C:\WINDOWS\system32\msvcrt.dll
#8  0x005107d3 in strcasecmp (__s2=<optimized out>, __s1=<optimized out>)
    at d:/usr/include/strings.h:92
#9  cooked_index_entry::operator< (this=<optimized out>, other=...)
    at ./dwarf2/cooked-index.h:150
#10 <lambda(const cooked_index_entry*, const cooked_index_entry*)>::operator()
    (__closure=<optimized out>, b=<optimized out>, a=<optimized out>)
    at dwarf2/cooked-index.c:249
#11 __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >::operator()<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> > > (this=<optimized out>, __it2=..., __it1=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/predefined_ops.h:143
#12 std::__unguarded_partition<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__pivot=...,
    __last=<error reading variable: Cannot access memory at address 0xc5>,
    __first=0x3a9973b0, __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1904
#13 std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__last=0x37ca1d90, __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1922
#14 std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >)
    (__first=non-dereferenceable iterator for std::vector,
    __first@entry=0x39dec558, __last=__last@entry=0x0, __depth_limit=40,
    __depth_limit@entry=42, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1952
#15 0x00511672 in std::__sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__comp=..., __last=..., __first=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1967
#16 std::sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > (__last=..., __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:4860
#17 cooked_index::do_finalize (this=<optimized out>)
    at dwarf2/cooked-index.c:246
#18 0x00511912 in <lambda()>::operator() (__closure=0x1df1fa10)
    at dwarf2/cooked-index.c:123
#19 std::_Function_handler<void(), cooked_index::finalize()::<lambda()> >::_M_invoke (__functor=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:300
#20 std::function<void ()>::operator()() const (this=0x1df1fa10)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:690
#21 gdb::thread_pool::post_task(std::function<void ()>&&) (
    this=<optimized out>, func=...) at ./../gdbsupport/thread-pool.h:132
#22 cooked_index::finalize (this=<optimized out>) at dwarf2/cooked-index.c:124
#23 0x0051198f in cooked_index_vector::cooked_index_vector (this=0x217fcdd8,
    vec=...) at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/unique_ptr.h:154
#24 0x00a08df6 in dwarf2_build_psymtabs_hard (per_objfile=<optimized out>)
    at dwarf2/read.c:7185
#25 dwarf2_build_psymtabs (objfile=<optimized out>) at dwarf2/read.c:5434
#26 cooked_index_functions::read_partial_symbols (this=<optimized out>,
    objfile=<optimized out>) at dwarf2/read.c:18593
#27 0x00782929 in objfile::require_partial_symbols (
    this=this@entry=0x1e7764f8, verbose=<optimized out>, verbose@entry=false)
    at symfile-debug.c:541
#28 0x0078a99e in read_symbols (objfile=objfile@entry=0x1e7764f8,
    add_flags=..., add_flags@entry=...) at symfile.c:795
#29 0x00789e50 in syms_from_objfile_1 (add_flags=..., addrs=0x1df1fc70,
    objfile=0x1e7764f8) at symfile.c:968
#30 syms_from_objfile (add_flags=..., addrs=<optimized out>,
    objfile=0x1e7764f8) at symfile.c:985
#31 symbol_file_add_with_addrs (abfd=..., name=<optimized out>,
    name@entry=0x1e6c46a8 "./gdb.exe", add_flags=..., add_flags@entry=...,
    addrs=<optimized out>, addrs@entry=0x0, flags=flags@entry=...,
    parent=<optimized out>, parent@entry=0x0) at symfile.c:1088
#32 0x0078bbd8 in symbol_file_add_from_bfd (parent=0x0, flags=..., addrs=0x0,
    add_flags=..., name=0x1e6c46a8 "./gdb.exe", abfd=...) at symfile.c:1168
#33 symbol_file_add (name=name@entry=0x1e6c46a8 "./gdb.exe", add_flags=...,
    add_flags@entry=..., addrs=addrs@entry=0x0, flags=..., flags@entry=...)
    at symfile.c:1181
#34 0x0078bc51 in symbol_file_add_main_1 (args=0x1e6c46a8 "./gdb.exe",
    add_flags=..., flags=..., reloff=0) at symfile.c:1205
#35 0x0078bce5 in symbol_file_add_main (args=0x1e6c46a8 "./gdb.exe",
    add_flags=...) at symfile.c:1196
#36 0x00663ce2 in catch_command_errors (
    command=command@entry=0x663c90 <symbol_file_add_main_adapter(char const*, int)>, arg=0x1e6c46a8 "./gdb.exe", from_tty=1,
    do_bp_actions=do_bp_actions@entry=false) at main.c:513
#37 0x00666746 in captured_main_1 (context=<optimized out>,
    context@entry=0x1df1ff64) at main.c:1213
#38 0x00666878 in captured_main (data=0x1df1ff64) at main.c:1320
#39 gdb_main (args=args@entry=0x1df1ff64) at main.c:1345
#40 0x00a7ceba in main (argc=3, argv=0x1e6c0d60) at gdb.c:32
(gdb) c
Continuing.
[][New Thread 1784.0xa80]
Thread 11 received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 1784.0xa80]
0x7c90120f in ntdll!DbgBreakPoint () from C:\WIl
(gdb) thread 1
[Switching to thread 1 (Thread 1784.0x10c4)]
#0  0x77c1c94c in tolower () from C:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0  0x77c1c94c in tolower () from C:\WINDOWS\system32\msvcrt.dll
#1  0x77c462a1 in stricmp () from C:\WINDOWS\system32\msvcrt.dll
#2  0x005107a5 in strcasecmp (__s2=<optimized out>, __s1=<optimized out>)
    at d:/usr/include/strings.h:92
#3  cooked_index_entry::operator< (this=<optimized out>, other=...)
    at ./dwarf2/cooked-index.h:150
#4  <lambda(const cooked_index_entry*, const cooked_index_entry*)>::operator()
    (__closure=<optimized out>, b=<optimized out>, a=<optimized out>)
    at dwarf2/cooked-index.c:249
#5  __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >::operator()<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> > > (this=<optimized out>,
    __it2=<error reading variable: Cannot access memory at address 0x1>,
    __it1=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/predefined_ops.h:143
#6  std::__unguarded_partition<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__pivot=..., __last=0x38307dd0, __first=0x1, __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1901
#7  std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__last=0x39e59d50, __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1922
#8  std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >)
    (__first=<error reading variable: Cannot access memory at address 0x1>,
    __first@entry=0x3ac77eb0, __last=__last@entry=0x39e59d50,
    __depth_limit=27, __depth_limit@entry=28, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1952
#9  0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x3abc3c70,
    __last=__last@entry=0x3874e710, __depth_limit=28, __depth_limit@entry=32,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#10 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x3827b4d0,
    __last=__last@entry=0x222e9a90, __depth_limit=32, __depth_limit@entry=36,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#11 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x3661d6d0,
    __last=__last@entry=0x37ca1d90, __depth_limit=36, __depth_limit@entry=39,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#12 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x374d6370,
    __last=__last@entry=0x37ca1d90, __depth_limit=39, __depth_limit@entry=40,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#13 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x39dec558, __last=__last@entry=0x0,
    __depth_limit=40, __depth_limit@entry=42, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#14 0x00511672 in std::__sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__comp=..., __last=..., __first=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1967
#15 std::sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > (__last=..., __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:4860
#16 cooked_index::do_finalize (this=<optimized out>)
    at dwarf2/cooked-index.c:246
#17 0x00511912 in <lambda()>::operator() (__closure=0x1df1fa10)
    at dwarf2/cooked-index.c:123
#18 std::_Function_handler<void(), cooked_index::finalize()::<lambda()> >::_M_invoke (__functor=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:300
#19 std::function<void ()>::operator()() const (this=0x1df1fa10)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:690
#20 gdb::thread_pool::post_task(std::function<void ()>&&) (
    this=<optimized out>, func=...) at ./../gdbsupport/thread-pool.h:132
#21 cooked_index::finalize (this=<optimized out>) at dwarf2/cooked-index.c:124
#22 0x0051198f in cooked_index_vector::cooked_index_vector (this=0x217fcdd8,
    vec=...) at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/unique_ptr.h:154
#23 0x00a08df6 in dwarf2_build_psymtabs_hard (per_objfile=<optimized out>)
    at dwarf2/read.c:7185
#24 dwarf2_build_psymtabs (objfile=<optimized out>) at dwarf2/read.c:5434
#25 cooked_index_functions::read_partial_symbols (this=<optimized out>,
    objfile=<optimized out>) at dwarf2/read.c:18593
#26 0x00782929 in objfile::require_partial_symbols (
    this=this@entry=0x1e7764f8, verbose=<optimized out>, verbose@entry=false)
    at symfile-debug.c:541
#27 0x0078a99e in read_symbols (objfile=objfile@entry=0x1e7764f8,
    add_flags=..., add_flags@entry=...) at symfile.c:795
#28 0x00789e50 in syms_from_objfile_1 (add_flags=..., addrs=0x1df1fc70,
    objfile=0x1e7764f8) at symfile.c:968
#29 syms_from_objfile (add_flags=..., addrs=<optimized out>,
    objfile=0x1e7764f8) at symfile.c:985
#30 symbol_file_add_with_addrs (abfd=..., name=<optimized out>,
    name@entry=0x1e6c46a8 "./gdb.exe", add_flags=..., add_flags@entry=...,
    addrs=<optimized out>, addrs@entry=0x0, flags=flags@entry=...,
    parent=<optimized out>, parent@entry=0x0) at symfile.c:1088
#31 0x0078bbd8 in symbol_file_add_from_bfd (parent=0x0, flags=..., addrs=0x0,
    add_flags=..., name=0x1e6c46a8 "./gdb.exe", abfd=...) at symfile.c:1168
#32 symbol_file_add (name=name@entry=0x1e6c46a8 "./gdb.exe", add_flags=...,
    add_flags@entry=..., addrs=addrs@entry=0x0, flags=..., flags@entry=...)
    at symfile.c:1181
#33 0x0078bc51 in symbol_file_add_main_1 (args=0x1e6c46a8 "./gdb.exe",
    add_flags=..., flags=..., reloff=0) at symfile.c:1205
#34 0x0078bce5 in symbol_file_add_main (args=0x1e6c46a8 "./gdb.exe",
    add_flags=...) at symfile.c:1196
#35 0x00663ce2 in catch_command_errors (
    command=command@entry=0x663c90 <symbol_file_add_main_adapter(char const*, int)>, arg=0x1e6c46a8 "./gdb.exe", from_tty=1,
    do_bp_actions=do_bp_actions@entry=false) at main.c:513
#36 0x00666746 in captured_main_1 (context=<optimized out>,
    context@entry=0x1df1ff64) at main.c:1213
#37 0x00666878 in captured_main (data=0x1df1ff64) at main.c:1320
#38 gdb_main (args=args@entry=0x1df1ff64) at main.c:1345
#39 0x00a7ceba in main (argc=3, argv=0x1e6c0d60) at gdb.c:32
(gdb) c
Continuing.
[]
[New Thread 1784.0x960]
Thread 12 received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 1784.0x960]
0x7c90120f in ntdll!DbgBreakPoint () from C:\WIl
(gdb) thread 1
[Switching to thread 1 (Thread 1784.0x10c4)]
#0  0x7c80cf3e in LCMapStringW () from C:\WINDOWS\system32\kernel32.dll
(gdb) bt
#0  0x7c80cf3e in LCMapStringW () from C:\WINDOWS\system32\kernel32.dll
#1  0x7c80ced5 in LCMapStringW () from C:\WINDOWS\system32\kernel32.dll
#2  0x77c34928 in msvcrt!__crtLCMapStringA ()
   from C:\WINDOWS\system32\msvcrt.dll
#3  0x00000409 in ?? ()
#4  0x00000100 in ?? ()
#5  0x1df1f69c in ?? ()
#6  0x77c1c992 in tolower () from C:\WINDOWS\system32\msvcrt.dll
#7  0x77c46293 in stricmp () from C:\WINDOWS\system32\msvcrt.dll
#8  0x005107d3 in strcasecmp (__s2=<optimized out>, __s1=<optimized out>)
    at d:/usr/include/strings.h:92
#9  cooked_index_entry::operator< (this=<optimized out>, other=...)
    at ./dwarf2/cooked-index.h:150
#10 <lambda(const cooked_index_entry*, const cooked_index_entry*)>::operator()
    (__closure=<optimized out>, b=<optimized out>, a=<optimized out>)
    at dwarf2/cooked-index.c:249
#11 __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >::operator()<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> > > (this=<optimized out>, __it2=..., __it1=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/predefined_ops.h:143
#12 std::__unguarded_partition<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__pivot=..., __last=0x1200110, __first=0x3899f5f0, __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1904
#13 std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__last=0x37a1b970, __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1922
#14 std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >)
    (
    __first=<error reading variable: Cannot access memory at address 0xfffffffc>, __first@entry=0x3a1d61d0, __last=__last@entry=0x378bacd0,
    __depth_limit=26, __depth_limit@entry=29, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1952
#15 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x35839d10,
    __last=__last@entry=0x36d21dd0, __depth_limit=29, __depth_limit@entry=31,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#16 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x3ab55610,
    __last=__last@entry=0x3ae09350, __depth_limit=31, __depth_limit@entry=33,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#17 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x3ac09450,
    __last=__last@entry=0x3ae09350, __depth_limit=33, __depth_limit@entry=34,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#18 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x398e5790,
    __last=__last@entry=0x370a5810, __depth_limit=34, __depth_limit@entry=36,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#19 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x382a4bf0,
    __last=__last@entry=0x370a5810, __depth_limit=36, __depth_limit@entry=37,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#20 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x37854070,
    __last=__last@entry=0x370a5810, __depth_limit=37, __depth_limit@entry=38,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#21 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x39721f30,
    __last=__last@entry=0x37ca1d90, __depth_limit=38, __depth_limit@entry=40,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#22 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x39dec558, __last=__last@entry=0x0,
    __depth_limit=40, __depth_limit@entry=42, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#23 0x00511672 in std::__sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__comp=..., __last=..., __first=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1967
#24 std::sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > (__last=..., __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:4860
#25 cooked_index::do_finalize (this=<optimized out>)
    at dwarf2/cooked-index.c:246
#26 0x00511912 in <lambda()>::operator() (__closure=0x1df1fa10)
    at dwarf2/cooked-index.c:123
#27 std::_Function_handler<void(), cooked_index::finalize()::<lambda()> >::_M_invoke (__functor=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:300
#28 std::function<void ()>::operator()() const (this=0x1df1fa10)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:690
#29 gdb::thread_pool::post_task(std::function<void ()>&&) (
    this=<optimized out>, func=...) at ./../gdbsupport/thread-pool.h:132
#30 cooked_index::finalize (this=<optimized out>) at dwarf2/cooked-index.c:124
#31 0x0051198f in cooked_index_vector::cooked_index_vector (this=0x217fcdd8,
    vec=...) at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/unique_ptr.h:154
#32 0x00a08df6 in dwarf2_build_psymtabs_hard (per_objfile=<optimized out>)
    at dwarf2/read.c:7185
#33 dwarf2_build_psymtabs (objfile=<optimized out>) at dwarf2/read.c:5434
#34 cooked_index_functions::read_partial_symbols (this=<optimized out>,
    objfile=<optimized out>) at dwarf2/read.c:18593
#35 0x00782929 in objfile::require_partial_symbols (
    this=this@entry=0x1e7764f8, verbose=<optimized out>, verbose@entry=false)
    at symfile-debug.c:541
#36 0x0078a99e in read_symbols (objfile=objfile@entry=0x1e7764f8,
    add_flags=..., add_flags@entry=...) at symfile.c:795
#37 0x00789e50 in syms_from_objfile_1 (add_flags=..., addrs=0x1df1fc70,
    objfile=0x1e7764f8) at symfile.c:968
#38 syms_from_objfile (add_flags=..., addrs=<optimized out>,
    objfile=0x1e7764f8) at symfile.c:985
#39 symbol_file_add_with_addrs (abfd=..., name=<optimized out>,
    name@entry=0x1e6c46a8 "./gdb.exe", add_flags=..., add_flags@entry=...,
    addrs=<optimized out>, addrs@entry=0x0, flags=flags@entry=...,
    parent=<optimized out>, parent@entry=0x0) at symfile.c:1088
#40 0x0078bbd8 in symbol_file_add_from_bfd (parent=0x0, flags=..., addrs=0x0,
    add_flags=..., name=0x1e6c46a8 "./gdb.exe", abfd=...) at symfile.c:1168
#41 symbol_file_add (name=name@entry=0x1e6c46a8 "./gdb.exe", add_flags=...,
    add_flags@entry=..., addrs=addrs@entry=0x0, flags=..., flags@entry=...)
    at symfile.c:1181
#42 0x0078bc51 in symbol_file_add_main_1 (args=0x1e6c46a8 "./gdb.exe",
    add_flags=..., flags=..., reloff=0) at symfile.c:1205
#43 0x0078bce5 in symbol_file_add_main (args=0x1e6c46a8 "./gdb.exe",
    add_flags=...) at symfile.c:1196
#44 0x00663ce2 in catch_command_errors (
    command=command@entry=0x663c90 <symbol_file_add_main_adapter(char const*, int)>, arg=0x1e6c46a8 "./gdb.exe", from_tty=1,
    do_bp_actions=do_bp_actions@entry=false) at main.c:513
#45 0x00666746 in captured_main_1 (context=<optimized out>,
    context@entry=0x1df1ff64) at main.c:1213
#46 0x00666878 in captured_main (data=0x1df1ff64) at main.c:1320
#47 gdb_main (args=args@entry=0x1df1ff64) at main.c:1345
#48 0x00a7ceba in main (argc=3, argv=0x1e6c0d60) at gdb.c:32
(gdb) c
Continuing.
[][New Thread 1784.0xcd4]
Thread 13 received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 1784.0xcd4]
0x7c90120f in ntdll!DbgBreakPoint () from C:\WIl
(gdb) thread 1
[Switching to thread 1 (Thread 1784.0x10c4)]
#0  0x7c84c425 in SetUnhandledExceptionFilter ()
   from C:\WINDOWS\system32\kernel32.dll
(gdb) bt
#0  0x7c84c425 in SetUnhandledExceptionFilter ()
   from C:\WINDOWS\system32\kernel32.dll
#1  0x77c3485e in msvcrt!__crtLCMapStringA ()
   from C:\WINDOWS\system32\msvcrt.dll
#2  0x000004e4 in ?? ()
#3  0x00000001 in ?? ()
#4  0x1df1f7e8 in ?? ()
#5  0x77c1c992 in tolower () from C:\WINDOWS\system32\msvcrt.dll
#6  0x77c462a1 in stricmp () from C:\WINDOWS\system32\msvcrt.dll
#7  0x005107d3 in strcasecmp (__s2=<optimized out>, __s1=<optimized out>)
    at d:/usr/include/strings.h:92
#8  cooked_index_entry::operator< (this=<optimized out>, other=...)
    at ./dwarf2/cooked-index.h:150
#9  <lambda(const cooked_index_entry*, const cooked_index_entry*)>::operator()
    (__closure=<optimized out>, b=<optimized out>, a=<optimized out>)
    at dwarf2/cooked-index.c:249
#10 __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >::operator()<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> > > (this=<optimized out>, __it2=..., __it1=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/predefined_ops.h:143
#11 std::__unguarded_partition<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__pivot=...,
    __last=<error reading variable: Cannot access memory at address 0x4e4>,
    __first=0x22335270, __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1904
#12 std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__last=0x362bf090, __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1922
#13 std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >)
    (__first=non-dereferenceable iterator for std::vector,
    __first@entry=0x37f6d030, __last=__last@entry=0x362bf090,
    __depth_limit=32, __depth_limit@entry=33, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1952
#14 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x3a82d6d0,
    __last=__last@entry=0x362bf090, __depth_limit=33, __depth_limit@entry=34,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#15 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x38672770,
    __last=__last@entry=0x21efc390, __depth_limit=34, __depth_limit@entry=36,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#16 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x36e3d330,
    __last=__last@entry=0x21efc390, __depth_limit=36, __depth_limit@entry=37,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#17 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x363c9fb0,
    __last=__last@entry=0x37ca1d90, __depth_limit=37, __depth_limit@entry=40,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#18 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x39dec558, __last=__last@entry=0x0,
    __depth_limit=40, __depth_limit@entry=42, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#19 0x00511672 in std::__sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__comp=..., __last=..., __first=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1967
#20 std::sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > (__last=..., __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:4860
#21 cooked_index::do_finalize (this=<optimized out>)
    at dwarf2/cooked-index.c:246
#22 0x00511912 in <lambda()>::operator() (__closure=0x1df1fa10)
    at dwarf2/cooked-index.c:123
#23 std::_Function_handler<void(), cooked_index::finalize()::<lambda()> >::_M_invoke (__functor=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:300
#24 std::function<void ()>::operator()() const (this=0x1df1fa10)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:690
#25 gdb::thread_pool::post_task(std::function<void ()>&&) (
    this=<optimized out>, func=...) at ./../gdbsupport/thread-pool.h:132
#26 cooked_index::finalize (this=<optimized out>) at dwarf2/cooked-index.c:124
#27 0x0051198f in cooked_index_vector::cooked_index_vector (this=0x217fcdd8,
    vec=...) at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/unique_ptr.h:154
#28 0x00a08df6 in dwarf2_build_psymtabs_hard (per_objfile=<optimized out>)
    at dwarf2/read.c:7185
#29 dwarf2_build_psymtabs (objfile=<optimized out>) at dwarf2/read.c:5434
#30 cooked_index_functions::read_partial_symbols (this=<optimized out>,
    objfile=<optimized out>) at dwarf2/read.c:18593
#31 0x00782929 in objfile::require_partial_symbols (
    this=this@entry=0x1e7764f8, verbose=<optimized out>, verbose@entry=false)
    at symfile-debug.c:541
#32 0x0078a99e in read_symbols (objfile=objfile@entry=0x1e7764f8,
    add_flags=..., add_flags@entry=...) at symfile.c:795
#33 0x00789e50 in syms_from_objfile_1 (add_flags=..., addrs=0x1df1fc70,
    objfile=0x1e7764f8) at symfile.c:968
#34 syms_from_objfile (add_flags=..., addrs=<optimized out>,
    objfile=0x1e7764f8) at symfile.c:985
#35 symbol_file_add_with_addrs (abfd=..., name=<optimized out>,
    name@entry=0x1e6c46a8 "./gdb.exe", add_flags=..., add_flags@entry=...,
    addrs=<optimized out>, addrs@entry=0x0, flags=flags@entry=...,
    parent=<optimized out>, parent@entry=0x0) at symfile.c:1088
#36 0x0078bbd8 in symbol_file_add_from_bfd (parent=0x0, flags=..., addrs=0x0,
    add_flags=..., name=0x1e6c46a8 "./gdb.exe", abfd=...) at symfile.c:1168
#37 symbol_file_add (name=name@entry=0x1e6c46a8 "./gdb.exe", add_flags=...,
    add_flags@entry=..., addrs=addrs@entry=0x0, flags=..., flags@entry=...)
    at symfile.c:1181
#38 0x0078bc51 in symbol_file_add_main_1 (args=0x1e6c46a8 "./gdb.exe",
    add_flags=..., flags=..., reloff=0) at symfile.c:1205
#39 0x0078bce5 in symbol_file_add_main (args=0x1e6c46a8 "./gdb.exe",
    add_flags=...) at symfile.c:1196
#40 0x00663ce2 in catch_command_errors (
    command=command@entry=0x663c90 <symbol_file_add_main_adapter(char const*, int)>, arg=0x1e6c46a8 "./gdb.exe", from_tty=1,
    do_bp_actions=do_bp_actions@entry=false) at main.c:513
#41 0x00666746 in captured_main_1 (context=<optimized out>,
    context@entry=0x1df1ff64) at main.c:1213
#42 0x00666878 in captured_main (data=0x1df1ff64) at main.c:1320
#43 gdb_main (args=args@entry=0x1df1ff64) at main.c:1345
#44 0x00a7ceba in main (argc=3, argv=0x1e6c0d60) at gdb.c:32
(gdb) c
Continuing.
[][New Thread 1784.0x1660]
Thread 14 received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 1784.0x1660]
0x7c90120f in ntdll!DbgBreakPoint () from C:\Wl
(gdb) thread 1
[Switching to thread 1 (Thread 1784.0x10c4)]
#0  0x77c34853 in msvcrt!__crtLCMapStringA ()
   from C:\WINDOWS\system32\msvcrt.dll
(gdb) bt
#0  0x77c34853 in msvcrt!__crtLCMapStringA ()
   from C:\WINDOWS\system32\msvcrt.dll
#1  0x1df1f868 in ?? ()
#2  0x77c1c992 in tolower () from C:\WINDOWS\system32\msvcrt.dll
#3  0x77c462a1 in stricmp () from C:\WINDOWS\system32\msvcrt.dll
#4  0x005107a5 in strcasecmp (__s2=<optimized out>, __s1=<optimized out>)
    at d:/usr/include/strings.h:92
#5  cooked_index_entry::operator< (this=<optimized out>, other=...)
    at ./dwarf2/cooked-index.h:150
#6  <lambda(const cooked_index_entry*, const cooked_index_entry*)>::operator()
    (__closure=<optimized out>, b=<optimized out>, a=<optimized out>)
    at dwarf2/cooked-index.c:249
#7  __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >::operator()<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> > > (this=<optimized out>, __it2=non-dereferenceable iterator for std::vector,
    __it1=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/predefined_ops.h:143
#8  std::__unguarded_partition<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__pivot=..., __last=0x37ca3ab0,
    __first=<error reading variable: Cannot access memory at address 0x1>,
    __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1901
#9  std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__last=0x3a70fad0, __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1922
#10 std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >)
    (__first=non-dereferenceable iterator for std::vector,
    __first@entry=0x35ac8a70, __last=__last@entry=0x3a70fad0,
    __depth_limit=33, __depth_limit@entry=34, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1952
#11 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x3adf23d0,
    __last=__last@entry=0x3a52eb30, __depth_limit=34, __depth_limit@entry=38,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#12 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x35fbce50,
    __last=__last@entry=0x3a52eb30, __depth_limit=38, __depth_limit@entry=39,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#13 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x37418b10, __last=__last@entry=0x0,
    __depth_limit=39, __depth_limit@entry=42, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#14 0x00511672 in std::__sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__comp=..., __last=..., __first=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1967
#15 std::sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > (__last=..., __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:4860
#16 cooked_index::do_finalize (this=<optimized out>)
    at dwarf2/cooked-index.c:246
#17 0x00511912 in <lambda()>::operator() (__closure=0x1df1fa10)
    at dwarf2/cooked-index.c:123
#18 std::_Function_handler<void(), cooked_index::finalize()::<lambda()> >::_M_invoke (__functor=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:300
#19 std::function<void ()>::operator()() const (this=0x1df1fa10)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:690
#20 gdb::thread_pool::post_task(std::function<void ()>&&) (
    this=<optimized out>, func=...) at ./../gdbsupport/thread-pool.h:132
#21 cooked_index::finalize (this=<optimized out>) at dwarf2/cooked-index.c:124
#22 0x0051198f in cooked_index_vector::cooked_index_vector (this=0x217fcdd8,
    vec=...) at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/unique_ptr.h:154
#23 0x00a08df6 in dwarf2_build_psymtabs_hard (per_objfile=<optimized out>)
    at dwarf2/read.c:7185
#24 dwarf2_build_psymtabs (objfile=<optimized out>) at dwarf2/read.c:5434
#25 cooked_index_functions::read_partial_symbols (this=<optimized out>,
    objfile=<optimized out>) at dwarf2/read.c:18593
#26 0x00782929 in objfile::require_partial_symbols (
    this=this@entry=0x1e7764f8, verbose=<optimized out>, verbose@entry=false)
    at symfile-debug.c:541
#27 0x0078a99e in read_symbols (objfile=objfile@entry=0x1e7764f8,
    add_flags=..., add_flags@entry=...) at symfile.c:795
#28 0x00789e50 in syms_from_objfile_1 (add_flags=..., addrs=0x1df1fc70,
    objfile=0x1e7764f8) at symfile.c:968
#29 syms_from_objfile (add_flags=..., addrs=<optimized out>,
    objfile=0x1e7764f8) at symfile.c:985
#30 symbol_file_add_with_addrs (abfd=..., name=<optimized out>,
    name@entry=0x1e6c46a8 "./gdb.exe", add_flags=..., add_flags@entry=...,
    addrs=<optimized out>, addrs@entry=0x0, flags=flags@entry=...,
    parent=<optimized out>, parent@entry=0x0) at symfile.c:1088
#31 0x0078bbd8 in symbol_file_add_from_bfd (parent=0x0, flags=..., addrs=0x0,
    add_flags=..., name=0x1e6c46a8 "./gdb.exe", abfd=...) at symfile.c:1168
#32 symbol_file_add (name=name@entry=0x1e6c46a8 "./gdb.exe", add_flags=...,
    add_flags@entry=..., addrs=addrs@entry=0x0, flags=..., flags@entry=...)
    at symfile.c:1181
#33 0x0078bc51 in symbol_file_add_main_1 (args=0x1e6c46a8 "./gdb.exe",
    add_flags=..., flags=..., reloff=0) at symfile.c:1205
#34 0x0078bce5 in symbol_file_add_main (args=0x1e6c46a8 "./gdb.exe",
    add_flags=...) at symfile.c:1196
#35 0x00663ce2 in catch_command_errors (
    command=command@entry=0x663c90 <symbol_file_add_main_adapter(char const*, int)>, arg=0x1e6c46a8 "./gdb.exe", from_tty=1,
    do_bp_actions=do_bp_actions@entry=false) at main.c:513
#36 0x00666746 in captured_main_1 (context=<optimized out>,
    context@entry=0x1df1ff64) at main.c:1213
#37 0x00666878 in captured_main (data=0x1df1ff64) at main.c:1320
#38 gdb_main (args=args@entry=0x1df1ff64) at main.c:1345
#39 0x00a7ceba in main (argc=3, argv=0x1e6c0d60) at gdb.c:32
(gdb) c
Continuing.
[][New Thread 1784.0x1438]
Thread 15 received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 1784.0x1438]
0x7c90120f in ntdll!DbgBreakPoint () from C:\Wl
(gdb) thread 1
[Switching to thread 1 (Thread 1784.0x10c4)]
#0  0x7c80cf33 in LCMapStringW () from C:\WINDOWS\system32\kernel32.dll(gdb) bt
#0  0x7c80cf33 in LCMapStringW () from C:\WINDOWS\system32\kernel32.dll
#1  0x7c80ced5 in LCMapStringW () from C:\WINDOWS\system32\kernel32.dll
#2  0x77c34928 in msvcrt!__crtLCMapStringA ()
   from C:\WINDOWS\system32\msvcrt.dll
#3  0x00000409 in ?? ()
#4  0x00000100 in ?? ()
#5  0x1df1f794 in ?? ()
#6  0x77c1c992 in tolower () from C:\WINDOWS\system32\msvcrt.dll
#7  0x77c462a1 in stricmp () from C:\WINDOWS\system32\msvcrt.dll
#8  0x005107a5 in strcasecmp (__s2=<optimized out>, __s1=<optimized out>)
    at d:/usr/include/strings.h:92
#9  cooked_index_entry::operator< (this=<optimized out>, other=...)
    at ./dwarf2/cooked-index.h:150
#10 <lambda(const cooked_index_entry*, const cooked_index_entry*)>::operator()
    (__closure=<optimized out>, b=<optimized out>, a=<optimized out>)
    at dwarf2/cooked-index.c:249
#11 __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >::operator()<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> > > (this=<optimized out>,
    __it2=<error reading variable: Cannot access memory at address 0xfffffffc>,)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/predefined_ops.h:143
#12 std::__unguarded_partition<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__pivot=..., __last=0x3a5cc3d0, __first=0x1200110, __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1901
#13 std::__unguarded_partition_pivot<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__last=0x38766548, __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1922
#14 std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >)
    (
    __first=<error reading variable: Cannot access memory at address 0xfffffffc>, __first@entry=0x36236fb0, __last=__last@entry=0x38766548,
    __depth_limit=32, __depth_limit@entry=33, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1952
#15 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x37153810,
    __last=__last@entry=0x35d4bcd0, __depth_limit=33, __depth_limit@entry=35,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#16 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x37f51450,
    __last=__last@entry=0x37bf6db0, __depth_limit=35, __depth_limit@entry=37,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#17 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x399a1690,
    __last=__last@entry=0x37bf6db0, __depth_limit=37, __depth_limit@entry=38,
    __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#18 0x00510818 in std::__introsort_loop<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > >(__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, __gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*, std::allocator<cooked_index_entry*> > >, int, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> >) (__first=__first@entry=0x35bbad90, __last=__last@entry=0x0,
    __depth_limit=38, __depth_limit@entry=42, __comp=__comp@entry=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1953
#19 0x00511672 in std::__sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, __gnu_cxx::__ops::_Iter_comp_iter<cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > > (__comp=..., __last=..., __first=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:1967
#20 std::sort<__gnu_cxx::__normal_iterator<cooked_index_entry**, std::vector<cooked_index_entry*> >, cooked_index::do_finalize()::<lambda(const cooked_index_entry*, const cooked_index_entry*)> > (__last=..., __first=..., __comp=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/stl_algo.h:4860
#21 cooked_index::do_finalize (this=<optimized out>)
    at dwarf2/cooked-index.c:246
#22 0x00511912 in <lambda()>::operator() (__closure=0x1df1fa10)
    at dwarf2/cooked-index.c:123
#23 std::_Function_handler<void(), cooked_index::finalize()::<lambda()> >::_M_invoke (__functor=...)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:300
#24 std::function<void ()>::operator()() const (this=0x1df1fa10)
    at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/std_function.h:690
#25 gdb::thread_pool::post_task(std::function<void ()>&&) (
    this=<optimized out>, func=...) at ./../gdbsupport/thread-pool.h:132
#26 cooked_index::finalize (this=<optimized out>) at dwarf2/cooked-index.c:124
#27 0x0051198f in cooked_index_vector::cooked_index_vector (this=0x217fcdd8,
    vec=...) at d:/usr/lib/gcc/mingw32/9.2.0/include/c++/bits/unique_ptr.h:154
#28 0x00a08df6 in dwarf2_build_psymtabs_hard (per_objfile=<optimized out>)
    at dwarf2/read.c:7185
#29 dwarf2_build_psymtabs (objfile=<optimized out>) at dwarf2/read.c:5434
#30 cooked_index_functions::read_partial_symbols (this=<optimized out>,
    objfile=<optimized out>) at dwarf2/read.c:18593
#31 0x00782929 in objfile::require_partial_symbols (
    this=this@entry=0x1e7764f8, verbose=<optimized out>, verbose@entry=false)
    at symfile-debug.c:541
#32 0x0078a99e in read_symbols (objfile=objfile@entry=0x1e7764f8,
    add_flags=..., add_flags@entry=...) at symfile.c:795
#33 0x00789e50 in syms_from_objfile_1 (add_flags=..., addrs=0x1df1fc70,
    objfile=0x1e7764f8) at symfile.c:968
#34 syms_from_objfile (add_flags=..., addrs=<optimized out>,
    objfile=0x1e7764f8) at symfile.c:985
#35 symbol_file_add_with_addrs (abfd=..., name=<optimized out>,
    name@entry=0x1e6c46a8 "./gdb.exe", add_flags=..., add_flags@entry=...,
    addrs=<optimized out>, addrs@entry=0x0, flags=flags@entry=...,
    parent=<optimized out>, parent@entry=0x0) at symfile.c:1088
#36 0x0078bbd8 in symbol_file_add_from_bfd (parent=0x0, flags=..., addrs=0x0,
    add_flags=..., name=0x1e6c46a8 "./gdb.exe", abfd=...) at symfile.c:1168
#37 symbol_file_add (name=name@entry=0x1e6c46a8 "./gdb.exe", add_flags=...,
    add_flags@entry=..., addrs=addrs@entry=0x0, flags=..., flags@entry=...)
    at symfile.c:1181
#38 0x0078bc51 in symbol_file_add_main_1 (args=0x1e6c46a8 "./gdb.exe",
    add_flags=..., flags=..., reloff=0) at symfile.c:1205
#39 0x0078bce5 in symbol_file_add_main (args=0x1e6c46a8 "./gdb.exe",
    add_flags=...) at symfile.c:1196
#40 0x00663ce2 in catch_command_errors (
    command=command@entry=0x663c90 <symbol_file_add_main_adapter(char const*, int)>, arg=0x1e6c46a8 "./gdb.exe", from_tty=1,
    do_bp_actions=do_bp_actions@entry=false) at main.c:513
#41 0x00666746 in captured_main_1 (context=<optimized out>,
    context@entry=0x1df1ff64) at main.c:1213
#42 0x00666878 in captured_main (data=0x1df1ff64) at main.c:1320
#43 gdb_main (args=args@entry=0x1df1ff64) at main.c:1345
#44 0x00a7ceba in main (argc=3, argv=0x1e6c0d60) at gdb.c:32(gdb) cContinuing.

  parent reply	other threads:[~2022-12-29 19:41 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-17 17:42 Eli Zaretskii
2022-12-19 10:07 ` Luis Machado
2022-12-19 12:48   ` Eli Zaretskii
2022-12-19 14:08     ` Luis Machado
2022-12-19 14:45       ` Eli Zaretskii
2022-12-19 21:18         ` Tom Tromey
2022-12-20  3:26           ` Eli Zaretskii
2022-12-23  3:34             ` Simon Marchi
2022-12-23  8:05               ` Eli Zaretskii
2022-12-24 17:57             ` Tom Tromey
2022-12-24 18:13               ` Eli Zaretskii
2022-12-27 17:19                 ` Tom Tromey
2022-12-27 18:00                   ` Eli Zaretskii
2022-12-28 12:35                     ` Luis Machado
2022-12-28 16:35                     ` Tom Tromey
2022-12-28 17:35                       ` Eli Zaretskii
2022-12-28 22:47                         ` Tom Tromey
2022-12-29 15:18                           ` Eli Zaretskii
2022-12-29 18:17                             ` Tom Tromey
2022-12-29 18:36                               ` John Baldwin
2022-12-29 19:13                               ` Eli Zaretskii [this message]
2022-12-29 20:22                                 ` Simon Marchi
2022-12-30 14:31                                   ` Eli Zaretskii
2023-01-03 19:44                                     ` Christian Biesinger
2023-01-03 20:18                                       ` Eli Zaretskii
2023-01-03 20:34                                         ` Christian Biesinger
2023-01-03 21:34                                           ` Simon Marchi
2023-01-03 21:43                                             ` Christian Biesinger
2023-01-04  1:03                                             ` Tom Tromey
2023-01-04 18:10                                             ` Eli Zaretskii
2023-01-04 22:33                                               ` Tom Tromey
2023-01-05  7:11                                                 ` Eli Zaretskii
2023-01-05 14:49                                                   ` Christian Biesinger
2023-01-05 15:12                                                     ` Eli Zaretskii
2023-01-06 20:55                                                   ` Tom Tromey
2023-01-05 18:06                                               ` Torbjorn SVENSSON
2023-01-07  6:30 ` Eli Zaretskii
2023-01-07  9:14   ` Andreas Schwab
2023-01-07  9:32     ` Eli Zaretskii
2023-01-07 10:00       ` Andreas Schwab
2023-01-07 10:51         ` Eli Zaretskii
2023-01-07 13:04           ` Andreas Schwab
2023-01-07 13:54             ` Eli Zaretskii
2023-01-07 13:59               ` Andreas Schwab
2023-01-07 14:12                 ` Eli Zaretskii
2023-01-07 14:23                   ` Andreas Schwab
2023-01-07 14:29                     ` Eli Zaretskii
2023-01-07 14:40                       ` Andreas Schwab
2023-01-07 15:07                         ` Eli Zaretskii
2023-01-07 15:40                           ` Andreas Schwab
2023-01-07 16:10                             ` Eli Zaretskii
2023-01-07 16:15                               ` Eli Zaretskii
2023-01-07 16:16                               ` Hannes Domani
2023-01-07 16:22                                 ` Eli Zaretskii
2023-01-07 17:39                                 ` Andreas Schwab
2023-01-07 18:08                                   ` Eli Zaretskii
2023-01-07 18:26                                     ` Andreas Schwab
2023-01-07 18:38                                       ` Eli Zaretskii
2023-01-07 19:26                                         ` Andreas Schwab
2023-01-07 19:35                                           ` Eli Zaretskii
2023-01-07 18:28                                     ` Hannes Domani
2023-01-07 19:25                                       ` Andreas Schwab
2023-01-07 15:07                       ` Eli Zaretskii

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=83wn6a6n21.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=gdb-patches@sourceware.org \
    --cc=luis.machado@arm.com \
    --cc=tom@tromey.com \
    /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: link
Be 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).