From nobody Fri Jan 13 20:21:47 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ntt9m3l38z2p7Lv for ; Fri, 13 Jan 2023 20:21:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ntt9m2jCSz3psH for ; Fri, 13 Jan 2023 20:21:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673641308; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cacpVcmkgbAey3WIGLh8YUy9VMzTvnXvgeadr06ZDe0=; b=nBlNalbhyfDd6hLyUwOAQreUaAo813pJ4C3Zf6CA70ozZtpylcziBzu2cx4a+jWj1cNKLu oZrjC0Hn+XaaNYC3cmsKmS0uYD21Mbvp2nNyRVbZiwxcGvmkSTxUlYmTjD5GgkqZ9aWCr9 w5sDZ4r+pnylQW+5lwrZiGqsND8qqK6I1Rp02Gtp0xUjWgoByncYDkjhgovjJ9akE21mHV 6Zi4/UsGfLj+XraEY2Y+lnVGYYoDaDDr9EIfet4c28OIzdqnIr4w8gCEh8OuHPgJpQpeEn wqYjp4SO4XCR9SCzyWQS3fmfLlTD1IJ7RUoMdWrI4VysxUNedBcC8k4PH62ZDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673641308; a=rsa-sha256; cv=none; b=xnk3Q0thIVnsjC0Tqm15wK9/oMeb+jDLuzczonbsEGAdrf33MXgSxPaUjIl+unfakBZkJM udPWNzAuwqHj4Moj3xVgESNiDvbWVPZ5YuJMcu+wXqqSuxYDBZS5B81zsiV+5+3V6l2NVi YZZMSAziO565jyQUsPVko4ZyRWjC/vlqFQoAdNZHy86QSFwnPBqgCUJG91u5phsgeZIo/U h2Tt9/mtyCSJYlhKlIuz3oHXNjjQOC11crs14D3V1+rnr8kbx0qsjFU4iqwyuNGtWdzSmo cikByUy+pdLIgZhKlT2Q3Ma6KCwMwlwwc+6/u+m8fCoBq99EIPX70nP2Gts6bg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ntt9m1mGjzLdF for ; Fri, 13 Jan 2023 20:21:48 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 30DKLmfM071530 for ; Fri, 13 Jan 2023 20:21:48 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30DKLm5D071527 for bugs@FreeBSD.org; Fri, 13 Jan 2023 20:21:48 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 268897] panic: [pmc,4811] Retrieving callchain for thread that doesn't want it Date: Fri, 13 Jan 2023 20:21:47 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 13.1-STABLE X-Bugzilla-Keywords: crash X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jfc@mit.edu X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268897 --- Comment #3 from John F. Carr --- Created attachment 239457 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D239457&action= =3Dedit Reproduction program and required libraries I attached a tar file with the executable "run" and the necessary shared libraries. You will need to set LD_LIBRARY_PATH due to the shared librarie= s, e.g. $ LD_LIBRARY_PATH=3D. ./run 23 for I ran the program in a bhyve guest VM (CURRENT as of last week) and it cras= hed differently when I forgot to set LD_LIBRARY_PATH: $ pmcstat -U -O perf.outu -P ls_not_halted_cyc -P instructions -P ls_refills_from_sys.ls_mabresp_rmt_dram ./run 24 for ld-elf.so.1: Shared object "libopencilk-personality-cpanic: [amd,770] PMC0, CPU4 "K8-0" already stopped cpuid =3D 4 time =3D 1673640312 KDB: stack backtrace: db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00855d1= c20 vpanic() at vpanic+0x151/frame 0xfffffe00855d1c70 panic() at panic+0x43/frame 0xfffffe00855d1cd0 amd_stop_pmc() at amd_stop_pmc+0x12e/frame 0xfffffe00855d1cf0 pmc_process_exit() at pmc_process_exit+0x26d/frame 0xfffffe00855d1d80 exit1() at exit1+0x36e/frame 0xfffffe00855d1df0 sys_exit() at sys_exit+0xd/frame 0xfffffe00855d1e00 amd64_syscall() at amd64_syscall+0x12e/frame 0xfffffe00855d1f30 fast_syscall_common() at fast_syscall_common+0xf8/frame 0xfffffe00855d1f30 --- syscall (1, FreeBSD ELF64, exit), rip =3D 0xbd6753917aa, rsp =3D 0x8203= e4b68, rbp =3D 0x8203e4b80 --- KDB: enter: panic [ thread pid 765 tid 100129 ] Stopped at kdb_enter+0x32: movq $0,0x129dc83(%rip) --=20 You are receiving this mail because: You are the assignee for the bug.=