wsoltys/xbmc — pull request #3 by Memphiz (2013-01-30 17:38:57+00:00)
Title: [osx/ios/atv2] - sync xcode projects

It compiles fine. Splash shows up aswell. But as soon as i go into a picture folder and it creates a thumb i get a crash (no clue wtf happend):

http://pastebin.com/viAvG5iW

Not sure if its a good idea to load and unload the dll in cximage c'tor/d'tor ... at least on osx a lib can only be loaded once in the process space. Imo you should consider m_dll as a singleton. This means in thready races (like when thumbloader workerthreads are doing its job ^^) it might even be that the cximagelib gets unloaded while other cximage objects are still valid. Maybe this happened here and i didn't catch it in the stacktrace?

You should have a look at which time cximagelib was loaded before in the old code and try to mimic this maybe. - Imo make m_dll a singleton (but maybe ask back to davilla or theuni).