From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E9=BB=84=E4=BA=AC?= Newsgroups: gmane.emacs.bugs Subject: bug#75194: Compilation of latest `scratch/igc' fails with `xwidget' on MacOS Date: Tue, 31 Dec 2024 08:56:26 +0800 Message-ID: References: <87wmfgpxkh.fsf@protonmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ba38fb062a866606" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11681"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75194@debbugs.gnu.org To: Pip Cet Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 31 01:58:35 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tSQah-0002rd-0S for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Dec 2024 01:58:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tSQaM-0005rf-Ur; Mon, 30 Dec 2024 19:58:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tSQaB-0005rJ-TN for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 19:58:07 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tSQaA-0006B7-GU for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 19:58:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=Date:From:In-Reply-To:References:MIME-Version:To:Subject; bh=JRqMbeEZTd0hEhyBxSnAOTw/tox6aKQabtcHjzfPF6M=; b=vdjmuP/kmZ5jhHAgQ+K8hKjlqbPhfqBCrbYXD9bHCka06h/pn9+SiPYSFIQBEb4K821NYQDSrdmG2uyoqOLh51p8k75QplN843DfGQ6QWPQj7wesaIQ2ASdqQ9YzMUkzT9cU6ChWFa+r5qLR+Lm4NYvTmehl9AZNuXMInfRpOl7MPjPSK1/eDC/Sf2unyX8dbj3Lm2Vs8wP640Mhk23eAhTS9HLxtnrigo8KQjTcXbYUX48AilBDERgOB4IDfS6PaoGMu21YGQmeD2fonNTRpYcJn5SyUwCRIO6SnbtvAYKpms2Tkqk2g28sEwBt2VNW62NEtDptYaz1U1iHRjcXDg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tSQaA-0001b8-Ae for bug-gnu-emacs@gnu.org; Mon, 30 Dec 2024 19:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E9=BB=84=E4=BA=AC?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Dec 2024 00:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75194 X-GNU-PR-Package: emacs Original-Received: via spool by 75194-submit@debbugs.gnu.org id=B75194.17356066676113 (code B ref 75194); Tue, 31 Dec 2024 00:58:02 +0000 Original-Received: (at 75194) by debbugs.gnu.org; 31 Dec 2024 00:57:47 +0000 Original-Received: from localhost ([127.0.0.1]:60530 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSQZu-0001aX-Db for submit@debbugs.gnu.org; Mon, 30 Dec 2024 19:57:46 -0500 Original-Received: from mail-pj1-f68.google.com ([209.85.216.68]:53389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tSQZr-0001a6-Hn for 75194@debbugs.gnu.org; Mon, 30 Dec 2024 19:57:44 -0500 Original-Received: by mail-pj1-f68.google.com with SMTP id 98e67ed59e1d1-2ef28f07dbaso10003855a91.2 for <75194@debbugs.gnu.org>; Mon, 30 Dec 2024 16:57:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1735606598; x=1736211398; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=JRqMbeEZTd0hEhyBxSnAOTw/tox6aKQabtcHjzfPF6M=; b=QoBDzxJTHVkCJE2ePee/9LdCBtAgV/2ctYjkLV+AAHTbSe4O0VBl5K0szzV4FyFENc sTxnbx8vxzNLdAQu341CGWUin37PtlPB0SZJizqY9j7qiIudCxz23OHx914J0KDQvaak PNHIJQBcmPywn9OLkiPlB2XmGKnkj3eewIdKNG3LoljVJJKTFKuGZCxyYkKDf28UjUgb Sz2Nw8IACpsBwr0l75+6/Tf0vtvpVH59IGACLKS8QqCR4LOOvhd9Mb1Jv20CxAyc+RqK qauqpSI11WqlVcI+zyaHw4SvaooUPgxALWAYguXvhJHVfxTohREzLxwR/xG/Ypq1IpeT GAoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1735606598; x=1736211398; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=JRqMbeEZTd0hEhyBxSnAOTw/tox6aKQabtcHjzfPF6M=; b=GyWJDiKXaxylSMT0MovLoYKPhOc/t8zzDWnhGcPPlag/J4OtFcrB4UGACM/Yh0/SQG L6gMkChg3RSN4jwa5b+tEQx/GdQ720Ylw/ZiwCqHFwhnkii1AcYzrqm+G2BUyEmBCSU8 5wCTbNkNyamG9FoL2hGkRQzX4nWbrEeE4Vl/zD+ogQhEkNJPu1WZqtv90PH4wD1X90CT xQ/CGsUxCTEJ7OgRwKk9cF2eQVMu5Z6DJCDl7FdOAgSbyvD1GN5vMQ6Trgbl9nmQUq8W lW4PSkvvJeGTv98C7PaSmmNrnOkSgEUlO4uAmSUDXrPsVKWcukwqzUdNTapwJYuJEo4K KD5Q== X-Gm-Message-State: AOJu0YzydruatnuKzhEjbJph+n+tPPAJzfM3vSkmaR42aFZLHoaK73cx WezunaGNzEWu2ePrEdKvaxJxpMjPvX5OuNgpwY21YIhNBM7zuQ5BYIh+0xjKQOJt62QyRoQU934 jVYwo7zR+ICSZkVk1fK79oM5dIdQ= X-Gm-Gg: ASbGncvasn/tMEA0fPv6LowZhoitt5yswRkaVhTfXQCoHZR50QCCV5YMGn30LBIpSlu WHFvZCobOoppUYyjp5A5shNozC3vR2+iTafG6Ptw= X-Google-Smtp-Source: AGHT+IE4HAlh47l+Ef9rJHexJSCQ16RRgnKopU4d4T+nTUK2tmi+s6M0KxkNRZJiA+1zcn+u4iA0+8nXzXrgJvr8Kdo= X-Received: by 2002:a17:90b:2b87:b0:2ee:f076:20fa with SMTP id 98e67ed59e1d1-2f452eb11f0mr52837723a91.25.1735606597725; Mon, 30 Dec 2024 16:56:37 -0800 (PST) In-Reply-To: <87wmfgpxkh.fsf@protonmail.com> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:298032 Archived-At: --000000000000ba38fb062a866606 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable > I'd be very interested to hear whether this survives some GC cycles (M-x > igc-stats; then hit "c" a few times) when xwidgets are in use. If it > does, we can close this bug. Thanks for the quick fix! Emacs built successfully, and after manually cycling GC while rendering web pages in xwidget, everything appears to work correctly without crashes. I believe this resolves the issue, and the bug can be considered fixed and closed. Let me know if any further verification is needed. Pip Cet =E6=96=BC 2024=E5=B9=B412=E6=9C=8831=E6=97= =A5 =E9=80=B1=E4=BA=8C =E4=B8=8A=E5=8D=887:21=E5=AF=AB=E9=81=93=EF=BC=9A > Pip Cet writes: > > > =E9=BB=84=E4=BA=AC writes: > > > >> Hi, > >> > >> I'm encountering a compile-time error when building the latest Emacs > igc branch with the `--with-mps=3Dyes' and `--with-xwidget' options: > > > > The good news it's easy to fix that particular error (add ".header"); > > the bad news is that no one reported this before, so you'd be the first > > to test this combination. > > > It's probably best to look over the xwidgets code to make sure it > > doesn't have any obvious problems before testing this combination. > > I didn't read all of the file, but I checked the basic stuff, and it > seems to be fine. It also built and didn't immediately crash Emacs, but > I don't think I know how to use xwidgets (I also had to fake a pkgconfig > file for some reason, and try three distros to get it to work at > all...) > > No guarantees, but I pushed something. I had to copy out of a docker > container so hopefully made the same changes on scratch/igc. > > I'd be very interested to hear whether this survives some GC cycles (M-x > igc-stats; then hit "c" a few times) when xwidgets are in use. If it > does, we can close this bug. > > Pip > > --000000000000ba38fb062a866606 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
> I'd be very interested to hear whether this survi= ves some GC cycles (M-x
> igc-stats; then hit "c" a few tim= es) when xwidgets are in use.=C2=A0 If it
> does, we can close this b= ug.

