linuxdeepin / developer-center

Deepin developer center, provide developer wiki and community forum.
453 stars 73 forks source link

dock keep restarting when connected to wifi that need login #1089

Closed ojoakua-10bit closed 5 years ago

ojoakua-10bit commented 5 years ago

Describe the bug

Dock keep restarting when auto-connected to wifi network that need login for internet access. It keep restarting until I log in to the network. Usually happen at startup or resuming from suspend.

This issue doesn't happen when disconnected or connected (automatically or manually) to regular wifi network (both secured or unsecured)

To Reproduce

  1. Auto-connect to wifi that need login
  2. The dock starts restarting

Temporal workaround

  1. Open browser
  2. Log in to network
  3. The dock stops restarting

Expected behavior

The dock doesn't restart

Screenshots

No screenshots

Enviroments:

Distro & Version

Arch Linux

$ cat /etc/deepin-version

[Release]
Version=15.10
Type=Desktop
Type[zh_CN]=桌面版

[Addition]
Milestone=

Related package version

These packages might be related

deepin-dock 4.9.6-1
deepin-daemon 3.25.2-1
deepin-api 3.18.3-1
deepin-network-utils 0.1.3-1
ojoakua-10bit commented 5 years ago

Maybe these information might help

$ dde-dock
"dtkwidget2" can not find qm files
"dde-dock" can not find qm files
2019-04-22, 09:28:25.333 [Debug  ] [                                                         0] 

