From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C78B73857C53; Mon, 10 Aug 2020 21:05:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C78B73857C53 From: "delta512.dev at protonmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/25560] Assertion `pid != 0' failed Date: Mon, 10 Aug 2020 21:05:55 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 9.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: delta512.dev at protonmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2020 21:05:55 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D25560 --- Comment #6 from Fil --- (In reply to Tom Tromey from comment #5) > A stack trace of the crashing gdb might be helpful. Sure, there it is: #0 0x00000001001bcf50 in find_inferior_pid (pid=3D) at ../../gdb/inferior.c:283 #1 0x0000000100320aed in find_thread_ptid (ptid=3D...) at ../../gdb/thread= .c:524 #2 inferior_thread () at ../../gdb/thread.c:94 #3 0x000000010028201e in get_thread_arch_regcache (gdbarch=3D, ptid=3D...) at ../../gdb/regcache.c:341 #4 get_thread_regcache (ptid=3D...) at ../../gdb/regcache.c:358 #5 get_thread_regcache (thread=3D) at ../../gdb/regcache.c:= 366 #6 0x0000000102809190 in ?? () #7 0x0000000102809190 in ?? () #8 0x00007ffeefbff4c0 in ?? () #9 0x00000001002bf9a2 in gdb_bfd_ref_policy::decref (abfd=3D) at ../../gdb/gdb_bfd.h:64 #10 gdb::ref_ptr::~ref_ptr (this=3D= ) at ../../gdb/gdbsupport/gdb_ref_ptr.h:91 #11 gdb::ref_ptr::~ref_ptr (this=3D= ) at ../../gdb/gdbsupport/gdb_ref_ptr.h:89 #12 darwin_get_dyld_bfd () at ../../gdb/solib-darwin.c:446 #13 0x00000001002bed90 in darwin_solib_get_all_image_info_addr_at_init (info=3D) at ../../gdb/solib-darwin.c:465 #14 darwin_solib_create_inferior_hook (from_tty=3D) at ../../gdb/solib-darwin.c:515 #15 0x00000001002dca3f in symbol_file_command (args=3D, from_tty=3D1) at ../../gdb/symfile.c:1674 #16 0x000000010015451d in file_command (arg=3D0x103026450 "", from_tty=3D41= 980304) at ../../gdb/exec.c:433 #17 0x00000001000963f2 in cmd_func (cmd=3D0x102809190, args=3D0x100b232c0 "= ", from_tty=3D0) at ../../gdb/cli/cli-decode.c:1952 #18 0x000000010032876c in execute_command (p=3D, from_tty=3D= 1) at ../../gdb/top.c:612 #19 0x0000000102800f35 in ?? () #20 0x0000000100c044c0 in ?? () #21 0x00007ffeefbff630 in ?? () #22 0x00007fff561fd5bf in malloc () from /usr/lib/system/libsystem_malloc.d= ylib #23 0x0000000100151bbb in command_handler (command=3D0x102809190 " \214\200\002\001") at ../../gdb/event-top.c:587 #24 0x0000000100151eb0 in command_line_handler (rl=3D...) at ../../gdb/event-top.c:772 #25 0x0000000100151410 in gdb_rl_callback_handler (rl=3D0x102809190 " \214\200\002\001") at ../../gdb/event-top.c:218 #26 0x000000010039a86a in rl_callback_read_char () at ../../../readline/readline/callback.c:281 #27 0x00000001001525fe in gdb_rl_callback_read_char_wrapper_noexcept () at ../../gdb/event-top.c:176 #28 0x00000001001510b4 in gdb_rl_callback_read_char_wrapper (client_data=3D) at ../../gdb/event-top.c:193 #29 0x0000000100151a80 in stdin_event_handler (error=3D, client_data=3D0x103026450) at ../../gdb/event-top.c:515 #30 0x0000000100150432 in gdb_wait_for_event (block=3D) at ../../gdb/event-loop.c:854 #31 0x0000000100150094 in gdb_do_one_event () at ../../gdb/event-loop.c:346 #32 0x0000000100150515 in start_event_loop () at ../../gdb/event-loop.c:370 #33 0x00000001001faa1f in captured_command_loop () at ../../gdb/main.c:359 #34 0x00000001001f7c85 in captured_main (data=3D) at ../../gdb/main.c:1203 #35 gdb_main (args=3D) at ../../gdb/main.c:1217 #36 0x0000000100450e60 in ?? () #37 0x0000000000000000 in ?? () Thanks for your reply, if you need more information please check the new de= bug session attached. > Note that the Darwin port isn't very actively maintained. > This is unfortunate but we have had trouble finding someone > with the needed hardware and the desire to make it work :( Yeah, I guess Apple is of no help anymore too. Unfortunately I'm building G= DB to learn how to use it properly, so my skills are not enough for sure. Yet, if you could guide me I'll share as much details as possible and hopef= ully sort this out. --=20 You are receiving this mail because: You are on the CC list for the bug.=