Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jan 2006 13:44:36 GMT
From:      Edwin Chu <edwincheese@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/92059: ps(1) "Bus error" under jail
Message-ID:  <200601201344.k0KDiZrC014050@www.freebsd.org>
Resent-Message-ID: <200601201350.k0KDo3gl011775@freefall.freebsd.org>

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

>Number:         92059
>Category:       misc
>Synopsis:       ps(1) "Bus error" under jail
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jan 20 13:50:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Edwin Chu
>Release:        6.0-RELEASE
>Organization:
>Environment:
23:20:24 HKT 2006     edwin@lavender.edwincheese.com:/usr/obj/usr/src/sys/LAVENDER  i386        
>Description:
The machine is running FreeBSD 6.0-RELEASE and i am trying out jails on it
I have followed the tutorial in jail's man page and everythings seems
working fine, except the ps command.
When I execute it, it return "Bus error"
Here is the output of gdb:

GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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-marcel-freebsd"...(no debugging
symbols found)...
Core was generated by `ps'.
Program terminated with signal 10, Bus error.
Reading symbols from /lib/libm.so.4...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.4
Reading symbols from /lib/libkvm.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/libkvm.so.3
Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x28092398 in _kvm_initvtop () from /lib/libkvm.so.3
(gdb) backtrace
#0  0x28092398 in _kvm_initvtop () from /lib/libkvm.so.3
Cannot access memory at address 0xbfbfdc6c
>How-To-Repeat:
1. Start an jailed environment
2. jexec tcsh to the jail
3. execute ps under the it
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:



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