Bug#910852: libqt5webengine5: Akregator crashes very often, WebEngine related

2018-11-02 Thread Dmitry Shachnev
Control: reassign -1 akregator 4:18.08.1-1
Control: retitle -1 Akregator crashes very often, WebEngine thread safety issue

On Fri, Oct 19, 2018 at 06:48:37PM +0300, Dmitry Shachnev wrote:
> I have reported this bug to Qt upstream, but they say it is not their bug,
> but a thread safety issue in libkf5webengineviewer5. So I have now filed a
> bug to KDE.
>
> I am not yet sure if I should reassign this to libkf5webengineviewer5 or
> akregator, let's wait for KDE developers' response first.

The upstream bug has a potential patch [1] for akregator, so reassigning
to akregator. Please feel free to further reassing to some KF5 libraries if
needed.

[1]: https://bugs.kde.org/show_bug.cgi?id=371511#c4

--
Dmitry Shachnev



signature.asc
Description: PGP signature


Processed: Re: Bug#910852: libqt5webengine5: Akregator crashes very often, WebEngine related

2018-11-02 Thread Debian Bug Tracking System
Processing control commands:

> reassign -1 akregator 4:18.08.1-1
Bug #910852 [libqt5webengine5] libqt5webengine5: Akregator crashes very often, 
WebEngine related
Bug reassigned from package 'libqt5webengine5' to 'akregator'.
No longer marked as found in versions qtwebengine-opensource-src/5.11.1+dfsg-5.
Ignoring request to alter fixed versions of bug #910852 to the same values 
previously set
Bug #910852 [akregator] libqt5webengine5: Akregator crashes very often, 
WebEngine related
Marked as found in versions akregator/4:18.08.1-1.
> retitle -1 Akregator crashes very often, WebEngine thread safety issue
Bug #910852 [akregator] libqt5webengine5: Akregator crashes very often, 
WebEngine related
Changed Bug title to 'Akregator crashes very often, WebEngine thread safety 
issue' from 'libqt5webengine5: Akregator crashes very often, WebEngine related'.

-- 
910852: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910852
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#910852: libqt5webengine5: Akregator crashes very often, WebEngine related

2018-10-24 Thread Martin Steigerwald
Dmitry Shachnev - 19.10.18, 17:48:
> Control: forwarded -1 https://bugs.kde.org/show_bug.cgi?id=400028
> 
> On Fri, Oct 19, 2018 at 11:49:45AM +0200, Martin Steigerwald wrote:
> > Unfortunately Akregator still crashes with Qt 5.11.2 packages.
> > 
> > Maybe heise.de is a quite good way to reproduce it, in case that
> > tracking script stuff is somehow related:
> > 
> > http://www.heise.de/open/news/news-atom.xml
> 
> I have reported this bug to Qt upstream, but they say it is not their
> bug, but a thread safety issue in libkf5webengineviewer5. So I have
> now filed a bug to KDE.

Here further links to upstream bug reports.

Bug which the bug 400028 you marked a duplicate of:

[Bug 371511] kontact/akregator crashes while trying to open a link from 
the
list (middle click)
https://bugs.kde.org/371511

Another upstream bug report:
[akregator] [Bug 397866] akregator crashes when closing the rightmost 
tab
https://bugs.kde.org/397866

Thanks
-- 
Martin



Processed: Re: Bug#910852: libqt5webengine5: Akregator crashes very often, WebEngine related

2018-10-19 Thread Debian Bug Tracking System
Processing control commands:

> forwarded -1 https://bugs.kde.org/show_bug.cgi?id=400028
Bug #910852 [libqt5webengine5] libqt5webengine5: Akregator crashes very often, 
WebEngine related
Changed Bug forwarded-to-address to 
'https://bugs.kde.org/show_bug.cgi?id=400028' from 
'https://bugreports.qt.io/browse/QTBUG-71284'.

-- 
910852: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910852
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems



Bug#910852: libqt5webengine5: Akregator crashes very often, WebEngine related

2018-10-19 Thread Dmitry Shachnev
Control: forwarded -1 https://bugs.kde.org/show_bug.cgi?id=400028

On Fri, Oct 19, 2018 at 11:49:45AM +0200, Martin Steigerwald wrote:
> Unfortunately Akregator still crashes with Qt 5.11.2 packages.
>
> Maybe heise.de is a quite good way to reproduce it, in case that tracking
> script stuff is somehow related:
>
> http://www.heise.de/open/news/news-atom.xml

I have reported this bug to Qt upstream, but they say it is not their bug,
but a thread safety issue in libkf5webengineviewer5. So I have now filed a
bug to KDE.

I am not yet sure if I should reassign this to libkf5webengineviewer5 or
akregator, let's wait for KDE developers' response first.

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Bug#910852: libqt5webengine5: Akregator crashes very often, WebEngine related

