Kill -3 give me following stack:
Looks like it is waiting for a lock. I have no idea yet why it is doing this.
DStore Server Starting...
Server Started Successfully
4033
Server running on: srxhkgmadev02
Exception in thread "Thread-1899" java.lang.NullPointerException
at org.eclipse.dstore.core.model.DataElement.initialize(DataElement.java:1606)
at org.eclipse.dstore.core.model.DataElement.initialize(DataElement.java:1553)
at org.eclipse.dstore.core.model.DataElement.reInit(DataElement.java:262)
at org.eclipse.dstore.core.model.DataStore.createObject(DataStore.java:1369)
at org.eclipse.dstore.core.model.DataStore.createObject(DataStore.java:1299)
at org.eclipse.dstore.core.model.DataStore.createObject(DataStore.java:1269)
at org.eclipse.dstore.core.model.DataStore.createObject(DataStore.java:1234)
at org.eclipse.rse.internal.dstore.universal.miners.filesystem.UniversalDownloadHandler.handleDownload(UniversalDownloadHandler.java:275)
at org.eclipse.rse.internal.dstore.universal.miners.filesystem.UniversalDownloadHandler.run(UniversalDownloadHandler.java:67)
2013-06-28 15:33:05
Full thread dump Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode):
"Thread-10" prio=10 tid=0x00002aaab4250800 nid=0x22f1 in Object.wait() [0x0000000043527000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000e001a440> (a org.eclipse.ptp.internal.remote.rse.core.miners.SpawnerMiner)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.dstore.core.model.Handler.waitForInput(Handler.java:147)
- locked <0x00000000e001a440> (a org.eclipse.ptp.internal.remote.rse.core.miners.SpawnerMiner)
at org.eclipse.dstore.core.miners.Miner.waitForInput(Miner.java:688)
- locked <0x00000000e001a440> (a org.eclipse.ptp.internal.remote.rse.core.miners.SpawnerMiner)
at org.eclipse.dstore.core.model.Handler.run(Handler.java:133)
"Thread-9" prio=10 tid=0x00002aaab41ce000 nid=0x22f0 in Object.wait() [0x0000000043326000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000e004c128> (a org.eclipse.ptp.internal.rdt.core.miners.CDTMiner)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.dstore.core.model.Handler.waitForInput(Handler.java:147)
- locked <0x00000000e004c128> (a org.eclipse.ptp.internal.rdt.core.miners.CDTMiner)
at org.eclipse.dstore.core.miners.Miner.waitForInput(Miner.java:688)
- locked <0x00000000e004c128> (a org.eclipse.ptp.internal.rdt.core.miners.CDTMiner)
at org.eclipse.dstore.core.model.Handler.run(Handler.java:133)
"Thread-8" prio=10 tid=0x00002aaab41b8800 nid=0x22ef in Object.wait() [0x0000000043125000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000e00549d8> (a org.eclipse.rse.dstore.universal.miners.CommandMiner)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.dstore.core.model.Handler.waitForInput(Handler.java:147)
- locked <0x00000000e00549d8> (a org.eclipse.rse.dstore.universal.miners.CommandMiner)
at org.eclipse.dstore.core.miners.Miner.waitForInput(Miner.java:688)
- locked <0x00000000e00549d8> (a org.eclipse.rse.dstore.universal.miners.CommandMiner)
at org.eclipse.dstore.core.model.Handler.run(Handler.java:133)
"Thread-7" prio=10 tid=0x00002aaab41ab800 nid=0x22ee in Object.wait() [0x0000000042f24000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000e0060550> (a org.eclipse.rse.dstore.universal.miners.EnvironmentMiner)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.dstore.core.model.Handler.waitForInput(Handler.java:147)
- locked <0x00000000e0060550> (a org.eclipse.rse.dstore.universal.miners.EnvironmentMiner)
at org.eclipse.dstore.core.miners.Miner.waitForInput(Miner.java:688)
- locked <0x00000000e0060550> (a org.eclipse.rse.dstore.universal.miners.EnvironmentMiner)
at org.eclipse.dstore.core.model.Handler.run(Handler.java:133)
"process reaper" daemon prio=10 tid=0x00002aaab41aa000 nid=0x22ec waiting on condition [0x0000000040aa6000]
java.lang.Thread.State: TIMED_WAITING (parking)
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <0x00000000e00607c8> (a java.util.concurrent.SynchronousQueue$TransferStack)
at java.util.concurrent.locks.LockSupport.parkNanos(Unknown Source)
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(Unknown Source)
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(Unknown Source)
at java.util.concurrent.SynchronousQueue.poll(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.getTask(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
"Thread-6" prio=10 tid=0x00002aaab418a000 nid=0x22e8 in Object.wait() [0x0000000042d23000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000e0060bf0> (a org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.dstore.core.model.Handler.waitForInput(Handler.java:147)
- locked <0x00000000e0060bf0> (a org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner)
at org.eclipse.dstore.core.miners.Miner.waitForInput(Miner.java:688)
- locked <0x00000000e0060bf0> (a org.eclipse.rse.dstore.universal.miners.UniversalProcessMiner)
at org.eclipse.dstore.core.model.Handler.run(Handler.java:133)
"Thread-5" prio=10 tid=0x00002aaab4198000 nid=0x22e7 in Object.wait() [0x0000000042b22000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000e006e398> (a org.eclipse.rse.dstore.universal.miners.UniversalFileSystemMiner)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.dstore.core.model.Handler.waitForInput(Handler.java:147)
- locked <0x00000000e006e398> (a org.eclipse.rse.dstore.universal.miners.UniversalFileSystemMiner)
at org.eclipse.dstore.core.miners.Miner.waitForInput(Miner.java:688)
- locked <0x00000000e006e398> (a org.eclipse.rse.dstore.universal.miners.UniversalFileSystemMiner)
at org.eclipse.dstore.core.model.Handler.run(Handler.java:133)
"Thread-4" prio=10 tid=0x000000000d5a6800 nid=0x22e6 waiting on condition [0x0000000042921000]
java.lang.Thread.State: TIMED_WAITING (sleeping)
at java.lang.Thread.sleep(Native Method)
at org.eclipse.dstore.internal.core.util.DataElementRemover.run(DataElementRemover.java:234)
"DestroyJavaVM" prio=10 tid=0x00002aaab416e800 nid=0x22d5 waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"DStore CommandHandlerThread-0" prio=10 tid=0x00002aaab4169000 nid=0x22e4 in Object.wait() [0x0000000041505000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000e00d1e70> (a org.eclipse.dstore.internal.core.server.ServerCommandHandler)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.dstore.core.model.Handler.waitForInput(Handler.java:147)
- locked <0x00000000e00d1e70> (a org.eclipse.dstore.internal.core.server.ServerCommandHandler)
at org.eclipse.dstore.core.model.CommandHandler.waitForInput(CommandHandler.java:292)
- locked <0x00000000e00d1e70> (a org.eclipse.dstore.internal.core.server.ServerCommandHandler)
at org.eclipse.dstore.core.model.Handler.run(Handler.java:133)
"DStore UpdateHandlerThread-1" prio=10 tid=0x00002aaab416d000 nid=0x22e3 in Object.wait() [0x0000000041304000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000e00d62b8> (a org.eclipse.dstore.internal.core.server.ServerUpdateHandler)
at java.lang.Object.wait(Object.java:503)
at org.eclipse.dstore.core.model.Handler.waitForInput(Handler.java:147)
- locked <0x00000000e00d62b8> (a org.eclipse.dstore.internal.core.server.ServerUpdateHandler)
at org.eclipse.dstore.core.model.UpdateHandler.waitForInput(UpdateHandler.java:215)
- locked <0x00000000e00d62b8> (a org.eclipse.dstore.internal.core.server.ServerUpdateHandler)
at org.eclipse.dstore.internal.core.server.ServerUpdateHandler.waitForInput(ServerUpdateHandler.java:470)
- locked <0x00000000e00d62b8> (a org.eclipse.dstore.internal.core.server.ServerUpdateHandler)
at org.eclipse.dstore.core.model.Handler.run(Handler.java:133)
"DStore ReceiverThread-2" prio=10 tid=0x00002aaab416c800 nid=0x22e2 runnable [0x0000000040a7e000]
java.lang.Thread.State: RUNNABLE
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(Unknown Source)
at java.net.SocketInputStream.read(Unknown Source)
at java.io.BufferedInputStream.fill(Unknown Source)
at java.io.BufferedInputStream.read(Unknown Source)
- locked <0x00000000e00d7678> (a java.io.BufferedInputStream)
at org.eclipse.dstore.internal.core.util.XMLparser.readLine(XMLparser.java:394)
at org.eclipse.dstore.internal.core.util.XMLparser.parseDocument(XMLparser.java:569)
at org.eclipse.dstore.core.util.Receiver.handleInput(Receiver.java:155)
at org.eclipse.dstore.core.util.Receiver.run(Receiver.java:127)
"Service Thread" daemon prio=10 tid=0x000000000d33c800 nid=0x22e0 runnable [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread1" daemon prio=10 tid=0x000000000d33a800 nid=0x22df waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"C2 CompilerThread0" daemon prio=10 tid=0x000000000d32e800 nid=0x22de waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Signal Dispatcher" daemon prio=10 tid=0x000000000d32c800 nid=0x22dd waiting on condition [0x0000000000000000]
java.lang.Thread.State: RUNNABLE
"Finalizer" daemon prio=10 tid=0x000000000d2dd800 nid=0x22dc in Object.wait() [0x000000004231e000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000e0010948> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
- locked <0x00000000e0010948> (a java.lang.ref.ReferenceQueue$Lock)
at java.lang.ref.ReferenceQueue.remove(Unknown Source)
at java.lang.ref.Finalizer$FinalizerThread.run(Unknown Source)
"Reference Handler" daemon prio=10 tid=0x000000000d2db800 nid=0x22db in Object.wait() [0x000000004211d000]
java.lang.Thread.State: WAITING (on object monitor)
at java.lang.Object.wait(Native Method)
- waiting on <0x00000000e00106c0> (a java.lang.ref.Reference$Lock)
at java.lang.Object.wait(Object.java:503)
at java.lang.ref.Reference$ReferenceHandler.run(Unknown Source)
- locked <0x00000000e00106c0> (a java.lang.ref.Reference$Lock)
"VM Thread" prio=10 tid=0x000000000d2d4000 nid=0x22da runnable
"GC task thread#0 (ParallelGC)" prio=10 tid=0x000000000d259800 nid=0x22d6 runnable
"GC task thread#1 (ParallelGC)" prio=10 tid=0x000000000d25b000 nid=0x22d7 runnable
"GC task thread#2 (ParallelGC)" prio=10 tid=0x000000000d25d000 nid=0x22d8 runnable
"GC task thread#3 (ParallelGC)" prio=10 tid=0x000000000d25f000 nid=0x22d9 runnable
"VM Periodic Task Thread" prio=10 tid=0x000000000d347000 nid=0x22e1 waiting on condition
JNI global references: 139
Heap
PSYoungGen total 167296K, used 23168K [0x00000000f5560000, 0x0000000100000000, 0x0000000100000000)
eden space 160128K, 14% used [0x00000000f5560000,0x00000000f6c00028,0x00000000ff1c0000)
from space 7168K, 0% used [0x00000000ff900000,0x00000000ff900000,0x0000000100000000)
to space 7296K, 0% used [0x00000000ff1c0000,0x00000000ff1c0000,0x00000000ff8e0000)
ParOldGen total 349568K, used 9787K [0x00000000e0000000, 0x00000000f5560000, 0x00000000f5560000)
object space 349568K, 2% used [0x00000000e0000000,0x00000000e098ef98,0x00000000f5560000)
PSPermGen total 21248K, used 9066K [0x00000000dae00000, 0x00000000dc2c0000, 0x00000000e0000000)
object space 21248K, 42% used [0x00000000dae00000,0x00000000db6dab08,0x00000000dc2c0000)
From: ptp-user-bounces@xxxxxxxxxxx [mailto:ptp-user-bounces@xxxxxxxxxxx] On Behalf Of Chris Recoskie
Sent: Wednesday, June 19, 2013 11:08 PM
To: PTP User list
Cc: PTP User list; ptp-user-bounces@xxxxxxxxxxx
Subject: Re: [ptp-user] Issue with remote C++ development using PTP
If you send a kill -6 to the server, it should generate a javacore file that will give you a full stack trace of where it is hung.
===========================
Chris Recoskie
Team Lead, IBM CDT and RDT
IBM Toronto
Greg Watson ---06/19/2013 08:39:04 AM---I did a quick search of RDT bugs and couldn't find any that matched this. I would suggest opening a
From: Greg Watson <g.watson@xxxxxxxxxxxx>
To: PTP User list <ptp-user@xxxxxxxxxxx>
Date: 06/19/2013 08:39 AM
Subject: Re: [ptp-user] Issue with remote C++ development using PTP
Sent by: ptp-user-bounces@xxxxxxxxxxx
I did a quick search of RDT bugs and couldn't find any that matched this. I would suggest opening a bug as it looks like something is not implemented correctly.
Regards,
Greg
On Jun 18, 2013, at 11:45 PM, LAVERGNE Julien <julien.lavergne@xxxxxxxxx> wrote:
Hi,
It has been few days I am trying to get my C++ environment working and I am facing some issues.
Basically, I am trying to develop my Linux project on Windows. I would like the indexer to parse my includes on the Linux machine to get auto-completion in Eclipse on Windows.
I also would like to launch a build remotely. Later probably remote debugging as well.
Here is my setup:
Windows 7 development machine:
Java 1.7u25
Eclipse Juno 4.2.2
CDT 8.1.2
PTP 6.0.5
RSE 3.5.0
Linux machine:
Java 1.7u25
Linux Red Hat 5.8 x86_64, 2.6.18-308.el5
RDT server 6.0.5
So as you can see, I would like to use RSE over Remote tools because from what I understood, it is recommended.
After declaring my Remote System and starting rdt server and the Linux machine, I am able to browse remote file.
I am also able to create a Remote C++ Project, choosing RSE as provider and targeting a remote directory. I choose Remote Linux Gcc Tool Chain as my remote build service.
Because my remote folder is not empty, the first thing I am doing after creating my project is a Refresh. The refresh is ok.
Then the C/C++ Indexer starts and my issues comes with it.
My Indexing service is RSE C/C++ Indexing Service. The indexing hang in the middle of the process after an exception has been raised on the rdt server side:
Exception in thread "Thread-1597" java.lang.NullPointerException
at org.eclipse.dstore.core.model.DataElement.initialize(DataElement.java:1606)
at org.eclipse.dstore.core.model.DataElement.initialize(DataElement.java:1553)
at org.eclipse.dstore.core.model.DataElement.reInit(DataElement.java:262)
at org.eclipse.dstore.core.model.DataStore.createObject(DataStore.java:1369)
at org.eclipse.dstore.core.model.DataStore.createObject(DataStore.java:1299)
at org.eclipse.dstore.core.model.DataStore.createObject(DataStore.java:1269)
at org.eclipse.dstore.core.model.DataStore.createObject(DataStore.java:1234)
at org.eclipse.rse.internal.dstore.universal.miners.filesystem.UniversalDownloadHandler.handleDownload(UniversalDownloadHandler.java:275)
at org.eclipse.rse.internal.dstore.universal.miners.filesystem.UniversalDownloadHandler.run(UniversalDownloadHandler.java:67)
After this exception, the rdt server become unresponsive and nothing can be done until I kill Eclipse process and restart rdt-server.
If I take a look at my .eclipse/RSE/rsecomm.log on my Linux machine, I have a nice 50Mb file showing a lot of unresolved inclusion (that’s not the issue for now). At some point, it is reporting a different error:
INFO Thread-5: C_QUERY_GET_REMOTE_OBJECT:DataElement
{
Type: Indexer: Unresolved inclusion: "x.h" in file: /a/b/c.cpp:21
Name: /a
Value: /a
ID: 1125774855
Source: /a
Depth: 1
DataStore: server_host
}
---------------------------------------------------------------
ERROR UniversalFileSystemMiner: Invalid query type to handleQueryGetRemoteObject
My eclipse workspace log file in .metadata/.log didn’t report anything special.
I tried to deactivate the C/C++ Indexer. After that, I able to launch my remote build. The build is working file, except that at the end of the build, the NullPointerException comes again on rdt-server side and rsecomm.log start logging the same kind of message as before.
Do you have any idea of what could be the cause of such an issue ? For now, as soon as I try to do something, it causes the rdt-server to crash and force me to restart it and kill my eclipse process (because eclipse wont exit because it is unable to save the project).
Do you know a way to find the root cause of this issue, by enabling a higher level of logging for example ?
Regards,
Julien
*************************************************************************
This message and any attachments (the "message") are confidential, intended
solely for the addressee(s), and may contain legally privileged information.
Any unauthorised use or dissemination is prohibited. E-mails are susceptible
to alteration. Neither SOCIETE GENERALE nor any of its subsidiaries or
affiliates shall be liable for the message if altered, changed or falsified.
Please visit http://swapdisclosure.sgcib.com for important information with
respect to derivative products.
************************************************************************* _______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user
_______________________________________________
ptp-user mailing list
ptp-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ptp-user