Subject: Re: debugging Linux emulation
To: Jeremy C. Reed <reed@reedmedia.net>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 01/06/2001 15:50:15
On Fri, Jan 05, 2001 at 04:47:36PM -0800, Jeremy C. Reed wrote:
> I am trying to run a commercial Apache configuration program under NetBSD
> 1.5_BETA Linux emulation.
> 
> The software is a huge RPM with Qt statically linked. I converted the rpm
> to cpio with rpm2cpio and then extracted it.
> 
> When I ran it, it core dumped.
> 
> gdb says:
>  Program terminated with signal 10, Bus error.
>  #0  0x8476bf7 in ?? ()
>  #1  0x832e9ee in ?? ()
>  #2  0x8328f65 in ?? ()
>  #3  0x806b06b in ?? ()
>  #4  0x8460a3c in ?? ()
>  #5  0x815b0000 in ?? ()
>  Cannot access memory at address 0xe853.
> 
> So it appears that it wasn't built with debugging. Can anyone share some
> ideas or pointers to documentation on how to research this problem
> further? (Maybe something that shows if a certain Linux call didn't work?)

Try ktrace/kdump

--
Manuel Bouyer <bouyer@antioche.eu.org>
--