xbmc/xbmc — pull request #2505 by fritsch (2013-03-26 22:35:41+00:00)
Title: AE: possible segfault after suspend / resume (m_sink might be gone)

Famous CEC Adapter plays a "tadamm" sound directly after resume. Therefore ProcessSuspend leaves out of the front door before a reOpen could have been triggered. As the ::Resume only flags m_reOpen = true, m_sink could still be NULL.

This checks takes care of this.
Backtrace of the error is here: http://pastebin.ubuntu.com/5649014/

Thx @olympia for the time for tracking it down.