[Buildbot-devel] Buildbot under Centos 4.2 causes exit code 129 when running ant build step

Brian Warner warner-buildbot at lothar.com
Tue Nov 29 09:20:06 UTC 2005


> From: "Daren Grant" <d.grant at psenterprise.com>
> Exception in thread "SIGHUP handler"
> java.lang.IllegalThreadStateException

I'm the last person you want to be getting java advice from, but the only
suggestion I can think of is to look at the 'nohup' command. Once in a blue
moon I run into problems with a command that runs fine from my (interactive)
shell, but fails when run from a background job, typically created by
something like './run_thing &'. In most shells, that '&' also means that the
background job should not be sent a SIGHUP when you HangUP, but some shells
don't treat it that way, and then sometimes logging out causes the process to
get whacked in a way it wasn't expecting. I sometimes his this when running
commands under xvfb.

So, I don't know if would make a difference, but since the problem appears to
be related to a SIGHUP, you might investigate nohup.

good luck,
 -Brian





More information about the devel mailing list