Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!rochester!udel!news.mathworks.com!newsfeed.internetmci.com!EU.net!chsun!usenet
From: Carsten Seibert <csismc@esec.ch>
Subject: [VW2.0] Image lockup (examine core dump)
Content-Type: text/plain; charset=us-ascii
Message-ID: <30D9B0EA.11C1@esec.ch>
Sender: usenet@eunet.ch
Content-Transfer-Encoding: 7bit
Cc: cs
Organization: A customer of EUnet AG, Switzerland
Mime-Version: 1.0
Date: Thu, 21 Dec 1995 19:09:30 GMT
X-Mailer: Mozilla 2.0b3 (X11; I; HP-UX A.09.05 9000/735)
Lines: 63

Hello everybody,

we encounter problems with image lockups (no ctrl-c or ctrl-shift-c) of our software running
under HP-UX.
We read the ParcTips to this topic and we're checking our code on priority problems in our
processes and deadlocks due to semaphore usage.
I generated a core file from one of the locked up images and if I look at this with xdb it
looks like:

r0  00000000 4000cc88 000456f7 40a980d8 r4  40a98090 4017dbd4 00044518 4015927c
r8  4017e248 4005f4a0 7ac9178c 40159268 r12 4004fc18 4010403c 4000e4fa 00000017
r16 4017e2e8 40159a48 40159a2c 40159a64 r20 40159268 7a736a24 7acc9184 40159268
r24 0000000c 40a980d8 40159a48 4000f488 r28 40a96c98 4000cc88 7b0335a8 00000000
    pc = 00000533.0005688c     priv = 3     psw = jthLnxbCVmrQPDI     sar = 30
        0x00056864   resumeCo+018c   BREAK   0,0
        0x00056868   suspendT        STW     2,-20(0,30)
        0x0005686c   suspendT+0004   LDO     64(30),30
        0x00056870   suspendT+0008   ADDIL   0xffffd800,27
        0x00056874   suspendT+000c   LDW     1320(0,1),23
        0x00056878   suspendT+0010   LDW     24(0,23),26
        0x0005687c   suspendT+0014   LDW     4(0,26),31
        0x00056880   suspendT+0018   COMIBF,=,N      0,31,suspendTopContext+002
        0x00056884   suspendT+001c   LDW     -12(0,26),28
        0x00056888   suspendT+0020   LDW     -84(0,30),2
 >      0x0005688c   suspendT+0024   BV      0(2)
        0x00056890   suspendT+0028   LDO     -64(30),30
        0x00056894   suspendT+002c   BL      frameMakeHybrid,2
        0x00056898   suspendT+0030   OR      0,0,0
        0x0005689c   suspendT+0034   B       suspendTopContext+0024
        0x000568a0   suspendT+0038   LDW     -84(0,30),2
        0x000568a4   suspendT+003c   BREAK   0,0
        0x000568a8   CrootRet        STW     2,-20(0,30)
        0x000568ac   CrootRet+0004   LDO     64(30),30
        0x000568b0   CrootRet+0008   ADDIL   0xffffd800,27
 File: unknown    Procedure: suspendTopContext + 0x00000024    Line: unknown
Copyright Hewlett-Packard Co. 1985,1987-1992. All Rights Reserved.
<<<< XDB Version A.09.01 HP-UX >>>>
Do you want to save a backup copy of the core file? n
Core file from:  oe20FastechV1.
Child died due to: breakpoint
Procedures:    159
Files: 28


Has anybody an idea what informations we could get from this core dump like reason for this
lock up (waiting on system semaphore, deadlock in a Smalltalk process ...) or anything else?
What is "suspendTopContext"?

One of the things that could cause the hangup from our side are multiple processes storing
objects to disk (via BOSS) ...???
Another problem is, on HP-UX is no trace command avaiable (at least I haven't found it so far)
to examine the system call state.

Any help is *really* appreciated.

Thanks,

Carsten
------------------------------------------------------
Carsten Seibert
Software Engineer
ISMC AG, Switzerland
seibert@al.esec.ch
