Closed keybreak closed 5 years ago
@oberon-manjaro Bad news, tested one of my clean VM installed from manjaro-deepin-18.0.2-stable-x86_64.iso with autologin enabled, after latest updates including your patched - after reboot i still get this errors and have 1-3 issues :(
Have deepin-daemon 3.22.0-1.3 packaged by you, it's correct?
Does it mean, that people should use new .iso and start over, to fix it if they have already?
This is very strange. For me no issues. In my understanding it should not make a difference if this is a new install or updated...
Well actually @electricface 's latest patch wasn't even included, yet in my package, only the one for startdde. For me it was already working with that one. I will upload a pkgrel 1.4 with the latest included, too. Hope that will fix it for you...
@oberon-manjaro Good, when it will arrive i'll test with one of my affected real test-machines and see how it goes!
P.S. Just for the info, why exactly deepin-desktop-schemas-manjaro it's cunstomised separate from original? Deepin devs mentioned there was some problems with it in the past, so i wonder)
Well, I'm afraid we'll still have to wait for the next release of dde-daemon. The latest patch alone doesn't apply to 3.22.0 release and even when adjusted to work, build fails with
make: Entering directory '/build/deepin-daemon/src/dde-daemon-3.22.0/network/nm_generator'
./gen_nm_consts.py --gir /usr/share/gir-1.0/NM-1.0.gir --output ./nm_consts_gen.yml
mkdir -p ../nm
go run ./utils.go ./tpl.go ./main.go --output-consts ../nm/nm_consts_gen.go --output-beans ../nm_setting_beans_gen.go
# command-line-arguments
loadinternal: cannot find runtime/cgo
GEN ../nm/nm_consts_gen.go
GEN ../nm_setting_beans_gen.go
gofmt -w ../nm/nm_consts_gen.go
gofmt -w ../nm_setting_beans_gen.go
make: Leaving directory '/build/deepin-daemon/src/dde-daemon-3.22.0/network/nm_generator'
env GOPATH="/build/deepin-daemon/src/dde-daemon-3.22.0/gopath:/build/deepin-daemon/src/build:/usr/share/gocode" go build -o out/bin/default-terminal pkg.deepin.io/dde/daemon/bin/default-terminal
gcc bin/default-file-manager/main.c -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/libffi-3.2.1/include -pthread -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/uuid -lgio-2.0 -lgobject-2.0 -lglib-2.0 -o out/bin/default-file-manager
gcc bin/desktop-toggle/main.c -lX11 -o out/bin/desktop-toggle
env GOPATH="/build/deepin-daemon/src/dde-daemon-3.22.0/gopath:/build/deepin-daemon/src/build:/usr/share/gocode" go build -o out/bin/dde-session-daemon pkg.deepin.io/dde/daemon/bin/dde-session-daemon
env GOPATH="/build/deepin-daemon/src/dde-daemon-3.22.0/gopath:/build/deepin-daemon/src/build:/usr/share/gocode" go build -o out/bin/dde-system-daemon pkg.deepin.io/dde/daemon/bin/dde-system-daemon
env GOPATH="/build/deepin-daemon/src/dde-daemon-3.22.0/gopath:/build/deepin-daemon/src/build:/usr/share/gocode" go build -o out/bin/grub2 pkg.deepin.io/dde/daemon/bin/grub2
env GOPATH="/build/deepin-daemon/src/dde-daemon-3.22.0/gopath:/build/deepin-daemon/src/build:/usr/share/gocode" go build -o out/bin/search pkg.deepin.io/dde/daemon/bin/search
env GOPATH="/build/deepin-daemon/src/dde-daemon-3.22.0/gopath:/build/deepin-daemon/src/build:/usr/share/gocode" go build -o out/bin/theme-thumb-tool pkg.deepin.io/dde/daemon/bin/theme-thumb-tool
env GOPATH="/build/deepin-daemon/src/dde-daemon-3.22.0/gopath:/build/deepin-daemon/src/build:/usr/share/gocode" go build -o out/bin/backlight_helper pkg.deepin.io/dde/daemon/bin/backlight_helper
env GOPATH="/build/deepin-daemon/src/dde-daemon-3.22.0/gopath:/build/deepin-daemon/src/build:/usr/share/gocode" go build -o out/bin/langselector pkg.deepin.io/dde/daemon/bin/langselector
env GOPATH="/build/deepin-daemon/src/dde-daemon-3.22.0/gopath:/build/deepin-daemon/src/build:/usr/share/gocode" go build -o out/bin/soundeffect pkg.deepin.io/dde/daemon/bin/soundeffect
env GOPATH="/build/deepin-daemon/src/dde-daemon-3.22.0/gopath:/build/deepin-daemon/src/build:/usr/share/gocode" go build -o out/bin/dde-lockservice pkg.deepin.io/dde/daemon/bin/dde-lockservice
env GOPATH="/build/deepin-daemon/src/dde-daemon-3.22.0/gopath:/build/deepin-daemon/src/build:/usr/share/gocode" go build -o out/bin/dde-authority pkg.deepin.io/dde/daemon/bin/dde-authority
env GOPATH="/build/deepin-daemon/src/dde-daemon-3.22.0/gopath:/build/deepin-daemon/src/build:/usr/share/gocode" go build -o out/bin/dde-authority-pam pkg.deepin.io/dde/daemon/bin/dde-authority-pam
# pkg.deepin.io/dde/daemon/appearance
gopath/src/pkg.deepin.io/dde/daemon/appearance/manager.go:36:2: imported and not used: "github.com/linuxdeepin/go-dbus-factory/org.freedesktop.login1" as login1
gopath/src/pkg.deepin.io/dde/daemon/appearance/manager.go:50:2: imported and not used: "pkg.deepin.io/lib/xdg/basedir"
env GOPATH="/build/deepin-daemon/src/dde-daemon-3.22.0/gopath:/build/deepin-daemon/src/build:/usr/share/gocode" go build -o out/bin/dde-greeter-setter pkg.deepin.io/dde/daemon/bin/dde-greeter-setter
deepin-policy-ts-convert ts2policy misc/polkit-action/com.deepin.daemon.Grub2.policy.in misc/ts/com.deepin.daemon.Grub2.policy misc/polkit-action/com.deepin.daemon.Grub2.policy
policyFile: misc/polkit-action/com.deepin.daemon.Grub2.policy.in
tsDir: misc/ts/com.deepin.daemon.Grub2.policy
outputPolicyFile: misc/polkit-action/com.deepin.daemon.Grub2.policy
deepin-policy-ts-convert ts2policy misc/polkit-action/com.deepin.daemon.accounts.policy.in misc/ts/com.deepin.daemon.accounts.policy misc/polkit-action/com.deepin.daemon.accounts.policy
policyFile: misc/polkit-action/com.deepin.daemon.accounts.policy.in
tsDir: misc/ts/com.deepin.daemon.accounts.policy
outputPolicyFile: misc/polkit-action/com.deepin.daemon.accounts.policy
# pkg.deepin.io/dde/daemon/network
utils_udev.c: In function ‘new_str’:
utils_udev.c:30:17: warning: ‘strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=]
strncpy(dest_str, src_str, n);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
utils_udev.c:28:25: note: length computed here
int n = strlen(src_str);
^~~~~~~~~~~~~~~
make: *** [Makefile:33: out/bin/dde-session-daemon] Error 2
Latest git does build, however with that installed, as mentioned before, session won't start properly, with dock broken... I guess to be able to use latest git we'd also need updates for startdde and probably other packages. So it would be a messy duct tape solution if anything :stuck_out_tongue_winking_eye:
I agree, definitely in this situation should wait & test proper packages, than push duct tape solution which most likely will just lead to new problems...
But also, i'd encourage to fast-track this packages in fashion of security updates of Manjaro, once everything is good!
@felixonmars has already provided all the updated packages. I have tested them against all Manjaro branches and they seem to be compatible with our stable branch. Going to forward them now. @keybreak , please let us know if deepin-daemon 3.23.0-2 fixes your issues when it arrives.
@felixonmars @oberon-manjaro Well, this time it's definitely better!
Updated with autologin enabled, after reboot keyborad layots, system language works, keyboard switch of layots works.
Yet still, i have this error: sudo journalctl -p3 -xb
feb 23 10:04:11 x133-pc daemon/dde-system-daemon[5052]: main.go:67: name "com.deepin.daemon.Daemon" already has the owner
-> proc.go:201
-> asm_amd64.s:1333
I also have to test harder now, on real machines if anything else is ok, will report back.
This error should not affect the function.
@electricface Ok, that's good to know
What this error means, will it be fixed?
dde-system-daemon runs only one instance and finds that the dbus name is occupied and then exits automatically. Should not need to be fixed
Thx for explanation! Still maybe a good idea to catch it somehow, so it won't appear in error logs and scare unaware people :)
Tested on real machine with Manjaro Deepin, after update and reboot:
feb 23 11:37:55 x133-pc com.deepin.daemon.Miracast[821]: miracast.go:159: Failed to get wifi objects: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.miracle.wifi was not provided by any .service files
-> ifc.go:39
-> asm_amd64.s:523
-> value.go:447
-> value.go:308
-> default_handler.go:128
-> export.go:153
-> asm_amd64.s:1333
feb 23 11:37:55 x133-pc com.deepin.daemon.Miracast[821]: miracast.go:169: Failed to get wfd objects: org.freedesktop.DBus.Error.ServiceUnknown:The name org.freedesktop.miracle.wfd was not provided by any .service files
-> ifc.go:39
-> asm_amd64.s:523
-> value.go:447
-> value.go:308
-> default_handler.go:128
-> export.go:153
-> asm_amd64.s:1333
wi-fi works ok, but what about this errors?
Also i've noticed that there's significant disk thrashing after boot up for somethng like 4-8 seconds, that wasn't there before, so clearly something is going on.
P.S. Also on 2-3 reboot i've noticed that on shutdown screen i have Change user option, even though i have single user, sometimes this option disappears...I think it's connected somehow to this issue, since somewhere above @electricface pointed out that i had mismatch of uid and gid on this machine
Same system, just booted up, opened settings and navigated randomly through some of them (without changing anything), got this coredump sudo journalctl -p3 -xb:
feb 23 15:05:07 x133-pc systemd-coredump[1189]: Process 1090 (dde-control-cen) of user 1000 dumped core.
Stack trace of thread 1090:
#0 0x00007f7c7661714e _ZN7QWidget4showEv (libQt5Widgets.so.5)
#1 0x0000558617d22edd n/a (dde-control-center)
#2 0x0000558617d1e30b n/a (dde-control-center)
#3 0x00007f7c758c99d0 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
#4 0x00007f7c758c99d0 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
#5 0x00007f7c758c99d0 _ZN11QMetaObject8activateEP7QObjectiiPPv (libQt5Core.so.5)
#6 0x00007f7c77198ff7 _ZN3Dtk6Widget12DImageButton17mouseReleaseEventEP11QMouseEvent (libdtkwidget.so.2)
#7 0x00007f7c7661ab68 _ZN7QWidget5eventEP6QEvent (libQt5Widgets.so.5)
#8 0x00007f7c766c236f _ZN6QFrame5eventEP6QEvent (libQt5Widgets.so.5)
#9 0x00007f7c765d9e24 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
#10 0x00007f7c765e1929 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
#11 0x00007f7c77192189 _ZN3Dtk6Widget12DApplication6notifyEP7QObjectP6QEvent (libdtkwidget.so.2)
#12 0x00007f7c7589ee99 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
#13 0x00007f7c765e0c08 _ZN19QApplicationPrivate14sendMouseEventEP7QWidgetP11QMouseEventS1_S1_PS1_R8QPointerIS0_Ebb (libQt5Widgets.so.5)
#14 0x00007f7c76635e93 n/a (libQt5Widgets.so.5)
#15 0x00007f7c76638f87 n/a (libQt5Widgets.so.5)
#16 0x00007f7c765d9e24 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
#17 0x00007f7c765e16e1 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
#18 0x00007f7c77192189 _ZN3Dtk6Widget12DApplication6notifyEP7QObjectP6QEvent (libdtkwidget.so.2)
#19 0x00007f7c7589ee99 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
#20 0x00007f7c75ec196e _ZN22QGuiApplicationPrivate17processMouseEventEPN29QWindowSystemInterfacePrivate10MouseEventE (libQt5Gui.so.5)
#21 0x00007f7c75ec2dd6 _ZN22QGuiApplicationPrivate24processWindowSystemEventEPN29QWindowSystemInterfacePrivate17WindowSystemEventE (libQt5Gui.so.5)
#22 0x00007f7c75e9c75c _ZN22QWindowSystemInterface22sendWindowSystemEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Gui.so.5)
#23 0x00007f7c6f89190c n/a (libQt5XcbQpa.so.5)
#24 0x00007f7c74b01a2f g_main_context_dispatch (libglib-2.0.so.0)
#25 0x00007f7c74b035e9 n/a (libglib-2.0.so.0)
#26 0x00007f7c74b0362e g_main_context_iteration (libglib-2.0.so.0)
#27 0x00007f7c758f4ce9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
#28 0x00007f7c7589db2c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
#29 0x00007f7c758a5e36 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
#30 0x0000558617b3da7c main (dde-control-center)
#31 0x00007f7c75154223 __libc_start_main (libc.so.6)
#32 0x0000558617b4954e n/a (dde-control-center)
Stack trace of thread 1096:
#0 0x00007f7c7458aafc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
#1 0x00007f7c5edfbc84 n/a (i965_dri.so)
#2 0x00007f7c5edfb9a8 n/a (i965_dri.so)
#3 0x00007f7c74584a9d start_thread (libpthread.so.0)
#4 0x00007f7c7522bb23 __clone (libc.so.6)
Stack trace of thread 1091:
#0 0x00007f7c75220c21 __poll (libc.so.6)
#1 0x00007f7c745f7630 n/a (libxcb.so.1)
#2 0x00007f7c745f92db xcb_wait_for_event (libxcb.so.1)
#3 0x00007f7c6f890949 n/a (libQt5XcbQpa.so.5)
#4 0x00007f7c756e296c n/a (libQt5Core.so.5)
#5 0x00007f7c74584a9d start_thread (libpthread.so.0)
#6 0x00007f7c7522bb23 __clone (libc.so.6)
Stack trace of thread 1092:
#0 0x00007f7c75220c21 __poll (libc.so.6)
#1 0x00007f7c74b03540 n/a (libglib-2.0.so.0)
#2 0x00007f7c74b0362e g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f7c74b03682 n/a (libglib-2.0.so.0)
#4 0x00007f7c74ade67b n/a (libglib-2.0.so.0)
#5 0x00007f7c74584a9d start_thread (libpthread.so.0)
#6 0x00007f7c7522bb23 __clone (libc.so.6)
Stack trace of thread 1093:
#0 0x00007f7c75220c21 __poll (libc.so.6)
#1 0x00007f7c74b03540 n/a (libglib-2.0.so.0)
#2 0x00007f7c74b0362e g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f7c774fcbde n/a (libdconfsettings.so)
#4 0x00007f7c74ade67b n/a (libglib-2.0.so.0)
#5 0x00007f7c74584a9d start_thread (libpthread.so.0)
#6 0x00007f7c7522bb23 __clone (libc.so.6)
Stack trace of thread 1094:
#0 0x00007f7c75220c21 __poll (libc.so.6)
#1 0x00007f7c74b03540 n/a (libglib-2.0.so.0)
#2 0x00007f7c74b045c2 g_main_loop_run (libglib-2.0.so.0)
#3 0x00007f7c74435cb8 n/a (libgio-2.0.so.0)
#4 0x00007f7c74ade67b n/a (libglib-2.0.so.0)
#5 0x00007f7c74584a9d start_thread (libpthread.so.0)
#6 0x00007f7c7522bb23 __clone (libc.so.6)
Stack trace of thread 1095:
#0 0x00007f7c75220c21 __poll (libc.so.6)
#1 0x00007f7c74b03540 n/a (libglib-2.0.so.0)
#2 0x00007f7c74b0362e g_main_context_iteration (libglib-2.0.so.0)
#3 0x00007f7c758f4ce9 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
#4 0x00007f7c7589db2c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
#5 0x00007f7c756e1569 _ZN7QThread4execEv (libQt5Core.so.5)
#6 0x00007f7c75b71ba6 n/a (libQt5DBus.so.5)
#7 0x00007f7c756e296c n/a (libQt5Core.so.5)
#8 0x00007f7c74584a9d start_thread (libpthread.so.0)
#9 0x00007f7c7522bb23 __clone (libc.so.6)
-- Subject: Process 1090 (dde-control-cen) dumped core
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
-- Documentation: man:core(5)
--
-- Process 1090 (dde-control-cen) crashed and dumped core.
--
-- This usually indicates a programming error in the crashing program and
-- should be reported to its vendor as a bug.
I've never seen this before, must be connected to updates
Also new bug with coredump Deepin screen recorder (started only after today's update): https://github.com/linuxdeepin/developer-center/issues/940
@electricface @oberon-manjaro Guys, that's way too many new coredumps for one update cycle, please check this, clearly related to update
@electricface Good thinking, thanks! :)
Any thoughts on com.deepin.daemon.Miracast and dde-control-cen?
Turn off com.deepin.daemon.Miracast warning
gsettings set com.deepin.dde.daemon miracast false
dde-control-center is not developed by me.
@electricface
dde-control-center is not developed by me.
Yeah, i just mentioned it coz it's started only after this recent updates, are you sure it's not connected?
I should create separate issue with it then
I believe all of the issues / coredumps mentioned in this report are resolved on Arch / Manjaro Deepin now! :+1:
@electricface Thanks for your work! :smiley:
Only issue i have before closing this - is this warning you've commited to change https://cr.deepin.io/#/c/dde/dde-daemon/+/41746/ still apears as error, what's milestone for applying this change?
I think you can ignore this warning, which is also the function of the program.
Describe the bug
After Manjaro Deepin 10.02.2019 update:
To Reproduce
Enviroments:
OS: Manjaro 18.0.2 Illyria Kernel: x86_64 Linux 4.19.20-1-MANJARO Shell: bash 5.0.0 DE: Deepin 15.9 WM: Deepin WM WM Theme: deepin GTK Theme: deepin [GTK2/3] Icon Theme: deepin bits: 64 compiler: gcc v: 8.2.1 tk: Qt 5.12.0 dm: LightDM
Distro & Version
Manjaro Deepin 18.0.2
Related package version
deepin-daemon 3.22.0-1
Additional context
On both of my real test machines & VirtualBox VM it's same errors sudo journalctl -p 3 -xb: