From nobody Wed Jun 01 17:29:35 2022 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id C88391B5F4D0 for ; Wed, 1 Jun 2022 17:29:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LCx3N4DNqz3s7k for ; Wed, 1 Jun 2022 17:29:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6DE25244AF for ; Wed, 1 Jun 2022 17:29:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 251HTa6O045663 for ; Wed, 1 Jun 2022 17:29:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 251HTa7Z045662 for ports-bugs@FreeBSD.org; Wed, 1 Jun 2022 17:29:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 264311] java/eclipse Date: Wed, 01 Jun 2022 17:29:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: freebsd.68fba@nospam.spacesurfer.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1654104576; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KR9baAhcCFbIGUkds41Ye8fnjDLgEr2KXmiW9FjPKVs=; b=vUWHJ1mLs55hUTu7kQUYr0FMwIzkMiNYwRh9FI1wbLxSE3kFZTHVt5imu8XgUGkayjpt65 K6hgiOR7lobD8Gl+bllHaX5hqODvAa+jqcwiiovbhb0BQU71Ud9cXuCgoqOA54XArTD/6C SHLwLzIzLDhhs14G9LusD4pA8L8nqVgi6gRS9K7JHKqunkkIwSYGrVlQ8PpcTGXuC63B7e xFxLkIeeCcd2ga4SOt4z0tYu3EFulI/T7ieNUfUo+pNS0q6oKtTCuocJsjwttFIRZI/K/4 6Vrj7s/Nr0w+wqREOU2OdxeVCOyXFqRknP5U3WE2Ika8YbssJdqCeCMT1Tr3fA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1654104576; a=rsa-sha256; cv=none; b=MQw1gg0/L2w3k/lXDiGyuGMKRod0Z3KRBOpqxFwxnxzW0sRBh2ODOkLSK6Wse+v6Z88fHi NemOzmcfh4wUWV4hZwWZbEDihYasLnBoj9HbAJ7HLe1bncMH0D7AeMy6XC2eaZPvZTRJta aq5SJNqrrtlGiJ09msv1YJZuWSx116BbkQva8AfnSuqJuPoITNxStaeCKb1baecRuMucQV n2BX5688gq+UZc05qNKme3qA11DQeMFvLP83K0HIaviamVgqQprd1Sc1haKaCEBET5EBiP 1xWkDC/+qS26663fcmJo75JXw5/t5ijeGndUkAjW0UrTtc39Rj2UkxMQ+WCwFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D264311 --- Comment #9 from Patrick Mackinlay --- After a lot of digging I managed to figure out what is the cause of the problem. If you simply create the directories /tmp/SWT-GDBusServer /tmp/SWT-WebExtensionGDBusServer eclipse will run fine! This is all down to the way eclipse interacts with webkit. When eclipse nee= ds to run some javascript (to generate help for autocomplete or for the tip of= the day ...) it makes an asynchronous webkit call. The result of this call is returned to eclipse as a native byte array whose address is stored in a java long via a callback (WebKitExtension#initializeWebExtensions_callback). Java then makes JNI call to convert the native address into a java String vai th= is call: String clientAddressJava =3D Converter.cCharPtrToJavaString(clientAddress, = false) It is this JNI call that causes the core dump, because the value of clientAddress is invalid due to an error in the callback process. The callb= ack process is incredibly complex and involves communication via the gnome DBUS= . If the DBUS server cannot be started then there will be an error resulting in = the core dump. The DBUS server and client sockets are pipes created in the two missing directories! No directories =3D core dump! Why is this not happening in eclipse 4.16? This is because prior to the fix= for the cosmetic eclipse bug 163641 the service and client pipes were just crea= ted in /tmp See https://bugs.eclipse.org/bugs/show_bug.cgi?id=3D562443 With regards to fixing this there must be some flags that can be passed to = the gnome/gtk library call that result in the directories being automically created. Or you could just revert the patch for bug 562443 --=20 You are receiving this mail because: You are the assignee for the bug.=