public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| ...
@ 2023-10-16 21:31 Roland Mainz
  2023-10-17  0:28 ` Takashi Yano
  2023-10-17  2:27 ` Brian Inglis
  0 siblings, 2 replies; 6+ messages in thread
From: Roland Mainz @ 2023-10-16 21:31 UTC (permalink / raw)
  To: cygwin

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

Thread 12 "kate" received signal SIGABRT, Aborted.
[Switching to Thread 9784.0x24fc]
0x00007fff7998d064 in ntdll!ZwWaitForSingleObject () from
/cygdrive/c/Windows/SYSTEM32/ntdll.dll
(gdb) where
#0  0x00007fff7998d064 in ntdll!ZwWaitForSingleObject () from
/cygdrive/c/Windows/SYSTEM32/ntdll.dll
#1  0x00007fff793730ce in WaitForSingleObjectEx () from
/cygdrive/c/Windows/System32/KERNELBASE.dll
#2  0x00007fff4ea615c0 in sigfillset () from /usr/bin/cygwin1.dll
#3  0x00007fff4ea4befe in cygwin1!.getreent () from /usr/bin/cygwin1.dll
#4  0x00007fff4ea5d695 in sched_getscheduler () from /usr/bin/cygwin1.dll
#5  0x00007fff4ebb8a88 in cygwin1!abort () from /usr/bin/cygwin1.dll
#6  0x00000003ef1b9bb8 in cygdbus-1-3!_dbus_abort () from
/usr/bin/cygdbus-1-3.dll
#7  0x00000003ef1b0eb9 in cygdbus-1-3!_dbus_warn_check_failed () from
/usr/bin/cygdbus-1-3.dll
#8  0x00000003ef1b1551 in
cygdbus-1-3!_dbus_get_local_machine_uuid_encoded () from
/usr/bin/cygdbus-1-3.dll
#9  0x00000003ef1b83b1 in cygdbus-1-3!_dbus_get_autolaunch_address ()
from /usr/bin/cygdbus-1-3.dll
#10 0x00000003ef1ad965 in cygdbus-1-3!_dbus_transport_open () from
/usr/bin/cygdbus-1-3.dll
#11 0x00000003ef1ad848 in cygdbus-1-3!_dbus_transport_open () from
/usr/bin/cygdbus-1-3.dll
#12 0x00000003ef198a0e in dbus_connection_close () from /usr/bin/cygdbus-1-3.dll
#13 0x00000003ef19427c in dbus_bus_register () from /usr/bin/cygdbus-1-3.dll
#14 0x00000003f77f3b07 in cygQt5DBus-5!_ZN15QDBusConnection6senderEv
() from /usr/bin/cygQt5DBus-5.dll
#15 0x00000003f7a30741 in
cygQt5Core-5!_ZN14QMetaCallEvent13placeMetaCallEP7QObject () from
/usr/bin/cygQt5Core-5.dll
#16 0x00000003f7a344ca in cygQt5Core-5!_ZN7QObject5eventEP6QEvent ()
from /usr/bin/cygQt5Core-5.dll
#17 0x00000003f7a0ff8d in
cygQt5Core-5!_ZN23QCoreApplicationPrivate13notify_helperEP7QObjectP6QEvent
() from /usr/bin/cygQt5Core-5.dll
#18 0x00000003f7a1007a in
cygQt5Core-5!_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent
() from /usr/bin/cygQt5Core-5.dll
#19 0x00000003f7a12edf in
cygQt5Core-5!_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
() from /usr/bin/cygQt5Core-5.dll
#20 0x00000003f7a56527 in
cygQt5Core-5!_ZN20QEventDispatcherGlib18qt_static_metacallEP7QObjectN11QMetaObject4CallEiPPv
() from /usr/bin/cygQt5Core-5.dll
#21 0x00000003e8d858f8 in g_clear_list () from /usr/bin/cygglib-2.0-0.dll
#22 0x00000003e8d89088 in g_main_context_check () from
/usr/bin/cygglib-2.0-0.dll
#23 0x00000003e8d89221 in g_main_context_iteration () from
/usr/bin/cygglib-2.0-0.dll
#24 0x00000003f7a56668 in
cygQt5Core-5!_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
() from /usr/bin/cygQt5Core-5.dll
#25 0x00000003f7a0efae in
cygQt5Core-5!_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE ()
from /usr/bin/cygQt5Core-5.dll
#26 0x00000003f789d008 in cygQt5Core-5!_ZN7QThread4execEv () from
/usr/bin/cygQt5Core-5.dll
#27 0x00000003f77f1a2c in cygQt5DBus-5!_Z22qDBusBindToApplicationv ()
from /usr/bin/cygQt5DBus-5.dll
#28 0x00000003f78a09c8 in
cygQt5Core-5!_ZN7QThread21setTerminationEnabledEb () from
/usr/bin/cygQt5Core-5.dll
#29 0x00007fff4ea47b9f in cygwin1!.getreent () from /usr/bin/cygwin1.dll
#30 0x00007fff4e9e4981 in cygwin1!.assert () from /usr/bin/cygwin1.dll
#31 0x0000000000000000 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
---- snip ----