2018-10-19 Thread Martin Steigerwald
Hi Dmitry.

Dmitry Shachnev - 19.10.18, 09:00:
> On Fri, Oct 12, 2018 at 12:10:26PM +0200, Martin Steigerwald wrote:
> > Package: libqt5webengine5
> > Version: 5.11.1+dfsg-5
> > Severity: serious
> > Justification: crashes make Akregator almost unusable
> > 
> > Dear Dmitry,
> > 
> > I found Akregator crashing very often when accessing articles as
> > webpages which are rendered by Qt WebEngine. These may also be
> > related to KDEPIM 18.08 update. Please reassign if needed.
> 
> Can you please check if this still happens with Qt 5.11.2 packages,
> which are now in Debian unstable?

Unfortunately Akregator still crashes with Qt 5.11.2 packages.

Maybe heise.de is a quite good way to reproduce it, in case that tracking
script stuff is somehow related:

http://www.heise.de/open/news/news-atom.xml

Here another backtrace:

WebEnginePage::javaScriptConsoleMessage lineNumber:  16  message:  "A 
parser-blocking, cross site (i.e. different eTLD+1) script, 
https://adserver.idg.de/gptjs/tn/tn_dogpt_sync.js, is invoked via 
document.write. The network request for this script MAY be blocked by the 
browser in this or a future page load due to poor network connectivity. If 
blocked in this page load, it will be confirmed in a subsequent console 
message. See https://www.chromestatus.com/feature/5718547946799104 for more 
details."
WebEnginePage::javaScriptConsoleMessage lineNumber:  651  message:  "Uncaught 
TypeError: googletag.defineSlot is not a function"
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "Uncaught 
TypeError: Cannot read property 'getItem' of null"
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "Uncaught 
TypeError: Cannot read property 'getItem' of null"
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "Uncaught 
TypeError: Cannot read property 'getItem' of null"
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "Uncaught (in 
promise) TypeError: Cannot read property 'getUserHash' of undefined"
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "TypeError: 
b.toUpperCase is not a function"
[Thread 0x7fff2fda2700 (LWP 6050) exited]
[Thread 0x7fff9f7fe700 (LWP 5327) exited]
[Thread 0x7fffbcff9700 (LWP 5325) exited]

Thread 21 "Chrome_IOThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff7700 (LWP 5333)]
0x7fffed21086c in 
QtWebEngineCore::NetworkDelegateQt::OnBeforeURLRequest(net::URLRequest*, 
base::RepeatingCallback const&, GURL*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
(gdb) bt full
#0  0x7fffed21086c in 
QtWebEngineCore::NetworkDelegateQt::OnBeforeURLRequest(net::URLRequest*, 
base::RepeatingCallback const&, GURL*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#1  0x7fffeeca82a6 in 
net::NetworkDelegate::NotifyBeforeURLRequest(net::URLRequest*, 
base::RepeatingCallback const&, GURL*) ()
   from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#2  0x7fffeedf86eb in net::URLRequest::Start() [clone .part.109] () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#3  0x7fffedb13bce in content::ResourceLoader::StartRequestInternal() () 
from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#4  0x7fffedb148ad in content::ResourceLoader::Resume(bool) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#5  0x7fffedb14a9a in content::ResourceLoader::StartRequest() () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#6  0x7fffedb0e1de in 
content::ResourceDispatcherHostImpl::BeginRequestInternal(std::unique_ptr >, 
std::unique_ptr >) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#7  0x7fffedb0faff in 
content::ResourceDispatcherHostImpl::BeginNavigationRequest(content::ResourceContext*,
 net::URLRequestContext*, storage::FileSystemContext*, 
content::NavigationRequestInfo const&, 
std::unique_ptr >, 
content::NavigationURLLoaderImplCore*, 
mojo::InterfacePtr, 
mojo::InterfaceRequest, 
content::ServiceWorkerNavigationHandleCore*, 
content::AppCacheNavigationHandleCore*, unsigned int, 
content::GlobalRequestID*) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#8  0x7fffedafd855 in 
content::NavigationURLLoaderImplCore::Start(content::ResourceContext*, 
net::URLRequestContextGetter*, storage::FileSystemContext*, 
content::ServiceWorkerNavigationHandleCore*, 
content::AppCacheNavigationHandleCore*, 
std::unique_ptr >, 
std::unique_ptr >) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#9  0x7fffedafd160 in 
base::internal::Invoker >, 
std::unique_ptr >), 
scoped_refptr, content::ResourceContext*, 
base::internal::UnretainedWrapper, 
base::internal::UnretainedWrapper, 

Bug#910852: libqt5webengine5: Akregator crashes very often, WebEngine related

2018-10-19 Thread Dmitry Shachnev
Hi Martin!

On Fri, Oct 12, 2018 at 12:10:26PM +0200, Martin Steigerwald wrote:
> Package: libqt5webengine5
> Version: 5.11.1+dfsg-5
> Severity: serious
> Justification: crashes make Akregator almost unusable
>
> Dear Dmitry,
>
> I found Akregator crashing very often when accessing articles as webpages
> which are rendered by Qt WebEngine. These may also be related to KDEPIM
> 18.08 update. Please reassign if needed.

Can you please check if this still happens with Qt 5.11.2 packages, which
are now in Debian unstable?

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Bug#910852: libqt5webengine5: Akregator crashes very often, WebEngine related - another backtrace

2018-10-12 Thread Martin Steigerwald
Hello.

I produced another backtrace. Backtraces appear to be random to me.
If its helpful I can produce some more backtrace at a later time.

I think that "A parser-blocking, cross site" message on console is unrelated.
The message comes very often. Also way before it crashes. I think I may
better switch Akregator to use an external web browser that I hardened
before in the future.

WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "Uncaught 
TypeError: Cannot read property 'mobile_detect_force_mobile' of null"
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "Uncaught 
TypeError: Cannot read property 'getItem' of null"
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "Uncaught (in 
promise) TypeError: Cannot read property 'getItem' of null"
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "Uncaught (in 
promise) TypeError: Super expression must either be null or a function, not 
undefined"
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "TypeError: 
b.toUpperCase is not a function"
[New Thread 0x7fff32a5d700 (LWP 24326)]
WebEnginePage::javaScriptConsoleMessage lineNumber:  2  message:  "JQMIGRATE: 
Migrate is installed, version 1.4.1"
[New Thread 0x7fff3225c700 (LWP 24568)]
[Thread 0x7fff3b7ff700 (LWP 22492) exited]
[New Thread 0x7fff3b7ff700 (LWP 24692)]

