-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid nullptr
in QObject::connect
#6669
Comments
Documenting for future reference: Defining the On my machine the Stack trace then is
This makes me believe that this is not due a @davidebeatrici @Hartmnt do you agree with my reasoning? I think the easiest fix might be to use lazy-loading for the meta parameters or make |
Is there any modification you would like me to test? Happy to. Appreciate your help! |
@Krzmbrzl I fully agree with your investigation. It's generally good practice to only use static objects when strictly necessary, in my opinion we should definitely use a (smart) pointer. @BenAicholtz We'll let you know as soon as the modification is ready to test, thank you for reporting the issue! |
Discussed in #6668
Originally posted by BenAicholtz December 14, 2024
After building when I run mumble-server here is what I get
[[email protected] mumble-from-git-untouched]# ./mumble-server
qt.core.qobject.connect: QObject::connect(QObject, Unknown): invalid nullptr parameter
I am compiling this because mumble.com uses some different updates including SSL Timeout and AFK Channel abilities. Currently the error is happening without any changes on our side just the git current release.
[[email protected] mumble-from-git-untouched]# cmake -Dclient=OFF
CMake Warning:
No source or binary directory provided. Both will be assumed to be the
same as the current working directory, but note that this warning will
become a fatal error in future CMake releases.
-- Found Python interpreter version 3.9.21
-- Using (among others) the following compiler flags: -Werror;-Wall;-Wpedantic;-Wextra;-Wconversion;-Wsign-conversion;-fsigned-char;-O3
-- ##################################################
-- Mumble version: 1.6.0
-- Architecture: x64
-- Build type: Release
-- Using LTO in release builds: ON
-- ##################################################
-- Qt6 component found: Core | Version: 6.6.2
-- Qt6 component found: Network | Version: 6.6.2
-- Qt6 component found: Xml | Version: 6.6.2
-- OpenSSL component found: Crypto | Version: 3.0.7
-- OpenSSL component found: SSL | Version: 3.0.7
-- TRACY_ENABLE: OFF
-- TRACY_ON_DEMAND: ON
-- TRACY_CALLSTACK: OFF
-- TRACY_NO_CALLSTACK: OFF
-- TRACY_NO_CALLSTACK_INLINES: OFF
-- TRACY_ONLY_LOCALHOST: OFF
-- TRACY_NO_BROADCAST: OFF
-- TRACY_ONLY_IPV4: OFF
-- TRACY_NO_CODE_TRANSFER: OFF
-- TRACY_NO_CONTEXT_SWITCH: OFF
-- TRACY_NO_EXIT: OFF
-- TRACY_NO_SAMPLING: OFF
-- TRACY_NO_VERIFY: OFF
-- TRACY_NO_VSYNC_CAPTURE: OFF
-- TRACY_NO_FRAME_IMAGE: OFF
-- TRACY_NO_SYSTEM_TRACING: OFF
-- TRACY_DELAYED_INIT: OFF
-- TRACY_MANUAL_LIFETIME: OFF
-- TRACY_FIBERS: OFF
-- TRACY_NO_CRASH_HANDLER: OFF
-- TRACY_TIMER_FALLBACK: OFF
-- Disabling warnings for targets: TracyClient
-- Tracy: OFF
-- Qt6 component found: Sql | Version: 6.6.2
-- File: /home/ben/svn/trunk/lsgmumble/mumble-1.5.735/mumble-from-git-untouched/src/murmur/murmur_autogen
-- Ice component found: Ice | Version: 3.7.10
-- Ice component found: IceSSL | Version: 3.7.10
-- Ice optional component found: IceDiscovery | Version: 3.7.10
-- Ice optional component found: IceLocatorDiscovery | Version: 3.7.10
-- Configuring done (1.5s)
-- Generating done (0.0s)
-- Build files have been written to: /home/ben/svn/trunk/lsgmumble/mumble-1.5.735/mumble-from-git-untouched
The text was updated successfully, but these errors were encountered: