Bug 371769 - konqueror crashes on Wayland with an empty clipboard
Summary: konqueror crashes on Wayland with an empty clipboard
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (other bugs)
Version First Reported In: Git
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: Konqueror Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-27 22:02 UTC by idoitprone
Modified: 2018-11-02 22:27 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description idoitprone 2016-10-27 22:02:20 UTC
Application: konqueror ()

Qt Version: 5.7.0
Frameworks Version: 5.28.0
Operating System: Linux 4.4.0-270-bb x86_64
Distribution: KDE neon Developer Edition

-- Information about the crash:
- What I was doing when the application crashed:

I was clearing the clipboard on kde wayland.

Another time I was restorting a kde session with konqueror as on of the windows.


Steps to reproduce:
1. start plasma-wayland
2. clear kde clipboard.
3. start up konqueror.

Added bonus.

1. enable restore previous session in systemconfig -> kde startup
2. konqueror
3. shutdown
4. boot up plasma-wayland
5. Konquerors crashes regardless if clipboard is full or empty.

- Unusual behavior I noticed:

The only reason why I notice bug 346346 is because dr konqi reference the bug when it crashed on start up.





I appoligize for a seperate bug post but dr konqi "suggest bugs might be related is broken"

This issue seems to be reported ages ago - Bug 346346 

I am using

kde neon developer edition

The crash can be reproduced every time.

-- Backtrace:
Application: konqueror (konqueror), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fef8c71c940 (LWP 2159))]

Thread 2 (Thread 0x7fef77c58700 (LWP 2160)):
#0  0x00007fef8c115b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007fef8154939c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fef815494ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fef8777223b in QEventDispatcherGlib::processEvents (this=0x7fef700008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fef8771ccea in QEventLoop::exec (this=this@entry=0x7fef77c57c50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#5  0x00007fef87541fb4 in QThread::exec (this=this@entry=0x7fef8c8f1d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:507
#6  0x00007fef8c87d7a5 in QDBusConnectionManager::run (this=0x7fef8c8f1d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:196
#7  0x00007fef87546b98 in QThreadPrivate::start (arg=0x7fef8c8f1d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:344
#8  0x00007fef833f270a in start_thread (arg=0x7fef77c58700) at pthread_create.c:333
#9  0x00007fef8c12182d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fef8c71c940 (LWP 2159)):
[KCrash Handler]
#6  QMimeData::hasText (this=0x0) at kernel/qmimedata.cpp:424
#7  0x00007fef8c47296b in KonqMainWindow::slotClipboardDataChanged (this=this@entry=0x765590) at /workspace/build/konqueror/src/konqmainwindow.cpp:3233
#8  0x00007fef8c4816f8 in KonqMainWindow::eventFilter (this=0x765590, obj=0x7abfe0, ev=0x7ffcbde73d20) at /workspace/build/konqueror/src/konqmainwindow.cpp:3180
#9  0x00007fef8771ea62 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x7abfe0, event=event@entry=0x7ffcbde73d20) at kernel/qcoreapplication.cpp:1099
#10 0x00007fef8825a875 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7abfe0, e=0x7ffcbde73d20) at kernel/qapplication.cpp:3795
#11 0x00007fef88262296 in QApplication::notify (this=0x7ffcbde74310, receiver=0x7abfe0, e=0x7ffcbde73d20) at kernel/qapplication.cpp:3556
#12 0x00007fef8771ecf8 in QCoreApplication::notifyInternal2 (receiver=receiver@entry=0x7abfe0, event=event@entry=0x7ffcbde73d20) at kernel/qcoreapplication.cpp:988
#13 0x00007fef88260216 in QCoreApplication::sendEvent (event=0x7ffcbde73d20, receiver=0x7abfe0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#14 QApplicationPrivate::setFocusWidget (focus=focus@entry=0x7abfe0, reason=reason@entry=Qt::ActiveWindowFocusReason) at kernel/qapplication.cpp:1873
#15 0x00007fef8829be9d in QWidget::setFocus (this=0x7abfe0, reason=reason@entry=Qt::ActiveWindowFocusReason) at kernel/qwidget.cpp:6549
#16 0x00007fef88260755 in QApplication::setActiveWindow (act=act@entry=0x765590) at kernel/qapplication.cpp:2205
#17 0x00007fef882607f3 in QApplicationPrivate::notifyActiveWindowChange (this=<optimized out>, previous=<optimized out>) at kernel/qapplication.cpp:2251
#18 0x00007fef87cc1db5 in QGuiApplicationPrivate::processActivatedEvent (e=<optimized out>) at kernel/qguiapplication.cpp:2125
#19 0x00007fef87cc208d in QGuiApplicationPrivate::processWindowSystemEvent (e=e@entry=0xbd9230) at kernel/qguiapplication.cpp:1714
#20 0x00007fef87c9fe6b in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:654
#21 0x00007fef796ecbb0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WaylandClient.so.5
#22 0x00007fef815491a7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007fef81549400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007fef815494ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007fef8777221f in QEventDispatcherGlib::processEvents (this=0x77acc0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#26 0x00007fef8771ccea in QEventLoop::exec (this=this@entry=0x7ffcbde741f0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:210
#27 0x00007fef877252fc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#28 0x00007fef87cb7d9c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1639
#29 0x00007fef8825a7f5 in QApplication::exec () at kernel/qapplication.cpp:2975
#30 0x00007fef8c4b35c9 in kdemain (argc=1, argv=<optimized out>) at /workspace/build/konqueror/src/konqmain.cpp:190
#31 0x00007fef8c03b830 in __libc_start_main (main=0x4006f0 <main(int, char**)>, argc=1, argv=0x7ffcbde744c8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcbde744b8) at ../csu/libc-start.c:291
#32 0x0000000000400729 in _start ()

Possible duplicates by query: bug 346346.

Reported using DrKonqi
Comment 1 Andrew Crouthamel 2018-11-01 13:52:50 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 idoitprone 2018-11-02 19:16:02 UTC
I do not have KDE installed anymore, so I cannot comment on any KDE bugs for awhile.
Comment 3 Andrew Crouthamel 2018-11-02 22:27:01 UTC
Thanks for the update!