From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dmta1007.nifty.com (mta-snd01013.nifty.com [106.153.227.45]) by sourceware.org (Postfix) with ESMTPS id B80683858D33 for ; Tue, 17 Oct 2023 03:30:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B80683858D33 Authentication-Results: sourceware.org; dmarc=fail (p=none dis=none) header.from=nifty.ne.jp Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=nifty.ne.jp ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B80683858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=106.153.227.45 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697513424; cv=none; b=kzVwuPrhC0FhVYWAU0YzsTEnpt61ydJvvzUFxoB5GYmqUAu/eE+158wA7Aq0XcDzQQuup0NqG9uoHpOoClFdmqhYusP4ZJHi7yp8KIUtY341wsv7miQIcnhlJZi+W8o+zB9PQo1dEeQSjF3A7z+kB+J73347Q6JQfgjPYHb09fY= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1697513424; c=relaxed/simple; bh=x5hMrsEOvSdNB4YA1uEJwfvKyQ81PA7C1WZYuKc2KQU=; h=Date:From:To:Subject:Message-Id:Mime-Version; b=Z31jS/kc1Stinc8T+s5cEy9GRK8pOVTnouuYNLAE4o3jcvlXEFkbUkJcVlFBjYObnaaREAeOQ7s+DPCS97or102tVSSvaeWXvn5Q07+6QJaEwEmyD1rlu91zDrwbkVfCFMHIEo6BaAeTmnrficwicBE3bVtYmEmyZ7rqbWFJVCM= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from HP-Z230 by dmta1007.nifty.com with ESMTP id <20231017033018143.DUSX.5813.HP-Z230@nifty.com> for ; Tue, 17 Oct 2023 12:30:18 +0900 Date: Tue, 17 Oct 2023 12:30:18 +0900 From: Takashi Yano To: cygwin@cygwin.com Subject: Re: Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| ... Message-Id: <20231017123018.de2f367aa81105bee03144a1@nifty.ne.jp> In-Reply-To: References: X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.9 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Mon, 16 Oct 2023 20:27:09 -0600 Brian Inglis wrote: > On 2023-10-16 15:31, Roland Mainz via Cygwin wrote: > > Steps to reproduce: > > 1. Boot Windows 10 > > 2. Log in > > 3. Open Cygwin terminal > > 4. Run "kate" > > Result: > > kate crashes > > Expected result: > > kate runs > > ---- snip ---- > > $ uname -a > > CYGWIN_NT-10.0-19045 DERFWNB8353 3.5.0-0.438.g322c7150b25e.x86_64 > > 2023-09-17 14:19 UTC x86_64 Cygwin > > $ gdb --args kate > > GNU gdb (GDB) (Cygwin 12.1-1) 12.1 > > Copyright (C) 2022 Free Software Foundation, Inc. > > [snip] > > (gdb) run > > Starting program: /usr/bin/kate > > [New Thread 9784.0x29ac] > > [New Thread 9784.0x32c8] > > [New Thread 9784.0x4288] > > [New Thread 9784.0x4fa4] > > [New Thread 9784.0x4e18] > > QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to > > '/tmp/runtime-roland.mainz' > > [New Thread 9784.0x4350] > > [New Thread 9784.0x4a0] > > [New Thread 9784.0x159c] > > [New Thread 9784.0x19d8] > > [New Thread 9784.0x15f8] > > [New Thread 9784.0x24fc] > > process 170: D-Bus library appears to be incorrectly set up; failed to > > read machine uuid: Failed to open "/etc/machine-id": No such file or > > directory > > See the manual page for dbus-uuidgen to correct this issue. > > D-Bus not compiled with backtrace support so unable to print a backtrace > > Don't you need XWin and dbus running and env vars set, the following files, get > a clean OK from cygcheck, or be able to rerun the postinstall script: > > $ ls -lgo /etc/machine-id /var/lib/dbus/machine-id /etc/postinstall/dbus.sh.done > lrwxrwxrwx 1 26 May 14 2013 /etc/machine-id -> ../var/lib/dbus/machine-id* > -rwxr-xr-x+ 1 33 May 14 2013 /var/lib/dbus/machine-id* > -rw-r--r-- 1 54 Aug 9 2017 /etc/postinstall/dbus.sh.done > $ head /etc/postinstall/dbus.sh.done > mkdir -p /var/lib/dbus > /usr/bin/dbus-uuidgen --ensure I think dbus postinstall script does not make symbolic link /etc/machine-id -> ../var/lib/dbus/machine-id does it? -- Takashi Yano