Application: kwin_x11 (5.17.1) Qt Version: 5.13.1 Frameworks Version: 5.63.0 Operating System: Linux 5.3.7-arch1-1-ARCH x86_64 Distribution: Arch Linux -- Information about the crash: - What I was doing when the application crashed: Access to file explorer of android phone from KDE connect at computer and do some actions such as copy/paste file, create folder, ... Sometimes that lead to Hang/crash The crash can be reproduced sometimes. -- Backtrace: Application: KWin (kwin_x11), signal: Segmentation fault Using host libthread_db library "/usr/lib/libthread_db.so.1". [Current thread is 1 (Thread 0x7f9e679af880 (LWP 816))] Thread 5 (Thread 0x7f9e575bf700 (LWP 1013)): #0 0x00007f9e6d758c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007f9e6e0adedc in () at /usr/lib/libQt5Script.so.5 #2 0x00007f9e6e0adef9 in () at /usr/lib/libQt5Script.so.5 #3 0x00007f9e6d7524cf in start_thread () at /usr/lib/libpthread.so.0 #4 0x00007f9e6fcd52d3 in clone () at /usr/lib/libc.so.6 Thread 4 (Thread 0x7f9e55bb0700 (LWP 995)): #0 0x00007f9e6d758c45 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0 #1 0x00007f9e5620350c in () at /usr/lib/dri/i965_dri.so #2 0x00007f9e56203108 in () at /usr/lib/dri/i965_dri.so #3 0x00007f9e6d7524cf in start_thread () at /usr/lib/libpthread.so.0 #4 0x00007f9e6fcd52d3 in clone () at /usr/lib/libc.so.6 Thread 3 (Thread 0x7f9e6496f700 (LWP 956)): #0 0x00007f9e6fccaae6 in ppoll () at /usr/lib/libc.so.6 #1 0x00007f9e6e802973 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5 #2 0x00007f9e6e804003 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #3 0x00007f9e6e7ad4ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007f9e6e5df385 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #5 0x00007f9e6cedb849 in () at /usr/lib/libQt5Qml.so.5 #6 0x00007f9e6e5e05b0 in () at /usr/lib/libQt5Core.so.5 #7 0x00007f9e6d7524cf in start_thread () at /usr/lib/libpthread.so.0 #8 0x00007f9e6fcd52d3 in clone () at /usr/lib/libc.so.6 Thread 2 (Thread 0x7f9e6664f700 (LWP 885)): #0 0x00007f9e6fccaae6 in ppoll () at /usr/lib/libc.so.6 #1 0x00007f9e6e802973 in qt_safe_poll(pollfd*, unsigned long, timespec const*) () at /usr/lib/libQt5Core.so.5 #2 0x00007f9e6e804003 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #3 0x00007f9e6e7ad4ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #4 0x00007f9e6e5df385 in QThread::exec() () at /usr/lib/libQt5Core.so.5 #5 0x00007f9e6c856b37 in () at /usr/lib/libQt5DBus.so.5 #6 0x00007f9e6e5e05b0 in () at /usr/lib/libQt5Core.so.5 #7 0x00007f9e6d7524cf in start_thread () at /usr/lib/libpthread.so.0 #8 0x00007f9e6fcd52d3 in clone () at /usr/lib/libc.so.6 Thread 1 (Thread 0x7f9e679af880 (LWP 816)): [KCrash Handler] #5 0x0000000000686374 in () #6 0x00007f9e6ceb4cf0 in () at /usr/lib/libQt5Qml.so.5 #7 0x00007f9e6cc61b2b in () at /usr/lib/libQt5Qml.so.5 #8 0x00007f9e6cc61c58 in () at /usr/lib/libQt5Qml.so.5 #9 0x00007f9e6cc631f2 in QV4::MemoryManager::~MemoryManager() () at /usr/lib/libQt5Qml.so.5 #10 0x00007f9e6cde83b2 in QV4::ExecutionEngine::~ExecutionEngine() () at /usr/lib/libQt5Qml.so.5 #11 0x00007f9e6cce7019 in QJSEngine::~QJSEngine() () at /usr/lib/libQt5Qml.so.5 #12 0x00007f9e6ce2a92d in QQmlEngine::~QQmlEngine() () at /usr/lib/libQt5Qml.so.5 #13 0x00007f9e6ce2a96a in QQmlEngine::~QQmlEngine() () at /usr/lib/libQt5Qml.so.5 #14 0x00007f9e6fc146a7 in __run_exit_handlers () at /usr/lib/libc.so.6 #15 0x00007f9e6fc1485e in () at /usr/lib/libc.so.6 #16 0x00007f9e67834281 in () at /usr/lib/libQt5XcbQpa.so.5 #17 0x00007f9e678674ee in () at /usr/lib/libQt5XcbQpa.so.5 #18 0x00007f9e6e7ad4ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5 #19 0x00007f9e6e7b5326 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5 #20 0x00007f9e6fda6113 in kdemain () at /usr/lib/libkdeinit5_kwin_x11.so #21 0x00007f9e6fbfd153 in __libc_start_main () at /usr/lib/libc.so.6 #22 0x000055f6350ae05e in _start () [Inferior 1 (process 816) detached] Possible duplicates by query: bug 413507, bug 413385, bug 413381, bug 413371, bug 413351. Reported using DrKonqi
Can you post your kwinrc file?
Thanks for your investigation. Here is my kwinrc file content: [$Version] update_info=kwin.upd:replace-scalein-with-scale,kwin.upd:port-minimizeanimation-effect-to-js,kwin.upd:port-scale-effect-to-js,kwin.upd:port-dimscreen-effect-to-js,kwin.upd:auto-bordersize [Compositing] OpenGLIsUnsafe=false [Desktops] Id_1=66c07a90-597f-46ca-98e3-f7f6a9433803 Id_2=87b53c0d-295e-411a-8e1b-c3312b4acdc3 Number=2 Rows=1 [Effect-Blur] BlurStrength=1 NoiseStrength=0 [Effect-CoverSwitch] TabBox=false TabBoxAlternative=false zPosition=653 [Effect-Cube] BorderActivate=9 BorderActivateCylinder=9 BorderActivateSphere=9 TouchBorderActivate=9 TouchBorderActivateCylinder=9 TouchBorderActivateSphere=9 [Effect-CubeSlide] RotationDuration=190 [Effect-DesktopGrid] BorderActivate=9 TouchBorderActivate=9 [Effect-DimInactive] DimByGroup=false DimFullScreen=false DimKeepAbove=true [Effect-FlipSwitch] TabBox=true TabBoxAlternative=false [Effect-PresentWindows] BorderActivate=9 BorderActivateAll=9 BorderActivateClass=9 TouchBorderActivate=7 TouchBorderActivateAll=9 TouchBorderActivateClass=9 [Effect-Slide] SlideDocks=true [Effect-ThumbnailAside] Opacity=100 [Effect-Wobbly] AdvancedMode=true Drag=90 Stiffness=6 WobblynessLevel=2 [Effect-kwin4_effect_login] FadeToBlack=true [Effect-kwin4_effect_translucency] MoveResize=100 [ElectricBorders] Bottom=None BottomLeft=None BottomRight=None Left=None Right=None Top=None TopLeft=None TopRight=None [ModifierOnlyShortcuts] Meta= [Plugins] blurEnabled=true contrastEnabled=true coverswitchEnabled=true desktopchangeosdEnabled=false enforcedecoEnabled=true fallapartEnabled=true flipswitchEnabled=true glideEnabled=true highlightwindowEnabled=true kwin-script-tilingEnabled=false kwin4_effect_dimscreenEnabled=true kwin4_effect_fadeEnabled=false kwin4_effect_squashEnabled=false magiclampEnabled=true minimizeallEnabled=false sheetEnabled=true slideEnabled=false synchronizeskipswitcherEnabled=false thumbnailasideEnabled=true videowallEnabled=false wobblywindowsEnabled=true [Script-desktopchangeosd] PopupHideDelay=1000 TextOnly=false [TabBox] ActivitiesMode=1 ApplicationsMode=0 BorderActivate=9 BorderAlternativeActivate=9 DesktopLayout=org.kde.breeze.desktop DesktopListLayout=org.kde.breeze.desktop DesktopMode=1 HighlightWindows=true LayoutName=text MinimizedMode=0 MultiScreenMode=0 ShowDesktopMode=0 ShowTabBox=true SwitchingMode=0 TouchBorderActivate=9 TouchBorderAlternativeActivate=9 [TabBoxAlternative] ActivitiesMode=1 ApplicationsMode=0 DesktopMode=1 HighlightWindows=true LayoutName=org.kde.breeze.desktop MinimizedMode=0 MultiScreenMode=0 ShowDesktopMode=0 ShowTabBox=true SwitchingMode=0 [TouchEdges] Bottom=None Left=None Right=None Top=None [Windows] ElectricBorderCooldown=350 ElectricBorderCornerRatio=0.25 ElectricBorderDelay=150 ElectricBorderMaximize=false ElectricBorderTiling=false ElectricBorders=0 RollOverDesktops=true [org.kde.kdecoration2] BorderSize=None BorderSizeAuto=false ButtonsOnLeft= ButtonsOnRight=IAX CloseOnDoubleClickOnMenu=false ShowToolTips=true library=org.kde.kwin.aurorae theme=__aurorae__svg__Sweet-Dark
The crash itself is somewhat irrelevant, what's key is we have: #14 0x00007f9e6fc146a7 in __run_exit_handlers () at /usr/lib/libc.so.6 lower in the stack. So we're already quitting due to something triggered from the Qt XCB QPA. Thong, could you get debug symbols for QtXCB and reproduce?
(In reply to David Edmundson from comment #3) > So we're already quitting due to something triggered from the Qt XCB QPA. > > Thong, could you get debug symbols for QtXCB and reproduce? As far as I know, there's only one place where QtXCB may call exit() and it is here https://code.woboq.org/qt5/qtbase/src/plugins/platforms/xcb/qxcbconnection.cpp.html#1013
Can you post kwin's logs? You can retrieve kwin's logs on arch linux by running the following command from terminal journalctl /usr/bin/kwin_x11
Created attachment 124028 [details] attachment-13894-0.html Hi Vlad, sorry for delay because I dont have many time to use that pc, I will try to take required log to you ASAP (if I have chance). Tks for your kind and sorry for my inconvenient ThongT ________________________________ From: Vlad Zahorodnii <bugzilla_noreply@kde.org> Sent: Wednesday, November 20, 2019 10:22:48 PM To: thong01687300206@gmail.com <thong01687300206@gmail.com> Subject: [kwin] [Bug 413518] Kwin crash when access phone from KDE connect https://bugs.kde.org/show_bug.cgi?id=413518 --- Comment #5 from Vlad Zahorodnii <vladzzag@gmail.com> --- Can you post kwin's logs? You can retrieve kwin's logs on arch linux by running the following command from terminal journalctl /usr/bin/kwin_x11 -- You are receiving this mail because: You reported the bug.
Created attachment 124097 [details] kwin_log Hi Vlad and David, I see the kwin log may have been rotated, because I no longer see the log at the error timestamp, I don't know if this is still useful. I also attach the Xorg log for more information. I tried to reproduce but now there is a another issue that I cannot connect (kde connect) my phone to my computer :| and display error " The file or folder /run/user/1000/bd31ade8c644d656/8698-7CDA does not exist." in dolphin, so I will try in another time to get log again. Thanks
Created attachment 124098 [details] Xorg.0.log
Created attachment 124099 [details] Xorg.0.log.old
This bug report is quite old. Does the crash still occur with KDE 5.23? If so, then please install debugging packages for QtXCB following the instructions given here: https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports reproduce the bug and submit a new backtrace.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!