> +static symbian_libvlc_Wait( libvlc_int_t *p_libvlc ) > +{ > + vlc_sem_init(&exit_sem,0); > + vlc_sem_wait(&exit_sem); > + vlc_sem_destroy(&exit_sem); > +} This is a race condition. It is not guaranteed that vlc_sem_init has completed when another thread calls vlc_sem_post on exit_sem. -- Regards, Tobias