[jboss-dev-forums] [Design of JBoss Profiler] - Crashes when send signal

kerekesb do-not-reply at jboss.com
Thu Jul 27 09:01:18 EDT 2006


I would like to profile JBoss Portal 2.4.0 CR2. I have the following versions:

OS: Ubuntu Linux 6.0.6 and Debian Sarge 3.1
Java version: 1.5.0_07,Sun Microsystems Inc
gcc version: gcc-4.0
JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)
JBoss portal 2.4.0 CR2

JAVA_OPTS="$JAVA_OPTS -XrunjbossInspector:/tmp/portal-profiler,include=org.jboss.portal.identity,ignore=*"

I compiled all necessary dynamic library by manually.

But when I add "kill -3 ", I have the next error:

Full thread dump Java HotSpot(TM) Server VM (1.5.0_07-b03 mixed mode):

"http-0.0.0.0-8080-1" daemon prio=1 tid=0x0812d0b8 nid=0x51df in Object.wait() [0x8c7ac000..0x8c7ace30]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x8e690560> (a org.apache.tomcat.util.net.MasterSlaveWorkerThread)
        at java.lang.Object.wait(Object.java:474)
        at org.apache.tomcat.util.net.MasterSlaveWorkerThread.await(MasterSlaveWorkerThread.java:81)
        - locked <0x8e690560> (a org.apache.tomcat.util.net.MasterSlaveWorkerThread)
        at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:107)
        at java.lang.Thread.run(Thread.java:595)

"TP-Monitor" daemon prio=1 tid=0x8902a970 nid=0x51de in Object.wait() [0x86476000..0x864761b0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x8e690060> (a org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
        at org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable.run(ThreadPool.java:559)
        - locked <0x8e690060> (a org.apache.tomcat.util.threads.ThreadPool$MonitorRunnable)
        at java.lang.Thread.run(Thread.java:595)

"TP-Processor4" daemon prio=1 tid=0x8809a9f8 nid=0x51dd runnable [0x864f6000..0x864f7130]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x8e6fba80> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at org.apache.jk.common.ChannelSocket.accept(ChannelSocket.java:293)
        at org.apache.jk.common.ChannelSocket.acceptConnections(ChannelSocket.java:647)
        at org.apache.jk.common.ChannelSocket$SocketAcceptor.runIt(ChannelSocket.java:857)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Thread.java:595)

"TP-Processor3" daemon prio=1 tid=0x88df5088 nid=0x51dc in Object.wait() [0x86577000..0x865780b0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x8e690188> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Object.wait(Object.java:474)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:656)
        - locked <0x8e690188> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Thread.run(Thread.java:595)

"TP-Processor2" daemon prio=1 tid=0x8776fe00 nid=0x51db in Object.wait() [0x865f8000..0x865f9030]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x8e690220> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Object.wait(Object.java:474)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:656)
        - locked <0x8e690220> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Thread.run(Thread.java:595)

"TP-Processor1" daemon prio=1 tid=0x87ca2e20 nid=0x51da in Object.wait() [0x86679000..0x86679fb0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x8e6902b8> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Object.wait(Object.java:474)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:656)
        - locked <0x8e6902b8> (a org.apache.tomcat.util.threads.ThreadPool$ControlRunnable)
        at java.lang.Thread.run(Thread.java:595)

"http-0.0.0.0-8080" daemon prio=1 tid=0x08a361d8 nid=0x51d9 runnable [0x866fa000..0x866faf30]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x91388e70> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at org.apache.tomcat.util.net.DefaultServerSocketFactory.acceptSocket(DefaultServerSocketFactory.java:60)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.acceptSocket(PoolTcpEndpoint.java:407)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.run(PoolTcpEndpoint.java:647)
        at java.lang.Thread.run(Thread.java:595)

