Hi there, i have the following problem: i am trying to get information about strings through octstr_dum function but the function never returns.
the call is made from a thread that is created in the main program. int main (int argc, char *argv[]) { Octstr *a; int cf_index; pthread_t trhdReadBD; gwlib_init(); a = octstr_format("sdfdsf"); octstr_dump(a, 0); /*that works correctly*/ pthread_create (&trhdReadBD, NULL, &vo_ptrReadBD,NULL); pthread_join (trhdReadBD, NULL); return 0; } void *vo_ptrReadBD(void *unused){ Octstr *string string = octstr_format("sdfdsf"); /*the string is correctly charged*/ printf ("the string is : %s",octstr_get_cstr(string) ); octstr_dump(string, 0);/*this doesn't work correctly*/ } Thanks !