ciaranj edited a comment on Bug JENKINS-22853

As requested by Kohsuke Kawaguchi attached is the stack-trace I'm seeing:

Trying to unexport an object that's already unexported
java.lang.IllegalStateException: Invalid object ID 197 iota=480
	at hudson.remoting.ExportTable.diagnoseInvalidId(ExportTable.java:277)
	at hudson.remoting.ExportTable.unexportByOid(ExportTable.java:300)
	at hudson.remoting.Channel.unexport(Channel.java:600)
	at hudson.remoting.UnexportCommand.execute(UnexportCommand.java:38)
	at hudson.remoting.Channel$2.handle(Channel.java:475)
	at hudson.remoting.SynchronousCommandTransport$ReaderThread.run(SynchronousCommandTransport.java:60)
Caused by: java.lang.Exception: Object was recently deallocated
#197 (ref.0) : hudson.CloseProofOutputStream
  Created at Wed Jun 04 16:11:05 BST 2014
	at hudson.remoting.ExportTable$Entry.<init>(ExportTable.java:86)
	at hudson.remoting.ExportTable.export(ExportTable.java:239)
	at hudson.remoting.Channel.export(Channel.java:592)
	at hudson.remoting.RemoteOutputStream.writeObject(RemoteOutputStream.java:82)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:959)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1480)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1528)
	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1493)
	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1416)
	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174)
	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:346)
	at hudson.remoting.UserRequest._serialize(UserRequest.java:155)
	at hudson.remoting.UserRequest.serialize(UserRequest.java:164)
	at hudson.remoting.UserRequest.<init>(UserRequest.java:62)
	at hudson.remoting.Channel.call(Channel.java:738)
	at hudson.Launcher$RemoteLauncher.launch(Launcher.java:888)
	at hudson.Launcher$ProcStarter.start(Launcher.java:355)
	at hudson.Launcher$ProcStarter.join(Launcher.java:362)
	at hudson.plugins.msbuild.MsBuildBuilder.perform(MsBuildBuilder.java:180)
	at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
	at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:745)
	at hudson.model.Build$BuildExecution.build(Build.java:198)
	at hudson.model.Build$BuildExecution.doRun(Build.java:159)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:518)
	at hudson.model.Run.execute(Run.java:1710)
	at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
	at hudson.model.ResourceController.execute(ResourceController.java:88)
	at hudson.model.Executor.run(Executor.java:231)
  Released at Wed Jun 04 16:17:53 BST 2014
	at hudson.remoting.ExportTable$Entry.release(ExportTable.java:115)
	at hudson.remoting.ExportTable.unexportByOid(ExportTable.java:303)
	at hudson.remoting.Channel.unexport(Channel.java:600)
	at hudson.remoting.ProxyOutputStream$Unexport$1.run(ProxyOutputStream.java:352)
	at hudson.remoting.PipeWriter$1.run(PipeWriter.java:158)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:111)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)

	at hudson.remoting.ExportTable.diagnoseInvalidId(ExportTable.java:270)
	... 5 more
Caused by:   Released at Wed Jun 04 16:17:53 BST 2014
	at hudson.remoting.ExportTable$Entry.release(ExportTable.java:115)
	at hudson.remoting.ExportTable.unexportByOid(ExportTable.java:303)
	at hudson.remoting.Channel.unexport(Channel.java:600)
	at hudson.remoting.ProxyOutputStream$Unexport$1.run(ProxyOutputStream.java:352)
	at hudson.remoting.PipeWriter$1.run(PipeWriter.java:158)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at hudson.remoting.SingleLaneExecutorService$1.run(SingleLaneExecutorService.java:111)
	at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)

This eventually leads to a bunch of slaves no longer appearing to be connected to our master jenkins, restarting the master does not affect this, and we need to restart the slaves individually. Notably this does not affect all our slaves. (But the ones that are affected, are always the same ones!)

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to