public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@Shaw.ca>
To: cygwin@cygwin.com
Subject: Re: Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| ...
Date: Mon, 16 Oct 2023 20:27:09 -0600	[thread overview]
Message-ID: <a9676668-7d14-47d3-9788-901a4e487cea@Shaw.ca> (raw)
In-Reply-To: <CAKAoaQ=kCMYPDTkgZaK_5=VAkmiwm6bN3QgfKW0LXOis2g0hDw@mail.gmail.com>

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
$ cygcheck -chv dbus

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

  parent reply	other threads:[~2023-10-17  2:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-16 21:31 Roland Mainz
2023-10-17  0:28 ` Takashi Yano
2023-10-17  9:08   ` Martin Wege
2023-10-17  2:27 ` Brian Inglis [this message]
2023-10-17  3:30   ` Takashi Yano
2023-11-01  9:05     ` Martin Wege

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a9676668-7d14-47d3-9788-901a4e487cea@Shaw.ca \
    --to=brian.inglis@shaw.ca \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).