title: Gloox XMPP library, EXC_BAD_ACCESS
body: <p>I'm attempting to code a basic XMPP client with the gloox C++ library. It's my first time using C++ but gloox sounded the most appropriate for my needs and I've got both C and OO experience so I wasn't too worried about trying it.</p>
  
  <p>I have however run into a wall from the start. I can't even get a "hello world" out of my code, instead getting an EXC_BAD_ACCESS error (using Xcode 4).</p>
  
  <p><a href="http://pastebin.com/7vS6ExUV" rel="nofollow">http://pastebin.com/7vS6ExUV</a></p>
  
  <p>Here's the code, it crashes on line 35. Gloox mailing list is pretty quite so I thought I'd ask here. Bit worrying there is no gloox tag though!</p>