Re: programs like gdb core dump

From: Rodney W. Grimes <freebsd-rwg_at_pdx.rh.CN85.dnsmgr.net>
Date: Thu, 9 Aug 2018 09:56:49 -0700 (PDT)
> On 8/8/18 4:49 PM, Erich Dollansky wrote:
> > Hi,
> > 
> > here we are:
> > 
> > http://sumeritec/FreeBSD/fortune.core
> > http://sumeritec/FreeBSD/gdb.core
> > 
> > The fortune core is from the same source as the now running system. The
> > gdb core should be but I am not 100% sure.
> > 
> > Revision: Revision: 337343
> 
> The core dumps don't really do me any good unfortunately without a binary,
> but if you can open fortune.core under gdb for example, just getting the
> stack trace along with 'info reg' is probably sufficient.

I would also suggest making sure these are updated binaries as
you said this was a long lived 12/current machine:
ls -lag `which fortune`
ls -lag `which gdb`
ls -lag /boot/kernel/kernel

> > Erich
> > 
> > 
> > On Wed, 8 Aug 2018 08:57:06 -0700
> > John Baldwin <jhb_at_FreeBSD.org> wrote:
> > 
> >> On 8/7/18 7:00 PM, Erich Dollansky wrote:
> >>> Hi,
> >>>
> >>> On Tue, 7 Aug 2018 11:59:11 -0700
> >>> John Baldwin <jhb_at_FreeBSD.org> wrote:
> >>>   
> >>>> On 8/6/18 8:11 PM, Erich Dollansky wrote:  
> >>>>> On Mon, 6 Aug 2018 15:57:53 -0700
> >>>>> John Baldwin <jhb_at_FreeBSD.org> wrote:
> >>>>>     
> >>>>>> On 8/4/18 4:38 PM, Erich Dollansky wrote:    
> >>>   
> >>>>>>> Bad system call (core dumped)  
> >>>>>>
> >>>>>> Did you upgrade from stable/11 with a world that is still
> >>>>>> stable/11? If so, did you make sure your kernel config includes
> >>>>>> COMPAT_FREEBSD11? (GENERIC should include this)
> >>>>>>    
> >>>>>
> >>>>> I never have had a machine running 11. This machine is on 12 since
> >>>>> 2 or 3 years. I will check if this configuration was properly set
> >>>>> on that machine.    
> >>>>
> >>>> Ahh, a fairly old 12 world with a recent 12 kernel will still need
> >>>> COMPAT_FREEBSD11.
> >>>>  
> >>>
> >>> even when kernel and world are on '1200076' as provided by uname
> >>> -U/-K, COMPAT_FREEBSD11 is required at the moment. The system is
> >>> currently on r337343.  
> >>
> >> Hmm, plain 12.0 binaries that are up to date should not need
> >> COMPAT_FREEBSD11. Do you have any of the core dumps from before handy?
> >>
> > 
> 
> 
> -- 
> John Baldwin
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
> 

-- 
Rod Grimes                                                 rgrimes_at_freebsd.org
Received on Thu Aug 09 2018 - 14:56:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:17 UTC