From nobody Fri Jul 12 05:02:51 2024 X-Original-To: current@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 4WKzxd5Ft9z5Ql27 for ; Fri, 12 Jul 2024 05:03:01 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-pj1-x1033.google.com (mail-pj1-x1033.google.com [IPv6:2607:f8b0:4864:20::1033]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "WR4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WKzxd3Pm7z422M; Fri, 12 Jul 2024 05:03:01 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-pj1-x1033.google.com with SMTP id 98e67ed59e1d1-2c96f037145so1330526a91.3; Thu, 11 Jul 2024 22:03:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720760580; x=1721365380; darn=freebsd.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QUGN9FyoHucSSgweiM5GpPeQNSBTKm3ToaogRgwI7Sg=; b=GAAI1+LwgiYYheuIplwHhdJqVBfbZnX0rT4CAsxLBOdidFxVg6QukCpkevO6iABQGh E0iZ8PkReSViWUFooGnvS3LVSUohtbThRZiohU5r/wzogEtCTR1F4/ysfJwaU/yoMHSt QJXZv0b6Mnd3pXwvXHW1m4vvmDKBkHWKwzi16D4lq29uV6LSZ34vX7ajGo82JlOlAm/U forSI+0Rx3llndzy8RHnYtgY3Hs7LednjOxS3en0XM543Gr7bqM1ZynvIGiAqiAnHwaW b6jbm9DN3kmLiW1qYz75lL5b64fvkYdM7CTzGbdEYi05bN8oodjP0/xRqd556p/4U2t9 ZhEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720760580; x=1721365380; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QUGN9FyoHucSSgweiM5GpPeQNSBTKm3ToaogRgwI7Sg=; b=Wu1tvjqSutXXBrS7OoUYIF4TRyUTx4XaZlOkCdbd0ykkxr+1MpaCwSbMtm6N4LL/mf eErJYPvkv5fWVlpUQKBVlNDIRWsaxpJfKNP7U0CYcLQL8m6uSnJkfle8S0s/p370nVDW l2sdfWAqJCcZvgX31C/B+bzVvQGLyxN7gYvATmbM9Ol6Z/Vq2F5KX1rDTXwkYlY8xYPS f+Wv5FGJxXelFi9IdZIXVrfrumImQI1uJrDqcVa4KCODKqFjNw6wMVIeto9GYhamWyJh oQUbY+WENAXBhSMZKCZYk29vJULAglqYVG0w5mNipTgdZ4JNPocSmDHkREjK5FBxbmLC 6yeQ== X-Gm-Message-State: AOJu0YzS/edL+AM4yrfAFCuhqP8DkBVuMTY9jz4FWufQ8YifE+LVmVJc r9R3kvcqW2BQYiTKEnbZ60L5fkeEjaYy8XXbiIbgaSInPn4/PQSVcU7Fof5V59RdMJBGbyIcvPn RfO7dVIDema2/8xN6fCOgzBywv3oG X-Google-Smtp-Source: AGHT+IHCJ5jxB6u45FzFM3pskTM0HYNZqJwC4fmh960zCpTMnpYM/5Sbhcb0+bAtd3Ap1SWJUhFi60BQosVwqrINwW0= X-Received: by 2002:a17:90a:b016:b0:2c8:5cb3:42b6 with SMTP id 98e67ed59e1d1-2ca35bde1b1mr9895767a91.8.1720760580077; Thu, 11 Jul 2024 22:03:00 -0700 (PDT) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@FreeBSD.org MIME-Version: 1.0 References: In-Reply-To: From: Rick Macklem Date: Thu, 11 Jul 2024 22:02:51 -0700 Message-ID: Subject: Re: exited on signal 11 (no core dump - other error) To: Zhenlei Huang Cc: FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; TAGGED_FROM(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US] X-Rspamd-Queue-Id: 4WKzxd3Pm7z422M On Thu, Jul 11, 2024 at 8:40=E2=80=AFPM Zhenlei Huang wr= ote: > > Hi > > I observed something weird on Release 14.1. > > When rebooting my dev machine, I got > > ---<>--- > Copyright (c) 1992-2023 The FreeBSD Project. > Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 > The Regents of the University of California. All rights reserved. > FreeBSD is a registered trademark of The FreeBSD Foundation. > FreeBSD 14.1-RELEASE releng/14.1-n267679-10e31f0946d8 GENERIC amd64 > FreeBSD clang version 18.1.5 (https://github.com/llvm/llvm-project.git ll= vmorg-18.1.5-0-g617a15a9eac9) > ... > > em0: promiscuous mode enabled > em0: promiscuous mode disabled > Waiting (max 60 seconds) for system process `vnlru' to stop... done > Waiting (max 60 seconds) for system process `syncer' to stop... > Syncing disks, vnodes remaining... 0 0 0 0 done > All buffers synced. > pid 50599 (devd), jid 0, uid 0: exited on signal 11 (no core dump - other= error) > pid 35393 (getty), jid 0, uid 0: exited on signal 11 (no core dump - othe= r error) > pid 36947 (getty), jid 0, uid 0: exited on signal 11 (no core dump - othe= r error) > pid 37990 (getty), jid 0, uid 0: exited on signal 11 (no core dump - othe= r error) > pid 80885 (sshd), jid 0, uid 1001: exited on signal 11 (no core dump - ba= d address) > pid 79883 (sshd), jid 0, uid 0: exited on signal 11 (no core dump - bad a= ddress) > pid 14245 (sshd), jid 0, uid 0: exited on signal 11 (no core dump - bad a= ddress) > pid 49213 (ntpd), jid 0, uid 123: exited on signal 11 (no core dump - oth= er error) > pid 37382 (getty), jid 0, uid 0: exited on signal 11 (no core dump - othe= r error) > pid 35315 (getty), jid 0, uid 0: exited on signal 11 (no core dump - othe= r error) > pid 21366 (powerd), jid 0, uid 0: exited on signal 11 (no core dump - oth= er error) > pid 35735 (getty), jid 0, uid 0: exited on signal 11 (no core dump - othe= r error) > pid 36339 (getty), jid 0, uid 0: exited on signal 11 (no core dump - othe= r error) > pid 37346 (getty), jid 0, uid 0: exited on signal 11 (no core dump - othe= r error) > Uptime: 4d1h33m9s > ukbd0: detached > uhub0: detached > ---<>--- > > IIUC all processes will get signal to quit on system reboot. But what doe= s the > signal 11 mean ? Is it EDEADLK in sys/sys/errno.h ? I think signal 11 refers to SIGSEGV (segmentation violation). However, I have no idea why a bunch of processes would do that during shutd= own? rick > > If yes, then why they get dead locked ? > > > Best regards, > Zhenlei > >