Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipse-dev] Crash when using recent versions of SWT on Linux
  • From: "Rogers, Will (DLSLtd,RAL,LSCI)" <will.rogers@xxxxxxxxxxxxx>
  • Date: Thu, 22 Oct 2020 14:46:25 -0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=diamond.ac.uk; dmarc=pass action=none header.from=diamond.ac.uk; dkim=pass header.d=diamond.ac.uk; 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-SenderADCheck; bh=tFtHTs1FBzm5N9H2FrQFHUtboKUJqVtBK+AiPBRrzkA=; b=Q4KxsehmykhOsGpvxljlSvDCAOwTulAOcpX6CZU+/kfBSQtGe/B35nEfTh4jSSB//PoBldoin84lNcO3OHBSTjsNlGp2WSR3RW7vDwcB7M/NsELUpgQUZ7PMzudTjT0XX8pr2ypvRrtuBzMm0nz46GCh9GpkxR3OT9R+mAcCSw0yO48MzOkI7XDdGFpzneqCqzxfWAybY1B6qgxxkVPnzfiR8bga3uKeeo1T+RZbYtSRxEJf7W28aJTH88mGICPMczK7AeaJtKx5OcmF/7EMLCINg93MDRMJ5hGoAwX/EmxkqMUNZ9Vrl+eKIHwPSFWggH96eu9kWNKn5mJtYS6Dsg==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JTDQuYPmaQV3ZzJJ+OrDAE1uW2NxhFA8h2y7SfbvWt4pymm2UU9Iapl2GPKQamAROY7FRKwAkSFSCQZ5UovQ0M4Uslc5+S/y/rCo/Vf8d5gOacarDjnMr7O4gqewxTnybB/Sw2MYlSCanvUL8KC1rMSD0QzFcsusJbEfsx8aSo5EpDc8yejzF3Gw7Lh/C9oaZ3+VMhmpgPOfDXIkrNQzmokfHHWc0O+P9fZE8Ruq2fW75psA+wXhlXUltgw7MicRBuRdF01wU1T6ba5DWNZ7pymtcw0d9K1Txkr7gJ2OFo3CWWiDNJNDXWuXMpKEN3fGXRModQZCu3r1S6uqqIHPIw==
  • Delivered-to: eclipse-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/eclipse-dev>
  • List-help: <mailto:eclipse-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/eclipse-dev>, <mailto:eclipse-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/eclipse-dev>, <mailto:eclipse-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWqIDyu0ORDn/gukGpKFGfWv+NHQ==
  • Thread-topic: Crash when using recent versions of SWT on Linux

Hi,

I have an Eclipse RCP application that has been around for several years. When updating from Eclipse 2018-12 to 2020-12 I suddenly get a complete crash on Linux (GTK3) when opening a particular editor.

Debugging suggests that I get problems when either creating a new SWT Image object or using a GC to draw on that image when not on the main UI thread. redraw() is always called on the UI thread. I can't recreate this in simple SWT applications.

When doing this I get a variety of problems including 1) complete crashes with the below message and 2) deadlocks, possibly causing my entire Gnome session to lock up.

Has something changed about SWT that causes this problem? Or were we lucky not to see it before?

Thanks in advance,
Will Rogers

---

[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
java: xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.

 

-- 

This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail.
Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd.
Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message.
Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom
 


Back to the top