[comp.windows.x] xmh gets unaligned access on DS5000 & DS3100.

edward@luna.math.ucla.edu (Edward Dergharapetian) (05/03/91)

Hi folks--
This may have been discussed before, so please bear with me.  When I
try forwarding a letter in xmh, I get the following message at which
point xmh dumps core with a "bus error":

pid XXXXX (xmh) was killed on unaligned access, at pc xxxxxx

When dbx'ing the file, I find out this happens when the X library
tries to malloc memory that's unaligned.  Has anyone experienced
this, or has a solution to this problem?  Please E-mail responses.
Thanks,

edward.

Edward Dergharapetian                               (213) 206-6067
UCLA Mathematics Dept. 405 Hilgard Ave. Los Angeles, CA 90024-1555
ARPA: edward@math.ucla.edu
				"Life was easy when it was boring"

rkz@scrc.symbolics.COM (Randolph K. Zeitvogel) (05/03/91)

   Date: 2 May 91 17:51:14 GMT
   From: edward@luna.math.ucla.edu (Edward Dergharapetian)
   Organization: UCLA Mathematics Dept.
   Newsgroups: comp.windows.x,comp.mail.mh,comp.unix.ultrix
   Sender: xpert-request@expo.lcs.mit.edu


   Hi folks--
   This may have been discussed before, so please bear with me.  When I
   try forwarding a letter in xmh, I get the following message at which
   point xmh dumps core with a "bus error":

   pid XXXXX (xmh) was killed on unaligned access, at pc xxxxxx

   When dbx'ing the file, I find out this happens when the X library
   tries to malloc memory that's unaligned.  Has anyone experienced
   this, or has a solution to this problem?  Please E-mail responses.
   Thanks,

   edward.

   Edward Dergharapetian                               (213) 206-6067
   UCLA Mathematics Dept. 405 Hilgard Ave. Los Angeles, CA 90024-1555
   ARPA: edward@math.ucla.edu
				   "Life was easy when it was boring"

DEC recommands using valloc (which page aligns the allocated memory). I
have the same problem with the MACSYMA that I have ported to the DECstation.
There also appears to be some relationship with paging and network activity.

Randy Zeitvogel
Symbolics MACSYMA division
Internet: rkz@tyrannosaurus.scrc.symbolics.com