[Pkg-sysvinit-devel] init panic and crashme

Justin Pryzby justinpryzby at users.sourceforge.net
Tue Aug 1 10:40:45 UTC 2006


I was fooling around with crashme bug #123272, and caused various
programs to misbehave:

  xterm closed
  Xorg server crashed
  sshd listerner processess crashed (!)

It isn't clear to me especially how the last is possible, and it is
especially unclear to me how it is possible in a very short duration
of ~4 seconds of random code execution (it is hypothetically possible
that it did int 0x80 for execve to sudo kill sshd, or /etc/init.d/ssh
stop, but this isn't conceivable in that time).

I also managed to get init to print a message: "PANIC: segmentation
fault at 0x########, sleeping for 30 seconds".  This was with modified
crashme code, which was effectively running a forkbomb, sleeping for
30 seconds".  This was with modified crashme code, which AFAICT was
effectively running a forkbomb.

However, a normal forkbomb doesn't cause this, and I can't see any
reason why init itself should ever receive a segv; any such thing is
indicitive of a bug in either init, or the kernel, right?

Justin



More information about the Pkg-sysvinit-devel mailing list