From nobody Fri Jul 12 09:56:07 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 4WL6Rz1Ys1z5Q232 for ; Fri, 12 Jul 2024 09:56:15 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 mx1.freebsd.org (Postfix) with ESMTPS id 4WL6Ry1pDXz4V7c; Fri, 12 Jul 2024 09:56:13 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; none Received: from kalamity.joker.local (123-1-21-232.area1b.commufa.jp [123.1.21.232]) (authenticated bits=0) by www121.sakura.ne.jp (8.17.1/8.17.1/[SAKURA-WEB]/20201212) with ESMTPA id 46C9u7XO004165; Fri, 12 Jul 2024 18:56:09 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=dec.sakura.ne.jp; s=s2405; t=1720778169; bh=lmkMXXdPKHaJ5rKj/7q9D48mmwpKSuAB9YIzxswuZ7k=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=FG37TiqL/sXAyLZoKnTtM3z9/AjqWhEAt5ZoWgCezMGXmWuimywIC8+FfLNrs7g19 HA2jTPZE5JNWpZDuD2rzptZ2yH+M+dqcBY+6PM4wBui0ymxqpAHDxmQafEGqgC5JcS WL7xLJLMvejeNe/mfKkRUsJreX9TWPwrifDkIFws= Date: Fri, 12 Jul 2024 18:56:07 +0900 From: Tomoaki AOKI To: Miroslav Lachman <000.fbsd@quip.cz> Cc: Rick Macklem , Zhenlei Huang , FreeBSD Current Subject: Re: exited on signal 11 (no core dump - other error) Message-Id: <20240712185607.bf0aba83738501c80dce9cc2@dec.sakura.ne.jp> In-Reply-To: <694d7804-3eab-4a27-8f6f-53f79346e9df@quip.cz> References: <694d7804-3eab-4a27-8f6f-53f79346e9df@quip.cz> Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.1) 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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP]; TAGGED_RCPT(0.00)[] X-Rspamd-Queue-Id: 4WL6Ry1pDXz4V7c On Fri, 12 Jul 2024 10:20:19 +0200 Miroslav Lachman <000.fbsd@quip.cz> wrote: > On 12/07/2024 07:02, Rick Macklem wrote: > > On Thu, Jul 11, 2024 at 8:40 PM Zhenlei Huang wrote: > >> > >> 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 llvmorg-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 - other error) > >> pid 36947 (getty), jid 0, uid 0: exited on signal 11 (no core dump - other error) > >> pid 37990 (getty), jid 0, uid 0: exited on signal 11 (no core dump - other error) > >> pid 80885 (sshd), jid 0, uid 1001: exited on signal 11 (no core dump - bad address) > >> pid 79883 (sshd), jid 0, uid 0: exited on signal 11 (no core dump - bad address) > >> pid 14245 (sshd), jid 0, uid 0: exited on signal 11 (no core dump - bad address) > >> pid 49213 (ntpd), jid 0, uid 123: exited on signal 11 (no core dump - other error) > >> pid 37382 (getty), jid 0, uid 0: exited on signal 11 (no core dump - other error) > >> pid 35315 (getty), jid 0, uid 0: exited on signal 11 (no core dump - other error) > >> pid 21366 (powerd), jid 0, uid 0: exited on signal 11 (no core dump - other error) > >> pid 35735 (getty), jid 0, uid 0: exited on signal 11 (no core dump - other error) > >> pid 36339 (getty), jid 0, uid 0: exited on signal 11 (no core dump - other error) > >> pid 37346 (getty), jid 0, uid 0: exited on signal 11 (no core dump - other error) > >> Uptime: 4d1h33m9s > >> ukbd0: detached > >> uhub0: detached > >> ---<>--- > >> > >> IIUC all processes will get signal to quit on system reboot. But what does 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 shutdown? > > > Something similar happens to me, but when logging into KDE Plasma. > Sometimes it happens that desktop applications that start from a saved > session (Firefox, Thunderbird, Telegram, Signal...) start loading and > then everything crashes. The login screen reappears and when I log in > again, everything crashes again until I restart the machine. The machine > gets into this state randomly, about once a week. > > Jul 5 12:24:52 xxx kernel: pid 1647 (packagekitd), jid 0, uid 0: exited > on signal 11 (core dumped) > Jul 5 12:25:28 xxx kernel: pid 1897 (kalarm), jid 0, uid 1001: exited > on signal 6 (core dumped) > Jul 5 12:25:36 xxx kernel: pid 1467 (Xorg), jid 0, uid 0: exited on > signal 6 (core dumped) > Jul 5 12:25:37 xxx kernel: pid 1772 (signal-desktop), jid 0, uid 1001: > exited on signal 5 (core dumped) > Jul 5 12:25:39 xxx pulseaudio[1630]: [] core-util.c: Failed to create > secure directory (/var/run/user/1001/pulse): No such file or directory > Jul 5 12:25:40 xxx kernel: pid 1776 (audacious), jid 0, uid 1001: > exited on signal 6 (core dumped) > Jul 5 12:25:41 xxx kernel: pid 1915 (drkonqi), jid 0, uid 1001: exited > on signal 6 (core dumped) > Jul 5 12:25:42 xxx kernel: pid 1914 (kwin_x11), jid 0, uid 1001: exited > on signal 6 (core dumped) > > My system is 13.3-p3 amd64. > > Kind regards > Miroslav Lachman What comes in my mind is... *Hardware problem *Main memory (including memory slot) *Dedicated grhaphics memories, if any (seems that X-related processes are crashing) *Power failures / instabilities *Software problem *Mis-alignments caused by ASLR or something *Bitten by uncommon bugs in fundamental libraries like libc, xcb, glib,... *Not sure it's MFC'ed to 13.x or not, but missingly determined instruction sets for SIMD libc or something alike. -- Tomoaki AOKI