[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference clt::cma

Title:DECthreads Conference
Moderator:PTHRED::MARYSTEON
Created:Mon May 14 1990
Last Modified:Fri Jun 06 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:1553
Total number of notes:9541

1503.0. "Bugcheck on Digital UNIX 3.2g but not on 4.0b (high order bits corrupt)" by BER::BALAMIR () Tue Mar 11 1997 12:00

Hi
I have problem concerning DEC Threads under Digital Unix 3.2C and 3.2G

This is a multi threaded OSI Application , it uses the pthread 

it runs under Digital UNiX 4.0 B perfectly (because it use the libphreads.so)

It genaretes the following Dump-file under Digital Unix 3.2C or Unix 3.2G.

Is that a known problem. I looked at guru:: found out that are some patches

related to libphreads.so for  Digital Unix 3.2C and   Digital Unix 3.2F . I copied

used with no success . 

Why doed it run under Dgital Unix 4.0B , not on Digital Unix 3.2C  or  Digital Unix 3.2

Thanks 

For help



%DECthreads bugcheck (version V3.12-311), terminating execution.
% Running on DEC OSF/1 AXP [OSF1 alpha V3.2(62); cpu type 30, configured for 1
%  cpu, 1 cpu in box, 64Mb]
% Reason: test and set: high order bits corrupt at 0x6b2280
%     
%     The DECthreads library has detected an inconsistency in its internal
%   state and cannot continue execution. The inconsistency may be due to a bug
%   within the DECthreads library, the application program, or in any library
%   active in the address space. Common causes are unchecked stack overflows,
%   writes through uninitialized pointers, and synchronization races that
%   result in use of invalid data by some thread.
%     Application and library developers are requested to please check for
%   such problems before reporting a DECthreads library problem.
%     The information in this file may aid application program, library, or
%   DECthreads developers in determining the state of the process at the time
%   of this bugcheck. When the problem is reported, this information should be
%   included, along with a detailed procedure for reproducing the problem, if
%   that is possible. The 'detailed procedure' most likely to be of use to
%   developers is a complete program.
% 
% The bugcheck occurred at Tue Mar 11 16:59:51 1997, in pid 504 under username
%  "root"; argv[0] is "./ositpcm"
% The current thread is 2 (address 0x3bc18)
Current attributes objects:
  Attributes object 1 "default attr" (0x3ffc01de600)
    Access synchronized by mutex 1
    Scheduling: policy throughput, priority 19; inherit scheduling
    Threads created joinable
    Stack size 21120, guard size 2048
    Mutex type fast
  Attributes object 3 "<pthread user(thread)@0x49b58>" (0x4a818)
    Access synchronized by mutex 84
    Scheduling: policy throughput, priority 19; inherit scheduling
    Threads created joinable
    Stack size 1310720, guard size 2048
    Mutex type fast
Current thread specific data keys:
  Key 1, destructor is 0x3ff80507b80
Current threads:
  Thread 1 (blocked, timed cond wait) "default thread" (0x3ffc01de9f8)
    Waiting on condition variable 2 using mutex 22; timeout at 
      Tue Mar 11 16:59:51 1997
    Scheduling: throughput policy at priority 19
    No thread specific data
    Stack: 0x0 (default stack)
    !! Thread is not on stack !!
    General cancelability enabled, asynch cancelability disabled
    Current vp is 5, synch port is 6
      VP state is susp: Mach policy throughput, priority 19 (RT kernel), state
        waiting; synch port has 0 messages out of 1
    Join uses mutex 21 and condition variable 1; wait uses mutex 22 and
      condition variable 2
    The thread's start function and argument are unknown
    The thread's latest errno is 2
  Thread 2 (running, mutex wait) "<pthread user@0x140054c60>" (0x3bc18)
    Scheduling: throughput policy at priority 19
    personal pending wake is set
    Thread specific data: 1: 0xadca08
    Stack: 0x1996b8; base is 0x19a000, guard area at 0x57fff
    General cancelability enabled, asynch cancelability disabled
    Current vp is 8, synch port is 9
      VP state is run: Mach policy throughput, priority 19 (RT kernel), state
        running; synch port has 0 messages out of 1
    Join uses mutex 88 and condition variable 4; wait uses mutex 89 and
      condition variable 5
    The thread's start function and argument are 0x1200327c0 (0x0)
    The thread's latest errno is 0
  Thread 3 (blocked, cond wait) "<pthread user@0x140053f70>" (0x3b818)
    Waiting on condition variable 238 using mutex 334
    Scheduling: throughput policy at priority 19
    No thread specific data
    Stack: 0x2de000; base is 0x2de000, guard area at 0x19bfff
    General cancelability enabled, asynch cancelability disabled
    Current vp is 11, synch port is 12
      VP state is susp: Mach policy throughput, priority 19 (RT kernel), state
        waiting; synch port has 0 messages out of 1
    Join uses mutex 91 and condition variable 7; wait uses mutex 92 and
      condition variable 8
    The thread's start function and argument are 0x1200563a0 (0x0)
    The thread's latest errno is 0
  Thread 4 (running, mutex wait) "<pthread user@0x140094d40>" (0x3b418)
    Scheduling: throughput policy at priority 19
    No thread specific data
    Stack: 0x422000; base is 0x422000, guard area at 0x2dffff
    General cancelability enabled, asynch cancelability disabled
    Current vp is 14, synch port is 15
      VP state is run: Mach policy throughput, priority 19 (RT kernel), state
        running; synch port has 0 messages out of 1
    Join uses mutex 95 and condition variable 9; wait uses mutex 96 and
      condition variable 10
    The thread's start function and argument are 0x120066330 (0x0)
    The thread's latest errno is 0
  Thread 5 (running) "<pthread user@0x140053f90>" (0x3b018)
    Scheduling: throughput policy at priority 19
    No thread specific data
    Stack: 0x566000; base is 0x566000, guard area at 0x423fff
    General cancelability enabled, asynch cancelability disabled
    Current vp is 17, synch port is 18
      VP state is <unknown-wait>: Mach policy throughput, priority 19 (RT
        kernel), state waiting; synch port has 0 messages out of 1
    Join uses mutex 97 and condition variable 11; wait uses mutex 98 and
      condition variable 12
    The thread's start function and argument are 0x12005e8c0 (0x0)
    The thread's latest errno is 0
  Thread 7 (running) "<pthread user@0x6e06c8>" (0x3ac18)
    Scheduling: throughput policy at priority 19
    No thread specific data
    Stack: 0x6aa000; base is 0x6aa000, guard area at 0x567fff
    General cancelability enabled, asynch cancelability disabled
    Current vp is 20, synch port is 21
      VP state is <unknown-wait>: Mach policy throughput, priority 19 (RT
        kernel), state waiting; synch port has 0 messages out of 1
    Join uses mutex 101 and condition variable 14; wait uses mutex 102 and
      condition variable 15
    The thread's start function and argument are 0x12005f1e0 (0x6e0608)
    The thread's latest errno is 0
  Thread 8 (running) "<pthread user@0x6e04c8>" (0x6c5418)
    Scheduling: throughput policy at priority 19
    No thread specific data
    Stack: 0x82e000; base is 0x82e000, guard area at 0x6ebfff
    General cancelability enabled, asynch cancelability disabled
    Current vp is 23, synch port is 24
      VP state is <unknown-wait>: Mach policy throughput, priority 19 (RT
        kernel), state waiting; synch port has 0 messages out of 1
    Join uses mutex 130 and condition variable 39; wait uses mutex 131 and
      condition variable 40
    The thread's start function and argument are 0x12005f1e0 (0x6e0408)
    The thread's latest errno is 0
  Thread 9 (running) "<pthread user@0x6e02c8>" (0x6c5018)
    Scheduling: throughput policy at priority 19
    No thread specific data
    Stack: 0x972000; base is 0x972000, guard area at 0x82ffff
    General cancelability enabled, asynch cancelability disabled
    Current vp is 26, synch port is 27
      VP state is <unknown-wait>: Mach policy throughput, priority 19 (RT
        kernel), state waiting; synch port has 0 messages out of 1
    Join uses mutex 135 and condition variable 42; wait uses mutex 136 and
      condition variable 43
    The thread's start function and argument are 0x12005f1e0 (0x6e0208)
    The thread's latest errno is 0
  Thread 10 (running) "<pthread user@0x6e00c8>" (0x6c4c18)
    Scheduling: throughput policy at priority 19
    No thread specific data
    Stack: 0xab6000; base is 0xab6000, guard area at 0x973fff
    General cancelability enabled, asynch cancelability disabled
    Current vp is 29, synch port is 30
      VP state is <unknown-wait>: Mach policy throughput, priority 19 (RT
        kernel), state waiting; synch port has 0 messages out of 1
    Join uses mutex 140 and condition variable 45; wait uses mutex 141 and
      condition variable 46
    The thread's start function and argument are 0x12005f1e0 (0x6e0008)
    The thread's latest errno is 0
  Thread 23 (blocked, cond wait) "<pthread user@0x6c48f8>" (0xaf4818)
    Waiting on condition variable 208 using mutex 303
    Scheduling: throughput policy at priority 19
    No thread specific data
    Stack: 0x1006000; base is 0x1006000, guard area at 0xec3fff
    General cancelability enabled, asynch cancelability disabled
    Current vp is 32, synch port is 33
      VP state is susp: Mach policy throughput, priority 19 (RT kernel), state
        waiting; synch port has 0 messages out of 1
    Join uses mutex 165 and condition variable 70; wait uses mutex 166 and
      condition variable 71
    The thread's start function and argument are 0x12004cf70 (0x6c4808)
    The thread's latest errno is 0
  Thread 24 (blocked, cond wait) "<pthread user@0x6c40f8>" (0xaf4018)
    Waiting on condition variable 217 using mutex 312
    Scheduling: throughput policy at priority 19
    No thread specific data
    Stack: 0xc3a000; base is 0xc3a000, guard area at 0xaf7fff
    General cancelability enabled, asynch cancelability disabled
    Current vp is 38, synch port is 39
      VP state is susp: Mach policy throughput, priority 19 (RT kernel), state
        waiting; synch port has 0 messages out of 1
    Join uses mutex 174 and condition variable 79; wait uses mutex 175 and
      condition variable 80
    The thread's start function and argument are 0x12004cf70 (0x6c4008)
    The thread's latest errno is 0
  (*)Thread 22 (zombie, exited) "<pthread user@0x6c44f8>" (0xaf4418)
    Scheduling: throughput policy at priority 19
    personal pending wake is set
    Exit status normal, result value 0x0
    No thread specific data
    Stack: 0xec2000; base is 0xec2000, guard area at 0xd7ffff
    Detached
    General cancelability disabled, asynch cancelability disabled
    Current vp is 35, synch port is 36
      VP state is stop; suspended[1]: Mach policy throughput, priority 19 (RT
        kernel), state stopped; synch port has 0 messages out of 1
    Join uses mutex 172 and condition variable 77; wait uses mutex 173 and
      condition variable 78
    The thread's start function and argument are 0x12004cf70 (0x6c4408)
    The thread's latest errno is 0, the last DECthreads exception caught was
      "Exception: Current thread has been requested to exit (dce / thd)"
Current mutexes:
  Mutex 1 (fast) "default attr's mutex" (0x4ff18) is not locked
  Mutex 2 (fast) "known attr list" (0x4fe18) is not locked
  Mutex 3 (fast) "known mutex list" (0x4fd18) is not locked
  Mutex 4 (recursive) "global lock" (0x4fc18) is not locked
  Mutex 5 (fast) "32 byte VM lookaside" (0x4fb18) is not locked
  Mutex 6 (fast) "128 byte VM lookaside" (0x4fa18) is not locked
  Mutex 7 (fast) "176 byte VM lookaside" (0x4f918) is not locked
  Mutex 8 (fast) "752 byte VM lookaside" (0x4f818) is not locked
  Mutex 9 (fast) "3216 byte VM lookaside" (0x4f718) is not locked
  Mutex 10 (fast) "4208 byte VM lookaside" (0x4f618) is not locked
  Mutex 11 (fast) "attributes object cache" (0x4f518) is not locked
  Mutex 12 (fast) "thread cache" (0x4f418) is not locked
  Mutex 13 (fast) "small stack cache" (0x4f318) is not locked
  Mutex 14 (fast) "default stack cache" (0x4f218) is not locked
  Mutex 15 (fast) "large stack cache" (0x4f118) is not locked
  Mutex 16 (fast) "VM stats" (0x4f018) is not locked
  Mutex 17 (fast) "per-thread context" (0x4ef18) is not locked
  Mutex 18 (fast) "known cond list" (0x4ee18) is not locked
  Mutex 19 (fast) "atfork queue" (0x4ed18) is not locked
  Mutex 20 (fast) "one time init" (0x4ec18) is not locked
  Mutex 21 (fast) "thread 1 lock" (0x4ea18) is not locked
  Mutex 22 (fast) "thread 1 wait" (0x4e818) is not locked
  Mutex 23 (fast) "for TIS (0x3ffc01a84a0)" (0x4e518) is not locked
  Mutex 24 (fast) "for TIS (0x3ffc01a8500)" (0x4e418) is not locked
  Mutex 25 (fast) "for TIS (0x3ffc01a84b8)" (0x4e318) is not locked
  Mutex 26 (fast) "for TIS (0x3ffc01a84d0)" (0x4e218) is not locked
  Mutex 27 (fast) "for TIS (0x3ffc01a84e8)" (0x4e118) is not locked
  Mutex 28 (fast) "for TIS (0x3ffc01a8518)" (0x4e018) is not locked
  Mutex 29 (fast) "for TIS (0x3ffc01a8530)" (0x4df18) is not locked
  Mutex 30 (fast) "for TIS (0x3ffc01a8548)" (0x4de18) is not locked
  Mutex 31 (fast) "for TIS (0x3ffc01a8560)" (0x4dd18) is not locked
  Mutex 32 (fast) "for TIS (0x3ffc01a8590)" (0x4dc18) is not locked
  Mutex 33 (fast) "for TIS (0x3ffc01a8578)" (0x4db18) is not locked
  Mutex 34 (fast) "for TIS (0x3ffc01a85a8)" (0x4da18) is not locked
  Mutex 35 (fast) "for TIS (0x3ffc01a85c0)" (0x4d918) is not locked
  Mutex 36 (fast) "for TIS (0x3ffc01a85d8)" (0x4d818) is not locked
  Mutex 37 (fast) "for TIS (0x3ffc01a85f0)" (0x4d718) is not locked
  Mutex 38 (fast) "for TIS (0x3ffc01a8608)" (0x4d618) is not locked
  Mutex 39 (fast) "for TIS (0x3ffc01a8620)" (0x4d518) is not locked
  Mutex 40 (fast) "for TIS (0x3ffc01a8638)" (0x4d418) is not locked
  Mutex 41 (fast) "for TIS (0x3ffc01a8650)" (0x4d318) is not locked
  Mutex 42 (fast) "for TIS (0x3ffc01a8668)" (0x4d218) is not locked
  Mutex 43 (fast) "for TIS (0x3ffc01a8680)" (0x4d118) is not locked
  Mutex 44 (fast) "for TIS (0x3ffc01a8698)" (0x4d018) is not locked
  Mutex 45 (fast) "for TIS (0x3ffc01a86b0)" (0x4cf18) is not locked
  Mutex 46 (fast) "for TIS (0x3ffc01a86c8)" (0x4ce18) is not locked
  Mutex 47 (fast) "for TIS (0x3ffc01a86e0)" (0x4cd18) is not locked
  Mutex 48 (fast) "for TIS (0x3ffc01a86f8)" (0x4cc18) is not locked
  Mutex 49 (fast) "for TIS (0x3ffc01a8710)" (0x4cb18) is not locked
  Mutex 50 (fast) "for TIS (0x3ffc01a8728)" (0x4ca18) is not locked
  Mutex 51 (fast) "for TIS (0x3ffc01a8740)" (0x4c918) is not locked
  Mutex 52 (fast) "for TIS (0x3ffc01a8758)" (0x4c818) is not locked
  Mutex 53 (fast) "for TIS (0x3ffc01a8770)" (0x4c718) is not locked
  Mutex 54 (fast) "for TIS (0x3ffc01a8788)" (0x4c618) is not locked
  Mutex 55 (fast) "for TIS (0x3ffc01a87a0)" (0x4c518) is not locked
  Mutex 56 (fast) "for TIS (0x3ffc01a87b8)" (0x4c418) is not locked
  Mutex 57 (fast) "for TIS (0x3ffc01a87d0)" (0x4c318) is not locked
  Mutex 58 (fast) "for TIS (0x3ffc01a87e8)" (0x4c218) is not locked
  Mutex 59 (fast) "for TIS (0x3ffc01a8800)" (0x4c118) is not locked
  Mutex 60 (fast) "for TIS (0x3ffc01a8818)" (0x4c018) is not locked
  Mutex 61 (fast) "for TIS (0x3ffc01a8830)" (0x4bf18) is not locked
  Mutex 62 (fast) "for TIS (0x3ffc01a88a0)" (0x4be18) is not locked
  Mutex 63 (fast) "for TIS (0x3ffc01a88b8)" (0x4bd18) is not locked
  Mutex 64 (fast) "for TIS (0x3ffc01a88d0)" (0x4bc18) is not locked
  Mutex 65 (fast) "for TIS (0x3ffc01a88e8)" (0x4bb18) is not locked
  Mutex 66 (fast) "for TIS (0x3ffc01a8900)" (0x4ba18) is not locked
  Mutex 67 (fast) "for TIS (0x3ffc01a8918)" (0x4b918) is not locked
  Mutex 68 (fast) "for TIS (0x3ffc01a8930)" (0x4b818) is not locked
  Mutex 69 (fast) "for TIS (0x3ffc01a8948)" (0x4b718) is not locked
  Mutex 70 (fast) "for TIS (0x3ffc01a8960)" (0x4b618) is not locked
  Mutex 71 (fast) "for TIS (0x3ffc01a8978)" (0x4b518) is not locked
  Mutex 72 (fast) "for TIS (0x3ffc01a8990)" (0x4b418) is not locked
  Mutex 73 (fast) "for TIS (0x3ffc01a89a8)" (0x4b318) is not locked
  Mutex 74 (fast) "for TIS (0x3ffc01a89c0)" (0x4b218) is not locked
  Mutex 75 (fast) "for TIS (0x3ffc01a89d8)" (0x4b118) is not locked
  Mutex 76 (fast) "for TIS (0x3ffc01a89f0)" (0x4b018) is not locked
  Mutex 77 (fast) "for TIS (0x3ffc01a8a08)" (0x4af18) is not locked
  Mutex 78 (fast) "debugger client registry" (0x4ae18) is not locked
  Mutex 79 (fast) "<pthread user@0x14001dd10>" (0x4ad18) is not locked
  Mutex 80 (fast) "<pthread user@0x140054ba0>" (0x4ac18) is not locked
  Mutex 81 (fast) "<pthread user@0x14001dd20>" (0x4ab18) is not locked
  Mutex 82 (fast) "<pthread user@0x140054bd0>" (0x4aa18) is not locked
  Mutex 83 (fast) "<pthread user@0x140054bb0>" (0x4a918) is not locked
  Mutex 84 (fast) "for attr obj 3" (0x4a718) is not locked
  Mutex 85 (recursive) "<pthread user@0x140023d30>" (0x4a618) is not locked
  Mutex 86 (fast) "for TIS (0x47ff8)" (0x4a518) is not locked
  Mutex 87 (fast) "<pthread user@0x140054c40>" (0x4a418) is not locked; event
    flag set
  Mutex 88 (fast) "thread 2 lock" (0x4a218) is not locked
  Mutex 89 (fast) "thread 2 wait" (0x4a018) is not locked
  Mutex 90 (fast) "<pthread user@0x140054c80>" (0x39b18) is not locked; event
    flag set
  Mutex 91 (fast) "thread 3 lock" (0x39918) is not locked
  Mutex 92 (fast) "thread 3 wait" (0x39718) is not locked
  Mutex 93 (fast) "<pthread user@0x140054cd0>" (0x39218) is not locked
  Mutex 94 (fast) "<pthread user@0x140094d30>" (0x39118) is not locked
  Mutex 95 (fast) "thread 4 lock" (0x39018) is not locked
  Mutex 96 (fast) "thread 4 wait" (0x38e18) is not locked
  Mutex 97 (fast) "thread 5 lock" (0x38918) is not locked
  Mutex 98 (fast) "thread 5 wait" (0x38718) is not locked
  Mutex 99 (fast) "<once block@0x1400139a8>" (0x38218) is not locked
  Mutex 101 (fast) "thread 7 lock" (0x37d18) is not locked
  Mutex 102 (fast) "thread 7 wait" (0x37b18) is not locked
  Mutex 124 (fast) "<pthread user@0x6e0680>" (0x37018) is not locked
  Mutex 125 (fast) "<pthread user@0x6e0690>" (0x37f18) is not locked
  Mutex 126 (fast) "<pthread user@0x6e06a8>" (0x38018) is not locked
  Mutex 127 (fast) "<pthread user@0x6e0480>" (0x12f18) is not locked
  Mutex 128 (fast) "<pthread user@0x6e0490>" (0x12e18) is not locked
  Mutex 129 (fast) "<pthread user@0x6e04a8>" (0x12d18) is not locked
  Mutex 130 (fast) "thread 8 lock" (0x12b18) is not locked
  Mutex 131 (fast) "thread 8 wait" (0x12918) is not locked
  Mutex 132 (fast) "<pthread user@0x6e0280>" (0x12418) is not locked
  Mutex 133 (fast) "<pthread user@0x6e0290>" (0x12318) is not locked
  Mutex 134 (fast) "<pthread user@0x6e02a8>" (0x12218) is not locked
  Mutex 135 (fast) "thread 9 lock" (0x12018) is not locked
  Mutex 136 (fast) "thread 9 wait" (0x6b3e18) is not locked
  Mutex 137 (fast) "<pthread user@0x6e0080>" (0x6b3918) is not locked
  Mutex 138 (fast) "<pthread user@0x6e0090>" (0x6b3818) is not locked
  Mutex 139 (fast) "<pthread user@0x6e00a8>" (0x6b3718) is not locked
  Mutex 140 (fast) "thread 10 lock" (0x6b3518) is not locked
  Mutex 141 (fast) "thread 10 wait" (0x6b3318) is not locked
  Mutex 165 (fast) "thread 23 lock" (0x6abd18) is not locked
  Mutex 166 (fast) "thread 23 wait" (0x6ab018) is not locked
  Mutex 172 (fast) "thread 22 lock" (0x6abe18) is not locked
  Mutex 173 (fast) "thread 22 wait" (0x6aba18) is not locked
  Mutex 174 (fast) "thread 24 lock" (0x6aa818) is not locked
  Mutex 175 (fast) "thread 24 wait" (0x6aa618) is not locked
  Mutex 176 (fast) "thread 21 lock" (0x6aa118) is not locked
  Mutex 177 (fast) "thread 21 wait" (0xad9f18) is not locked
  Mutex 303 (fast) "<pthread user@0x6c4920>" (0x6b2518) is not locked; event
    flag set
  Mutex 312 (fast) "<pthread user@0x6c4120>" (0x6b2118) is not locked; event
    flag set
  Mutex 322 (fast) "<pthread user@0xaf5d20>" (0x6abf18) is not locked
  Mutex 330 (fast) "<pthread user@0x6c4520>" (0x6b2318) is not locked
  Mutex 333 (fast) "for TIS (0x47918)" (0xad9318) is not locked
  Mutex 334 (fast) "<pthread user@0xadd228>" (0xad8f18) is not locked
Current condition variables:
  Condition variable 1, "thread 1 join" (0x4e918) has no waiters
  Condition variable 2, "thread 1 wait" (0x4e718) has 1 waiter using mutex 22;
    event flag set; waiters: 1
  Condition variable 3, "<pthread user@0x140054c50>" (0x4a318) has no waiters
  Condition variable 4, "thread 2 join" (0x4a118) has no waiters
  Condition variable 5, "thread 2 wait" (0x39f18) has no waiters
  Condition variable 6, "<pthread user@0x140054c90>" (0x39a18) has no waiters
  Condition variable 7, "thread 3 join" (0x39818) has no waiters
  Condition variable 8, "thread 3 wait" (0x39618) has no waiters
  Condition variable 9, "thread 4 join" (0x38f18) has no waiters
  Condition variable 10, "thread 4 wait" (0x38d18) has no waiters
  Condition variable 11, "thread 5 join" (0x38818) has no waiters
  Condition variable 12, "thread 5 wait" (0x38618) has no waiters
  Condition variable 14, "thread 7 join" (0x37c18) has no waiters
  Condition variable 15, "thread 7 wait" (0x37a18) has no waiters
  Condition variable 37, "<pthread user@0x6e06b8>" (0x36f18) has no waiters
  Condition variable 38, "<pthread user@0x6e04b8>" (0x12c18) has no waiters
  Condition variable 39, "thread 8 join" (0x12a18) has no waiters
  Condition variable 40, "thread 8 wait" (0x12818) has no waiters
  Condition variable 41, "<pthread user@0x6e02b8>" (0x12118) has no waiters
  Condition variable 42, "thread 9 join" (0x6b3f18) has no waiters
  Condition variable 43, "thread 9 wait" (0x6b3d18) has no waiters
  Condition variable 44, "<pthread user@0x6e00b8>" (0x6b3618) has no waiters
  Condition variable 45, "thread 10 join" (0x6b3418) has no waiters
  Condition variable 46, "thread 10 wait" (0x6b3218) has no waiters
  Condition variable 70, "thread 23 join" (0x6aae18) has no waiters
  Condition variable 71, "thread 23 wait" (0x6ab118) has no waiters
  Condition variable 77, "thread 22 join" (0x6ab918) has no waiters
  Condition variable 78, "thread 22 wait" (0x6abb18) has no waiters
  Condition variable 79, "thread 24 join" (0x6aa718) has no waiters
  Condition variable 80, "thread 24 wait" (0x6aa518) has no waiters
  Condition variable 81, "thread 21 join" (0x6aa018) has no waiters
  Condition variable 82, "thread 21 wait" (0xad9e18) has no waiters
  Condition variable 208, "<pthread user@0x6c4930>" (0x6b2618) has 1 waiter
    using mutex 303; event flag set; waiters: 23
  Condition variable 217, "<pthread user@0x6c4130>" (0xad9118) has 1 waiter
    using mutex 312; event flag set; waiters: 24
  Condition variable 227, "<pthread user@0xaf5d30>" (0xad9718) has no waiters
  Condition variable 235, "<pthread user@0x6c4530>" (0xad9418) has no waiters
  Condition variable 238, "<pthread user@0xadd238>" (0xad8e18) has 1 waiter
    using mutex 334; event flag set; waiters: 3
Current stacks:
  Thread 1 stack: 0x4000000 to 0x11fffffff (469762047 bytes)
  Thread 2 stack: 0x56000 to 0x19a000 (1327104 bytes); base is 0x19a000, guard
    is 0x57fff
  Thread 3 stack: 0x19a000 to 0x2de000 (1327104 bytes); base is 0x2de000,
    guard is 0x19bfff
  Thread 4 stack: 0x2de000 to 0x422000 (1327104 bytes); base is 0x422000,
    guard is 0x2dffff
  Thread 5 stack: 0x422000 to 0x566000 (1327104 bytes); base is 0x566000,
    guard is 0x423fff
  Thread 7 stack: 0x566000 to 0x6aa000 (1327104 bytes); base is 0x6aa000,
    guard is 0x567fff
  Thread 8 stack: 0x6ea000 to 0x82e000 (1327104 bytes); base is 0x82e000,
    guard is 0x6ebfff
  Thread 9 stack: 0x82e000 to 0x972000 (1327104 bytes); base is 0x972000,
    guard is 0x82ffff
  Thread 10 stack: 0x972000 to 0xab6000 (1327104 bytes); base is 0xab6000,
    guard is 0x973fff
  Thread 23 stack: 0xec2000 to 0x1006000 (1327104 bytes); base is 0x1006000,
    guard is 0xec3fff
  Thread 24 stack: 0xaf6000 to 0xc3a000 (1327104 bytes); base is 0xc3a000,
    guard is 0xaf7fff
  Thread 22 stack: 0xd7e000 to 0xec2000 (1327104 bytes); base is 0xec2000,
    guard is 0xd7ffff
Current memory:
    lookaside 0 (32 bytes; k-vp) 13 in use, 0 free; maximum free 0; 0 hits, 13
      misses (0.00% hit rate); high water mark is 6; 1 adjust interval (plus 6
      iterations); current balance 6, trend is up (for 0 intervals)
    lookaside 1 (128 bytes; u-vp, cv, stk, attr, mut) 193 in use, 1 free;
      maximum free 5; 243 hits, 353 misses (40.77% hit rate); high water mark
      is 1; 142 adjust intervals (plus 5 iterations); current balance 3, trend
      is steady (for 6 intervals); 159 flushed
    lookaside 2 (176 bytes; ctx) 0 in use, 0 free; maximum free 0; high water
      mark is 6; 0 adjust intervals (plus 0 iterations); current balance 0,
      trend is steady (for 0 intervals)
    lookaside 3 (752 bytes; tcb) 12 in use, 0 free; maximum free 0; 0 hits, 12
      misses (0.00% hit rate); high water mark is 6; 1 adjust interval (plus 5
      iterations); current balance 5, trend is up (for 0 intervals)
    lookaside 4 (3216 bytes; cv-meter) 1 in use, 0 free; maximum free 0; 0
      hits, 1 miss (0.00% hit rate); high water mark is 6; 0 adjust intervals
      (plus 1 iteration); current balance 1, trend is steady (for 0 intervals)
    lookaside 5 (4208 bytes; mu-meter) 0 in use, 0 free; maximum free 0; high
      water mark is 6; 0 adjust intervals (plus 0 iterations); current balance
      0, trend is steady (for 0 intervals)
    attributes object: 1 in use, 0 free; maximum free 1; 1 hit, 1 miss (50.00%
      hit rate); high water mark is 6; 0 adjust intervals (plus 3 iterations);
      current balance 1, trend is steady (for 0 intervals)
    thread: 11 in use, 1 free; maximum free 3; 11 hits, 12 misses (47.82% hit
      rate); high water mark is 6; 5 adjust intervals (plus 0 iterations);
      current balance 0, trend is steady (for 2 intervals)
    small stack: 0 in use, 0 free; maximum free 0; high water mark is 6; 0
      adjust intervals (plus 0 iterations); current balance 0, trend is steady
      (for 0 intervals)
    default stack: 0 in use, 0 free; maximum free 0; high water mark is 6; 0
      adjust intervals (plus 0 iterations); current balance 0, trend is steady
      (for 0 intervals)
    large stack: 11 in use, 1 free; maximum free 3; 11 hits, 12 misses (47.82%
      hit rate); high water mark is 6; 5 adjust intervals (plus 0 iterations);
      current balance 0, trend is steady (for 2 intervals)
    407 external calls for 15991456 bytes; 248 current allocations, 15968560
      bytes
Kernel threads:
  VPa 0x4eb18: port 5, synch 6, seq 1, flags:  suspend, default
  VPa 0x39c18: port 8, synch 9, seq 2, flags:  running
  VPa 0x39318: port 11, synch 12, seq 3, flags:  suspend
  VPa 0x38a18: port 14, synch 15, seq 4, flags:  running
  VPa 0x38318: port 17, synch 18, seq 5, flags:  running
  VPa 0x37718: port 20, synch 21, seq 7, flags:  running
  VPa 0x12518: port 23, synch 24, seq 8, flags:  running
  VPa 0x6b3a18: port 26, synch 27, seq 9, flags:  running
  VPa 0x6b2f18: port 29, synch 30, seq 10, flags:  running
  VPa 0x6ab518: port 32, synch 33, seq 23, flags:  suspend
  VPa 0x6aa218: port 38, synch 39, seq 24, flags:  suspend
  VPc 0xad9b18: port 41, synch 42, seq 0, flags:  cached
T.RTitleUserPersonal
Name
DateLines
1503.1It's a bug, probably in the application, either way.WTFN::SCALESDespair is appropriate and inevitable.Tue Mar 11 1997 14:4624
.0> high order bits corrupt at 0x6b2280

This indicates that a cell which DECthreads uses as an atomic flag or spinlock
(and therefore which should contain only the values zero or one) contains a
non-boolean value.  One way that this could occur is if the application
specifies an invalid object (such as a mutex) in a call to DECthreads.  Another
way that this could occur is if something in the process has corrupted the value
at the indicated address.

.0> Why doed it run under Dgital Unix 4.0B , not on Digital Unix 3.2C  or  
.0> Digital Unix 3.2

There are two reasons.  The most important is that the V4 implementation is very
different from the V3 implementation, and the cell probably "moved" out from
under the corruptor (or the corruptor moved or disappeared) so that the
corruption is now nonexistent or benign.  The other reason is that this check
that you've hit is part of the DECthreads internal debugging code, and it was
never intended to be included in a production version of the library; some of
the V3 libraries inadvertantly contained it, but we removed it from the
production version of the library in V4 (for performance reasons).  (At least,
we intended to... :-)


				Webb
1503.2how can i find the reason why it has happened with a debuggerBER::BALAMIRWed Mar 19 1997 11:237
Hi

If it is in the application , how can i find where it happpens

Thanks

Ahmet
1503.3You may not be able to...WTFN::SCALESDespair is appropriate and inevitable.Wed Mar 19 1997 11:4412
.2> how can i find where it happpens

There is no good way.  You can do a "trace" on the location which is getting
corrupted, and hopefully you'll catch it.  However, doing the trace will slow
your execution down (depending on how fine a granularity you use), and it may
change a race condition so that the corruption never happens.

The best way is to review the code (by hand) in the application.  (But, this can
be a problem too, if there's lots of code.)


					Webb