"JBossLifeThread" prio=1 tid=0x08a368f8 nid=0x51d8 in Object.wait() [0x8677b000..0x8677beb0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x8e6905f0> (a java.lang.Object)
        at java.lang.Object.wait(Object.java:474)
        at org.jboss.system.server.ServerImpl$LifeThread.run(ServerImpl.java:932)
        - locked <0x8e6905f0> (a java.lang.Object)

"ObservationManager" daemon prio=1 tid=0x8902c968 nid=0x51d6 in Object.wait() [0x867fc000..0x867fce30]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x91d88ac8> (a org.apache.commons.collections.buffer.BlockingBuffer)
        at java.lang.Object.wait(Object.java:474)
        at org.apache.commons.collections.buffer.BlockingBuffer.remove(BlockingBuffer.java:107)
        - locked <0x91d88ac8> (a org.apache.commons.collections.buffer.BlockingBuffer)
        at org.apache.jackrabbit.core.observation.ObservationManagerFactory.run(ObservationManagerFactory.java:155)
        at java.lang.Thread.run(Thread.java:595)

"Transient File Reaper" daemon prio=1 tid=0x89aff068 nid=0x51d3 in Object.wait() [0x8687e000..0x8687e1b0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x91d88b60> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x91d88b60> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at org.apache.jackrabbit.util.TransientFileFactory$ReaperThread.run(TransientFileFactory.java:135)

"Store org.hibernate.cache.StandardQueryCache Expiry Thread" daemon prio=1 tid=0x8902c4f0 nid=0x51d2 waiting on condition [0x868fe000..0x868ff130]
        at java.lang.Thread.sleep(Native Method)
        at net.sf.ehcache.store.DiskStore.expiryThreadMain(DiskStore.java:754)
        at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:60)
        at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:924)

"Store org.hibernate.cache.StandardQueryCache Spool Thread" daemon prio=1 tid=0x88df6970 nid=0x51d1 waiting on condition [0x86cfc000..0x86cfd0b0]
        at java.lang.Thread.sleep(Native Method)
        at net.sf.ehcache.store.DiskStore.spoolThreadMain(DiskStore.java:555)
        at net.sf.ehcache.store.DiskStore.access$600(DiskStore.java:60)
        at net.sf.ehcache.store.DiskStore$SpoolThread.run(DiskStore.java:906)

"Store org.hibernate.cache.UpdateTimestampsCache Expiry Thread" daemon prio=1 tid=0x8aa78bc0 nid=0x51d0 waiting on condition [0x86d7d000..0x86d7e030]
        at java.lang.Thread.sleep(Native Method)
        at net.sf.ehcache.store.DiskStore.expiryThreadMain(DiskStore.java:754)
        at net.sf.ehcache.store.DiskStore.access$700(DiskStore.java:60)
        at net.sf.ehcache.store.DiskStore$ExpiryThread.run(DiskStore.java:924)

"Store org.hibernate.cache.UpdateTimestampsCache Spool Thread" daemon prio=1 tid=0x88ed2750 nid=0x51cf waiting on condition [0x875fe000..0x875fefb0]
        at java.lang.Thread.sleep(Native Method)
        at net.sf.ehcache.store.DiskStore.spoolThreadMain(DiskStore.java:555)
        at net.sf.ehcache.store.DiskStore.access$600(DiskStore.java:60)
        at net.sf.ehcache.store.DiskStore$SpoolThread.run(DiskStore.java:906)

"IdleRemover" daemon prio=1 tid=0x08882688 nid=0x51ce in Object.wait() [0x87ffb000..0x87ffbf30]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x91ad3ef8> (a java.util.ArrayList)
        at org.jboss.resource.connectionmanager.IdleRemover$IdleRemoverRunnable.run(IdleRemover.java:161)
        - locked <0x91ad3ef8> (a java.util.ArrayList)
        at java.lang.Thread.run(Thread.java:595)

