From: ddhill@mytoy.zk3.dec.com (Dave Hill WhatGE)
Subject: Re: Motif on DEC ALpha : I get some segmentation faults
Date: 11 Jul 1994 21:54:08 GMT [thread overview]
Message-ID: <2vsf20$i15@lead.zk3.dec.com> (raw)
In-Reply-To: CsL9Dv.790@evb.com
This is almost always due to a heap corruption caused by the
application writing where is should not be writing, and almost
always then with at array overrun (past the end of the array).
A helpful tool for chasing heap corruptions can be found
via anonymous ftp from gatekeeper.dec.com:/pub/misc/malloc_dbg/*
Be sure to read the file ./contrib/dec_notes in the tar file,
and hide gcc while building the library (at least I had many,
many problems using gcc building the library).
/Dave
In article <CsL9Dv.790@evb.com>, mahesh@evb.com (B.G. Mahesh) writes:
|> I am using Motif 1.2.2 and gcc 2.5.8 on a DEC Alpha.
|> I get a core dump at times [very rare] ..before it dumps
|> core I see this message,
|>
|> Unaligned access pid=2771 <rltunix> va=7a0061027000e5
|> pc=3ff80127660 ra=3ff803bfa68 type=stq
|>
|> in the debugger [gdb]
|>
|> (gdb) bt
|> #0 0x3ff80127660 in malloc ()
|> at ../../../../../src/usr/ccs/lib/libc/malloc.c:519
|> #1 0x3ff803bfa68 in XtMalloc () at Alloc.c:128
|> #2 0x3ff80c464f0 in miRegionOp () at Region.c:995
|> #3 0x3ff80c46e1c in _XmRegionIntersect () at Region.c:1331
|> #4 0x3ff80bf1f6c in IntersectWithWidgetAncestors () at DropSMgr.c:1466
|> #5 0x3ff80bf0ecc in DetectAllClippers () at DropSMgr.c:1030
|> #6 0x3ff80bf1324 in DetectAndInsertAllClippers () at DropSMgr.c:1140
|> #7 0x3ff80bf826c in SyncTree () at DropSMgr.c:4567
|> #8 0x3ff80bf5b28 in GetTreeFromDSM () at DropSMgr.c:3114
|> #9 0x3ff80bf842c in _XmDSMGetTreeFromDSM () at DropSMgr.c:4657
|> #10 0x3ff80be535c in _XmSetDragReceiverInfo () at DragICC.c:1441
|> #11 0x3ff80d14530 in TreeUpdateHandler () at Display.c:344
|> #12 0x3ff80bf7d34 in _XmIEndUpdate () at DropSMgr.c:4415
|> #13 0x3ff803dd590 in DoOtherSources () at NextEvent.c:825
|> #14 0x3ff803dd868 in XtAppNextEvent () at NextEvent.c:968
|> #15 0x3ff803d1f00 in XtAppMainLoop () at Event.c:1246
|> #16 0x12002893c in main (argc=1, argv=0x11fffe528) at product_Project.c:320
|> (gdb)
|>
|> any ideas why this happens? and how it can avoided?
|>
|>
|> --
|> B.G. Mahesh | Email: mahesh@evb.com
|> Software Engineer | mahesh@sett.com
|> EVB Software Engineering, Inc. |
next prev parent reply other threads:[~1994-07-11 21:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1994-07-07 21:08 Motif on DEC ALpha : I get some segmentation faults B.G. Mahesh
1994-07-11 21:54 ` Dave Hill WhatGE [this message]
1994-07-13 10:19 ` Conor P. Cahill
1994-07-15 13:15 ` schoeler
1994-07-18 20:00 ` Eli Marmor
1994-07-19 16:57 ` dick
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox