4.3BSD crash dump help needed

Chris Torek chris at mimsy.UUCP
Sat Jan 28 17:14:49 AEST 1989


In article <5483 at bsu-cs.UUCP> dhesi at bsu-cs.UUCP (Rahul Dhesi) writes:
>     _Xtransflt(800691d8,1) from 8000b5e7
>     _newproc(1) from _fork1+b3
>
>I have not found the Xtransflt symbol anywhere in the source or in any
>of the C libraries.  What am I overlooking?  The crash dumps always
>give a similar stack trace.  If only I could figure out what Xtransflt
>is I might have a clue.

Xtransflt is in locore.s.  The problem here is that adb is looking at
CALLG/CALLS stack frames, and a translation fault trap pushes a trap
frame instead, confusing it.  That Xtransflt() is almost certainly
procdup().  It may be related to this bug in resume():

RCS file: RCS/locore.s,v
retrieving revision 1.5
retrieving revision 1.6
diff -c2 -r1.5 -r1.6
*** /tmp/,RCSt1000249	Sat Jan 28 02:13:57 1989
--- /tmp/,RCSt2000249	Sat Jan 28 02:14:04 1989
***************
*** 1645,1650 ****
  1:
  	movl	r1,sp
! 	movl	(r0),(sp)			# address to return to
! 	movl	$PSL_PRVMOD,4(sp)		# ``cheating'' (jfr)
  	rei
  
--- 1645,1650 ----
  1:
  	movl	r1,sp
! 	pushl	$PSL_PRVMOD			# return psl
! 	pushl	(r0)				# address to return to
  	rei
  
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris at mimsy.umd.edu	Path:	uunet!mimsy!chris



More information about the Comp.unix.wizards mailing list