Bug 445760 - kde-open5 crash when invoked from teamviewer
Summary: kde-open5 crash when invoked from teamviewer
Status: REPORTED
Alias: None
Product: kde-cli-tools
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.23.2
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-19 17:26 UTC by Max
Modified: 2023-02-19 23:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Max 2021-11-19 17:26:51 UTC
SUMMARY
***
When I select any option in teamviewer (linux version) tray context menu that should open a web page (teamviewer web site for instance) I get a crash report for kde-open5 and nothing opens. Links from other apps open fine in my default browser (yandex).
Crash dumps: https://bugzilla.redhat.com/show_bug.cgi?id=2013790
***


STEPS TO REPRODUCE
1. Install teamviewer linux from here https://www.teamviewer.com/en/download/linux/
2. After it's started, right-click on the teamviewer tray icon and select "Teamviewer web-site"
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: Fedora Linux 35
KDE Plasma Version: 5.23.2
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Kernel Version: 5.14.18-300.fc35.x86_64 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
Comment 1 Aleix Pol 2021-11-21 13:24:31 UTC
Truncated backtrace:
Thread no. 1 (8 frames)
 #2 qt_message_fatal at global/qlogging.cpp:1914
 #3 QMessageLogger::fatal at global/qlogging.cpp:893
 #4 init_platform at kernel/qguiapplication.cpp:1254
 #5 QGuiApplicationPrivate::createPlatformIntegration at kernel/qguiapplication.cpp:1474
 #6 QGuiApplicationPrivate::createEventDispatcher at kernel/qguiapplication.cpp:1491
 #7 QCoreApplicationPrivate::init at kernel/qcoreapplication.cpp:835
 #8 QGuiApplicationPrivate::init at kernel/qguiapplication.cpp:1520
 #9 QApplicationPrivate::init at kernel/qapplication.cpp:513

From the red hat bug report.

Maybe the problem is that we are calling it from weird environment variables? I'm really not sure of what could be going on there.
Comment 2 Max 2021-11-22 11:57:06 UTC
(In reply to Aleix Pol from comment #1) 
> Maybe the problem is that we are calling it from weird environment
> variables? I'm really not sure of what could be going on there.

If say LD_LIBRARY_PATH is used, kde-open5 may try to load teamviewer bundled Qt instead of system Qt.
Comment 3 Aleix Pol 2021-11-23 00:32:05 UTC
That makes a lot of sense. I'm not sure though that there's anything we can do in our end, it sounds to me like an issue in teamviewer.

Have you tried reporting to them?
Comment 4 fw.smit01 2023-02-19 23:09:51 UTC
The same issue is present in Stack (https://filehosting-client.transip.nl/stack/linux)