----

Bye,
Roland
-- 
  __ .  . __
 (o.\ \/ /.o) roland.mainz@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| ...
  2023-10-16 21:31 Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| Roland Mainz
@ 2023-10-17  0:28 ` Takashi Yano
  2023-10-17  9:08   ` Martin Wege
  2023-10-17  2:27 ` Brian Inglis
  1 sibling, 1 reply; 6+ messages in thread
From: Takashi Yano @ 2023-10-17  0:28 UTC (permalink / raw)
  To: cygwin; +Cc: Roland Mainz

On Mon, 16 Oct 2023 23:31:40 +0200
Roland Mainz 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.

Does not
dbus-uuidgen --ensure=/etc/machine-id
help?

-- 
Takashi Yano <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| ...
  2023-10-16 21:31 Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| Roland Mainz
  2023-10-17  0:28 ` Takashi Yano
@ 2023-10-17  2:27 ` Brian Inglis
  2023-10-17  3:30   ` Takashi Yano
  1 sibling, 1 reply; 6+ messages in thread
From: Brian Inglis @ 2023-10-17  2:27 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| ...
  2023-10-17  2:27 ` Brian Inglis
@ 2023-10-17  3:30   ` Takashi Yano
  2023-11-01  9:05     ` Martin Wege
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Yano @ 2023-10-17  3:30 UTC (permalink / raw)
  To: cygwin

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 <takashi.yano@nifty.ne.jp>

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| ...
  2023-10-17  0:28 ` Takashi Yano
@ 2023-10-17  9:08   ` Martin Wege
  0 siblings, 0 replies; 6+ messages in thread
From: Martin Wege @ 2023-10-17  9:08 UTC (permalink / raw)
  To: Takashi Yano; +Cc: cygwin

On Tue, Oct 17, 2023 at 2:29 AM Takashi Yano via Cygwin
<cygwin@cygwin.com> wrote:
>
> On Mon, 16 Oct 2023 23:31:40 +0200
> Roland Mainz 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.

Basically all KDE apps crash like that in Cygwin 3.5

>
> Does not
> dbus-uuidgen --ensure=/etc/machine-id
> help?

I tried the steps-to-reproduce, and I get the same problem.
I tried to run kate with dbus-run-session kate, but while kate the
runs, dialogs like Open... need a MINUTE to open, and similar delays
happen when I browse inthe filesystem using that dialog.

Thanks,
Martin

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| ...
  2023-10-17  3:30   ` Takashi Yano
@ 2023-11-01  9:05     ` Martin Wege
  0 siblings, 0 replies; 6+ messages in thread
From: Martin Wege @ 2023-11-01  9:05 UTC (permalink / raw)
  To: Takashi Yano; +Cc: cygwin

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-11-01  9:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-16 21:31 Cygwin 3.5.0 KDE kate crashes in |cygdbus-1-3!_dbus_get_local_machine_uuid_encoded ()| Roland Mainz
2023-10-17  0:28 ` Takashi Yano
2023-10-17  9:08   ` Martin Wege
2023-10-17  2:27 ` Brian Inglis
2023-10-17  3:30   ` Takashi Yano
2023-11-01  9:05     ` Martin Wege

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).