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 :-)

이런 답변을 보았습니다.

하지만, 저의 부족한 지식으로써는 아직 감이 안잡힙니다. 어떻게 해결해야 할지...

이런 경험을 해보신 선배님들 저 에게 꿀같은 답변 좀 부탁합니다 (- -) (_ _) 꾸벅~

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.