"JCA PoolFiller" prio=1 tid=0x0883a4f8 nid=0x51cc in Object.wait() [0x87afe000..0x87afeeb0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x91869088> (a java.util.LinkedList)
        at java.lang.Object.wait(Object.java:474)
        at org.jboss.resource.connectionmanager.PoolFiller.run(PoolFiller.java:85)
        - locked <0x91869088> (a java.util.LinkedList)
        at java.lang.Thread.run(Thread.java:595)

"Timer-2" daemon prio=1 tid=0x08f6a8e8 nid=0x51cb in Object.wait() [0x881fc000..0x881fce30]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x91869118> (a java.util.TaskQueue)
        at java.util.TimerThread.mainLoop(Timer.java:509)
        - locked <0x91869118> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"HSQLDB Timer @145d424" daemon prio=1 tid=0x08424bd0 nid=0x51ca in Object.wait() [0x8827e000..0x8827e1b0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x918691b8> (a org.hsqldb.lib.HsqlTimer)
        at org.hsqldb.lib.HsqlTimer.nextTask(Unknown Source)
        - locked <0x918691b8> (a org.hsqldb.lib.HsqlTimer)
        at org.hsqldb.lib.HsqlTimer$TaskRunner.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:595)

"WorkManager(3)-1" daemon prio=1 tid=0x086e4800 nid=0x51c9 in Object.wait() [0x86dfe000..0x86dff130]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x91869278> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
        at java.lang.Object.wait(Object.java:474)
        at EDU.oswego.cs.dl.util.concurrent.Semaphore.acquire(Semaphore.java:108)
        - locked <0x91869278> (a EDU.oswego.cs.dl.util.concurrent.Semaphore)
        at EDU.oswego.cs.dl.util.concurrent.SemaphoreControlledChannel.take(SemaphoreControlledChannel.java:131)
        at org.jboss.resource.adapter.mail.inflow.NewMsgsWorker.run(NewMsgsWorker.java:75)
        at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204)
        at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:275)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
        at java.lang.Thread.run(Thread.java:595)

"ContainerBackgroundProcessor[StandardEngine[jboss.web]]" daemon prio=1 tid=0x088106a8 nid=0x51c4 waiting on condition [0x882fe000..0x882ff0b0]
        at java.lang.Thread.sleep(Native Method)
        at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1547)
        at java.lang.Thread.run(Thread.java:595)

"PooledInvokerAcceptor#0-4445" prio=1 tid=0x084726f8 nid=0x51c3 runnable [0x886ce000..0x886cf030]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x912674f0> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at org.jboss.invocation.pooled.server.PooledInvoker.run(PooledInvoker.java:261)
        at java.lang.Thread.run(Thread.java:595)

"RMI TCP Accept-4444" daemon prio=1 tid=0x08f49c60 nid=0x51c2 runnable [0x8874f000..0x8874ffb0]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x91267680> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:340)
        at java.lang.Thread.run(Thread.java:595)

"JBoss System Threads(1)-2" daemon prio=1 tid=0x08f49e30 nid=0x51c1 runnable [0x887d0000..0x887d0f30]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x91267838> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at org.jnp.server.Main$AcceptHandler.run(Main.java:441)
        at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:148)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
        at java.lang.Thread.run(Thread.java:595)

