Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Aug 2001 17:22:24 +0200
From:      Bernd Walter <ticso@mail.cicely.de>
To:        Christian Weisgerber <naddy@mips.inka.de>
Cc:        freebsd-alpha@FreeBSD.ORG
Subject:   alpha problems on current (was: dropping compiler support in -current)
Message-ID:  <20010818172224.A4918@cicely20.cicely.de>
In-Reply-To: <9lje5o$24ra$1@kemoauc.mips.inka.de>; from naddy@mips.inka.de on Fri, Aug 17, 2001 at 03:44:56PM %2B0000
References:  <20010817081929.A2859@freebie.xs4all.nl> <20010817125220.A29953@cicely20.cicely.de> <9lj25s$1sq6$1@kemoauc.mips.inka.de> <20010817152742.B437@cicely20.cicely.de> <9lje5o$24ra$1@kemoauc.mips.inka.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 17, 2001 at 03:44:56PM +0000, Christian Weisgerber wrote:
> Bernd Walter <ticso@mail.cicely.de> wrote:
> 
> > > - I'm seeing mysterious writes (kevent says NOTE_WRITE) to my
> > >   executables.  I suspect this is a VM bug.
> > 
> > I remember this but thought it happened on i386 for you?
> 
> No, on alpha.  Since nobody else seems to see this, it's probably
> alpha-specific.

I'm also seeing this on an axppci33 mashine updated yesterday.
I noticed because gdb warned me that a binary was newer than a .core
file.
ticso@cicely10# ls -al /bin 
total 11641
drwxr-xr-x   2 root  wheel     1024 Aug 17 19:59 .
drwxr-xr-x  15 root  wheel      512 Aug 18 12:44 ..
-r-xr-xr-x   2 root  wheel    80808 Aug 18 17:05 [
-r-xr-xr-x   1 root  wheel    99000 Aug 17 18:58 cat
-r-xr-xr-x   1 root  wheel    99480 Aug 17 19:59 chflags
-r-xr-xr-x   1 root  wheel    91808 Aug 17 18:58 chio
-r-xr-xr-x   1 root  wheel   102176 Aug 18 11:20 chmod
-r-xr-xr-x   1 root  wheel   107376 Aug 17 18:58 cp
-r-xr-xr-x   2 root  wheel  1178600 Aug 18 17:08 csh
-r-xr-xr-x   1 root  wheel   555256 Aug 18 11:21 date
-r-xr-xr-x   1 root  wheel   113624 Aug 18 17:05 dd
-r-xr-xr-x   1 root  wheel    94160 Aug 18 11:23 df
[...]

This doesn't happen on i386 for me.

Have you found a way to isulate when it happens?

ypserv crashed for me:
Aug 18 12:44:02 cicely10 /boot/kernel/kernel: pid 225 (ypserv), uid 0: exited on signal 6 (core dumped)
Aug 18 12:44:22 cicely10 ypbind[229]: NIS server [10.1.3.3] for domain "cicely.de" not responding
Aug 18 12:44:23 cicely10 ypbind[229]: NIS server [10.1.3.8] for domain "cicely.de" OK

And make during make depend of a kernel:
[...]
===> xl
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev -I@/../include  /var/d8/FreeBSD-2001-08-17/src/sys/module
s/xl/../../pci/if_xl.c
===> osf1
rm -f .depend
mkdep -f .depend -a   -nostdinc -D_KERNEL -DKLD_MODULE -I- -I. -I@ -I@/dev -I@/../include  /var/d8/FreeBSD-2001-08-17/src/sys/module
s/osf1/../../alpha/osf1/osf1_ioctl.c /var/d8/FreeBSD-2001-08-17/src/sys/modules/osf1/../../alpha/osf1/osf1_misc.c /var/d8/FreeBSD-20
01-08-17/src/sys/modules/osf1/../../alpha/osf1/osf1_signal.c /var/d8/FreeBSD-2001-08-17/src/sys/modules/osf1/../../alpha/osf1/osf1_s
ysent.c /var/d8/FreeBSD-2001-08-17/src/sys/modules/osf1/../../alpha/osf1/osf1_mount.c /var/d8/FreeBSD-2001-08-17/src/sys/modules/osf
1/../../alpha/osf1/imgact_osf1.c /var/d8/FreeBSD-2001-08-17/src/sys/modules/osf1/../../alpha/osf1/osf1_sysvec.c
make in free(): error: pointer to wrong page
Abort trap - core dumped
*** Error code 134

Stop in /var/d8/FreeBSD-2001-08-17/src/sys/alpha/compile/CICELY10.
1386.335u 631.597s 43:12.55 77.8%       330+752k 70+7440io 164pf+0w
Exit 1

make failed twice - I'm not shure if it was identic.

gdb output for latest make crash:
ticso@cicely10# gdb /usr/bin/make ./modules/var/d8/FreeBSD-2001-08-17/src/sys/modules/make.core
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alpha-unknown-freebsd"...(no debugging symbols found)...

warning: exec file is newer than core file.
Core was generated by `make'.
Program terminated with signal 6, Abort trap.

warning: Hit heuristic-fence-post without finding

warning: enclosing function for address 0x12002c090
This warning occurs if you are debugging a function without any symbols
(for example, in a stripped executable).  In that case, you may wish to
increase the size of the search with the `set heuristic-fence-post' command.

Otherwise, you told GDB there was a function where there isn't one, or
(more likely) you have encountered a bug in GDB.
#0  0x12002c090 in ?? ()
(gdb) bt
#0  0x12002c090 in ?? ()
warning: Hit heuristic-fence-post without finding
warning: enclosing function for address 0x1200415f8

and gdb output for ypserv:
ticso@cicely10# gdb /usr/sbin/ypserv ypserv.core 
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "alpha-unknown-freebsd"...(no debugging symbols found)...

warning: exec file is newer than core file.
Core was generated by `ypserv'.
Program terminated with signal 6, Abort trap.
Reading symbols from /usr/lib/libc.so.5...(no debugging symbols found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done.
#0  0x1600b6124 in kill () from /usr/lib/libc.so.5
(gdb) bt
#0  0x1600b6124 in kill () from /usr/lib/libc.so.5
#1  0x16012b318 in abort () from /usr/lib/libc.so.5
#2  0x1601296f0 in isatty () from /usr/lib/libc.so.5
#3  0x160129728 in isatty () from /usr/lib/libc.so.5

-- 
B.Walter              COSMO-Project         http://www.cosmo-project.de
ticso@cicely.de         Usergroup           info@cosmo-project.de


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-alpha" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010818172224.A4918>