[Qtwebengine] Detect crash of page process

Aleksey Yermakov jp.kuraisu at gmail.com
Thu Mar 10 19:29:48 CET 2016


Hi Allan,

Thanks, I'll check chrome://crash. I tried killing QtWebEngineProcess but
QWebEngineView didn't show crash page and just stopped responding. I
haven't tested yet, but I'm not sure I'll be able to catch this signal that
way. I'll try later though.

Cheers,
Aleksey

On Thu, Mar 10, 2016 at 9:18 PM, Allan Sandfeld Jensen <
allan.jensen at theqtcompany.com> wrote:

> You can navigate to chrome://crash
>
> It is one of the few Chrome URLs that always works as expected.
>
> You can also look for the QtWebEngineProcess and kill it.
>
> `Allan
> On Thursday 10 March 2016, Aleksey Yermakov wrote:
> > Hi Kai,
> >
> > That's exactly what I needed. Thank you.
> >
> > Do you know an effective way to crash render process for testing
> purposes?
> >
> > Regards,
> > Aleksey
> >
> > On Thu, Mar 10, 2016 at 6:08 PM, Koehne Kai <Kai.Koehne at theqtcompany.com
> >
> >
> > wrote:
> > > > -----Original Message-----
> > > > From: QtWebEngine [mailto:qtwebengine-
> > > > bounces+kai.koehne=theqtcompany.com at qt-project.org] On Behalf Of
> > > > Aleksey Yermakov
> > > > Sent: Thursday, March 10, 2016 4:02 PM
> > > > To: qtwebengine at qt-project.org
> > > > Subject: [Qtwebengine] Detect crash of page process
> > > >
> > > > Hi,
> > > >
> > > > My QtWebEngine app sometimes experience crashes after
> > > > sleep/hibernation which is easily fixed by page reload.
> > > >
> > > > Is there a way (a signal?) to detect a crash of a page process? If
> not,
> > >
> > > I'm
> > >
> > > > ready to implement it.
> > >
> > > Qt 5.6 will feature a renderProcessTerminated signal
> > >
> > >
> > >
> http://doc-snapshots.qt.io/qt5-5.6/qwebengineview.html#renderProcessTermi
> > > nated
> > >
> > >
> > >
> http://doc-snapshots.qt.io/qt5-5.6/qml-qtwebengine-webengineview.html#ren
> > > derProcessTerminated-signal
> > >
> > > Regards
> > >
> > > Kai
>
>
> --
>
> The Qt Company
> Rudower Chausse 13, 12489 D-Berlin
>
> The Qt Company is a group company of Digia Plc,
> Valimotie 21, FI-00380 Helsinki Finland
>



-- 
Aleksey Yermakov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20160310/99bf262f/attachment.html>


More information about the QtWebEngine mailing list