Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Jan 2002 02:18:37 -0800 (PST)
From:      Thomas Cannon <tcannon@noops.org>
To:        Charles Burns <burnscharlesn@hotmail.com>
Cc:        <questions@freebsd.org>
Subject:   Re: The only way I have ever found to crash FreeBSD
Message-ID:  <20020107021412.R13438-100000@stereophonic.noops.org>
In-Reply-To: <F55WLUyjNUD6laL5w9O000186c2@hotmail.com>

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

I'd imagine (and freebsd-hackers could tell you better) that BSD is able
to run linux binaries by using custom libraries, and when the linux
program is compiled statically that there's a whole lot of resource
problems as BSD tries to run code that it cannot (but believes that it
can). It's sort of like drinking grapefruit juice thinking it's orange and
spitting it all over the fridge.

It still shouldn't crash the box running it as a normal user, though. Are
you running these as a normal user?

thomas


On Mon, 7 Jan 2002, Charles Burns wrote:

> The only way that I have found to crash FreeBSD is to run a Linux program
> with statically linked binaries. Am am curious as to why this happens, if it
> still does as I have not tried since 4.4-Release, and I am wondering if
> there is a way to prevent this from occuring if the Linux executable's
> library linkage is not known.
> I'm not complaining, as this hasn't been a problem for me, I am just
> honestly curious as to what goes on that causes the system to reboot or
> whatever it decides to do that day.
> If that glitch were to be dealth with, perhaps by detecting whether libs are
> statically compiled and refusing to run the program, FreeBSD would be 100%
> unbcrashable as far as I can tell (short of doing things that are not the
> fault of FreeBSD, like removing the CPU while the system is running or
> compiling the kernel with the '-malign-double' option)
>
> _________________________________________________________________
> Send and receive Hotmail on your mobile device: http://mobile.msn.com
>
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
>


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




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