Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Multithreading issue on Solaris 8 branded zone

807559Sep 14 2009
Hi,

We are facing a multithreading problem in Solaris 8 container (branded zone) on Solaris 10.

The core file shows 2 LWPs for a single thread.

First LWP
---------------
(dbx) lwp
current LWP ($lwp) is l@1403
(dbx) print this->m_ThreadId->m_IdImpl.m_PosixId
this->m_ThreadId.m_IdImpl.m_PosixId = 1404U

Second LWP
-------------------
(dbx) lwp
current LWP ($lwp) is l@1404
(dbx) print this->m_ThreadId->m_IdImpl.m_PosixId
this->m_ThreadId.m_IdImpl.m_PosixId = 1404U

Another point to note is that dbx returns 'MT support is disabled' for this program even though it has been built using the -mt option. The dbx version is Sun Dbx Debugger 7.5 2005/10/13.

As far as I have read, the Solaris 8 branded zone uses the alternate T2 thread library. Note also that this program is linked with the alternate thread library @ /usr/lib/lwp.

This alternate thread library is supposed to use the 1:1 thread model.
Can someone explain why are we then seeing 2 LWPs for a single thread ?

Thanks,
Best regards,
Raj Iyer

Comments

user434854
Is a Parameter list beeing transmitted to the report ?

If yes, try :

ADD_PARAMETER(v_list_id, 'PARAMFORM', TEXT_PARAMETER, 'YES');

Maybe you need to explicitely set this parameter in the report when calling it through the run_report_object built-in.
708420
A parameter list is not currently being sent, but i can try to create a parameter list and send the one you suggest. I'll see how that works.

Thanks!
1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Oct 12 2009
Added on Sep 14 2009
0 comments
190 views