Subject: Re: [vserver] /usr/sbin/chbind: line 135: 7645 Segmentation fault
From: Herbert Poetzl <herbert@13thfloor.at>
Date: Fri, 22 May 2009 23:36:40 +0200

On Mon, May 18, 2009 at 04:54:30PM +0200, Jarry wrote:
> Herbert Poetzl wrote:
> >On Mon, May 11, 2009 at 07:27:36PM +0200, Jarry wrote:
> >>I have a gentoo-guest with just a basic install, the only extra
> >>service installed is bind. Mostly it starts and works without any
> >>problem, but there is about 10% chance that starting this guest
> >>fails with following messages:
> >>----------------------------------
> >>vserver vs4-dns start
> >>/usr/sbin/chbind: line 135:  7645 Segmentation fault
> >>"${create_cmd[@]}" "${chain_cmd[@]}" -- "$@"
> >>
> >>An error occured while executing the vserver startup sequence; when
> >>there are no other messages, it is very likely that the init-script
> >>(env TERM=xterm /lib/rc/sh/init-vserver.sh default) failed.
> >>
> >>Common causes are:
> >>* /etc/rc.d/rc on Fedora Core 1 and RH9 fails always; the 'apt-rpm' build
> >>  method knows how to deal with this, but on existing installations,
> >>  appending 'true' to this file will help.
> >>
> >>Failed to start vserver 'vs4-dns'
> >>-----------------------------------
> >>
> >>I did not find any regularity in this. Mostly it works, but in some
> >>rare ocasions simply does not. And apart from that, I noticed one
> >>strange message while stopping this guest which might be related to
> >>the above mentioned error:
> >>
> >>-----------------------------------
> >>vserver vs4-dns stop
> >>Device and target are missing; try '--help' for more information
> >>-----------------------------------
> >>
> >>What could be reason for that "device and target missing"?
> >>And even more important: why do I get random segmentation faults?
> >
> >did you try with a recent kernel and util-vserver snapshot?
> 
> I have the last stable vserver-kernel (2.6.22 + 2.2.0.7) and
> util-vserver (0.30.215). I do not want to play with exp/dev
> releases as this should be a stable server. Though it looks so,
> it is not so stable as I'd expect. I still get seg-faults... :-(

if you get segfaults with that branch, you definitely have
some serious hardware or software issues (e.g. toolchain),
please provide more information and a test case which
segfaults for you ...

information:

 'vserver-info - SYSINFO'
 'testme.sh-0.17 -v'

TIA,
Herbert

> Jarry