dde-dock startup
2019-04-22, 09:28:25.453 [Debug  ] [                                                         0] void DockSettings::updateForbidPostions()
2019-04-22, 09:28:25.474 [Warning] [                                                         0] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
2019-04-22, 09:28:25.676 [Debug  ] [                                                         0] using dock plugins dir: "/usr/lib/dde-dock/plugins"
2019-04-22, 09:28:25.819 [Debug  ] [                                                         0] screen info:  QPoint(0,732) QRect(0,732 1366x36)
2019-04-22, 09:28:25.880 [Debug  ] [                                                         0] "DockPlugin" init plugin:  "datetime"
2019-04-22, 09:28:25.880 [Debug  ] [                                                         0] load plugins item:  "datetime" "datetime" DatetimeWidget(0x559fc8629be0)
2019-04-22, 09:28:25.881 [Debug  ] [                                                         0] "DockPlugin" init plugin finished:  "datetime"
2019-04-22, 09:28:26.085 [Debug  ] [                                                         0] screen info:  QPoint(0,732) QRect(0,732 1366x36)
2019-04-22, 09:28:26.381 [Debug  ] [                                                         0] "DockPlugin" init plugin:  "keyboard"
2019-04-22, 09:28:26.389 [Debug  ] [                                                         0] "DockPlugin" init plugin finished:  "keyboard"
2019-04-22, 09:28:26.882 [Debug  ] [                                                         0] "DockPlugin" init plugin:  "onboard"
2019-04-22, 09:28:26.883 [Debug  ] [                                                         0] "DockPlugin" init plugin finished:  "onboard"
2019-04-22, 09:28:27.383 [Debug  ] [                                                         0] "DockPlugin" init plugin:  "overlay-warning"
2019-04-22, 09:28:27.384 [Debug  ] [                                                         0] "DockPlugin" init plugin finished:  "overlay-warning"
2019-04-22, 09:28:27.883 [Debug  ] [                                                         0] "DockPlugin" init plugin:  "shutdown"
2019-04-22, 09:28:27.883 [Debug  ] [                                                         0] load plugins item:  "shutdown" "shutdown" PluginWidget(0x559fc8825e50)
2019-04-22, 09:28:27.884 [Debug  ] [                                                         0] "DockPlugin" init plugin finished:  "shutdown"
2019-04-22, 09:28:28.400 [Debug  ] [                                                         0] "DockPlugin" init plugin:  "trash"
2019-04-22, 09:28:28.401 [Warning] [dapplication.cpp     Dtk::Widget::DApplicationPrivate::loadTranslator 288] "dtkwidget2" can not find qm files
2019-04-22, 09:28:28.402 [Warning] [dapplication.cpp     Dtk::Widget::DApplicationPrivate::loadTranslator 288] "dde-file-manager" can not find qm files
2019-04-22, 09:28:28.402 [Debug  ] [                                                         0] false
2019-04-22, 09:28:28.403 [Debug  ] [                                                         0] "DockPlugin" init plugin finished:  "trash"
2019-04-22, 09:28:28.907 [Debug  ] [                                                         0] "DockPlugin" init plugin:  "tray"
2019-04-22, 09:28:28.907 [Debug  ] [                                                         0] "DockPlugin" init plugin finished:  "tray"
2019-04-22, 09:28:28.909 [Debug  ] [                                                         0] init Fashion mode tray plugin item
2019-04-22, 09:28:28.911 [Debug  ] [                                                         0] delay load 0 "keybord_layout" IndicatorTray(0x7efe6c00d0c0)
2019-04-22, 09:28:28.911 [Debug  ] [                                                         0] using system tray plugins dir: "/usr/lib/dde-dock/plugins/system-trays"
2019-04-22, 09:28:28.915 [Warning] [                                                         0] QObject::connect(IndicatorTrayWidget, IndicatorTray): invalid null parameter
2019-04-22, 09:28:29.129 [Debug  ] [diskmountplugin.cpp  DiskMountPlugin::DiskMountPlugin    43] ===============init=============
2019-04-22, 09:28:29.130 [Debug  ] [                                                         0] "SystemTray" init plugin:  "disk-mount"
2019-04-22, 09:28:29.131 [Warning] [dapplication.cpp     Dtk::Widget::DApplicationPrivate::loadTranslator 288] "dtkwidget2" can not find qm files
2019-04-22, 09:28:29.132 [Warning] [dapplication.cpp     Dtk::Widget::DApplicationPrivate::loadTranslator 288] "dde-disk-mount-plugin" can not find qm files
2019-04-22, 09:28:29.132 [Debug  ] [diskmountplugin.cpp  DiskMountPlugin::init               63] false
2019-04-22, 09:28:29.133 [Debug  ] [diskmountplugin.cpp  DiskMountPlugin::init               65] ===============init==proxyInter===========
2019-04-22, 09:28:29.211 [Debug  ] [diskmountplugin.cpp  DiskMountPlugin::diskCountChanged   168] 3 false
2019-04-22, 09:28:29.212 [Debug  ] [                                                         0] load tray plugins item:  "disk-mount" "mount-item-key" DiskPluginItem(0x559fc8836e10)
2019-04-22, 09:28:29.212 [Debug  ] [                                                         0] load plugins item:  "tray" "mount-item-key" SystemTrayItem(0x559fc8901840)
2019-04-22, 09:28:29.217 [Debug  ] [                                                         0] "SystemTray" init plugin finished:  "disk-mount"
2019-04-22, 09:28:29.627 [Debug  ] [                                                         0] "SystemTray" init plugin:  "network"
/usr/bin/which: no proxychains4 in (/usr/bin)
2019-04-22, 09:28:29.646 [Debug  ] [                                                         0] "SystemTray" init plugin finished:  "network"
2019-04-22, 09:28:29.689 [Debug  ] [                                                         0] load tray plugins item:  "network" "/org/freedesktop/NetworkManager/Devices/2" WiredItem(0x559fc891d920)
2019-04-22, 09:28:29.690 [Debug  ] [                                                         0] load plugins item:  "tray" "/org/freedesktop/NetworkManager/Devices/2" SystemTrayItem(0x559fc86b8ad0)
2019-04-22, 09:28:29.691 [Debug  ] [                                                         0] load tray plugins item:  "network" "/org/freedesktop/NetworkManager/Devices/3" WirelessItem(0x559fc86a4340)
2019-04-22, 09:28:29.694 [Debug  ] [                                                         0] load plugins item:  "tray" "/org/freedesktop/NetworkManager/Devices/3" SystemTrayItem(0x559fc88abc40)
2019-04-22, 09:28:29.862 [Debug  ] [                                                         0] Check connectivity using url: "https://www.baidu.com"
2019-04-22, 09:28:30.119 [Debug  ] [                                                         0] "SystemTray" init plugin:  "power"
2019-04-22, 09:28:30.126 [Debug  ] [                                                         0] load tray plugins item:  "power" "power" PowerStatusWidget(0x559fc870ef30)
2019-04-22, 09:28:30.127 [Debug  ] [                                                         0] Failed to connect url: "https://www.baidu.com"
2019-04-22, 09:28:30.128 [Debug  ] [                                                         0] load plugins item:  "tray" "power" SystemTrayItem(0x559fc87f9a40)
2019-04-22, 09:28:30.129 [Debug  ] [                                                         0] Check connectivity using url: "https://www.bing.com"
2019-04-22, 09:28:30.129 [Debug  ] [                                                         0] "SystemTray" init plugin finished:  "power"
2019-04-22, 09:28:30.323 [Debug  ] [                                                         0] Failed to connect url: "https://www.bing.com"
2019-04-22, 09:28:30.324 [Debug  ] [                                                         0] Check connectivity using url: "https://www.google.com"
2019-04-22, 09:28:30.469 [Debug  ] [                                                         0] Failed to connect url: "https://www.google.com"
2019-04-22, 09:28:30.470 [Debug  ] [                                                         0] Check connectivity using url: "https://www.amazon.com"
2019-04-22, 09:28:30.624 [Debug  ] [                                                         0] "SystemTray" init plugin:  "sound"
2019-04-22, 09:28:30.634 [Debug  ] [                                                         0] load tray plugins item:  "sound" "sound-item-key" SoundItem(0x559fc8760d40)
2019-04-22, 09:28:30.637 [Debug  ] [                                                         0] load plugins item:  "tray" "sound-item-key" SystemTrayItem(0x559fc8850f00)
2019-04-22, 09:28:30.638 [Debug  ] [                                                         0] "SystemTray" init plugin finished:  "sound"
2019-04-22, 09:28:30.720 [Debug  ] [                                                         0] Failed to connect url: "https://www.amazon.com"
2019-04-22, 09:28:30.721 [Debug  ] [                                                         0] Check connectivity using url: "https://github.com"
2019-04-22, 09:28:32.519 [Debug  ] [                                                         0] load plugins item:  "tray" "sni:org.kde.StatusNotifierItem-835-1/StatusNotifierItem" SNITrayWidget(0x559fc8703150)
[1]    2108 segmentation fault (core dumped)  dde-dock
Apr 22 09:25:33 ichinomiya systemd-coredump[1412]: Process 1393 (dde-dock) of user 1000 dumped core.

                                                   Stack trace of thread 1407:
                                                   #0  0x00007f577a6ac964 n/a (libQt5Network.so.5)
                                                   #1  0x00007f577a6ab25b n/a (libQt5Network.so.5)
                                                   #2  0x00007f577b92d102 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
                                                   #3  0x00007f577c372e24 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                   #4  0x00007f577c37a5f1 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                   #5  0x00007f577ca71219 _ZN3Dtk6Widget12DApplication6notifyEP7QObjectP6QEvent (libdtkwidget.so.2)
                                                   #6  0x00007f577b901df9 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                   #7  0x00007f577b904ee8 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5)
                                                   #8  0x00007f577b9586c4 n/a (libQt5Core.so.5)
                                                   #9  0x00007f577acad7bf g_main_context_dispatch (libglib-2.0.so.0)
                                                   #10 0x00007f577acaf739 n/a (libglib-2.0.so.0)
                                                   #11 0x00007f577acaf77e g_main_context_iteration (libglib-2.0.so.0)
                                                   #12 0x00007f577b957c99 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #13 0x00007f577b900a8c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #14 0x00007f577b744569 _ZN7QThread4execEv (libQt5Core.so.5)
                                                   #15 0x00007f577b74596c n/a (libQt5Core.so.5)
                                                   #16 0x00007f577a431a9d start_thread (libpthread.so.0)
                                                   #17 0x00007f577b413af3 __clone (libc.so.6)

                                                   Stack trace of thread 1397:
                                                   #0  0x00007f577b408bf1 __poll (libc.so.6)
                                                   #1  0x00007f577acaf690 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f577acaf77e g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f57742f4bde n/a (libdconfsettings.so)
                                                   #4  0x00007f577ac8ac21 n/a (libglib-2.0.so.0)
                                                   #5  0x00007f577a431a9d start_thread (libpthread.so.0)
                                                   #6  0x00007f577b413af3 __clone (libc.so.6)

                                                   Stack trace of thread 1398:
                                                   #0  0x00007f577b408bf1 __poll (libc.so.6)
                                                   #1  0x00007f577acaf690 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f577acb06d2 g_main_loop_run (libglib-2.0.so.0)
                                                   #3  0x00007f577a274568 n/a (libgio-2.0.so.0)
                                                   #4  0x00007f577ac8ac21 n/a (libglib-2.0.so.0)
                                                   #5  0x00007f577a431a9d start_thread (libpthread.so.0)
                                                   #6  0x00007f577b413af3 __clone (libc.so.6)

                                                   Stack trace of thread 1394:
                                                   #0  0x00007f577b408bf1 __poll (libc.so.6)
                                                   #1  0x00007f577b2fa630 n/a (libxcb.so.1)
                                                   #2  0x00007f577b2fc2db xcb_wait_for_event (libxcb.so.1)
                                                   #3  0x00007f57759a7989 n/a (libQt5XcbQpa.so.5)
                                                   #4  0x00007f577b74596c n/a (libQt5Core.so.5)
                                                   #5  0x00007f577a431a9d start_thread (libpthread.so.0)
                                                   #6  0x00007f577b413af3 __clone (libc.so.6)

                                                   Stack trace of thread 1408:
                                                   #0  0x00007f577a437ef6 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #1  0x00007f577b74bbc9 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5)
                                                   #2  0x00007f577b74bd08 _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                                                   #3  0x00007f577b749c2b n/a (libQt5Core.so.5)
                                                   #4  0x00007f577b74596c n/a (libQt5Core.so.5)
                                                   #5  0x00007f577a431a9d start_thread (libpthread.so.0)
                                                   #6  0x00007f577b413af3 __clone (libc.so.6)

                                                   Stack trace of thread 1404:
                                                   #0  0x00007f577b408bf1 __poll (libc.so.6)
                                                   #1  0x00007f577acaf690 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f577acaf77e g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f577b957c99 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #4  0x00007f577b900a8c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #5  0x00007f575e5633f4 _ZN3dde7network19ConnectivityChecker10startCheckEv (/usr/lib/libdde-network-utils.so.1.0.0)
                                                   #6  0x00007f577b92d102 _ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
                                                   #7  0x00007f577c372e24 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                   #8  0x00007f577c37a5f1 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                                                   #9  0x00007f577ca71219 _ZN3Dtk6Widget12DApplication6notifyEP7QObjectP6QEvent (libdtkwidget.so.2)
                                                   #10 0x00007f577b901df9 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                                                   #11 0x00007f577b904ee8 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5)
                                                   #12 0x00007f577b9586c4 n/a (libQt5Core.so.5)
                                                   #13 0x00007f577acad7bf g_main_context_dispatch (libglib-2.0.so.0)
                                                   #14 0x00007f577acaf739 n/a (libglib-2.0.so.0)
                                                   #15 0x00007f577acaf77e g_main_context_iteration (libglib-2.0.so.0)
                                                   #16 0x00007f577b957c99 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #17 0x00007f577b900a8c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #18 0x00007f577b744569 _ZN7QThread4execEv (libQt5Core.so.5)
                                                   #19 0x00007f577b74596c n/a (libQt5Core.so.5)
                                                   #20 0x00007f577a431a9d start_thread (libpthread.so.0)
                                                   #21 0x00007f577b413af3 __clone (libc.so.6)

                                                   Stack trace of thread 1399:
                                                   #0  0x00007f577a437afc pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                                   #1  0x00007f576c9d1254 n/a (i965_dri.so)
                                                   #2  0x00007f576c9d0f78 n/a (i965_dri.so)
                                                   #3  0x00007f577a431a9d start_thread (libpthread.so.0)
                                                   #4  0x00007f577b413af3 __clone (libc.so.6)

                                                   Stack trace of thread 1396:
                                                   #0  0x00007f577b408bf1 __poll (libc.so.6)
                                                   #1  0x00007f577acaf690 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f577acaf77e g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f577acaf7d2 n/a (libglib-2.0.so.0)
                                                   #4  0x00007f577ac8ac21 n/a (libglib-2.0.so.0)
                                                   #5  0x00007f577a431a9d start_thread (libpthread.so.0)
                                                   #6  0x00007f577b413af3 __clone (libc.so.6)

                                                   Stack trace of thread 1395:
                                                   #0  0x00007f577b408bf1 __poll (libc.so.6)
                                                   #1  0x00007f577acaf690 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f577acaf77e g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f577b957c99 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #4  0x00007f577b900a8c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #5  0x00007f577b744569 _ZN7QThread4execEv (libQt5Core.so.5)
                                                   #6  0x00007f577c194ba6 n/a (libQt5DBus.so.5)
                                                   #7  0x00007f577b74596c n/a (libQt5Core.so.5)
                                                   #8  0x00007f577a431a9d start_thread (libpthread.so.0)
                                                   #9  0x00007f577b413af3 __clone (libc.so.6)

                                                   Stack trace of thread 1406:
                                                   #0  0x00007f577b408bf1 __poll (libc.so.6)
                                                   #1  0x00007f577acaf690 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f577acaf77e g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f577b957c99 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #4  0x00007f577b900a8c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #5  0x00007f577b744569 _ZN7QThread4execEv (libQt5Core.so.5)
                                                   #6  0x00007f577b74596c n/a (libQt5Core.so.5)
                                                   #7  0x00007f577a431a9d start_thread (libpthread.so.0)
                                                   #8  0x00007f577b413af3 __clone (libc.so.6)

                                                   Stack trace of thread 1393:
                                                   #0  0x00007f577b408bf1 __poll (libc.so.6)
                                                   #1  0x00007f577acaf690 n/a (libglib-2.0.so.0)
                                                   #2  0x00007f577acaf77e g_main_context_iteration (libglib-2.0.so.0)
                                                   #3  0x00007f577b957c99 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #4  0x00007f577b900a8c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                                                   #5  0x00007f577b908de6 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                                                   #6  0x000055e8730be9d1 main (dde-dock)
                                                   #7  0x00007f577b33c223 __libc_start_main (libc.so.6)
                                                   #8  0x000055e8730bedbe n/a (dde-dock)
-- Subject: Process 1393 (dde-dock) dumped core