libthread panic: _thread_setschedparam_main() fails 이런 메시지 보신적이 있으신가요?
libthread panic: _thread_setschedparam_main() fails : dumping core (PID: 6524 LW
P 8)
stacktrace:
fe4cb658
526d8
433b8
4347c
3eb8c
2c150
40450
fe4db03c
4041c
솔라리스 OS(SunOs 5.8 이었던것 같습니다) 에서 프로세스를 돌리면 멈춰버립니다.
이전부터 해당 시스템에 구동되던 프로세스인데, 한번도 이런적 없었고, 다른 유사 시스템에서도
이상이 없습니다. 갑자기 이런 메시지가 보이면서 프로세스가 오동작을 합니다.
제가 개인적으로 구글에서 이리 저리 검색을 해보았는데,
///////////////////////
clamage45
Posts:1,619
Registered: 12/6/02 Re: libthread panic: _thread_setschedparam_main() fails
Sep 7, 2004 2:59 PM (reply 2 of 3)
Comments from a thread expert:
There is very little info here. Generally libthread panic denotes
something gone wrong inside the threads library.
What does the dbx/pstack output say?
Try getting the latest thread library patches for Solaris 8 from sunsolve.sun.com.
You can also try using the lwp thread library. (In Solaris 8, it is optional, in Solaris 9 it is the default.)
/////////////////////////////////////
On Solaris 8, set LD_LIBRARY_PATH to /usr/lib/lwp
sprakki
Posts:19
Registered: 8/3/03 Re: libthread panic: _thread_setschedparam_main() fails
Sep 7, 2004 11:54 PM (reply 3 of 3)
You may want to truss the application and find out which library/system call is failing (refer to -u option of truss
to find out how to trace library calls).
My belief is you are using PTHREAD_PRIO_PROTECT mutexes without initializing the ceiling properly
(refer to pthread_mutex_setprioceiling()).
Don't initialize the fields of pthread_mutex_t directly, in case you are doing it :-)
이런 답변을 보았습니다.
하지만, 저의 부족한 지식으로써는 아직 감이 안잡힙니다. 어떻게 해결해야 할지...
이런 경험을 해보신 선배님들 저 에게 꿀같은 답변 좀 부탁합니다 (- -) (_ _) 꾸벅~
댓글 달기