Pulse-Eight / libcec

USB CEC Adapter communication Library http://libcec.pulse-eight.com/
Other
722 stars 290 forks source link

exc_bad_access on OSX #150

Closed RSully closed 8 years ago

RSully commented 9 years ago

Using 3.0.1 I get an EXC_BAD_ACCESS using DetectAdapters (with last param false) or Open. If I call DetectAdapters with last param true, it does not trigger it (but then as soon as I Open it does).

Same code works fine using 2.2.0.

Edit: on 10.11.1, installed libcec via homebrew

RSully commented 9 years ago

Isolated the libcec code from my app into this single file: https://gist.github.com/RSully/ff40878b9b1311f20c49

Compiled/linked against 3.0.1's dylib. When ran it produces an exc_bad_access on line 50 in DetectAdapters.

opdenkamp commented 8 years ago

can you run in a debugger like gdb and provide a backtrace please

opdenkamp commented 8 years ago

reported on irc to be fixed by @RSully