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

Particles example segfaults on exit on macOS #918

Open
azeey opened this issue Sep 25, 2023 · 0 comments
Open

Particles example segfaults on exit on macOS #918

azeey opened this issue Sep 25, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@azeey
Copy link
Contributor

azeey commented Sep 25, 2023

See gazebosim/gazebo_test_cases#708

System

  • MacBook Pro 2021, Apple M1 Max, 32 GB
  • macOS Ventura 13.4
  • Xcode 14.3.1

Test

ogre2 version runs but reports segmentation fault on exit

./particles_demo ogre2 metal
[Msg] Loading plugin [gz-rendering-ogre2]
[Dbg] [Ogre2ParticleEmitter.cc:504] Particle emitter initialized
[Dbg] [Ogre2ParticleEmitter.cc:504] Particle emitter initialized
[Dbg] [Ogre2ParticleEmitter.cc:504] Particle emitter initialized
[Dbg] [Ogre2ParticleEmitter.cc:504] Particle emitter initialized
[Dbg] [Ogre2ParticleEmitter.cc:504] Particle emitter initialized
===============================
  TAB - Switch render engines  
  ESC - Exit                   
===============================
2023-09-14 12:12:32.993 particles_demo[77830:36450509] DEBUG Pre: Retain count is 3
2023-09-14 12:12:32.993 particles_demo[77830:36450509] DEBUG Pos: Retain count is 4
2023-09-14 12:12:32.994 particles_demo[77830:36450509] DEBUG Pos2: Retain count is 3
2023-09-14 12:12:32.994 particles_demo[77830:36450509] DEBUG Pre: Retain count is 2
2023-09-14 12:12:32.994 particles_demo[77830:36450509] DEBUG Pos: Retain count is 3
2023-09-14 12:12:32.995 particles_demo[77830:36450509] DEBUG Pos2: Retain count is 2
2023-09-14 12:12:32.995 particles_demo[77830:36450509] DEBUG Pre: Retain count is 1
2023-09-14 12:12:32.995 particles_demo[77830:36450509] DEBUG Pos: Retain count is 2
2023-09-14 12:12:32.996 particles_demo[77830:36450509] DEBUG Pos2: Retain count is 1
zsh: segmentation fault  ./particles_demo ogre2 metal
rhys@MacBookPro2 build % ./particles_demo ogre2 metal
[Msg] Loading plugin [gz-rendering-ogre2]
[Dbg] [Ogre2ParticleEmitter.cc:504] Particle emitter initialized
[Dbg] [Ogre2ParticleEmitter.cc:504] Particle emitter initialized
[Dbg] [Ogre2ParticleEmitter.cc:504] Particle emitter initialized
[Dbg] [Ogre2ParticleEmitter.cc:504] Particle emitter initialized
[Dbg] [Ogre2ParticleEmitter.cc:504] Particle emitter initialized
===============================
  TAB - Switch render engines  
  ESC - Exit                   
===============================
2023-09-14 12:12:46.362 particles_demo[77836:36450748] DEBUG Pre: Retain count is 3
2023-09-14 12:12:46.362 particles_demo[77836:36450748] DEBUG Pos: Retain count is 4
2023-09-14 12:12:46.362 particles_demo[77836:36450748] DEBUG Pos2: Retain count is 3
2023-09-14 12:12:46.362 particles_demo[77836:36450748] DEBUG Pre: Retain count is 2
2023-09-14 12:12:46.362 particles_demo[77836:36450748] DEBUG Pos: Retain count is 3
2023-09-14 12:12:46.363 particles_demo[77836:36450748] DEBUG Pos2: Retain count is 2
2023-09-14 12:12:46.363 particles_demo[77836:36450748] DEBUG Pre: Retain count is 1
2023-09-14 12:12:46.363 particles_demo[77836:36450748] DEBUG Pos: Retain count is 2
2023-09-14 12:12:46.364 particles_demo[77836:36450748] DEBUG Pos2: Retain count is 1
zsh: segmentation fault  ./particles_demo ogre2 metal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To do
Development

No branches or pull requests

1 participant