Bug 385757 - Kwin frequently crashes on startup and randomly during normal usage
Summary: Kwin frequently crashes on startup and randomly during normal usage
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2017-10-14 19:21 UTC by rilwan
Modified: 2018-10-28 03:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Information about the bug including backtrace generated from the crash reporting assistant(it refuses to submit the bug report,error code 410,saying that i must login when i had previously logged in) (6.84 KB, text/plain)
2017-10-14 19:21 UTC, rilwan
Details
Two backtraces with debug symbols one gotten using the bt command and the other gotten using the bt full command in gdb (20.00 KB, application/x-tar)
2017-10-18 13:20 UTC, rilwan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rilwan 2017-10-14 19:21:40 UTC
Created attachment 108354 [details]
Information about the bug including backtrace generated from the crash reporting assistant(it refuses to submit the bug report,error code 410,saying that i must login when  i had previously logged in)

-- Information about the crash:
- What I was doing when the application crashed:
Kwin crashes on startup and also when i am using my laptop(randomly)
I checked various bugs including the ones involving intel graphics drivers (my laptop gpu is Mobile Intel® GM45 Express Chipset) for possible duplicates and even applied some fixes yet kwin keeps crashing so this is not a duplicate.
The crashes are frequent almost everytime i use kde
- Unusual behavior I noticed:
The application launcher when clicked floats(the application launcher does not touch the status bar) and sometimes do not respond during the crash until i restart kwin

The crash can be reproduced sometimes.
Comment 1 Martin Flöser 2017-10-15 07:29:39 UTC
Unfortunately the backtrace is missing debug symbols. If you are able to reproduce please install debug packages and attach a new backtrace. For more information see https://wiki.debian.org/HowToGetABacktrace
Comment 2 Martin Flöser 2017-10-15 07:29:58 UTC
Setting to backtrace.
Comment 3 rilwan 2017-10-18 13:20:43 UTC
Created attachment 108433 [details]
Two backtraces with debug symbols one gotten using the bt command and the other gotten using the bt full command in gdb
Comment 4 Martin Flöser 2017-10-18 15:34:25 UTC
Please just paste them into the comment and don't upload as tar. This just makes it more difficult.
Comment 5 rilwan 2017-10-18 19:46:16 UTC
FIRST BACKTRACE(bt)
#0  0x00007fad4c4f724d in nanosleep () at ../sysdeps/unix/syscall-template.S:84
No locals.
#1  0x00007fad4c4f719a in __sleep (seconds=0) at ../sysdeps/posix/sleep.c:55
        save_errno = 9
        ts = {tv_sec = 0, tv_nsec = 263295766}
#2  0x00007fad4bd569ea in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
No symbol table info available.
#3  0x00007fad4bd57069 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
No symbol table info available.
#4  0x00007fad4bd5755c in KCrash::defaultCrashHandler(int) () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5
No symbol table info available.
#5  <signal handler called>
No locals.
#6  0x00007fad4c0999aa in KWin::Workspace::clientArea(KWin::clientAreaOption, int, int) const () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
No symbol table info available.
#7  0x00007fad4c099cc1 in KWin::Workspace::clientArea(KWin::clientAreaOption, QPoint const&, int) const () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
No symbol table info available.
#8  0x00007fad4c08379b in KWin::Client::manage(unsigned int, bool) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
No symbol table info available.
#9  0x00007fad4c004c84 in KWin::Workspace::createClient(unsigned int, bool) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
No symbol table info available.
#10 0x00007fad4c06f15c in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5
No symbol table info available.
#11 0x00007fad4a3aab0f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#12 0x00007fad34b5b334 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
No symbol table info available.
#13 0x00007fad34b5c015 in QXcbConnection::processXcbEvents() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
No symbol table info available.
#14 0x00007fad4a3da499 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#15 0x00007fad4ac90b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
No symbol table info available.
#16 0x00007fad4ac98341 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
No symbol table info available.
#17 0x00007fad4a3ad9e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#18 0x00007fad4a3b016d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#19 0x00007fad4a3feab7 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#20 0x00007fad34bd351d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
No symbol table info available.
#21 0x00007fad4a3ab9ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#22 0x00007fad4a3b413c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
No symbol table info available.
#23 0x00007fad4c7e71c6 in kdemain (argc=<optimized out>, argv=0x7ffe4409de78) at ./main_x11.cpp:466
        primaryScreen = 0
        c = 0x0
        number_of_screens = <optimized out>
