Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* Asynchronous I/O & Internal DECthreads problem
@ 1995-11-20  5:00 Hoa Dao
  1995-11-26  5:00 ` Rob Haigh
  0 siblings, 1 reply; 2+ messages in thread
From: Hoa Dao @ 1995-11-20  5:00 UTC (permalink / raw)


I have a small program that uses asynchronous I/O operations. The I/O 
requests are submitted sequentially (i.e. a request is not 
submitted until the previous one is finished).  After one request is 
finished, aio_return() is called to free up the aiocb structure.
However, when my program runs, I got the following error message when
the second request is submitted:

 | %Internal DECthreads problem (version V2.12-212), terminating execution.
 |
 | %running on DEC OSF/1 AXP [OSF1 alpha V3.0(347); cpu type 34, , 1 cpu in box, 32Mb]
 | % Reason: set_noaccess: 22 protecting 0x140000 to 0x141fff
 | % See 'cma_dump.log' for state information.
 | thread 0xffffffff855fe3c0 signal IOT/Abort trap at   [__kill:41 +0x8,0x3ff830821d8]

The content of cma_dump.log is:

 | %Internal DECthreads problem (version V2.12-212), terminating execution.
 | 
 | %running on DEC OSF/1 AXP [OSF1 alpha V3.0(347); cpu type 34, , 1 cpu in box, 32Mb]
 | % Reason: set_noaccess: 22 protecting 0x140000 to 0x141fff
 | % Bugcheck occurred at Mon Nov 20 14:42:22 1995, in pid 481 under username
 | %  "root"; argv[0] is "AP0c0.exe.31"
 | The current thread is 1 (address 0x3ffc24adad8)
 | Current attributes objects:
 |   Attributes object 1 "default attr" (0x3ffc24ad6e0)
 |     Access synchronized by mutex 1
 |     Scheduling: policy throughput, priority 19; inherit scheduling
 |     Threads created joinable
 |     Stack size 21120, guard size 2048
 |     Mutex type fast
 | Current thread specific data keys:
 |   No keys found
 | Current threads:
 |   Thread 1 (running) "default thread" (0x3ffc24adad8)
 |     Scheduling: throughput policy at priority 19
 |     No thread specific data
 |     (*)Stack: 0x11ffff508 (default stack)
 |     General cancelability enabled, asynch cancelability disabled
 |     Current vp is 5, port is 6
 |       VP state is run: Mach policy fifo, priority 38 (RT kernel), state running
 |     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 22
 |   Thread 2 (blocked) "<pthread user@0x4aa18>" (0x2bc18)
 |     Waiting on condition variable 5 using mutex 80
 |     Scheduling: throughput policy at priority 20
 |     No thread specific data
 |     Stack: 0x24000; base is 0x24000, guard area at 0x1dfff
 |     General cancelability enabled, asynch cancelability disabled
 |     Current vp is 8, port is 9
 |       VP state is susp: Mach policy throughput, priority 20 (RT kernel), state
 |         waiting
 |     Join uses mutex 81 and condition variable 6; wait uses mutex 82 and
 |       condition variable 7
 |     The thread's start function and argument are 0x120046250 (0x5)
 |     The thread's latest errno is 0
 | 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) "688 byte VM lookaside" (0x4f818) is not locked
 |   Mutex 9 (fast) "3216 byte VM lookaside" (0x4f718) is not locked
 |   Mutex 10 (fast) "4192 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 (0x3ffc2d2f880)" (0x4e518) is not locked
 |   Mutex 24 (fast) "for TIS (0x3ffc2d2f8e0)" (0x4e418) is not locked
 |   Mutex 25 (fast) "for TIS (0x3ffc2d2f898)" (0x4e318) is not locked
 |   Mutex 26 (fast) "for TIS (0x3ffc2d2f8b0)" (0x4e218) is not locked
 |   Mutex 27 (fast) "for TIS (0x3ffc2d2f8c8)" (0x4e118) is not locked
 |   Mutex 28 (fast) "for TIS (0x3ffc2d2f8f8)" (0x4e018) is not locked
 |   Mutex 29 (fast) "for TIS (0x3ffc2d2f910)" (0x4df18) is not locked
 |   Mutex 30 (fast) "for TIS (0x3ffc2d2f928)" (0x4de18) is not locked
 |   Mutex 31 (fast) "for TIS (0x3ffc2d2f940)" (0x4dd18) is not locked
 |   Mutex 32 (fast) "for TIS (0x3ffc2d2f970)" (0x4dc18) is not locked
 |   Mutex 33 (fast) "for TIS (0x3ffc2d2f958)" (0x4db18) is not locked
 |   Mutex 34 (fast) "for TIS (0x3ffc2d2f988)" (0x4da18) is not locked
 |   Mutex 35 (fast) "for TIS (0x3ffc2d2f9a0)" (0x4d918) is not locked
 |   Mutex 36 (fast) "for TIS (0x3ffc2d2f9b8)" (0x4d818) is not locked
 |   Mutex 37 (fast) "for TIS (0x3ffc2d2f9d0)" (0x4d718) is not locked
 |   Mutex 38 (fast) "for TIS (0x3ffc2d2f9e8)" (0x4d618) is not locked
 |   Mutex 39 (fast) "for TIS (0x3ffc2d2fa00)" (0x4d518) is not locked
 |   Mutex 40 (fast) "for TIS (0x3ffc2d2fa18)" (0x4d418) is not locked
 |   Mutex 41 (fast) "for TIS (0x3ffc2d2fa30)" (0x4d318) is not locked
 |   Mutex 42 (fast) "for TIS (0x3ffc2d2fa48)" (0x4d218) is not locked
 |   Mutex 43 (fast) "for TIS (0x3ffc2d2fa60)" (0x4d118) is not locked
 |   Mutex 44 (fast) "for TIS (0x3ffc2d2fa78)" (0x4d018) is not locked
 |   Mutex 45 (fast) "for TIS (0x3ffc2d2fa90)" (0x4cf18) is not locked
 |   Mutex 46 (fast) "for TIS (0x3ffc2d2faa8)" (0x4ce18) is not locked
 |   Mutex 47 (fast) "for TIS (0x3ffc2d2fac0)" (0x4cd18) is not locked
 |   Mutex 48 (fast) "for TIS (0x3ffc2d2fad8)" (0x4cc18) is not locked
 |   Mutex 49 (fast) "for TIS (0x3ffc2d2faf0)" (0x4cb18) is not locked
 |   Mutex 50 (fast) "for TIS (0x3ffc2d2fb08)" (0x4ca18) is not locked
 |   Mutex 51 (fast) "for TIS (0x3ffc2d2fb20)" (0x4c918) is not locked
 |   Mutex 52 (fast) "for TIS (0x3ffc2d2fb38)" (0x4c818) is not locked
 |   Mutex 53 (fast) "for TIS (0x3ffc2d2fb50)" (0x4c718) is not locked
 |   Mutex 54 (fast) "for TIS (0x3ffc2d2fb68)" (0x4c618) is not locked
 |   Mutex 55 (fast) "for TIS (0x3ffc2d2fb80)" (0x4c518) is not locked
 |   Mutex 56 (fast) "for TIS (0x3ffc2d2fb98)" (0x4c418) is not locked
 |   Mutex 57 (fast) "for TIS (0x3ffc2d2fbb0)" (0x4c318) is not locked
 |   Mutex 58 (fast) "for TIS (0x3ffc2d2fbc8)" (0x4c218) is not locked
 |   Mutex 59 (fast) "for TIS (0x3ffc2d2fbe0)" (0x4c118) is not locked
 |   Mutex 60 (fast) "for TIS (0x3ffc2d2fbf8)" (0x4c018) is not locked
 |   Mutex 61 (fast) "for TIS (0x3ffc2d2fc68)" (0x4bf18) is not locked
 |   Mutex 62 (fast) "for TIS (0x3ffc2d2fc80)" (0x4be18) is not locked
 |   Mutex 63 (fast) "for TIS (0x3ffc2d2fc98)" (0x4bd18) is not locked
 |   Mutex 64 (fast) "for TIS (0x3ffc2d2fcb0)" (0x4bc18) is not locked
 |   Mutex 65 (fast) "for TIS (0x3ffc2d2fcc8)" (0x4bb18) is not locked
 |   Mutex 66 (fast) "for TIS (0x3ffc2d2fce0)" (0x4ba18) is not locked
 |   Mutex 67 (fast) "for TIS (0x3ffc2d2fcf8)" (0x4b918) is not locked
 |   Mutex 68 (fast) "for TIS (0x3ffc2d2fd10)" (0x4b818) is not locked
 |   Mutex 69 (fast) "for TIS (0x3ffc2d2fd28)" (0x4b718) is not locked
 |   Mutex 70 (fast) "for TIS (0x3ffc2d2fd40)" (0x4b618) is not locked
 |   Mutex 71 (fast) "for TIS (0x3ffc2d2fd58)" (0x4b518) is not locked
 |   Mutex 72 (fast) "for TIS (0x3ffc2d2fd70)" (0x4b418) is not locked
 |   Mutex 73 (fast) "for TIS (0x3ffc2d2fd88)" (0x4b318) is not locked
 |   Mutex 74 (fast) "for TIS (0x3ffc2d2fda0)" (0x4b218) is not locked
 |   Mutex 75 (fast) "for TIS (0x3ffc2d2fdb8)" (0x4b118) is not locked
 |   Mutex 76 (fast) "for TIS (0x3ffc2d2fdd0)" (0x4b018) is not locked
 |   Mutex 77 (fast) "debugger client registry" (0x4af18) is not locked
 |   Mutex 78 (fast) "for TIS (0x45ff8)" (0x4ae18) is not locked
 |   Mutex 79 (fast) "for TIS (0x45fd8)" (0x4ad18) is not locked
 |   Mutex 80 (fast) "<pthread user@0x1401645c0>" (0x4ac18) is not locked
 |   Mutex 81 (fast) "thread 2 lock" (0x4a718) is not locked
 |   Mutex 82 (fast) "thread 2 wait" (0x4a518) is not locked
 |   Mutex 83 (fast) "thread 0 lock" (0x19d18) is not locked
 |   Mutex 84 (fast) "thread 0 wait" (0x19b18) is not locked
 |   Mutex 85 (fast) "for TIS (0x45fb8)" (0x19718) is not locked
 |   Mutex 86 (fast) "for TIS (0x45f98)" (0x19618) is not locked
 |   Mutex 87 (fast) "for TIS (0x45f78)" (0x19518) is not locked
 | Current condition variables:
 |   Condition variable 1, "thread 1 join" (0x4e918) has no waiters
 |   Condition variable 2, "thread 1 wait" (0x4e718) has no waiters
 |   Condition variable 3, "<pthread user@0x1401645d8>" (0x4ab18) has no waiters
 |   Condition variable 4, "<pthread user@0x4aa30>" (0x4a918) has no waiters
 |   Condition variable 5, "<pthread user@0x4aa48>" (0x4a818) has 1 waiter using
 |     mutex 80; event flag set; waiters: 2
 |   Condition variable 6, "thread 2 join" (0x4a618) has no waiters
 |   Condition variable 7, "thread 2 wait" (0x4a418) has no waiters
 |   Condition variable 8, "<pthread user@0x4a030>" (0x19f18) has no waiters
 |   Condition variable 9, "<pthread user@0x4a048>" (0x19e18) has no waiters
 |   Condition variable 10, "thread 0 join" (0x19c18) has no waiters
 |   Condition variable 11, "thread 0 wait" (0x19a18) has no waiters
 | Current stacks:
 |   Thread 1 stack: 0x4000000 to 0x11fffffff (469762047 bytes)
 |   Thread 2 stack: 0x1c000 to 0x24000 (32768 bytes); base is 0x24000, guard is
 |     0x1dfff; 8184 bytes lost in page alignment
 | Current memory:
 |     lookaside 0 (32 bytes; k-vp) 2 in use, 0 free; maximum free 0; 0 hits, 2
 |       misses (0.00% hit rate); high water mark is 6; 0 adjust intervals (plus 2
 |       iterations); current balance 2, trend is steady (for 0 intervals)
 |     lookaside 1 (128 bytes; u-vp, cv, stk, attr, mut) 89 in use, 0 free;
 |       maximum free 0; 0 hits, 89 misses (0.00% hit rate); high water mark is 6;
 |       12 adjust intervals (plus 5 iterations); current balance 5, trend is up
 |       (for 11 intervals)
 |     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 (688 bytes; tcb) 2 in use, 0 free; maximum free 0; 0 hits, 2
 |       misses (0.00% hit rate); high water mark is 6; 0 adjust intervals (plus 2
 |       iterations); current balance 2, trend is steady (for 0 intervals)
 |     lookaside 4 (3216 bytes; cv-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)
 |     lookaside 5 (4192 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: 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)
 |     thread: 2 in use, 0 free; maximum free 0; 0 hits, 2 misses (0.00% hit rate);
 |       high water mark is 6; 0 adjust intervals (plus 2 iterations); current
 |       balance 2, trend is steady (for 0 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: 2 in use, 0 free; maximum free 0; 0 hits, 2 misses (0.00%
 |       hit rate); high water mark is 6; 0 adjust intervals (plus 2 iterations);
 |       current balance 2, trend is steady (for 0 intervals)
 |     large 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)
 |     111 external calls for 98544 bytes; 111 current allocations, 98544 bytes;
 |       16368 bytes lost in page alignment
 | Kernel threads:
 |   VPa 0x4eb18: port 5, synch 6, seq 1, flags:  running, default
 |   VPa 0x4a118: port 8, synch 9, seq 2, flags:  suspend

Any suggestion ???




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1995-11-26  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-11-20  5:00 Asynchronous I/O & Internal DECthreads problem Hoa Dao
1995-11-26  5:00 ` Rob Haigh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox