You said there was nothing in your log, did you disable logging? If not id say your error is happening before CEGUI is initialised.
Which begs the question: If CEGUI isn't initialised, why are you trying to subscribe a callback function?
Also out of curiosity, are you debugging in debug, or release?