S
Sebastien
Hello,
I have a multi-thread programm in C under AIX.
I get some lock or core dump that I cannot explain. I debugged the core and
I found that it cored on the "_pthread_deactivatex". I also found only 1
ariticle with google which speak about this. It is :
PROBLEM SUMMARY:
Child process from a fork may hang or fail if parent was doing
sigwait at the time of fork. The faulting thread will be in
either _pthread_deactivatex or _wait_list_add.
PROBLEM CONCLUSION:
Properly initialize the pthread library's internal list
of sigwaiting threads in its post-fork handler.
I don't understand what I did wrong, if you have any idea please help me. I
also posted another message on a UNIX forum with no success ...
Thanks Sebastien
I have a multi-thread programm in C under AIX.
I get some lock or core dump that I cannot explain. I debugged the core and
I found that it cored on the "_pthread_deactivatex". I also found only 1
ariticle with google which speak about this. It is :
PROBLEM SUMMARY:
Child process from a fork may hang or fail if parent was doing
sigwait at the time of fork. The faulting thread will be in
either _pthread_deactivatex or _wait_list_add.
PROBLEM CONCLUSION:
Properly initialize the pthread library's internal list
of sigwaiting threads in its post-fork handler.
I don't understand what I did wrong, if you have any idea please help me. I
also posted another message on a UNIX forum with no success ...
Thanks Sebastien