Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| ...

Martin Wege martin.l.wege@gmail.com
Wed Nov 1 09:05:24 GMT 2023


On Tue, Oct 17, 2023 at 5:30 AM Takashi Yano via Cygwin
<cygwin@cygwin.com> wrote:
>
> 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?

Not in my case.

Thanks,
Martin


More information about the Cygwin mailing list