Environment
Novell ZENworks 10 Configuration Management with Support Pack 3 - 10.3
Situation
On 10.3 SLES 10 primary server with Patch Management enabled, random loader crashes on the Patch Management primary server. The status of novell-zenloader shows running, and the service cannot be stopped with novell-zenloader script, but must be killed.
ERROR (from crash dump file hs_err_pid*.log :
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0xb7e5fb07, pid=19313, tid=1644075936
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_21-b01 mixed mode)
# Problematic frame:
# C [libc.so.6+0x6cb07] __rawmemchr+0x17
#
# SIGSEGV (0xb) at pc=0xb7e5fb07, pid=19313, tid=1644075936
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_21-b01 mixed mode)
# Problematic frame:
# C [libc.so.6+0x6cb07] __rawmemchr+0x17
Stack: [0x61ee9000,0x61fea000), sp=0x61fe7cdc, free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libc.so.6+0x6cb07] __rawmemchr+0x17
C [libc.so.6+0x57cc3] vsscanf+0x73
C [libc.so.6+0x52f0e] sscanf+0x2e
C [libjppxlib.so+0x1cfaa]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libc.so.6+0x6cb07] __rawmemchr+0x17
C [libc.so.6+0x57cc3] vsscanf+0x73
C [libc.so.6+0x52f0e] sscanf+0x2e
C [libjppxlib.so+0x1cfaa]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.patchlink.ppxlib.PatchPlayer.nPatchPlayer_Import(J)I+0
j com.patchlink.ppxlib.PatchPlayer.importPatch()Lcom/patchlink/ppxlib/PPXRet;+9
j com.lumension.scr.pojo.SecurityContent.downloadPackage(Z)Z+104
j com.lumension.scr.pojo.SecurityContent.<init>(Lcom/lumension/scr/pojo/RepositoryConfig;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/lumension/scr/pojo/Distribution;)V+103
j com.lumension.scr.pojo.SecurityContent.createSecurityContent(Lcom/lumension/scr/pojo/RepositoryConfig;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/lumension/scr/pojo/Distribution;)Lcom/lumension/scr/pojo/SecurityContent;+45
j com.lumension.scr.pojo.SecurityContentGroup.loadSecurityContentList(Ljava/lang/String;Lcom/lumension/scr/content/ContentListFileIterator;Lcom/lumension/scr/pojo/Distribution;)V+33
j com.lumension.scr.content.ContentList.getSecurityContentGroup(Lcom/lumension/scr/pojo/ListFile;)Lcom/lumension/scr/pojo/SecurityContentGroup;+169
j com.lumension.scr.content.ContentList.getSecurityContentGroup(Ljava/util/Set;)Ljava/util/Set;+38
j com.lumension.scr.api.SecurityContentRepository.getContent(Lcom/lumension/scr/pojo/Platform;Lcom/lumension/scr/pojo/Architecture;[Lcom/lumension/scr/pojo/Distribution;)Ljava/util/Set;+56
j com.novell.zenworks.lumension.PatchSubscriptionService.processAction(Ljava/lang/String;)Z+780
j com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.processAction()C+358
j com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.run()V+32
j java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V+43
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+28
j java.lang.Thread.run()V+11
j com.patchlink.ppxlib.PatchPlayer.nPatchPlayer_Import(J)I+0
j com.patchlink.ppxlib.PatchPlayer.importPatch()Lcom/patchlink/ppxlib/PPXRet;+9
j com.lumension.scr.pojo.SecurityContent.downloadPackage(Z)Z+104
j com.lumension.scr.pojo.SecurityContent.<init>(Lcom/lumension/scr/pojo/RepositoryConfig;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/lumension/scr/pojo/Distribution;)V+103
j com.lumension.scr.pojo.SecurityContent.createSecurityContent(Lcom/lumension/scr/pojo/RepositoryConfig;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/lumension/scr/pojo/Distribution;)Lcom/lumension/scr/pojo/SecurityContent;+45
j com.lumension.scr.pojo.SecurityContentGroup.loadSecurityContentList(Ljava/lang/String;Lcom/lumension/scr/content/ContentListFileIterator;Lcom/lumension/scr/pojo/Distribution;)V+33
j com.lumension.scr.content.ContentList.getSecurityContentGroup(Lcom/lumension/scr/pojo/ListFile;)Lcom/lumension/scr/pojo/SecurityContentGroup;+169
j com.lumension.scr.content.ContentList.getSecurityContentGroup(Ljava/util/Set;)Ljava/util/Set;+38
j com.lumension.scr.api.SecurityContentRepository.getContent(Lcom/lumension/scr/pojo/Platform;Lcom/lumension/scr/pojo/Architecture;[Lcom/lumension/scr/pojo/Distribution;)Ljava/util/Set;+56
j com.novell.zenworks.lumension.PatchSubscriptionService.processAction(Ljava/lang/String;)Z+780
j com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.processAction()C+358
j com.novell.zenworks.loader.modules.queue.runner.QueueThreadWorker.run()V+32
j java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V+43
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+28
j java.lang.Thread.run()V+11
Resolution
Check for 0 byte file(s) in pls download directory on the Patchlink primary server. If found, stop the zenmntr and zenloader services, remove the 0 byte files and restart the zenloader and zenmntr services.