Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: sf::Clock Segmentation Fault  (Read 1672 times)

0 Members and 1 Guest are viewing this topic.


  • Newbie
  • *
  • Posts: 1
    • View Profile
sf::Clock Segmentation Fault
« on: July 27, 2021, 01:58:38 pm »
Hi all!

My system is mac and I am using VScode. I am getting a "Segmentation fault: 11" exactly when closing the game. Using lldb I get the following error. Also, I strongly suspect the problem is due to the use of sf::Clock, because as soon as I comment the statement "sf::Clock clock;" nothing goes wrong. (Getting no segfault any more)


  • SFML Team
  • Hero Member
  • *****
  • Posts: 9909
    • View Profile
    • development blog
    • Email
Re: sf::Clock Segmentation Fault
« Reply #1 on: August 05, 2021, 12:11:05 pm »
Can you show the full strack trace?
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/