Bug 443889 - Kontact crashes when trying to open a link in a feed
Summary: Kontact crashes when trying to open a link in a feed
Status: REPORTED
Alias: None
Product: kontact
Classification: Applications
Component: akregator (show other bugs)
Version: 5.18.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-17 14:26 UTC by Dipta Biswas
Modified: 2021-10-20 05:59 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dipta Biswas 2021-10-17 14:26:28 UTC
SUMMARY
Only occurs in kontact, not standalone akregator
Backtrace: Application: Kontact (kontact), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f159d5e0f16 in  () at /usr/lib/libQt5WebEngineCore.so.5
#5  0x00000000000005c0 in  ()
#6  0x0000000000000021 in  ()
#7  0x000055c4025583c0 in  ()
#8  0x00007f159d679c5d in  () at /usr/lib/libQt5WebEngineCore.so.5
#9  0x00007ffe0ec1e820 in  ()
#10 0x000055c402dad230 in  ()
#11 0x000055c4025583c0 in  ()
#12 0x00007ffe0ec1e820 in  ()
#13 0x000055c400fd5920 in  ()
#14 0x000055c4024480e0 in  ()
#15 0x00007ffe0ec1eb30 in  ()
#16 0x00007f159f7e7598 in  () at /usr/lib/libQt5WebEngineCore.so.5
#17 0x00007ffe0ec1e7f0 in  ()
#18 0x0000000000000001 in  ()
#19 0x00007ffe0ec1ea00 in  ()
#20 0x00007ffe0ec1e601 in  ()
#21 0x0000000000000000 in  ()
[Inferior 1 (process 17462) detached]

When trying to run from terminal:
kontact
Error loading text-to-speech plug-in "flite"
Cannot initialize model with data QJsonObject() . missing: QJsonValue(string, "urls")
[REDACTED]
WebEnginePage::javaScriptConsoleMessage lineNumber:  5  message:  "Powered by AMP ⚡ HTML – Version 2110011758000 
[REDACTED]
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "[amp-access] Authorization failed:  SyntaxError: Unexpected token m in JSON at position 0"
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "Ape Player version : 3.29.28"
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "[extensions] Waited over 16s to load extension amp-geo."
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "[extensions] Waited over 16s to load extension amp-geo."
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "[extensions] Waited over 16s to load extension amp-analytics."
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "[extensions] Waited over 16s to load extension amp-analytics."
WebEnginePage::javaScriptConsoleMessage lineNumber:  1  message:  "Timer is 5000"
*** KMail got signal 11 (Exiting)
*** Dead letters dumped.
KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kontact path = /usr/bin pid = 16722
KCrash: Arguments: /usr/bin/kontact 
[warn] epoll_wait: Bad file descriptor
[warn] epoll_wait: Bad file descriptor
[warn] epoll_wait: Bad file descriptor
[warn] epoll_wait: Bad file descriptor
[warn] epoll_wait: Bad file descriptor
[warn] epoll_wait: Bad file descriptor
[warn] epoll_wait: Bad file descriptor
[warn] epoll_wait: Bad file descriptor
[warn] epoll_wait: Bad file descriptor
[warn] epoll_wait: Bad file descriptor
[16722:16746:1017/193501.426799:FATAL:scoped_file.cc(43)] Check failed: . : Bad file descriptor (9)
Trace/breakpoint trap (core dumped)

STEPS TO REPRODUCE
1. Open Kontact
2. Open feeds
3. Open a feed
4. Click on a link to open a page in a new tab
5. In the new tab click on a link in the page
6. Kontact crashes


OBSERVED RESULT
Kontact crashes

EXPECTED RESULT
Should not crash

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.14.12-arch1-1
(available in About System)
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.87.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 gjditchfield 2021-10-17 16:00:14 UTC
Does this affect just a  certain feed, or every feed?
Comment 2 Dipta Biswas 2021-10-17 20:04:45 UTC
Reproduced using another feed, this time Nate's AMA article in planet KDE. Here's the backtrace:
Application: Kontact (kontact), signal: Segmentation fault

[KCrash Handler]
#4  0x000055c500c97bc0 in  ()
#5  0x00007f532d5574d8 in  () at /usr/lib/libQt5WebEngineCore.so.5
#6  0x00007ffdd790d960 in  ()
#7  0x0000000000000001 in  ()
#8  0x00007ffdd790db70 in  ()
#9  0x0000001300000001 in  ()
#10 0x0000000000000000 in  ()
[Inferior 1 (process 24513) detached]
Comment 3 Dipta Biswas 2021-10-20 05:59:29 UTC
It can be reproduced on multiple feeds, provided they have links that open in a new tab