"GC Daemon" daemon prio=1 tid=0x084aa3e8 nid=0x51c0 in Object.wait() [0x88851000..0x88851eb0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x91103998> (a sun.misc.GC$LatencyLock)
        at sun.misc.GC$Daemon.run(GC.java:100)
        - locked <0x91103998> (a sun.misc.GC$LatencyLock)

"RMI Reaper" prio=1 tid=0x0870d8b8 nid=0x51bf in Object.wait() [0x888d2000..0x888d2e30]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x91102ac8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x91102ac8> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at sun.rmi.transport.ObjectTable$Reaper.run(ObjectTable.java:336)
        at java.lang.Thread.run(Thread.java:595)

"Timer-1" daemon prio=1 tid=0x08f4a388 nid=0x51be in Object.wait() [0x88954000..0x889541b0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x91102e48> (a java.util.TaskQueue)
        at java.lang.Object.wait(Object.java:474)
        at java.util.TimerThread.mainLoop(Timer.java:483)
        - locked <0x91102e48> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"RMI TCP Accept-1098" daemon prio=1 tid=0x087984e8 nid=0x51bd runnable [0x889d4000..0x889d5130]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x91102b28> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at sun.rmi.transport.tcp.TCPTransport.run(TCPTransport.java:340)
        at java.lang.Thread.run(Thread.java:595)

"JBoss System Threads(1)-1" daemon prio=1 tid=0x08442c60 nid=0x51bb runnable [0x88cfe000..0x88cff0b0]
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
        - locked <0x91104108> (a java.net.SocksSocketImpl)
        at java.net.ServerSocket.implAccept(ServerSocket.java:450)
        at java.net.ServerSocket.accept(ServerSocket.java:421)
        at org.jboss.web.WebServer.run(WebServer.java:324)
        at org.jboss.util.threadpool.RunnableTaskWrapper.run(RunnableTaskWrapper.java:148)
        at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
        at java.lang.Thread.run(Thread.java:595)

"TimeoutFactory-0" daemon prio=1 tid=0x899afac0 nid=0x51ba in Object.wait() [0x897ff000..0x89800030]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x90bc1d00> (a java.lang.Object)
        at org.jboss.util.timeout.TimeoutPriorityQueueImpl.poll(TimeoutPriorityQueueImpl.java:271)
        - locked <0x90bc1d00> (a java.lang.Object)
        at org.jboss.util.timeout.TimeoutPriorityQueueImpl.take(TimeoutPriorityQueueImpl.java:230)
        at org.jboss.util.timeout.TimeoutFactory.doWork(TimeoutFactory.java:215)
        at org.jboss.util.timeout.TimeoutFactory.access$000(TimeoutFactory.java:41)
        at org.jboss.util.timeout.TimeoutFactory$1.run(TimeoutFactory.java:136)

"ScannerThread" daemon prio=1 tid=0x0845ae30 nid=0x51b5 waiting on condition [0x8ae3e000..0x8ae3efb0]
        at java.lang.Thread.sleep(Native Method)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:280)
        at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)

"Timer-0" daemon prio=1 tid=0x8b138888 nid=0x51b4 in Object.wait() [0x8aebf000..0x8aebff30]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x90890170> (a java.util.TaskQueue)
        at java.util.TimerThread.mainLoop(Timer.java:509)
        - locked <0x90890170> (a java.util.TaskQueue)
        at java.util.TimerThread.run(Timer.java:462)

"DestroyJavaVM" prio=1 tid=0x0805db18 nid=0x51a7 waiting on condition [0x00000000..0xbfef6a60]

"Low Memory Detector" daemon prio=1 tid=0x081095a8 nid=0x51af runnable [0x00000000..0x00000000]

"CompilerThread1" daemon prio=1 tid=0x08108120 nid=0x51ae waiting on condition [0x00000000..0x8ca4f358]

"CompilerThread0" daemon prio=1 tid=0x081070c0 nid=0x51ad waiting on condition [0x00000000..0x8cad02d8]

"AdapterThread" daemon prio=1 tid=0x08105f80 nid=0x51ac waiting on condition [0x00000000..0x00000000]

"Signal Dispatcher" daemon prio=1 tid=0x081050c8 nid=0x51ab waiting on condition [0x00000000..0x00000000]

"Finalizer" daemon prio=1 tid=0x080f9f60 nid=0x51aa in Object.wait() [0x8cc86000..0x8cc86f30]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x908915b0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:116)
        - locked <0x908915b0> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:132)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:159)

"Reference Handler" daemon prio=1 tid=0x080f9a90 nid=0x51a9 in Object.wait() [0x8cd07000..0x8cd07eb0]
        at java.lang.Object.wait(Native Method)
        - waiting on <0x90890450> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:474)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116)
        - locked <0x90890450> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=1 tid=0x080f7608 nid=0x51a8 runnable

"VM Periodic Task Thread" prio=1 tid=0x0810aa48 nid=0x51b0 waiting on condition

JBossProfiler: Initializing DataGathering
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  SIGSEGV (0xb) at pc=0xb7efb46d, pid=20903, tid=2261769136
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0_07-b03 mixed mode)
# Problematic frame:
# C  [libc.so.6+0x6b46d]  memmove+0x4d
#
# An error report file with more information is saved as hs_err_pid20903.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3961287#3961287

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3961287



More information about the jboss-dev-forums mailing list