Thanks a lot.
Indeed was a pointer value.
What we did was to initialize every pointer, and now it seems to be ok.
Do you know if the pthread lib is thread safe?
Now we have to implement mutual exclusion on some .txt files.
Shall we use mutexes?
Can you give us any tip or suggestion on that?
Thanks again.
I send you the updated files.