Skip to content
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

Fix crash when running the Gazebo GUI #108

Merged
merged 1 commit into from
Apr 28, 2020

Conversation

azeey
Copy link
Contributor

@azeey azeey commented Apr 28, 2020

The crash (introduced in PR #79) was caused by an access to an invalid address within Qt when
trying to access the command line arguments to the application. These
are passed as argc and argv to QApplication, but for argc, we were
passing a reference to a local.

The crash was caused by an access to an invalid address within Qt when
trying to access the command line arguments to the application. These
are passed as argc and argv to QApplication, but for argc, we were
passing a reference to a local.

Signed-off-by: Addisu Z. Taddese <[email protected]>
@azeey azeey requested review from chapulina and JShep1 April 28, 2020 19:25
@azeey azeey self-assigned this Apr 28, 2020
@JShep1
Copy link

JShep1 commented Apr 28, 2020

Builds and runs fine for me now!

@chapulina chapulina merged commit d9e7c88 into gazebosim:ign-gazebo2 Apr 28, 2020
nkoenig pushed a commit that referenced this pull request May 6, 2020
The crash was caused by an access to an invalid address within Qt when
trying to access the command line arguments to the application. These
are passed as argc and argv to QApplication, but for argc, we were
passing a reference to a local.

Signed-off-by: Addisu Z. Taddese <[email protected]>
Signed-off-by: Nate Koenig <[email protected]>
@azeey azeey deleted the fix_gui_crash branch May 22, 2020 02:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants