Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Feb 2001 23:38:48 -0800 (PST)
From:      davidx@viasoft.com.cn
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/24892: truss core dumped
Message-ID:  <200102060738.f167cmx71914@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         24892
>Category:       bin
>Synopsis:       truss core dumped
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 05 23:50:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     David Xu
>Release:        freebsd 4.2-stable
>Organization:
viasoft
>Environment:
FreeBSD davidbsd.viasoft.com.cn 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Fri Feb  2 0
9:44:44 CST 2001     root@davidbsd.viasoft.com.cn:/usr/src/sys/compile/GENERIC
i386
>Description:
truss will core dumped when traced program exit. i.e
truss -p 752, when process (752) exited, truss is also core dumped.


>How-To-Repeat:
davidbsd# truss -p 752
 ...

gettimeofday(0xbfbff55c,0xbfbff564)              = 0 (0x0)
select(0x6,0x8368144,0x8368154,0x8368164,0x8321b5c) = 0 (0x0)
gettimeofday(0xbfbff55c,0xbfbff564)              = 0 (0x0)
old.sigprocmask(0x1,0x2000000)                   = 0 (0x0)
old.sigprocmask(0x2,0x2000000)                   = 33554432 (0x2000000)
gettimeofday(0x83f0f48,0x83f0f50)                = 0 (0x0)
old.sigprocmask(0x1,0x2000000)                   = 0 (0x0)
old.sigprocmask(0x2,0x2000000)                   = 33554432 (0x2000000)
shutdown(0x4,0x1)                                = 0 (0x0)
fcntl(0x1,0x3,0x0)                               = 2 (0x2)
fcntl(0x1,0x4,0x6)                               = 0 (0x0)
write(1,0x836c00c,22)                            = 22 (0x16)
fcntl(0x1,0x4,0x2)                               = 0 (0x0)
setsockopt(0x4,0xffff,0x80,0xbfbff48c,0x8)       = 0 (0x0)
close(4)                                         = 0 (0x0)
exit(0x0)                                       process exit, rval = 0
Bus error (core dumped)

davidbsd# gdb truss
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 "i386-unknown-freebsd"...
(no debugging symbols found)...
(gdb) core truss.core
Core was generated by `truss'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...
done.
#0  0x280a93bc in kill () from /usr/lib/libc.so.4
(gdb) bt
#0  0x280a93bc in kill () from /usr/lib/libc.so.4
#1  0x80490b4 in free ()
#2  0x8048c19 in free ()
(gdb)


>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


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




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