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

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

0 Members and 1 Guest are viewing this topic.

Edisonqwm

  • 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)

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11030
    • 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
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/