Thread 21 "Chrome_IOThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff7700 (LWP 19839)]
0x0020 in ?? ()
(gdb) bt full
#0  0x0020 in ?? ()
No symbol table info available.
#1  0x7fffed18811f in 
QtWebEngineCore::NetworkDelegateQt::OnBeforeURLRequest(net::URLRequest*, 
base::RepeatingCallback const&, GURL*) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#2  0x7fffeec1db86 in 
net::NetworkDelegate::NotifyBeforeURLRequest(net::URLRequest*, 
base::RepeatingCallback const&, GURL*) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#3  0x7fffeed6c1ab in net::URLRequest::Start() [clone .part.109] () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#4  0x7fffeda8b01e in content::ResourceLoader::StartRequestInternal() () 
from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#5  0x7fffeda8bcfd in content::ResourceLoader::Resume(bool) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#6  0x7fffeda8beea in content::ResourceLoader::StartRequest() () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#7  0x7fffeda8562e in 
content::ResourceDispatcherHostImpl::BeginRequestInternal(std::unique_ptr >, 
std::unique_ptr >) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#8  0x7fffeda86f4f in 
content::ResourceDispatcherHostImpl::BeginNavigationRequest(content::ResourceContext*,
 net::URLRequestContext*, storage::FileSystemContext*, 
content::NavigationRequestInfo const&, 
std::unique_ptr >, 
content::NavigationURLLoaderImplCore*, 
mojo::InterfacePtr, 
mojo::InterfaceRequest, 
content::ServiceWorkerNavigationHandleCore*, 
content::AppCacheNavigationHandleCore*, unsigned int, 
content::GlobalRequestID*) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#9  0x7fffeda74ca5 in 
content::NavigationURLLoaderImplCore::Start(content::ResourceContext*, 
net::URLRequestContextGetter*, storage::FileSystemContext*, 
content::ServiceWorkerNavigationHandleCore*, 
content::AppCacheNavigationHandleCore*, 
std::unique_ptr >, 
std::unique_ptr >) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#10 0x7fffeda745b0 in 
base::internal::Invoker >, 
std::unique_ptr >), 
scoped_refptr, content::ResourceContext*, 
base::internal::UnretainedWrapper, 
base::internal::UnretainedWrapper, 
content::ServiceWorkerNavigationHandleCore*, 
content::AppCacheNavigationHandleCore*, 
base::internal::PassedWrapper > >, 
base::internal::PassedWrapper > > >, void 
()>::RunOnce(base::internal::BindStateBase*) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#11 0x7fffee71a218 in base::debug::TaskAnnotator::RunTask(char const*, 
base::PendingTask*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#12 0x7fffee73a91a in base::MessageLoop::RunTask(base::PendingTask*) () 
from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#13 0x7fffee73b3bf in 
base::MessageLoop::DeferOrRunPendingTask(base::PendingTask) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#14 0x7fffee73b558 in base::MessageLoop::DoWork() [clone .part.202] () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info 

