Fw: Solaris Multithreaded Application Hang

From: arava.kumar@flextronicssoftware.com
Date: Thu Aug 18 2005 - 00:39:40 EDT


Hi all,

We are running a Multithreaded application on solaris platform.
The application suddenly hanged. The output of the pstack shows that it got
stuck in write system call (from printf)
Please let us know the possible reason for the stuck.

The output of the pstack is given below (the stuck is in thread# 4)

----------------- lwp# 1 / thread# 1 --------------------

 ff21d2ec poll (ff9bb990, d, ffffffff)

 ff1cd270 select (1a, 0, 0, ff9bb9f8, ffbef048, ff9bb990) + 348

 ff12b134 select (ffddc998, ffbef1d4, 0, 10eebb0, 0, 0) + 34

 0003d420 _start (0, 0, 0, 0, 0, 0) + 5c

----------------- lwp# 2 / thread# 2 --------------------

 ff21eab0 signotifywait ()

 ff11ed54 _dynamiclwps (ff13e000, 0, 0, ff3b6024, ff3e80c8, 1901) + 1c

 ff122030 thr_yield (0, 0, 0, 0, 0, 0) + 8c

----------------- lwp# 3 / thread# 4 --------------------

 ff21f73c write (1, ff243154, 17)

 ff211808 _xflsbuf (ff243154, 17, 115ad28, a, ff243155, a) + 8c

 ff2072e0 _doprnt (0, fee0b683, 0, 10f8fd9, fee0b682, 429a28) + 2b4c

 ff207e44 printf (429a10, 115ad18, ff243a4c, ff23fc70, 0, 10f8fd9) + f4

 000fe918 GkCliFn_getMenuOption (d, 46eec4, 46ec00, ff23fc70, 0, 10f8fd9) +
324

 000f7a40 GkCliFn_readStatistics (f6b2c, f6da0, f6c00, ff23fc70, 0, 0) + 1c

 000f6b2c GkCli_main (0, ff0f5d10, 1, ff14ad8c, 0, 2) + 108

 ff12b728 _thread_start (0, 0, 0, 0, 0, 0) + 40

----------------- lwp# 4 / thread# 5 --------------------

 ff21d2ec poll (fed09b10, 0, 927c0)

 ff1cd270 select (0, 0, 0, fed09b10, ff23f1b4, fed09b10) + 348

 ff12b134 select (0, ff0e5d10, 1, ff14ad8c, 0, 2) + 34

 ff12b728 _thread_start (0, 0, 0, 0, 0, 0) + 40

----------------- lwp# 5 --------------------------------

 ff21c654 door (0, 0, 0, 0, ff0d5d10, 4)

 ff126ba4 _sc_door_func (1a, ff13f688, ff13f6a0, 3, ff13e000, 1) + 54

 ff11a740 _lwp_start (ff0d5d70, 0, 6000, ff0e5b74, 0, 0) + 18

 ff122030 thr_yield (0, 0, 0, 0, 0, 0) + 8c

----------------- lwp# 6 --------------------------------

 ff129770 lwp_cond_wait (ff145548, ff145558, ff13edb0)

 ff1190ac _age (3e, ff13ed9c, ff13e000, 3, ff13e000, 1) + 74

 ff11a740 _lwp_start (ff0c3d70, 0, 4000, ff00fc2c, 0, 0) + 18

 ff122030 thr_yield (0, 0, 0, 0, 0, 0) + 8c

-------------------------- thread# 3 --------------------

 ff11ddbc _reap_wait (ff1429e0, 20520, 0, ff13e000, 0, 0) + 38

 ff11db14 _reaper (ff13ee30, ff144740, ff1429e0, ff13ee08, 1, fe400000) +
38

 ff12b728 _thread_start (0, 0, 0, 0, 0, 0) + 40

Thank you,

Regards,
A.Uday Kumar.

*********************** FSS-Unclassified ***********************

*********************** FSS-Unclassified ***********************
"DISCLAIMER: This message is proprietary to Flextronics Software Systems
Limited (FSS) and is intended solely for the use of the
individual to whom it is addressed. It may contain privileged or
confidential information and should not be circulated or used for
any purpose other than for what it is intended. If you have received this
message in error, please notify the originator immediately.
If you are not the intended recipient, you are notified that you are
strictly prohibited from using, copying, altering, or disclosing
the contents of this message. FSS accepts no responsibility for loss or
damage arising from the use of the information transmitted
by this email including damage from virus."
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:20 EDT