Skip to main content

[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: Thu, 5 May 2022 16:33:30 +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=oBjO6N5ckBmz7pe5Ckk42SAZwtDzaNd5tzWWL7fIOIE=; b=emokoxnXfq7mdFzYlMn+pRFKRxZzd2dAF/9p0/XVu2bKG3e1TckdRFSAa3TKE6OzWRj2rzhXHj1EBxUE7jI74t2wmwcpamEkdG+FwSEAimKsbGdWYAgafRai8E9MN0p+NNCKvHcN29EiEUIuSU5mDUAa7qUzzi2fYfSwI1aq4LKCjlnb7M3ZxTTS6t35K5m0rgPZSjBxNkKvToM6xNtpa+XV8ZiVofHjif6UiGoHyXaE0HEGmG14KRWNcBFQ3+g5XJSvInhjR5ith1qOvlSZW6xUIaplod84c3bpKHc0cARnw4t+E6GrpsK2L7bOBddQaWxg2I0DyNBrvb1LGXNV2g==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dV7Md+IrDxpNapfMhhwfI6+QIWRcvKubMj4RJWqni2h0FqcCwMZvuBAZjTMj01WHceAunwDLrZrgzAMFKLfMdOx+9e3qwlznmp7FHowzroNUQ3xWrTByD4bOxRl7vUwqsPQQ2bSxLdlzDUN1AwUUnALRkkKhZMQz1THAGK4Y5mzmSTYpick2HjgWV18E5+i3IwcBRWkwwFi+EyiA79AuNxJ4S2BpEj/BA05Zz4R+dqQFBp0YOHkumnJsbaaQuxJu/N0ckg++wkTRMureD54SSwvKxsCgupK4bHs9EmkYtt+Jev+LvXXCM3gMf4CXlblNGx2ctnHqRWm5tnFOa/tMGA==
  • 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: cdddcac0-17a8-4c28-aab2-937fe1f3d2a5
  • 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-05T16:33:28Z
  • 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-05T16:33:28Z; 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=da531773-b1ce-410d-b9d3-c3be094a136d; MSIP_Label_23add6c0-cfdb-4bb9-b90f-bf23b83aa6c0_ContentBits=2
  • Thread-index: AQHYX99+AjMA6p9m60OMlnoTREXfya0PBxSQgAAPuYCAAWPqEA==
  • Thread-topic: [cdt-dev] Weird exception in Spawner

Hello Martin,

Yes, I was talking about CommandLauncher#fProcess on line 267.
Since you have an environment where you see the issue, maybe you can simply add a e.printStackTrace(); and see if it's the reason for trying to fetch the status too early?

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 21:15
To: CDT General developers list. <cdt-dev@xxxxxxxxxxx>
Subject: Re: [cdt-dev] Weird exception in Spawner

Hi Torbjörn,

Am Mittwoch, 4. Mai 2022, 20:33:46 CEST schrieb Torbjorn SVENSSON via cdt-dev:
> 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 talk of CommandLauncher#fProcess (in line 267) here?

> 
> 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).

Happens on workspace startup. Will try to compose a replicator.

Regards,
	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


Back to the top