Bug 378680

Summary: Konqueror crashes on launching with "Could not find QtWebEngineProcess" error printed #packaging
Product: [KDE Neon] neon Reporter: 林博仁(Buo-ren, Lin) <Buo.Ren.Lin>
Component: generalAssignee: Neon Bugs <neon-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: clark, jason.a.cousineau, jr, neon-bugs, sitter
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description 林博仁(Buo-ren, Lin) 2017-04-12 04:25:22 UTC
Application: konqueror (5.0.97)

Qt Version: 5.7.1
Frameworks Version: 5.33.0
Operating System: Linux 4.8.0-46-generic x86_64
Distribution: KDE neon User Edition 5.9

-- Information about the crash:
- What I was doing when the application crashed:
* Launch Konqueror, Konqueror window still existed while Dr.Konqi alerts about a crash, with "Could not find QtWebEngineProcess" message in stdout

```
QWidget::paintEngine: Should no longer be called
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::translate: Painter not active
QPainter::setClipRect: Painter not active
"text/html" QUrl("about:blank") childView= QObject(0x0) req: "[typedUrl=about:blank newTabInFront]"
Trying to create view for "text/html" ""
"webenginepart"  : X-KDE-BrowserView-AllowAsDefault is valid :  false
KonqFrame(0x1a2ee20) QObject(0x0)
Could not find QtWebEngineProcess
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = konqueror path = /usr/bin pid = 8992
```

- Other info
I suspect this issue is due to the missing dependency of libqt5webengine5 package, which provides the QtWebEngineProcess binary, currently konqueror package depend on libqt5webenginewidgets5, but libqt5webenginewidgets5 package only depends on libqt5webenginecore5 package.

The crash can be reproduced every time.

-- Backtrace:
Application: Konqueror 征服家 (konqueror), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ffacff7f940 (LWP 6430))]

