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

Author Topic: SFML 2.1 on Mac - Using sf::Mouse::isButtonPressed crashes app  (Read 1361 times)

0 Members and 1 Guest are viewing this topic.

gingerBill

  • Newbie
  • *
  • Posts: 6
    • View Profile
Anytime sf::Mouse::isButtonPressed is used, it caused the application to crash. Using GDB to check the error, I get this:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: 13 at address: 0x0000000000000000
0x00007fff969cd310 in IOHIDElementGetDevice ()
(gdb) bt
#0  0x00007fff969cd310 in IOHIDElementGetDevice ()
#1  0x000000010004cbd1 in sf::priv::HIDInputManager::isMouseButtonPressed ()
#2  0x000000010004c7e7 in sf::priv::InputImpl::isMouseButtonPressed ()
#3  0x00000001000486f9 in sf::Mouse::isButtonPressed ()
#4  0x0000000100006285 in main ()

I'm using SFML 2.1 on Mac OS X 10.8.4.

Hiura

  • SFML Team
  • Hero Member
  • *****
  • Posts: 4321
    • View Profile
    • Email
Re: SFML 2.1 on Mac - Using sf::Mouse::isButtonPressed crashes app
« Reply #1 on: August 26, 2013, 08:06:02 pm »
Works fine here. Can you give a SSCCE that reproduce the issue?
SFML / OS X developer

 

anything