Thanks for the quick fix!

E= macs built successfully, and after manually cycling GC while rendering web<= /div>
pages in xwidget, everything appears to work correctly without cr= ashes.

I believe this resolves the issue, and the = bug can be considered fixed and
closed.=C2=A0 Let me know if any = further verification is needed.

Pip Cet <pipcet@protonmail.com> =E6=96= =BC 2024=E5=B9=B412=E6=9C=8831=E6=97=A5 =E9=80=B1=E4=BA=8C =E4=B8=8A=E5=8D= =887:21=E5=AF=AB=E9=81=93=EF=BC=9A
Pip Cet <pipcet@protonmail.= com> writes:

> =E9=BB=84=E4=BA=AC <radionoisee@gmail.com> writes:
>
>> Hi,
>>
>> I'm encountering a compile-time error when building the latest= Emacs igc branch with the `--with-mps=3Dyes' and `--with-xwidget' = options:
>
> The good news it's easy to fix that particular error (add ".h= eader");
> the bad news is that no one reported this before, so you'd be the = first
> to test this combination.

> It's probably best to look over the xwidgets code to make sure it<= br> > doesn't have any obvious problems before testing this combination.=

I didn't read all of the file, but I checked the basic stuff, and it seems to be fine.=C2=A0 It also built and didn't immediately crash Emac= s, but
I don't think I know how to use xwidgets (I also had to fake a pkgconfi= g
file for some reason, and try three distros to get it to work at
all...)

No guarantees, but I pushed something.=C2=A0 I had to copy out of a docker<= br> container so hopefully made the same changes on scratch/igc.

I'd be very interested to hear whether this survives some GC cycles (M-= x
igc-stats; then hit "c" a few times) when xwidgets are in use.=C2= =A0 If it
does, we can close this bug.

Pip

--000000000000ba38fb062a866606--