[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [cdt-dev] Weird exception in Spawner
|
- From: Torbjorn SVENSSON <torbjorn.svensson@xxxxxx>
- Date: Wed, 4 May 2022 18:33:46 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=st.com; dmarc=pass action=none header.from=st.com; dkim=pass header.d=st.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=o3ltv+YKN9N1kOvAiZZ5ZiD+KLLAvXcVeHLomosd8Oo=; b=Th8dqZ+Zse8TVnIBpBvw/qZt53/lto5IQYCTzq2m0jAMsuHrpC7s7BVIE02h+8QWDMqIbOR/h4zi7g7aqIb5KjdmTT4I4goF05WozbDq/dR+Jo6IFEYiskH84oAm3Nw4J44e29UHpFJg9S5vJvJHd9Lyy2dt1dLGLXTdT2RD26k2lLLTNtp33pLWoQjUfC+LB01EGgk6+MtW45wHszhzALUdxwa4epmgWbGu7wEQ6kiU6gO6aQpXhjNukgN8zJq4ma+pB0zG6E6pNIagkbwTWZvszjM6JguCKCYZw00F085BcQwULl8M0jWPi0vCMc87JueB6E6ONmYijY4YE9JXzw==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jfOySFCRuENVM0W0T2A6QaClPtoTf+DaHcHsQB5xtpBSmpjAt6C/82ED2sorRLULUBWgWpeYsd0mfZz6O5xUpPVNePYMETMC0SsS3GMaESPsld6O7emNaCkrOk5TyrLNvJOpnyrIjQisF2hT0ztGOZ2J2HVFY8E6egrwEhlkSiN+vKBsRj4JigXlSLb+uA2voS1j/k8VnogV6pOBVJrpZlBbIzlbq13RU3WG14fqQ/wR1Xnzbj2EoxXpvPNhrF9qqBLCod5ag7V6iB88dZK9RSyTZyXzIkDr9sUtMbH+jM7cFGaIUmpzgVeaJE572EQeUHNTX6FmWgM/VzyGKHpnLg==
- Delivered-to: cdt-dev@xxxxxxxxxxx
- List-archive: <https://www.eclipse.org/mailman/private/cdt-dev/>
- List-help: <mailto:cdt-dev-request@eclipse.org?subject=help>
- List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=subscribe>
- List-unsubscribe: <https://www.eclipse.org/mailman/options/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=unsubscribe>
- Msip_label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_actionid: 436810c2-1081-4e4f-b42c-482f1aae7660
- Msip_label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_contentbits: 0
- Msip_label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_enabled: true
- Msip_label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_method: Standard
- Msip_label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_name: 23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0
- Msip_label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_setdate: 2022-05-04T18:33:44Z
- Msip_label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_siteid: 75e027c9-20d5-47d5-b82f-77d7cd041e8f
- Msip_labels: MSIP_Label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_Enabled=true; MSIP_Label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_SetDate=2022-05-04T18:33:44Z; MSIP_Label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_Method=Standard; MSIP_Label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_Name=23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0; MSIP_Label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_SiteId=75e027c9-20d5-47d5-b82f-77d7cd041e8f; MSIP_Label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_ActionId=baec1a29-200c-49ee-abb2-d3128369709d; MSIP_Label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_ContentBits=2
- Thread-index: AQHYX99+AjMA6p9m60OMlnoTREXfya0PBxSQ
- Thread-topic: [cdt-dev] Weird exception in Spawner
Hello Martin,
Just took a quick look at this and from what I can tell, the only path that would give this behavior is if fProcess.waitFor() got interrupted in CommandLauncher as that is ignored.
Do you have a simple replicator for the issue or does it only happen from time to time?
(I do not have a CMake environment handy at the moment).
Kind regards,
Torbjörn
ST Restricted
-----Original Message-----
From: cdt-dev <cdt-dev-bounces@xxxxxxxxxxx> On Behalf Of Martin Weber
Sent: den 4 maj 2022 19:51
To: cdt-dev@xxxxxxxxxxx
Subject: [cdt-dev] Weird exception in Spawner
java.lang.IllegalThreadStateException: Process not Terminated
at org.eclipse.cdt.utils.spawner.Spawner.exitValue(Spawner.java:
321)
at
org.eclipse.cdt.jsoncdb.core.internal.builtins.CompilerBuiltinsDetector.detectBuiltins(CompilerBuiltinsDetector.java:
134)
at
org.eclipse.cdt.jsoncdb.core.CompileCommandsJsonParser.detectBuiltins(CompileCommandsJsonParser.java:
290)
at
org.eclipse.cdt.jsoncdb.core.CompileCommandsJsonParser.processJsonFile(CompileCommandsJsonParser.java:
193)
at
org.eclipse.cdt.jsoncdb.core.CompileCommandsJsonParser.parse(CompileCommandsJsonParser.java:
455)
at
de.marw.cmake4eclipse.mbs.internal.JsonCompilationDatabaseParser.parseAndSetEntries(JsonCompilationDatabaseParser.java:
255)
at
de.marw.cmake4eclipse.mbs.internal.JsonCompilationDatabaseParser$1.runInWorkspace(JsonCompilationDatabaseParser.java:
337)
at
org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:
42)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
AFAICS, any method in Spawner that sets fState is synchronized.
Any ideas?
Martin
--
Cd wrttn wtht vwls s mch trsr.
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cdt-dev