Bug#910852: libqt5webengine5: Akregator crashes very often, WebEngine related

2018-10-12 Thread Martin Steigerwald
Package: libqt5webengine5
Version: 5.11.1+dfsg-5
Severity: serious
Justification: crashes make Akregator almost unusable

Dear Dmitry,

I found Akregator crashing very often when accessing articles as webpages
which are rendered by Qt WebEngine. These may also be related to KDEPIM
18.08 update. Please reassign if needed.

I downgraded libqt5quick5 to 5.11.1-5 due to the hint in

#910317: libqt5quick5: Sefault in applications using QWebEngineView
https://bugs.debian.org/910500

However this did not help. Thus I installed debug packages to retrieve a
useful backtrace.

Steps to reproduce:
- Start Akregator
- Open articles in a few feeds (I used feeds from pro-linux.de, heise.de/open
  and various Debian related and other feeds, I bet it does not matter all
  that much which ones)
- Click around in those articles, follow links, close QtWebEngine rendered
  articles

Basically I just "use" Akregator as usual and it usually crashes within 5
minutes. I have also seen crashes in KMail after having rendered HTML mail.
I did not yet generate a backtrace from those.

Often I see this "A parser-blocking, cross site" message on console. I do
not know whether this is related. I'd love to use uBlock Origin with my
hardened settings within Qt WebEngine to get rid of that advertising
and tracking crap.

WebEnginePage::javaScriptConsoleMessage lineNumber:  0  message:  "Mixed 
Content: The page at 
'https://www.pro-linux.de/news/1/26392/pydio-cells-12-verzichtet-auf-php.html' 
was loaded over HTTPS, but requested an insecure script 
'http://pagead2.googlesyndication.com/pagead/show_ads.js'. This request has 
been blocked; the content must be served over HTTPS."
WebEnginePage::javaScriptConsoleMessage lineNumber:  16  message:  "A 
parser-blocking, cross site (i.e. different eTLD+1) script, 
https://adserver.idg.de/gptjs/tn/tn_dogpt_sync.js, is invoked via 
document.write. The network request for this script MAY be blocked by the 
browser in this or a future page load due to poor network connectivity. If 
blocked in this page load, it will be confirmed in a subsequent console 
message. See https://www.chromestatus.com/feature/5718547946799104 for more 
details."
WebEnginePage::javaScriptConsoleMessage lineNumber:  16  message:  "A 
parser-blocking, cross site (i.e. different eTLD+1) script, 
https://adserver.idg.de/gptjs/tn/tn_dogpt_sync.js, is invoked via 
document.write. The network request for this script MAY be blocked by the 
browser in this or a future page load due to poor network connectivity. If 
blocked in this page load, it will be confirmed in a subsequent console 
message. See https://www.chromestatus.com/feature/5718547946799104 for more 
details."
WebEnginePage::javaScriptConsoleMessage lineNumber:  620  message:  "Uncaught 
TypeError: googletag.defineSlot is not a function"
WebEnginePage::javaScriptConsoleMessage lineNumber:  2  message:  "Uncaught 
Error: Error: No input element in the page matches .algolia-search"

Thread 21 "Chrome_IOThread" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff7700 (LWP 28635)]
0x00750062006d in ?? ()
(gdb) bt full
#0  0x00750062006d in ?? ()
No symbol table info available.
#1  0x7fffed18811f in 
QtWebEngineCore::NetworkDelegateQt::OnBeforeURLRequest(net::URLRequest*, 
base::RepeatingCallback const&, GURL*) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#2  0x7fffeec1db86 in 
net::NetworkDelegate::NotifyBeforeURLRequest(net::URLRequest*, 
base::RepeatingCallback const&, GURL*) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#3  0x7fffeed6c1ab in net::URLRequest::Start() [clone .part.109] () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#4  0x7fffeda8b01e in content::ResourceLoader::StartRequestInternal() () 
from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#5  0x7fffeda8bcfd in content::ResourceLoader::Resume(bool) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#6  0x7fffeda8beea in content::ResourceLoader::StartRequest() () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#7  0x7fffeda8562e in 
content::ResourceDispatcherHostImpl::BeginRequestInternal(std::unique_ptr >, 
std::unique_ptr >) () from 
/usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
No symbol table info available.
#8  0x7fffeda86f4f in 
content::ResourceDispatcherHostImpl::BeginNavigationRequest(content::ResourceContext*,
 net::URLRequestContext*, storage::FileSystemContext*, 
content::NavigationRequestInfo const&, 
std::unique_ptr >, 
content::NavigationURLLoaderImplCore*, 
mojo::InterfacePtr, 
mojo::InterfaceRequest, 
content::ServiceWorkerNavigationHandleCore*, 
content::AppCacheNavigationHandleCore*, unsigned int, 
content::GlobalRequestID*) () from