comp.lang.ada
 help / color / mirror / Atom feed
* Erroneous deadlock error w/Alsys Ada83 and SCO Unix (ODT 3.0)
@ 1998-04-23  0:00 Todd Rose
       [not found] ` <353FF67E.60261348@mar.erols.com>
  0 siblings, 1 reply; 2+ messages in thread
From: Todd Rose @ 1998-04-23  0:00 UTC (permalink / raw)



I'm having a problem with the Alsys Ada83 ver 5.52a compiler (Intel
platform) erroneously reporting Ada deadlocks. I've verified with Alsys
(now Aonix) that this problem has been reported by other users, but no
solution exists. Since both the compiler and OS is obsolete, I'm not
expecting much vendor support on this.

I've recompiled the application using an older compiler version (5.51)
and the problem occurs much less frequently, but still occurs rarely.

I am very sure that no "real" deadlock exist in the application, whether
or not they exsist in the runtime code - I don't know. In any case, the
deadlock indication is given when several tasks are clearly eligible for
execution - including tasks which are waiting at simple delay
statements.

Questions:

1) Has anyone experienced this problem and do you know what triggers the
deadlock message (other than a deadlock)?
2) Does anyone know of any solutions/workarounds?

Relevant info:

1) Approx 20,000 SLOC
2) Approx 40 active tasks. Most of the tasks are small semaphore or
monitor tasks. All task stack sizes are specified using 'Storage_Size.
3) "thin" interface (via pragma interface_c) with SCO's TLI socket API
and TSSnet TLI Decnet interface. All network calls are "non-blocking"
since the Alsys runtime executes under a single Unix proccess, no
threads in SCO 3.
4) Program reliability does seem to be affected by various kernal tuning
parameters, such as DMA and stream buffer allocations.
5) When caught in the debugger, the deadlock manifests itself by having
the entire Unix process go to sleep. No error indication or exception at
all.
6) No X window calls at all. All interfaces are through network
SOCK_STREAM sockets.

Suspected culprits:

1) Task stack overflows.
2) Unix signals being dropped.
3) Heap corruption.

Any help will be GREATLY appreciated, Thanks in advance..
-- Todd Rose




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

* Re: Erroneous deadlock error w/Alsys Ada83 and SCO Unix (ODT 3.0)
       [not found] ` <353FF67E.60261348@mar.erols.com>
@ 1998-04-24  0:00   ` Robert Dewar
  0 siblings, 0 replies; 2+ messages in thread
From: Robert Dewar @ 1998-04-24  0:00 UTC (permalink / raw)



Mark, you are posting HTML messages to CLA, this is a bad idea, most people
will not be able to read them. Always post in straight ASCII text.





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

end of thread, other threads:[~1998-04-24  0:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-04-23  0:00 Erroneous deadlock error w/Alsys Ada83 and SCO Unix (ODT 3.0) Todd Rose
     [not found] ` <353FF67E.60261348@mar.erols.com>
1998-04-24  0:00   ` Robert Dewar

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