Bug 419685

Summary: Help Centre crash on Increasing Font size
Product: [Applications] khelpcenter Reporter: Vishnu <vishnugb>
Component: generalAssignee: Documentation Editorial Team <kde-doc-english>
Status: RESOLVED DUPLICATE    
Severity: crash CC: christoph, yurchor
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Vishnu 2020-04-05 14:33:59 UTC
Application: khelpcenter (5.7.5.19123)

Qt Version: 5.14.2
Frameworks Version: 5.68.0
Operating System: Linux 5.5.13-zen2-1-zen x86_64
Windowing system: Wayland
Distribution: Arch Linux

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


I was pressingthe 'Increase Font Sizes' button a few times.

The crash can be reproduced every time.

-- Backtrace:
Application: Help Centre (khelpcenter), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7facee7be480 (LWP 3173))]

Thread 9 (Thread 0x7facd6ffd700 (LWP 3183)):
#0  0x00007facf1f2c01a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007facf3546a48 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2  0x00007facf3546b69 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007facf35441dd in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007facf3540dd6 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007facf1f2546f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007facf5b763d3 in clone () from /usr/lib/libc.so.6

Thread 8 (Thread 0x7facd77fe700 (LWP 3182)):
#0  0x00007facf1f2c01a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007facf3546a48 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2  0x00007facf3546b69 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007facf35441dd in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007facf3540dd6 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007facf1f2546f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007facf5b763d3 in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7facd7fff700 (LWP 3181)):
#0  0x00007facf1f2c01a in pthread_cond_timedwait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007facf3546a48 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () from /usr/lib/libQt5Core.so.5
#2  0x00007facf3546b69 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQt5Core.so.5
#3  0x00007facf35441dd in ?? () from /usr/lib/libQt5Core.so.5
#4  0x00007facf3540dd6 in ?? () from /usr/lib/libQt5Core.so.5
#5  0x00007facf1f2546f in start_thread () from /usr/lib/libpthread.so.0
#6  0x00007facf5b763d3 in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7facdeb62700 (LWP 3178)):
#0  0x00007facf1f2bcf5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007face5888bfc in ?? () from /usr/lib/dri/iris_dri.so
#2  0x00007face58887f8 in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007facf1f2546f in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007facf5b763d3 in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7facdf363700 (LWP 3177)):
#0  0x00007facf1f2bcf5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007face5888bfc in ?? () from /usr/lib/dri/iris_dri.so
#2  0x00007face58887f8 in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007facf1f2546f in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007facf5b763d3 in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7facdfb64700 (LWP 3176)):
#0  0x00007facf1f2bcf5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007face5888bfc in ?? () from /usr/lib/dri/iris_dri.so
#2  0x00007face58887f8 in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007facf1f2546f in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007facf5b763d3 in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7face0365700 (LWP 3175)):
#0  0x00007facf1f2bcf5 in pthread_cond_wait@@GLIBC_2.3.2 () from /usr/lib/libpthread.so.0
#1  0x00007face5888bfc in ?? () from /usr/lib/dri/iris_dri.so
#2  0x00007face58887f8 in ?? () from /usr/lib/dri/iris_dri.so
#3  0x00007facf1f2546f in start_thread () from /usr/lib/libpthread.so.0
#4  0x00007facf5b763d3 in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7faced6d4700 (LWP 3174)):
#0  0x00007facf15554e4 in g_mutex_unlock () from /usr/lib/libglib-2.0.so.0
#1  0x00007facf159b5af in g_main_context_query () from /usr/lib/libglib-2.0.so.0
#2  0x00007facf15a671d in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007facf15a6871 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007facf37748ac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#5  0x00007facf371b05c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#6  0x00007facf353fc62 in QThread::exec() () from /usr/lib/libQt5Core.so.5
#7  0x00007facf39c5b28 in ?? () from /usr/lib/libQt5DBus.so.5
#8  0x00007facf3540dd6 in ?? () from /usr/lib/libQt5Core.so.5
#9  0x00007facf1f2546f in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007facf5b763d3 in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7facee7be480 (LWP 3173)):
[KCrash Handler]
#6  0x00007facf2f50ce4 in _XGetRequest () from /usr/lib/libX11.so.6
#7  0x00007facf2f2b017 in XChangeWindowAttributes () from /usr/lib/libX11.so.6
#8  0x00007facf5443193 in KHTMLView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libKF5KHtml.so.5
#9  0x00007facf43422ee in QWidget::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007facf43f3cbf in QFrame::event(QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007facf543f22f in KHTMLView::widgetEvent(QEvent*) () from /usr/lib/libKF5KHtml.so.5
#12 0x00007facf543ee60 in KHTMLView::eventFilter(QObject*, QEvent*) () from /usr/lib/libKF5KHtml.so.5
#13 0x00007facf371c203 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#14 0x00007facf42fe341 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#15 0x00007facf4307a78 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#16 0x00007facf371c4f2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#17 0x00007facf4306aeb in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt5Widgets.so.5
#18 0x00007facf435db21 in ?? () from /usr/lib/libQt5Widgets.so.5
#19 0x00007facf4360aa4 in ?? () from /usr/lib/libQt5Widgets.so.5
#20 0x00007facf42fe352 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#21 0x00007facf4307829 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007facf371c4f2 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#23 0x00007facf3c2b2a4 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#24 0x00007facf3c2c9b6 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/libQt5Gui.so.5
#25 0x00007facf3c04c5c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#26 0x00007facee3da3d1 in ?? () from /usr/lib/libQt5WaylandClient.so.5
#27 0x00007facf15a49be in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0x00007facf15a6831 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0x00007facf15a6871 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0x00007facf3774890 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#31 0x00007facf371b05c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#32 0x00007facf3723066 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#33 0x00007facf5c8d8a6 in kdemain () from /usr/lib/libkdeinit5_khelpcenter.so
#34 0x00007facf5a9e023 in __libc_start_main () from /usr/lib/libc.so.6
#35 0x000055b914ab405e in _start ()
[Inferior 1 (process 3173) detached]

The reporter indicates this bug may be a duplicate of or related to bug 416769.

Possible duplicates by query: bug 416769, bug 348766, bug 182833.

Reported using DrKonqi
Comment 1 Yuri Chornoivan 2020-04-05 14:49:23 UTC
Cannot reproduce it under X server with self-compiled KHelpCenter from git/master (Qt 5.12, Mageia 7 x86-64, Frameworks 5.57).

Can it be reproduced if you choose a shortcut via "Settings -> Configure shortcuts" then use to increase the font size?
Comment 2 Vishnu 2020-04-05 16:05:16 UTC
Okay, I should have added more information. This does not happen when I just open Help Centre. It happenes (reproducibly) when I go to Settings > Display & Monitor > Compositor, and then click on the 'Help' button at the bottom. It gives me a Help Centre window that says "Document not found". Then when I rapidly click the button to increase font size, it crashes.

Also, I'm on the Wayland session.
Comment 3 Yuri Chornoivan 2020-04-05 16:07:55 UTC
Thanks. Cannot reproduce this under X (might be a Wayland integration problem).
Comment 4 Christoph Cullmann 2022-01-08 16:12:08 UTC
Is the same 

#7  0x00007facf2f2b017 in XChangeWindowAttributes () from /usr/lib/libX11.so.6
#8  0x00007facf5443193 in KHTMLView::mouseMoveEvent(QMouseEvent*) () from /usr/lib/libKF5KHtml.so.5

as in the other bug report, see there some fix.

*** This bug has been marked as a duplicate of bug 422972 ***