Skip to content
This repository has been archived by the owner on Feb 12, 2023. It is now read-only.

[Regression] Warning: QObject::connect: invalid null parameter #4406

Closed
ezavod opened this issue May 14, 2017 · 1 comment
Closed

[Regression] Warning: QObject::connect: invalid null parameter #4406

ezavod opened this issue May 14, 2017 · 1 comment
Labels
C-bug The issue contains a bug report

Comments

@ezavod
Copy link
Contributor

ezavod commented May 14, 2017

I am getting an error: :0 : Warning: QObject::connect: invalid null parameter on startup.
This is consistently reproducible since 7e3ad7b.
As far as I can tell the problem seems to be that av is null in lines 237-238 in above mentioned commit:

    CoreAV* av = core->getAv();
    connect(av, &CoreAV::avEnd, this, &Widget::onCallEnd);

I think this is because Core::getAv is called before Core::start initializes the returned av.

Full log: log.txt

@anthonybilinski
Copy link
Member

I couldn't reproduce this on tip at the location mentioned, but

CoreAV* av = core->getAv();
is definitely null at connect time and throwing the same error.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
C-bug The issue contains a bug report
Projects
None yet
Development

No branches or pull requests

3 participants