Thread 4 (Thread 0x7ffab81a4700 (LWP 6433)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ffab83216f4 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007ffab8321739 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007ffad9b426ba in start_thread (arg=0x7ffab81a4700) at pthread_create.c:333
#4  0x00007ffae287d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7ffac5796700 (LWP 6432)):
#0  0x00007ffae2871b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffad7a8538c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ffad7a8549c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ffaddec575b in QEventDispatcherGlib::processEvents (this=0x7ffac00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007ffadde700ba in QEventLoop::exec (this=this@entry=0x7ffac5795c50, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007ffaddc9ff64 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:507
#6  0x00007ffae2fdc735 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007ffaddca4b48 in QThreadPrivate::start (arg=0x7ffae3050d60) at thread/qthread_unix.cpp:368
#8  0x00007ffad9b426ba in start_thread (arg=0x7ffac5796700) at pthread_create.c:333
#9  0x00007ffae287d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7ffacdc3f700 (LWP 6431)):
#0  0x00007ffae2871b5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffad94c0c62 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ffad94c28d7 in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ffacfb70d79 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007ffaddca4b48 in QThreadPrivate::start (arg=0x1cde860) at thread/qthread_unix.cpp:368
#5  0x00007ffad9b426ba in start_thread (arg=0x7ffacdc3f700) at pthread_create.c:333
#6  0x00007ffae287d82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ffacff7f940 (LWP 6430)):
[KCrash Handler]
#6  0x00007ffae27ac428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007ffae27ae02a in __GI_abort () at abort.c:89
#8  0x00007ffaddc8b811 in qt_message_fatal (context=..., message=<synthetic pointer>) at global/qlogging.cpp:1682
#9  QMessageLogger::fatal (this=this@entry=0x7ffd36f89150, msg=msg@entry=0x7ffa3158c0ad "Could not find %s") at global/qlogging.cpp:793
#10 0x00007ffa2de27ea6 in (anonymous namespace)::subProcessPath () at /workspace/build/src/core/web_engine_library_info.cpp:149
#11 WebEngineLibraryInfo::getPath (key=key@entry=4000) at /workspace/build/src/core/web_engine_library_info.cpp:268
#12 0x00007ffa2de2341d in QtWebEngineCore::WebEngineContext::WebEngineContext (this=0x42e9830) at /workspace/build/src/core/web_engine_context.cpp:276
#13 0x00007ffa2de24fa5 in QtWebEngineCore::WebEngineContext::current () at /workspace/build/src/core/web_engine_context.cpp:207
#14 0x00007ffa2de1569e in QtWebEngineCore::WebContentsAdapterPrivate::WebContentsAdapterPrivate (this=0x42edec0) at /workspace/build/src/core/web_contents_adapter.cpp:341
#15 0x00007ffa2de1854e in QtWebEngineCore::WebContentsAdapter::WebContentsAdapter (this=0x42eb910, webContents=0x0) at /workspace/build/src/core/web_contents_adapter.cpp:380
#16 0x00007ffabb938fb1 in QWebEnginePagePrivate::QWebEnginePagePrivate(QWebEngineProfile*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so.5
#17 0x00007ffabb939b84 in QWebEnginePage::QWebEnginePage(QObject*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so.5
#18 0x00007ffab8707dd2 in WebEnginePage::WebEnginePage (this=0x42e7f30, part=0x42df610, parent=<optimized out>) at /workspace/build/webenginepart/src/webenginepage.cpp:64
#19 0x00007ffab8700e42 in WebEngineView::WebEngineView (this=0x42eab90, part=0x42df610, parent=<optimized out>) at /workspace/build/webenginepart/src/webengineview.cpp:68
#20 0x00007ffab86f53b9 in WebEnginePart::WebEnginePart (this=0x42df610, parentWidget=0x23a3670, parent=<optimized out>, cachedHistory=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at /workspace/build/webenginepart/src/webenginepart.cpp:121
#21 0x00007ffab8935c6e in WebEngineFactory::create (this=this@entry=0x42a3bc0, iface=<optimized out>, parentWidget=parentWidget@entry=0x23a3670, parent=parent@entry=0x0, args=..., keyword=...) at /workspace/build/webenginepart/src/webenginepartfactory.cpp:45
#22 0x00007ffae2bbf19f in KPluginFactory::create<KParts::ReadOnlyPart> (args=..., keyword=..., parent=0x0, parentWidget=0x23a3670, this=0x42a3bc0) at /usr/include/KF5/KCoreAddons/kpluginfactory.h:521
#23 KonqViewFactory::create (this=this@entry=0x7ffd36f898f0, parentWidget=parentWidget@entry=0x23a3670, parent=parent@entry=0x0) at /workspace/build/src/konqfactory.cpp:64
#24 0x00007ffae2baab67 in KonqFrame::attach (this=0x23a3670, viewFactory=...) at /workspace/build/src/konqframe.cpp:144
#25 0x00007ffae2b967fc in KonqView::switchView (this=this@entry=0x23b8530, viewFactory=...) at /workspace/build/src/konqview.cpp:250
#26 0x00007ffae2b979c2 in KonqView::changePart (this=this@entry=0x23b8530, mimeType=..., serviceName=..., forceAutoEmbed=forceAutoEmbed@entry=true) at /workspace/build/src/konqview.cpp:361
#27 0x00007ffae2bdf964 in KonqMainWindow::openView (this=0x21a4360, mimeType=..., _url=..., childView=childView@entry=0x23b8530, req=...) at /workspace/build/src/konqmainwindow.cpp:907
#28 0x00007ffae2b93173 in KonqRun::tryOpenView (this=this@entry=0x253e430, mimeType=..., associatedAppIsKonqueror=associatedAppIsKonqueror@entry=false) at /workspace/build/src/konqrun.cpp:163
#29 0x00007ffae2b93c64 in KonqRun::foundMimeType (this=0x253e430, _type=...) at /workspace/build/src/konqrun.cpp:92
#30 0x00007ffae14c3032 in KRun::mimeTypeDetermined (this=this@entry=0x253e430, mimeType=...) at /workspace/build/src/widgets/krun.cpp:1290
#31 0x00007ffae1a53628 in KParts::BrowserRun::slotBrowserMimetype (this=0x253e430, _job=<optimized out>, type=...) at /workspace/build/src/browserrun.cpp:257
#32 0x00007ffadde9d1f6 in QtPrivate::QSlotObjectBase::call (a=0x7ffd36f8a010, r=0x253e430, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:101
#33 QMetaObject::activate (sender=sender@entry=0x253e980, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffd36f8a010) at kernel/qobject.cpp:3723
#34 0x00007ffadde9d837 in QMetaObject::activate (sender=sender@entry=0x253e980, m=m@entry=0x7ffae140a980 <KIO::TransferJob::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x7ffd36f8a010) at kernel/qobject.cpp:3602
#35 0x00007ffae1163fe7 in KIO::TransferJob::mimetype (this=this@entry=0x253e980, _t1=_t1@entry=0x253e980, _t2=...) at /workspace/build/obj-x86_64-linux-gnu/src/core/moc_transferjob.cpp:338
#36 0x00007ffae116410f in KIO::TransferJob::slotMimetype (this=0x253e980, type=...) at /workspace/build/src/core/transferjob.cpp:265
#37 0x00007ffae116570d in KIO::TransferJob::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/src/core/moc_transferjob.cpp:158
#38 0x00007ffadde9ce89 in QMetaObject::activate (sender=sender@entry=0x211c3d0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=19, argv=argv@entry=0x7ffd36f8a240) at kernel/qobject.cpp:3740
#39 0x00007ffadde9d837 in QMetaObject::activate (sender=sender@entry=0x211c3d0, m=m@entry=0x7ffae1409840 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=19, argv=argv@entry=0x7ffd36f8a240) at kernel/qobject.cpp:3602
#40 0x00007ffae11333c5 in KIO::SlaveInterface::mimeType (this=this@entry=0x211c3d0, _t1=...) at /workspace/build/obj-x86_64-linux-gnu/src/core/moc_slaveinterface.cpp:526
#41 0x00007ffae11349bb in KIO::SlaveInterface::dispatch (this=0x211c3d0, _cmd=<optimized out>, rawdata=...) at /workspace/build/src/core/slaveinterface.cpp:252
#42 0x00007ffae1133517 in KIO::SlaveInterface::dispatch (this=0x211c3d0) at /workspace/build/src/core/slaveinterface.cpp:89
#43 0x00007ffae11386e1 in KIO::Slave::gotInput (this=0x211c3d0) at /workspace/build/src/core/slave.cpp:399
#44 0x00007ffae11c5945 in KIO::Slave::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/src/core/moc_slave.cpp:87
#45 0x00007ffadde9ce89 in QMetaObject::activate (sender=0x21818a0, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3740
#46 0x00007ffadde9d837 in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7ffae14085a0 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3602
#47 0x00007ffae10d4f90 in KIO::Connection::readyRead (this=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/src/core/moc_connection_p.cpp:142
#48 KIO::ConnectionPrivate::dequeue (this=0x265e340) at /workspace/build/src/core/connection.cpp:46
#49 0x00007ffadde9dd99 in QObject::event (this=0x21818a0, e=<optimized out>) at kernel/qobject.cpp:1263
#50 0x00007ffade9a0ecc in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x21818a0, e=0x253d310) at kernel/qapplication.cpp:3799
#51 0x00007ffade9a88c6 in QApplication::notify (this=0x7ffd36f8ac60, receiver=0x21818a0, e=0x253d310) at kernel/qapplication.cpp:3556
#52 0x00007ffadde720c8 in QCoreApplication::notifyInternal2 (receiver=0x21818a0, event=event@entry=0x253d310) at kernel/qcoreapplication.cpp:988
#53 0x00007ffadde7478b in QCoreApplication::sendEvent (event=0x253d310, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#54 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1cc5b40) at kernel/qcoreapplication.cpp:1649
#55 0x00007ffadde74bf8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1503
#56 0x00007ffaddec5333 in postEventSourceDispatch (s=0x1cfecb0) at kernel/qeventdispatcher_glib.cpp:276
#57 0x00007ffad7a85197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#58 0x00007ffad7a853f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#59 0x00007ffad7a8549c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007ffaddec573f in QEventDispatcherGlib::processEvents (this=0x1d02e30, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#61 0x00007ffadde700ba in QEventLoop::exec (this=this@entry=0x7ffd36f8ab10, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#62 0x00007ffadde786cc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1261
#63 0x00007ffae2c0eee0 in kdemain (argc=1, argv=<optimized out>) at /workspace/build/src/konqmain.cpp:233
#64 0x00007ffae2797830 in __libc_start_main (main=0x4006e0 <main(int, char**)>, argc=1, argv=0x7ffd36f8ae28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffd36f8ae18) at ../csu/libc-start.c:291
#65 0x0000000000400719 in _start ()

Possible duplicates by query: bug 377996, bug 366235, bug 364721, bug 364342, bug 364090.

Reported using DrKonqi
Comment 1 林博仁(Buo-ren, Lin) 2017-04-12 04:28:13 UTC
Yep, Konqueror stop crashing after manually installed libqt5webengine5 package.
Comment 2 Christoph Feck 2017-06-13 20:33:16 UTC

*** This bug has been marked as a duplicate of bug 377129 ***
Comment 3 Christoph Feck 2017-06-27 19:51:42 UTC
*** Bug 381294 has been marked as a duplicate of this bug. ***
Comment 4 Christoph Feck 2017-08-01 21:52:14 UTC
*** Bug 382868 has been marked as a duplicate of this bug. ***