From owner-freebsd-x11@freebsd.org Tue Sep 10 19:40:18 2019 Return-Path: Delivered-To: freebsd-x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 33F2FE2031 for ; Tue, 10 Sep 2019 19:40:18 +0000 (UTC) (envelope-from bch@online.de) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 46Sb3P69yNz3QVD for ; Tue, 10 Sep 2019 19:40:17 +0000 (UTC) (envelope-from bch@online.de) Received: by mailman.nyi.freebsd.org (Postfix) id D2607E2030; Tue, 10 Sep 2019 19:40:17 +0000 (UTC) Delivered-To: x11@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D2271E202F for ; Tue, 10 Sep 2019 19:40:17 +0000 (UTC) (envelope-from bch@online.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 46Sb3N4ZhTz3QVC for ; Tue, 10 Sep 2019 19:40:15 +0000 (UTC) (envelope-from bch@online.de) Received: from x230.onfire.org ([84.181.88.63]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPSA (Nemesis) id 1N3Gok-1iFmjh0b1G-010JpU for ; Tue, 10 Sep 2019 21:40:11 +0200 From: Christian Barthel To: x11@FreeBSD.org Subject: xedit Segfaults without "tags" file Date: Tue, 10 Sep 2019 21:40:08 +0200 Message-ID: <87o8zs9bzb.fsf@x230.onfire.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (berkeley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 gV6ET8qxQr6ikTQTjAFtNJhYJusg9UnN/BKxb4lhS7UsY+c5r7y27o0lUW76aEONJ6kuCVhg0 MTJLl30xZYQMNGbo7o8WKn7/py4K+P5dqQNJu7CCSWYDSRi43E= X-Rspamd-Queue-Id: 46Sb3N4ZhTz3QVC X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of bch@online.de designates 212.227.126.133 as permitted sender) smtp.mailfrom=bch@online.de X-Spamd-Result: default: False [-0.92 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:212.227.126.128/25]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[x11@freebsd.org]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; NEURAL_HAM_LONG(-0.20)[-0.201,0]; DMARC_NA(0.00)[online.de]; RCVD_IN_DNSWL_NONE(0.00)[133.126.227.212.list.dnswl.org : 127.0.5.0]; NEURAL_HAM_MEDIUM(-0.92)[-0.920,0]; IP_SCORE(0.50)[ip: (1.72), ipnet: 212.227.0.0/16(-1.38), asn: 8560(2.15), country: DE(-0.01)]; RWL_MAILSPIKE_POSSIBLE(0.00)[133.126.227.212.rep.mailspike.net : 127.0.0.17]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:8560, ipnet:212.227.0.0/16, country:DE]; RCVD_COUNT_TWO(0.00)[2]; RCVD_TLS_ALL(0.00)[]; RECEIVED_SPAMHAUS_PBL(0.00)[63.88.181.84.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.10] X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Sep 2019 19:40:18 -0000 Hello, I am using xedit(1) on FreeBSD 12 (installed as package). xedit-1.2.2 Simple text editor for X When starting xedit(1), a Segmentation Fault occurs. It looks like it wants to access the file ~/tags. After creating this file, xedit(1) starts as expected. Here is the output of the kdump(1): 14483 ktrace RET ktrace 0 14483 ktrace CALL execve(0x7fffffffd2e0,0x7fffffffd8f8,0x7fffffffd908) 14483 ktrace NAMI "/sbin/xedit" 14483 ktrace RET execve -1 errno 2 No such file or directory 14483 ktrace CALL execve(0x7fffffffd2e0,0x7fffffffd8f8,0x7fffffffd908) 14483 ktrace NAMI "/bin/xedit" ..... 14483 xedit NAMI "/usr/local/share/icons/default/index.theme" 14483 xedit RET open -1 errno 2 No such file or directory 14483 xedit CALL __getcwd(0x800aba800,0x400) 14483 xedit NAMI "/usr/home/bch" 14483 xedit RET __getcwd 0 14483 xedit CALL fstatat(AT_FDCWD,0x800aba800,0x7fffffffc8b0,0x200 14483 xedit NAMI "/usr/home/bch/tags" 14483 xedit RET fstatat -1 errno 2 No such file or directory 14483 xedit PSIG SIGSEGV SIG_DFL code=SEGV_ACCERR 14483 xedit NAMI "xedit.core" -- Christian Barthel