---Type <return> to continue, or q <return> to quit---
        a = {<KWin::Application> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7fad4c4356a0 <KWin::Application::staticMetaObject>, 
              stringdata = 0x7fad4c7e8d00 <qt_meta_stringdata_KWin__ApplicationX11>, data = 0x7fad4c7e8ca0 <qt_meta_data_KWin__ApplicationX11>, 
              static_metacall = 0x7fad4c7e82d0 <KWin::ApplicationX11::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, owner = {
            d = 0x5559fec0d310}, m_replace = false}
        replaceOption = {d = {d = 0x5559feba4490}}
        parser = {d = 0x5559febf3b90}
        noActivitiesOption = {d = {d = 0x5559fec0c4f0}}
        plugins = {d = 0x5559fec0beb0}
        helper = <incomplete type>
#24 0x00007fad4c45f2b1 in __libc_start_main (main=0x5559fda057f0 <main>, argc=1, argv=0x7ffe4409de78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=0x7ffe4409de68) at ../csu/libc-start.c:291
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 5035130937671669888, 93844995594240, 140730039918192, 0, 0, 1202201315397064832, 1155458225289418880}, mask_was_saved = 0}}, priv = {
            pad = {0x0, 0x0, 0x7ffe4409de88, 0x7fad4cc10170}, data = {prev = 0x0, cleanup = 0x0, canceltype = 1141497480}}}
        not_first_call = <optimized out>
#25 0x00005559fda0582a in _start ()
No symbol table info available.

SECOND BACKTRACE(bt full)
#0  0x00007fad4c4f724d in nanosleep () at ../sysdeps/unix/syscall-template.S:84                                                                                                                 
#1  0x00007fad4c4f719a in __sleep (seconds=0) at ../sysdeps/posix/sleep.c:55                                                                                                                    
#2  0x00007fad4bd569ea in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5                                                                                                                 
#3  0x00007fad4bd57069 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5                                                                                                                 
#4  0x00007fad4bd5755c in KCrash::defaultCrashHandler(int) () from /usr/lib/x86_64-linux-gnu/libKF5Crash.so.5                                                                                   
#5  <signal handler called>                                                                                                                                                                     
#6  0x00007fad4c0999aa in KWin::Workspace::clientArea(KWin::clientAreaOption, int, int) const () from /usr/lib/x86_64-linux-gnu/libkwin.so.5                                                    
#7  0x00007fad4c099cc1 in KWin::Workspace::clientArea(KWin::clientAreaOption, QPoint const&, int) const () from /usr/lib/x86_64-linux-gnu/libkwin.so.5                                          
#8  0x00007fad4c08379b in KWin::Client::manage(unsigned int, bool) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5                                                                               
#9  0x00007fad4c004c84 in KWin::Workspace::createClient(unsigned int, bool) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5                                                                      
#10 0x00007fad4c06f15c in KWin::Workspace::workspaceEvent(xcb_generic_event_t*) () from /usr/lib/x86_64-linux-gnu/libkwin.so.5                                                                  
#11 0x00007fad4a3aab0f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5                                        
#12 0x00007fad34b5b334 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5                                                              
#13 0x00007fad34b5c015 in QXcbConnection::processXcbEvents() () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5                                                                                
#14 0x00007fad4a3da499 in QObject::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5                                                                                             
#15 0x00007fad4ac90b8c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5                                                            
#16 0x00007fad4ac98341 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5                                                                          
#17 0x00007fad4a3ad9e0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5                                                                
#18 0x00007fad4a3b016d in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5                                              
#19 0x00007fad4a3feab7 in QEventDispatcherUNIX::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5                                          
#20 0x00007fad34bd351d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5                                                                                                                
#21 0x00007fad4a3ab9ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5                                                             
#22 0x00007fad4a3b413c in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5                                                                                            
#23 0x00007fad4c7e71c6 in kdemain (argc=<optimized out>, argv=0x7ffe4409de78) at ./main_x11.cpp:466                                                                                             
#24 0x00007fad4c45f2b1 in __libc_start_main (main=0x5559fda057f0 <main>, argc=1, argv=0x7ffe4409de78, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>,                    
    stack_end=0x7ffe4409de68) at ../csu/libc-start.c:291                                                                                                                                        
#25 0x00005559fda0582a in _start ()
Comment 6 rilwan 2017-10-18 19:50:50 UTC
I made an error
The first backtrace was made with bt full
and the second was made with bt
Comment 7 Christoph Feck 2017-10-19 16:20:26 UTC
Could be a duplicate of bug 344312.
Comment 8 rilwan 2017-10-20 08:20:38 UTC
(In reply to Christoph Feck from comment #7)
> Could be a duplicate of bug 344312.

No it is not
I tried the steps to reproduce the bug and the client did not crash.
Comment 9 Andrew Crouthamel 2018-09-28 02:32:22 UTC
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 set the bug status 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!
Comment 10 Andrew Crouthamel 2018-10-28 03:39:10 UTC
Dear Bug Submitter,

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!