Received: (at 68940) by debbugs.gnu.org; 9 Feb 2024 07:23:40 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 09 02:23:39 2024 Received: from localhost ([127.0.0.1]:41526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rYLEZ-0007aU-GL for submit <at> debbugs.gnu.org; Fri, 09 Feb 2024 02:23:39 -0500 Received: from pv50p00im-ztdg10011201.me.com ([17.58.6.39]:42750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rvojta@HIDDEN>) id 1rYLEX-0007Zw-F6 for 68940 <at> debbugs.gnu.org; Fri, 09 Feb 2024 02:23:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1707463396; bh=hxUF3yTUVr5BifLuUw4yJ5N7PJ0DJbWEOi8H9WzODBg=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=WSGxT914GwtELRdPlEWfHUwp0CQzqw7VxIEEkGw9ZYkyP/qeN0lziNusT4Q39b/yj cM0ULRKw8SEBCxqjp6locbWbtZRcZIIeWPpMrVRboWjv/uVrdT8qu/2LaQFYroXDVa 8ifYQD7PJm3j6qUp9Mt4x6TzjKGlXrYf7HiIc7yKAyhSGT9U3NEW76HxfYUqt7V8E8 IeiKGO6G9slFYs+W259CLI/vPIESZmP0wF9B5/i/ENUvKTVHaV+dtXwYGwpblr8AkJ HiBwzPc1M/jb2D5CTbsKdkQEkGIK6bVeK7T93L7O72BpjAaJn53nUOhsQ3xp5zD3IY Xp1UtaPIeIvHw== Received: from localhost (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztdg10011201.me.com (Postfix) with ESMTPSA id 644C2680185; Fri, 9 Feb 2024 07:23:15 +0000 (UTC) References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> <m2a5od6y69.fsf@HIDDEN> <86jzngzc8d.fsf@HIDDEN> <m24jekv33y.fsf@HIDDEN> <m2fry3qyjs.fsf@HIDDEN> <m2plx771r2.fsf@HIDDEN> <3w1geauywu-1@HIDDEN> <m234u3qm4d.fsf@HIDDEN> User-agent: mu4e 1.10.8; emacs 30.0.50 From: Robert Vojta <rvojta@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Subject: Re: bug#68940: 29.2; Random crashes in face for char / font Date: Fri, 09 Feb 2024 08:22:53 +0100 In-reply-to: <m234u3qm4d.fsf@HIDDEN> Message-ID: <m2mssagkyn.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-GUID: EZNAANJIqa386F7bEKHpk4kpuL8USxct X-Proofpoint-ORIG-GUID: EZNAANJIqa386F7bEKHpk4kpuL8USxct X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-09_04,2024-02-08_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 clxscore=1015 phishscore=0 suspectscore=0 mlxscore=0 bulkscore=0 malwarescore=0 mlxlogscore=285 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2402090051 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68940 Cc: Eli Zaretskii <eliz@HIDDEN>, 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > Hm. I'm quite out of my comfort zone here, regarding fontsets and fonts, > but it looks to me as if we're acting on a, for some reason, invalid > face, which would come from > > face_id = FACE_FOR_CHAR (f, FACE_FROM_ID (f, face_id), c, pos, Qnil); > > in Finternal_char_font. Maybe one could take a look at *f->face_cache here? Thanks for these pointers! This is an unknown territory for me, but I'll take some time to read the code, ask our font experts, and try to figure out what's going on here.
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 8 Feb 2024 10:36:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 08 05:36:11 2024 Received: from localhost ([127.0.0.1]:59218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rY1lL-0007uh-3c for submit <at> debbugs.gnu.org; Thu, 08 Feb 2024 05:36:11 -0500 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:59506) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1rY1lI-0007uP-QG for 68940 <at> debbugs.gnu.org; Thu, 08 Feb 2024 05:36:09 -0500 Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a383016f428so179628866b.2 for <68940 <at> debbugs.gnu.org>; Thu, 08 Feb 2024 02:35:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707388548; x=1707993348; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=C+L7YkQb+yImBowGpFI3Q1oeCtGaOv2t80aMyIfRLI4=; b=NRSDF6pjsi+JPHhcnl0zOkQ0PI1e9FPmJmNCqjR+ic832kXrBQOrpoqxvkgriiKqE0 Gr0yrbDapozztJCFPaQoEWqa3oG7S/14fCW7FkyLAUoT9Giv18D7sv6rfZ1XLd9HAqhX qeCT5IWbVD0az8mFYtDArt2uncqbxENGiopRaRNhfy+UlOD1c5nC5zQVnVA/eM7MoKAE 5yh7qswW/lHptiQyRf+DtyUTA7VoidFIbLgvttX71wpMu9aBX0ehcBvjdE+dlzMYywqL Qvf9fyRY3ESeK+GqPgz31HHu+miruLA847r6RXpbK9jrfBporwGTkADIxysj8Uhsv9gf 55RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707388548; x=1707993348; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=C+L7YkQb+yImBowGpFI3Q1oeCtGaOv2t80aMyIfRLI4=; b=rPvhMPpoHl9UAaWo2YN6zLCGtLvrAjlvpNLqJgWeJJmT8kxAVhDRTlsA7iOqq1qyX4 OT8EeRPfJNG1x2343BdI+OhAK02uP/nJE0KqCrhW/0pinOwBMtJ8mTwaVlEHFGW751I7 cPC/x3G+D27Ay57sUoe2FkdBCxxGV1rgzMuupDyIFfn2u75s4TyqCKdG5Et1wo2kD3pI YWj/FtnZaRuXYzkVrdKX/auLZZ6TH1Gtzj+exl3xzARZOOH8HzLTcoOMzBRBi8k9Dc0S jfPNI5JLVZ+z68ModXpWVhdQ35WVC18QmnNNUbYadUsKytnts/UfAOJjf26KGzutqeFS 8VLQ== X-Forwarded-Encrypted: i=1; AJvYcCV486X4k1A2Wb0xs5cunwL7GAV57WwNpyqf9G6JnnomFiq6aDKwrpFVPqS2iy1lS18q6f2LH71ztvC/H90r0+Vd8fulCa0= X-Gm-Message-State: AOJu0Yz5NAcUOGSQ7qCIDFBv/ygbt4mTSYRtjW4SHDWFGkPzJJZcHmv8 mQJ4vOvmoUr9nGJZCsVArn5gSamCYDgTqoNwDznpalKYl6ub8PKnp7JDUgpH X-Google-Smtp-Source: AGHT+IFeTCoxTvsSY/SfQEbqF4u1IG+2B5PtAQrPgVLBo1pigvXJSmkCqNqTo5EBotUztQEZETwrPg== X-Received: by 2002:a17:906:704a:b0:a37:22a5:50d5 with SMTP id r10-20020a170906704a00b00a3722a550d5mr7187340ejj.54.1707388548467; Thu, 08 Feb 2024 02:35:48 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCW8qm9arlbe+T9ie3V3VHrcIyXG+HSC5LM3N28/OAhLCI+EosN+sYO8fSbw5LcU+Vw9a3vTo9E/UzKLNyEo7TdgRualKPs= Received: from Pro.fritz.box (p4fe3a32a.dip0.t-ipconnect.de. [79.227.163.42]) by smtp.gmail.com with ESMTPSA id x27-20020a170906135b00b00a359afad88dsm1777771ejb.10.2024.02.08.02.35.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:35:47 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Robert Vojta <rvojta@HIDDEN> Subject: Re: bug#68940: 29.2; Random crashes in face for char / font In-Reply-To: <3w1geauywu-1@HIDDEN> (Robert Vojta's message of "Thu, 08 Feb 2024 10:56:43 +0100") References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> <m2a5od6y69.fsf@HIDDEN> <86jzngzc8d.fsf@HIDDEN> <m24jekv33y.fsf@HIDDEN> <m2fry3qyjs.fsf@HIDDEN> <m2plx771r2.fsf@HIDDEN> <3w1geauywu-1@HIDDEN> Date: Thu, 08 Feb 2024 11:35:46 +0100 Message-ID: <m234u3qm4d.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68940 Cc: Eli Zaretskii <eliz@HIDDEN>, 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Robert Vojta <rvojta@HIDDEN> writes: >> ../../emacs/src/lisp.h:1314: Emacs fatal error: assertion failed: >> FIXNUMP (a) > Message-ID: <m27cjfs2d0.fsf@HIDDEN> > MIME-Version: 1.0 > Content-Type: text/plain > > Sorry, forgot to include the bt: > > frame #8: 0x000000010027c1f8 emacs`die(msg="FIXNUMP (a)", file="../../emacs/src/lisp.h", line=1314) at alloc.c:8062:3 > frame #9: 0x00000001003076b4 emacs`XFIXNUM(a=0x000000015b17036d) at lisp.h:1314:3 > frame #10: 0x0000000100307198 > emacs`font_style_to_value(prop=FONT_WEIGHT_INDEX, > val=0x000000015b17036d, noerror=true) at font.c:428:27 Above, the parameter val seems to be neither a symbol nor a fixnum, and that meads to an assertion in XFIXNUM. > frame #11: 0x0000000100310980 > emacs`font_select_entity(f=0x000000015b172040, > entities=0x0000000150ffef43, attrs=0x000000015ae06d60, > pixel_size=12, c=9207) at font.c:3160:5 And here, we see that val comes from a Lisp face FONT_SET_STYLE (prefer, FONT_WEIGHT_INDEX, attrs[LFACE_WEIGHT_INDEX]); which could mean the parameter attrs is bogus. > frame #12: 0x00000001003104d0 > emacs`font_find_for_lface(f=0x000000015b172040, > attrs=0x000000015ae06d60, spec=0x000000015b085a15, c=9207) at > font.c:3321:15 Which would mean paramter attrs above is bogus. > * frame #13: 0x00000001003eba14 > emacs`fontset_find_font(fontset=0x000000014b61c99d, c=9207, > face=0x000000015ae06d60, charset_id=-1, fallback=false) at > fontset.c:732:21 Which could mean the parameter face is bogus in the above. > frame #14: 0x00000001003e3490 > emacs`fontset_font(fontset=0x000000012c209205, c=9207, > face=0x000000015ae06d60, id=-1) at fontset.c:809:4 Same here... > frame #15: 0x00000001003e29a8 emacs`face_for_char(f=0x000000015b172040, face=0x000000015ae06d60, c=9207, pos=-1, object=0x0000000000000000) at fontset.c:1031:15 > frame #16: 0x000000010031995c emacs`FACE_FOR_CHAR(f=0x000000015b172040, face=0x000000015ae06d60, character=9207, pos=-1, object=0x0000000000000000) at dispextern.h:1950:10 > frame #17: 0x0000000100319658 emacs`Finternal_char_font(position=0x0000000000000000, ch=0x0000000000008fde) at font.c:4766:13 > > I will inspect the fontset, face, ... values in these frames later. Hm. I'm quite out of my comfort zone here, regarding fontsets and fonts, but it looks to me as if we're acting on a, for some reason, invalid face, which would come from face_id = FACE_FOR_CHAR (f, FACE_FROM_ID (f, face_id), c, pos, Qnil); in Finternal_char_font. Maybe one could take a look at *f->face_cache here?
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 8 Feb 2024 10:18:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 08 05:18:05 2024 Received: from localhost ([127.0.0.1]:59205 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rY1To-0007Qg-Sd for submit <at> debbugs.gnu.org; Thu, 08 Feb 2024 05:18:05 -0500 Received: from mail-ej1-x62f.google.com ([2a00:1450:4864:20::62f]:57664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1rY1Tm-0007Q9-3e for 68940 <at> debbugs.gnu.org; Thu, 08 Feb 2024 05:18:03 -0500 Received: by mail-ej1-x62f.google.com with SMTP id a640c23a62f3a-a38291dbe65so191907066b.3 for <68940 <at> debbugs.gnu.org>; Thu, 08 Feb 2024 02:17:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707387461; x=1707992261; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=Lwt6DDvhbSllfy9Eu0O1OGFOsKNzgV53HRMSx8hqd/w=; b=aY2REbm2LMPrUFDEHqNWSgKjD8ioQpM+dWfw4FFnMdrT1BxeSopMSUMLYNDaUgNziL uUqW/Qcb9WtA1IGz/p+Mqo+kHoEfzwccveOdkFPBz57h4GFP41RTLqZA7NcN0StmYDGO /rh+XunQhM/yRRWZxxdNn5z5Re9dRW73qp8zcpnkM1DyzJMU03LYRzXIqDpW6shQCFdy LJrmmvd4HcATgPWTkXbgu4+TQXK3W4cbEjLcGp0unEVous8n0H75T5Fw4y6Nth9XHKRK O6r2kPT9Vrwl8tnGn8f/1mZAnuRngdiHPck9OGjyTQpuT2FsN/zqpHLp2RR86ZVEK7rV 5mqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707387461; x=1707992261; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=Lwt6DDvhbSllfy9Eu0O1OGFOsKNzgV53HRMSx8hqd/w=; b=DT2izdv8LnC9kMn2bqtcpijAMJ+2gND1ti/3i0xYoeCqZdE+5/IpH2fjYC+raJuOTo fcZQXXxxAkBGJ27S4n77VnMcWaotoSj8Gjf85PzWqxm81wFCIeRjk7NTItYCN/g8KaBL rLJswoC4LXKid3nTJLQqTx4XTzw72kunNZyuT/r8EndYj6PI/++GUedzN7dmTiPaVmZa 3VB2UgI7jfvUrV3TewugEmJVaG8atoAKGvHBiCzcYu6i5kHKA2tQ8SJxRZp9x3xuY5mz q37rsPHWstVnIKAT8+U6g0OTh+iFU65Be3h6t/E7Ccv/dkcolhAfvQHiNJZ+WZ+6pXPf IbHQ== X-Gm-Message-State: AOJu0YzNUogq5XFNMgmHeJDyWmOoNmjOmzt1fV3KCdDiBxOTfrDP8aj0 PqyeSAg1bePmPLbb35pW56TOGGmG7HU6aEPhIohT+cBRsCOXysvwM2fG2u/2 X-Google-Smtp-Source: AGHT+IGVtfWvcL0oTHUaOWpGH9+oOUT9cT3/n5a5qsp2g6YAzVMuj6E/6CL6DPP0NYf6iVKbAsWguA== X-Received: by 2002:a17:906:1c89:b0:a30:8d46:4cac with SMTP id g9-20020a1709061c8900b00a308d464cacmr5920202ejh.67.1707387461238; Thu, 08 Feb 2024 02:17:41 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUrWrZomsP7BD+IPZyWbB4gF2XEdMerGuMnr3WeLc6ipCEVDBDcSVqNiS80iZeiWfQ6FtQfFvGa3ETCB7DRItSsCGVWi8g= Received: from Pro.fritz.box (p4fe3a32a.dip0.t-ipconnect.de. [79.227.163.42]) by smtp.gmail.com with ESMTPSA id vw1-20020a170907a70100b00a3896ef417dsm1138025ejc.180.2024.02.08.02.17.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 08 Feb 2024 02:17:40 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Robert Vojta <rvojta@HIDDEN> Subject: Re: bug#68940: 29.2; Random crashes in face for char / font In-Reply-To: <m2plx771r2.fsf@HIDDEN> (Robert Vojta's message of "Thu, 08 Feb 2024 10:00:11 +0100") References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> <m2a5od6y69.fsf@HIDDEN> <86jzngzc8d.fsf@HIDDEN> <m24jekv33y.fsf@HIDDEN> <m2fry3qyjs.fsf@HIDDEN> <m2plx771r2.fsf@HIDDEN> Date: Thu, 08 Feb 2024 11:17:40 +0100 Message-ID: <m27cjfqmyj.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68940 Cc: Eli Zaretskii <eliz@HIDDEN>, 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Robert Vojta <rvojta@HIDDEN> writes: >> - Maybe configuring with --enable-checking can find something? That >> enables a number of asserts in the code, among them things that ASAN >> can't find. > > Crashing with: > > ../../emacs/src/lisp.h:1314: Emacs fatal error: assertion failed: > FIXNUMP (a) > > It always crashes. Sometimes with ^ & SIGABRT, sometimes w/o ^ & > SIGSEGV. I'll write something when answering your other mail. >> - If it's a font thing, Font Book could be used to validate the font in >> question. Select the font in Font Book and use File > Validate >> Selection. > > I've tried: > > - Delete all my custom fonts -> crashing > - Add back PragmataPro Mono, validate it, no issues -> crashing I'd say we can exclude that, then. > >> expected. Maybe it's worth commenting out the calls and see if that >> makes a difference, phenomenologically. That's only a shot in the > > I've checked out d6c7092ff0713087f38b9492d53be0177af67514, configured > it with: That's master, BTW, for other readers. > > CFLAGS="-DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT -O0 -g3" > configure --with-ns --with-modules --with-x-toolkit=no > --enable-checking > > Playing w/ "redisplay ();" in the "layoutSublayersOfLayer:", line 8732. > > - Kept - instant crash, 10/10 launches > - Commented out - no crash, 10/10 launches > > Shot in the dark, but it seems that it's somehow related to all this. Yeah ;-).
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 8 Feb 2024 10:01:23 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 08 05:01:23 2024 Received: from localhost ([127.0.0.1]:59192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rY1Df-00072c-BR for submit <at> debbugs.gnu.org; Thu, 08 Feb 2024 05:01:23 -0500 Received: from ms11p00im-hyfv17281201.me.com ([17.58.38.39]:55754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rvojta@HIDDEN>) id 1rY1Dd-00072P-1F for 68940 <at> debbugs.gnu.org; Thu, 08 Feb 2024 05:01:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1707386461; bh=+aXvHK071d+8ZsC3ZyPa9jYZTyGF/G7pk3QlH9na9+Q=; h=From:To:Subject:Date:Message-ID; b=DC0VmphAtzuay+CRqoKSigfGbD5aEieWPpIqVab9NDAgZskeTQv7CSKvb5bpRkA8Q IEfDksdkUrtxcIpJTn1ml6rjrFH9JQpbiqJTsB+nPIrwYpzs1p17L/Q8zDIH4mWJ+V 7XZuLWv0AnedcIdnkB8oZRXiKX2gM6M+ugTyIX+L1hs5uSZQ4wRyBISM+qmNOPknCU Z5VMSMdLYZ5vR36qNnB0ZJhVcyMzHWZMoll3kc5RXZ1BfFbc9EAqaJtzlKYdr0UiA/ UOrMRja/X+4NZOl2mmLbolLk47LGbGaH+hbGefddNnqHQNCABtcXd03YC0ss5HqdJe f/GhTaKjU2FgQ== Received: from localhost (ms11p00im-dlb-asmtpmailmevip.me.com [17.57.154.19]) by ms11p00im-hyfv17281201.me.com (Postfix) with ESMTPSA id 32DDEC80102; Thu, 8 Feb 2024 10:00:59 +0000 (UTC) References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> <m2a5od6y69.fsf@HIDDEN> <86jzngzc8d.fsf@HIDDEN> <m24jekv33y.fsf@HIDDEN> <m2fry3qyjs.fsf@HIDDEN> <m2plx771r2.fsf@HIDDEN> User-agent: mu4e 1.10.8; emacs 30.0.50 From: Robert Vojta <rvojta@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Subject: Re: bug#68940: 29.2; Random crashes in face for char / font Date: Thu, 08 Feb 2024 10:56:43 +0100 In-reply-to: <m2plx771r2.fsf@HIDDEN> Message-ID: <3w1geauywu-1@HIDDEN> X-Proofpoint-GUID: w6cPyHmZXEsXaggMC6ovvlxq7qt3Wkji X-Proofpoint-ORIG-GUID: w6cPyHmZXEsXaggMC6ovvlxq7qt3Wkji X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-08_01,2024-02-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 bulkscore=0 malwarescore=0 suspectscore=0 clxscore=1015 mlxscore=0 phishscore=0 mlxlogscore=380 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2402080052 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68940 Cc: Eli Zaretskii <eliz@HIDDEN>, 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > ../../emacs/src/lisp.h:1314: Emacs fatal error: assertion failed: > FIXNUMP (a) Message-ID: <m27cjfs2d0.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Sorry, forgot to include the bt: frame #8: 0x000000010027c1f8 emacs`die(msg="FIXNUMP (a)", file="../../emacs/src/lisp.h", line=1314) at alloc.c:8062:3 frame #9: 0x00000001003076b4 emacs`XFIXNUM(a=0x000000015b17036d) at lisp.h:1314:3 frame #10: 0x0000000100307198 emacs`font_style_to_value(prop=FONT_WEIGHT_INDEX, val=0x000000015b17036d, noerror=true) at font.c:428:27 frame #11: 0x0000000100310980 emacs`font_select_entity(f=0x000000015b172040, entities=0x0000000150ffef43, attrs=0x000000015ae06d60, pixel_size=12, c=9207) at font.c:3160:5 frame #12: 0x00000001003104d0 emacs`font_find_for_lface(f=0x000000015b172040, attrs=0x000000015ae06d60, spec=0x000000015b085a15, c=9207) at font.c:3321:15 * frame #13: 0x00000001003eba14 emacs`fontset_find_font(fontset=0x000000014b61c99d, c=9207, face=0x000000015ae06d60, charset_id=-1, fallback=false) at fontset.c:732:21 frame #14: 0x00000001003e3490 emacs`fontset_font(fontset=0x000000012c209205, c=9207, face=0x000000015ae06d60, id=-1) at fontset.c:809:4 frame #15: 0x00000001003e29a8 emacs`face_for_char(f=0x000000015b172040, face=0x000000015ae06d60, c=9207, pos=-1, object=0x0000000000000000) at fontset.c:1031:15 frame #16: 0x000000010031995c emacs`FACE_FOR_CHAR(f=0x000000015b172040, face=0x000000015ae06d60, character=9207, pos=-1, object=0x0000000000000000) at dispextern.h:1950:10 frame #17: 0x0000000100319658 emacs`Finternal_char_font(position=0x0000000000000000, ch=0x0000000000008fde) at font.c:4766:13 I will inspect the fontset, face, ... values in these frames later.
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 8 Feb 2024 09:18:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 08 04:18:53 2024 Received: from localhost ([127.0.0.1]:59020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rY0YX-0005kY-AK for submit <at> debbugs.gnu.org; Thu, 08 Feb 2024 04:18:53 -0500 Received: from pv50p00im-tydg10021701.me.com ([17.58.6.54]:41918) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rvojta@HIDDEN>) id 1rY0YV-0005kK-0V for 68940 <at> debbugs.gnu.org; Thu, 08 Feb 2024 04:18:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1707383910; bh=ZpS5eIrjy1ZcKnYX2EsuXaTg1wTDGJD4+ywu5FrueK8=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=bcesAC7Hk+rmnY1waR4y2kYG5KeJU0YCiNn1cLi18vrGl9cI0148uJlBklAm2lA/f tYyrALCXZb2Bd4fgKcwtO3aBjuoKT8QSrG7c4aFuDMkTRf8BiK5mRpClMfmsK6c8oU MHxXgy17pFCWOyKW4X6OtD32fJLXirNPuuVTRCSJFbgVnhGmzjcdOfEFtrad/ZLxOy 4wlb8RtEpEKEn/ZEJQgEMzMjMj7DlZW9LxFm9KfZVEoFyLR2Sp5APr58vFSt8nROOk M7n1jw0xZslxlC6jjPunfvHbx5BOfICU/VXai3hue6VDtdznIF1rdEgq30Gs5asRpq nQu455L9LtSXw== Received: from localhost (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-tydg10021701.me.com (Postfix) with ESMTPSA id 050D03A0B9E; Thu, 8 Feb 2024 09:18:28 +0000 (UTC) References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> <m2a5od6y69.fsf@HIDDEN> <86jzngzc8d.fsf@HIDDEN> <m24jekv33y.fsf@HIDDEN> <m2fry3qyjs.fsf@HIDDEN> User-agent: mu4e 1.10.8; emacs 30.0.50 From: Robert Vojta <rvojta@HIDDEN> To: Gerd =?utf-8?Q?M=C3=B6llmann?= <gerd.moellmann@HIDDEN> Subject: Re: bug#68940: 29.2; Random crashes in face for char / font Date: Thu, 08 Feb 2024 10:00:11 +0100 In-reply-to: <m2fry3qyjs.fsf@HIDDEN> Message-ID: <m2plx771r2.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-ORIG-GUID: z3DDf0Avh8VjdDqbZGTdUpz1x5SLybyx X-Proofpoint-GUID: z3DDf0Avh8VjdDqbZGTdUpz1x5SLybyx X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-08_01,2024-02-07_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 clxscore=1011 bulkscore=0 mlxscore=0 spamscore=0 mlxlogscore=853 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2402080049 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68940 Cc: Eli Zaretskii <eliz@HIDDEN>, 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > I feel with you :-). There have been, and still are, strange things > happening with GUI Emacs on macOS. Although, I think it has improved a > lot over the last year or two. Thanks, I really thought that I'm mad while seeing all these random crashes & backtraces ;) > - Maybe configuring with --enable-checking can find something? That > enables a number of asserts in the code, among them things that ASAN > can't find. Crashing with: ../../emacs/src/lisp.h:1314: Emacs fatal error: assertion failed: FIXNUMP (a) It always crashes. Sometimes with ^ & SIGABRT, sometimes w/o ^ & SIGSEGV. > - If it's a font thing, Font Book could be used to validate the font in > question. Select the font in Font Book and use File > Validate > Selection. I've tried: - Delete all my custom fonts -> crashing - Add back PragmataPro Mono, validate it, no issues -> crashing > expected. Maybe it's worth commenting out the calls and see if that > makes a difference, phenomenologically. That's only a shot in the I've checked out d6c7092ff0713087f38b9492d53be0177af67514, configured it with: CFLAGS="-DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT -O0 -g3" configure --with-ns --with-modules --with-x-toolkit=no --enable-checking Playing w/ "redisplay ();" in the "layoutSublayersOfLayer:", line 8732. - Kept - instant crash, 10/10 launches - Commented out - no crash, 10/10 launches Shot in the dark, but it seems that it's somehow related to all this. --- - I run the full HW diagnostics over night. Everything seems to be okay. - Will try the new LLVM, yes, I'm using the one (15) from Apple now. - Still figuring out the minimal reproducible init.el. Feeling like Don Quixote now, comment out, no crash, aha, comment another line out, crash, huh, revert, another combination, ...
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 8 Feb 2024 07:32:14 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 08 02:32:14 2024 Received: from localhost ([127.0.0.1]:58890 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXytJ-0002nF-Kx for submit <at> debbugs.gnu.org; Thu, 08 Feb 2024 02:32:14 -0500 Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]:46313) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1rXytH-0002mt-1w for 68940 <at> debbugs.gnu.org; Thu, 08 Feb 2024 02:32:12 -0500 Received: by mail-ej1-x629.google.com with SMTP id a640c23a62f3a-a30f7c9574eso192986966b.0 for <68940 <at> debbugs.gnu.org>; Wed, 07 Feb 2024 23:31:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707377511; x=1707982311; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=TH9k5gSmA0UjEKjlfVVNeY9/ys8BhoFIcKdHlqV5Uk0=; b=gXI38EZ47j7rq7Fbp4WmgqDB9MUQ5whvo4oXS+jzSKMoPsMkkjM9zVrd17A1ZdnCMz haPnb9W8yvPYCglIqUe2WFqleAdv57cm6m6PmEzKQ1jSlcC3XU/gp5eX/s4lddfOueXJ 4+x50WY2Sg4yc1OFjcBqg1tc4toyaU/NmqmI5yn4hKq8vIZ/SD34j9gT/nntKT2JdQ6m 7VSfGMNHNIp5P02VeqR+uELpGABgmU4jRSnrQY/7YtL+orjxEa5LbAvnmHmelKPkx1mM Xv9G1JBib1A6wq4dOF2Sk+mfuC5eJ/zmjEJCE8RYSP1jyh+2YtZNrJaBeRGT9HWvY5cR q1fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707377511; x=1707982311; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=TH9k5gSmA0UjEKjlfVVNeY9/ys8BhoFIcKdHlqV5Uk0=; b=NYkVIF7DFnVF+6ikSWg8LWZjj2dAeOmUVEl1+fPh4Z6hztw+KRyJLZHys5JioTSd/e wcHA5r7zu6mwrXvGpbxnGkckGB+ybXXuX2cjcqsNGD/tT1ziEEKjvhMQkl9x7yiOglfB zdAxy3DdMn2kFKN8dabQve0hJd/Ropk4D4Q6hVBLZOqRtXVnEqcvC/zZR+jM6pH7PT8J XOq3T9yoNWWktbPSksBe8tL2edgnU5VDdFtAXCM4uZFDHVLMtKNfXd6YOUt0dirUfdd1 PQOPhLwHWRidbugXeCyYKDeOg7QQ2MGUg8pDpe6LS8sJPS2FN2zZPPTBUGhPU/cik/Vc VEFw== X-Gm-Message-State: AOJu0Yx5XcPRXoIiBE+KHyIOtt78mAkjMZ+29rpegHDiy6+EUwk8KaSp HuL4BMuy0HVtm6QleqFzWJZofz428QNyl0EqV74K3WqVsRv0R+/P X-Google-Smtp-Source: AGHT+IGGtITuBOf5WBRuiqA6UT8S/2s0G1nk+F/Yczib7ZHqwjPs5A9dqd2T5u767Ryhp0pUFdGNyw== X-Received: by 2002:a17:906:4bd2:b0:a37:9c44:c5cf with SMTP id x18-20020a1709064bd200b00a379c44c5cfmr5680219ejv.24.1707377510765; Wed, 07 Feb 2024 23:31:50 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCVv06Se+MUXJCs2hfaIGMw/KFhUHV6KW2AjDFb/px3TyWYATOqiF937yt2umyDixmJSwvJTp6E/EUY7nPh4 Received: from Pro.fritz.box (p4fe3a32a.dip0.t-ipconnect.de. [79.227.163.42]) by smtp.gmail.com with ESMTPSA id l16-20020a170906415000b00a3551f727d1sm1583711ejk.68.2024.02.07.23.31.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 23:31:50 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#68940: 29.2; Random crashes in face for char / font In-Reply-To: <864jejxwa8.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 08 Feb 2024 09:14:23 +0200") References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> <m2a5od6y69.fsf@HIDDEN> <m2plx8sotg.fsf@HIDDEN> <m2il2zqzpl.fsf@HIDDEN> <864jejxwa8.fsf@HIDDEN> Date: Thu, 08 Feb 2024 08:31:49 +0100 Message-ID: <m2bk8rqumy.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68940 Cc: rvojta@HIDDEN, 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> writes: >> From: Gerd M=C3=B6llmann <gerd.moellmann@HIDDEN> >> Cc: 68940 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN> >> Date: Thu, 08 Feb 2024 06:42:14 +0100 >>=20 >> Robert Vojta <rvojta@HIDDEN> writes: >>=20 >> > Address sanitizer gave me ... >> > >> > https://gist.github.com/zrzka/3506322a8e4e63fc6b323a48faad8f64 >> > >> > ... heap user after free in "Automatic GC". When this happened, Emacs >> > was showing the mentioned init file load error, and weird character. >> > >> > Don't know if it's related to my initial issue, if the problem is the >> > timer & kill, ... >>=20 >> I can't make sense of what is happening here: A marker M is created from >> Lisp (point-marker), and later GC'd. So far so good, and nrmal, but some >> later GC then finds M in a member of struct buffer. No idea how that's >> possible. > > Exactly my thoughts. I suspect that it could be a bug in the address > sanitizer, perhaps triggered by our quite unique memory management. Maybe it would be worth upgrading to current LLVM? I think Robert mentioned he is using LLVM 15 from Apple, and LLVM from Homebrew is now at 17.0.6.
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 8 Feb 2024 07:14:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 08 02:14:49 2024 Received: from localhost ([127.0.0.1]:58869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXycT-0002DY-65 for submit <at> debbugs.gnu.org; Thu, 08 Feb 2024 02:14:49 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rXycP-0002DH-OP for 68940 <at> debbugs.gnu.org; Thu, 08 Feb 2024 02:14:46 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1rXyc6-0002nD-4b; Thu, 08 Feb 2024 02:14:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=pmY3RHfHE9rYhJfum5HNyt7tYwJ7XU7AblcRquERAlM=; b=Vo6XlOAM5I69kCcuxbEq 6/19ouNGrQ4whtCRPC8b3uctsk7Amhn/WS/CLpKMXqIxsZ8VxTt2HmScad3waMHgCDX/Fhw2tTOdF 92liEP7+UaXbdYB0kDjaHcHTVmTkldkoLo0sGcWZ9p5Q51uVP5TUY/ah/TupQcD/1vzCBhYWUwZTJ Fuj4Xq6zwp+yXVv3TrD8HD/n26yXcQ5vIXL14H8BmBygkVESQwZLWwyIYoGE1dukxIkb6PdXzJdAu kC0EFdnXf4VUKIBd6MCYCBkLHuqzdV9+TLwrEJYRSMYbn3/MoEeelyhW+mdkvHF1b68oRsL66uqtG IPiFbBYK8rPARw==; Date: Thu, 08 Feb 2024 09:14:23 +0200 Message-Id: <864jejxwa8.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Gerd =?iso-8859-1?Q?M=F6llmann?= <gerd.moellmann@HIDDEN> In-Reply-To: <m2il2zqzpl.fsf@HIDDEN> (message from Gerd =?iso-8859-1?Q?M=F6llmann?= on Thu, 08 Feb 2024 06:42:14 +0100) Subject: Re: bug#68940: 29.2; Random crashes in face for char / font References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> <m2a5od6y69.fsf@HIDDEN> <m2plx8sotg.fsf@HIDDEN> <m2il2zqzpl.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68940 Cc: 68940 <at> debbugs.gnu.org, rvojta@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Gerd Möllmann <gerd.moellmann@HIDDEN> > Cc: 68940 <at> debbugs.gnu.org, Eli Zaretskii <eliz@HIDDEN> > Date: Thu, 08 Feb 2024 06:42:14 +0100 > > Robert Vojta <rvojta@HIDDEN> writes: > > > Address sanitizer gave me ... > > > > https://gist.github.com/zrzka/3506322a8e4e63fc6b323a48faad8f64 > > > > ... heap user after free in "Automatic GC". When this happened, Emacs > > was showing the mentioned init file load error, and weird character. > > > > Don't know if it's related to my initial issue, if the problem is the > > timer & kill, ... > > I can't make sense of what is happening here: A marker M is created from > Lisp (point-marker), and later GC'd. So far so good, and nrmal, but some > later GC then finds M in a member of struct buffer. No idea how that's > possible. Exactly my thoughts. I suspect that it could be a bug in the address sanitizer, perhaps triggered by our quite unique memory management.
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 8 Feb 2024 06:07:44 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 08 01:07:44 2024 Received: from localhost ([127.0.0.1]:58824 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXxZX-0000BL-OV for submit <at> debbugs.gnu.org; Thu, 08 Feb 2024 01:07:44 -0500 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]:52240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1rXxZV-0000B7-MH for 68940 <at> debbugs.gnu.org; Thu, 08 Feb 2024 01:07:42 -0500 Received: by mail-ed1-x52f.google.com with SMTP id 4fb4d7f45d1cf-55fe4534e9bso1684320a12.0 for <68940 <at> debbugs.gnu.org>; Wed, 07 Feb 2024 22:07:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707372441; x=1707977241; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=O1hSUeiBlLZ7o9Tao6UEX/ZEXS6aEWgXDkclRlETebs=; b=Gljv6wvzx7+Scj7o0sIyblTTD+Sd5tKRZemcNsdcTPZJmzV8SZ/+Fr0lZq/GFZwHUM qkJ+IOYuSE6Elkihm2jljuGZwbqIa0pLm5Zd9FHEl4mgU98hXhjZu/gJrFVv981werl6 UfwFMabuJoWH23nQlQ6tyy6O8hwIHbI54fPbO8RedtV0ey8U/bf8RNgC3PEzBgSGqG2j +TJPKxMk7fhVD3hGvx+CoFMXLULLSQVruw0+4mG8o3cR076aJK3zn5xpYW1Rnz96VNe/ 5LYmdkhPf4b3Sp6rsbqSGt3U+bOA9ef3zAW66lpJJwCYcW8FB697E4+W3aiIX2AFFj1Z y3hA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707372441; x=1707977241; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=O1hSUeiBlLZ7o9Tao6UEX/ZEXS6aEWgXDkclRlETebs=; b=ShR7WmbBbAN2UjwwBom7T6GlyTke0gNVER+yoTkeVKMC95G6a62SI4e9TE8plWwjNk GGAzRTGJ2h4a+k8iS+3hQVfkwFHBzh0ORZuFlvPkLMQZbT+K7LqcN/UUHOmBiwLUZuPV R0QlPIHTPyCbHDfZ2jhghWzc7KFEBgCY2Ndcppvn3AX7zrU7n7UVIJ6RglXsn87XSBEZ LyABSQ338ydKUj4VIny6DRKy+C3gwuk3RJFvtZ1zIuc9idpJhbkFzrdmaA7u64XZxRYd nPtEFtW9YxFKucHgTUs3nOv7HKZISA3VN55+VVqqa9IeK2Xbn+q8ekj/sPgTpepYuBIq j5qQ== X-Forwarded-Encrypted: i=1; AJvYcCU5qFlFNR47qbJFISwXrwjGLyJA22Ru4N0RcYtcmVjwpfffehyzT3ts2xF0MCn9u//f1eajJA2o2v4LUrfO9ouYaAF2Jnk= X-Gm-Message-State: AOJu0YzRXYqxl5JPDeE5pdZCur0U0uHTeQ5LU0bck8WIdoMyH4FWrsGl ICFR7aS9xpoO+7weDrOpFJjrdPzx+6T050eAqW0PqyQeAmVsm1U/lO+b9tkX X-Google-Smtp-Source: AGHT+IGVro+jorKBu5pglfzLdaHwMQkKSObGOId5s29+oxO9+SGgCOtv7j4jST3oUf6AVjQ3aLcI/A== X-Received: by 2002:aa7:db56:0:b0:560:ea74:a679 with SMTP id n22-20020aa7db56000000b00560ea74a679mr1883507edt.5.1707372441006; Wed, 07 Feb 2024 22:07:21 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUkPXhEW7QhtAbB+bFFlTonN70LoxZsi6RRlgC5F7SazVLEyHxCI3EThdDkDmx8HeGxhGH3nT3MFIJ0vQ40N1EZjNYrWxM= Received: from Pro.fritz.box (p4fe3a32a.dip0.t-ipconnect.de. [79.227.163.42]) by smtp.gmail.com with ESMTPSA id p5-20020a05640243c500b0055c63205052sm466641edc.37.2024.02.07.22.07.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 22:07:20 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Robert Vojta <rvojta@HIDDEN> Subject: Re: bug#68940: 29.2; Random crashes in face for char / font In-Reply-To: <m24jekv33y.fsf@HIDDEN> (Robert Vojta's message of "Wed, 07 Feb 2024 13:50:32 +0100") References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> <m2a5od6y69.fsf@HIDDEN> <86jzngzc8d.fsf@HIDDEN> <m24jekv33y.fsf@HIDDEN> Date: Thu, 08 Feb 2024 07:07:19 +0100 Message-ID: <m2fry3qyjs.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68940 Cc: Eli Zaretskii <eliz@HIDDEN>, 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Robert Vojta <rvojta@HIDDEN> writes: > Sorry for the noise so far, this randomness drives me crazy, and the > only thing exhibiting it is Emacs, rest is doing fine. I feel with you :-). There have been, and still are, strange things happening with GUI Emacs on macOS. Although, I think it has improved a lot over the last year or two. Whatever. Some other ideas: - Maybe configuring with --enable-checking can find something? That enables a number of asserts in the code, among them things that ASAN can't find. - If it's a font thing, Font Book could be used to validate the font in question. Select the font in Font Book and use File > Validate Selection. - One of my pet peeves: nsterm.m contains calls to C function redisplay(), which is known to be problematic, although I didn't have seens downright crashes from this yet. The problem is that such redisplays can clear the face cache in settings where this isn't expected. Maybe it's worth commenting out the calls and see if that makes a difference, phenomenologically. That's only a shot in the dark, though, only based on the crashes being in some face-related stuff.
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 8 Feb 2024 05:42:38 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 08 00:42:38 2024 Received: from localhost ([127.0.0.1]:58795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXxBF-0007mX-Rq for submit <at> debbugs.gnu.org; Thu, 08 Feb 2024 00:42:38 -0500 Received: from mail-ej1-x632.google.com ([2a00:1450:4864:20::632]:59433) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <gerd.moellmann@HIDDEN>) id 1rXxBD-0007mL-Vp for 68940 <at> debbugs.gnu.org; Thu, 08 Feb 2024 00:42:36 -0500 Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a383016f428so153501766b.2 for <68940 <at> debbugs.gnu.org>; Wed, 07 Feb 2024 21:42:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707370936; x=1707975736; darn=debbugs.gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=J1H7aK5yA8vnZhXJgCdK0V69AOeAVoYyNhalbTsYevc=; b=IyRMYKT0GrnH2l5O6glFYSfqFtD7/Qndj930gIT2BRY5uMb619ohCoE3w/VynSqx8f FVpQxMoD0DGajokWHmqWeCzCz5UP/z72JioJD6HmYp1KoAxZN4FKO3mEDZpn6e4a+9Kl dgOBPXVSRn/0waBE0DGWvlpaBm2OWxAoEWMGlqovhdun3l6b5Ff/lhgZu3cQcR+5UShS Bw1WMdervjDLN15odQpLHNld/BKCF0/jGbiYfbqORVVJ/BNDqh5MfcLErvlaEKJBDoQ0 eHT+l0xuvb2+bnMdNpO58A9Ri/sHUquoq51D/TmI5OGO2L7UX+X4MQyQ+d3Mdy6dE5K6 Nxng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707370936; x=1707975736; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=J1H7aK5yA8vnZhXJgCdK0V69AOeAVoYyNhalbTsYevc=; b=O5Xz4MSC1DRP5DVqwR59N7LOGzx4gNIm9a8xUseomCx/ByCpfTtVQRTgMN9DYusaoh PSjVLrL4AsBMAMsbcinT4d1cijtOBH6lY2O/WDTxY78AXAtOBbw1NEEXrCCu+PRx/qgL 7UKwYs4h6DXj+/95tbx1+fxyHwdzKDYbMzS8xQYTkZqlwyb2GFkutBIxOb7yWlaL9Q6d rUuLRaQG1SoqPSrKmpCyzWIMDNo3iARlNPJivfb/oVCQH2xO//N4kQky2seeadB4or1o dzAOZ200VqKEsYUDDKQfrvIYD4J8PuwPHsnuF+M+m0xxk1hxx/HCYlDWrTkSUz9vI9Qc QTnw== X-Gm-Message-State: AOJu0YzOw4bFcIxZuQIFWWEIJeEq6+LhNnjU/nO1jW9HxqB6ro8Hv10R nq6b8YVsRDU3TWBog1eH0g91XXBgWkKt5l2mmdIoVy7ie3eTG5MZ X-Google-Smtp-Source: AGHT+IEphJGwMR/noufDWsukyZf3Qr0MIvA19HcVBtBg5HXqeT90TkXp4Nc2W8NyaBjRRjnXso4iwQ== X-Received: by 2002:a17:906:2f11:b0:a36:7189:af7f with SMTP id v17-20020a1709062f1100b00a367189af7fmr6593923eji.50.1707370935695; Wed, 07 Feb 2024 21:42:15 -0800 (PST) X-Forwarded-Encrypted: i=1; AJvYcCUMCIedbrp/ey4+zd4OfKZ1t3bNWIV5kLcf/y18HZ/mzQjrBZLxIyZ9tXknE9gjn9MJ2c70WSnp7wFhWOs= Received: from Pro.fritz.box (p4fe3a32a.dip0.t-ipconnect.de. [79.227.163.42]) by smtp.gmail.com with ESMTPSA id lv6-20020a170906bc8600b00a354d25da36sm1522232ejb.83.2024.02.07.21.42.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 07 Feb 2024 21:42:15 -0800 (PST) From: =?utf-8?Q?Gerd_M=C3=B6llmann?= <gerd.moellmann@HIDDEN> To: Robert Vojta <rvojta@HIDDEN> Subject: Re: bug#68940: 29.2; Random crashes in face for char / font In-Reply-To: <m2plx8sotg.fsf@HIDDEN> (Robert Vojta's message of "Wed, 07 Feb 2024 08:41:34 +0100") References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> <m2a5od6y69.fsf@HIDDEN> <m2plx8sotg.fsf@HIDDEN> Date: Thu, 08 Feb 2024 06:42:14 +0100 Message-ID: <m2il2zqzpl.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 68940 Cc: Eli Zaretskii <eliz@HIDDEN>, 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Robert Vojta <rvojta@HIDDEN> writes: > Address sanitizer gave me ... > > https://gist.github.com/zrzka/3506322a8e4e63fc6b323a48faad8f64 > > ... heap user after free in "Automatic GC". When this happened, Emacs > was showing the mentioned init file load error, and weird character. > > Don't know if it's related to my initial issue, if the problem is the > timer & kill, ... I can't make sense of what is happening here: A marker M is created from Lisp (point-marker), and later GC'd. So far so good, and nrmal, but some later GC then finds M in a member of struct buffer. No idea how that's possible.
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 7 Feb 2024 13:03:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 07 08:03:22 2024 Received: from localhost ([127.0.0.1]:55861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXhaE-0002De-0q for submit <at> debbugs.gnu.org; Wed, 07 Feb 2024 08:03:22 -0500 Received: from pv50p00im-zteg10011401.me.com ([17.58.6.41]:52612) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rvojta@HIDDEN>) id 1rXhaC-0002DR-PY for 68940 <at> debbugs.gnu.org; Wed, 07 Feb 2024 08:03:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1707310981; bh=hppctJOefplWQaceuJGqGXUqsc1s2rC2MbJJIdKztbQ=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=vwfS+cdVb6I41Bdu2tP5hu1n+5WUgAkCGGRBwXf4+q63T/mkgGnO+JNeYJhhfaqTm F50Cbit91WgnGD2s7OvuPDAST4qDb8C3b9e/DaVzOuAtW8xjS+ZNGimnyH73swxKwp AYmecbiJi15T8tndPrz9tkLGcZPAp1kCuiGvo+X9K8d1R8s6IfSTe72oBr75sbe3Bd kYlYRD01uwlo5nQKotI60mMje3Sfbm69BDtemkz2cLsw+1xZQ7Ps8mC10j0P8yiFP8 j+lwOoCH+ls8wNl1gT/AbaKjVq5ciztdJtNGZS5FCacodSCVzz+XV6wXMv0s/swAuI IgDwPauvxrY4A== Received: from localhost (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-zteg10011401.me.com (Postfix) with ESMTPSA id 106B9DC013C; Wed, 7 Feb 2024 13:02:59 +0000 (UTC) References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> <m2a5od6y69.fsf@HIDDEN> <86jzngzc8d.fsf@HIDDEN> User-agent: mu4e 1.10.8; emacs 29.2 From: Robert Vojta <rvojta@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#68940: 29.2; Random crashes in face for char / font Date: Wed, 07 Feb 2024 13:50:32 +0100 In-reply-to: <86jzngzc8d.fsf@HIDDEN> Message-ID: <m24jekv33y.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-GUID: PphpCU18s6k7A5_xQi3OO1EvI1CS3eCG X-Proofpoint-ORIG-GUID: PphpCU18s6k7A5_xQi3OO1EvI1CS3eCG X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-07_04,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 suspectscore=0 phishscore=0 bulkscore=0 clxscore=1015 mlxlogscore=630 malwarescore=0 mlxscore=0 spamscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2402070097 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68940 Cc: 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > Did you clean up the source tree before rebuilding? At least > "make distclean" is needed. Yes. When rebuilding, it's always - distclean, configure, make, ... > Did you try --debug-init? Yes, many times, even with the loop & llvm --batch. With --debug-init, the crash, or the invalid character, ... all the issues from this thread / bug never happened, not even once. > I don't see why it could be undefined. Just a wild guess after seeing all this randomness. > I'm beginning to suspect some problem with your compiler or maybe even > with hardware (like some memory chip?). Using Apple clang version 15.0.0 (clang-1500.1.0.2.5). All the issues are happening with the binary I downloaded from https://emacsformacosx.com/ too. Went to the source only to be able to turn off optimizations, include debug info, ... Might be a HW problem, will run a full HW test too. Sorry for the noise so far, this randomness drives me crazy, and the only thing exhibiting it is Emacs, rest is doing fine.
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 7 Feb 2024 13:01:49 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 07 08:01:48 2024 Received: from localhost ([127.0.0.1]:55856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXhYi-0002B4-I7 for submit <at> debbugs.gnu.org; Wed, 07 Feb 2024 08:01:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rXhYh-0002Ao-1a for 68940 <at> debbugs.gnu.org; Wed, 07 Feb 2024 08:01:47 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1rXhYN-0008Fr-Dr; Wed, 07 Feb 2024 08:01:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=lwieEZpLJPBKV3FpcLXaVQf8FzHebuvJpqFmcRGWmwk=; b=J4+rwdkiLHeV U9OpNRQO7VztBvD5VXS09dRr87h45rEgti7/RIYilBdw42CdVfYwRFcpjQqa2rRybk66YitJa6qiz WZCCzwIiIuValAvEl1Zf44cyLkOver+AihkSJb/kSGHbHqKCp7FYzzbfg6gNHXXzq/s0XX+23wkEh f71oli5Xy1J+gkFdkGmzw5WjrjxoJXbWgRvyiQYIxNRv3TdXySt4d9f84t81IWLBlGEMi3qnEtaLw NPNDt+5d58TXmeljJ8lHdlcGhO2lYYX8KxZYwdPMluIJGM7ByfV6dfpO+f7EAMWcL9ZeVdkNmiYkw 5qD51wXROq39Xb4DZ/WkhA==; Date: Wed, 07 Feb 2024 15:01:19 +0200 Message-Id: <86bk8szaw0.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Robert Vojta <rvojta@HIDDEN> In-Reply-To: <m2plx8sotg.fsf@HIDDEN> (message from Robert Vojta on Wed, 07 Feb 2024 08:41:34 +0100) Subject: Re: bug#68940: 29.2; Random crashes in face for char / font References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> <m2a5od6y69.fsf@HIDDEN> <m2plx8sotg.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68940 Cc: 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Robert Vojta <rvojta@HIDDEN> > Cc: Eli Zaretskii <eliz@HIDDEN> > Date: Wed, 07 Feb 2024 08:41:34 +0100 > > Address sanitizer gave me ... > > https://gist.github.com/zrzka/3506322a8e4e63fc6b323a48faad8f64 > > ... heap user after free in "Automatic GC". When this happened, Emacs > was showing the mentioned init file load error, and weird character. > > Don't know if it's related to my initial issue, if the problem is the > timer & kill, ... Sorry, I have no idea.
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 7 Feb 2024 12:32:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 07 07:32:43 2024 Received: from localhost ([127.0.0.1]:55831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXh6Y-0001IF-Np for submit <at> debbugs.gnu.org; Wed, 07 Feb 2024 07:32:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34224) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rXh6X-0001I2-Ft for 68940 <at> debbugs.gnu.org; Wed, 07 Feb 2024 07:32:42 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1rXh6E-0001Kh-B7; Wed, 07 Feb 2024 07:32:22 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=Zsa9Qd47Y5mtT/8CbyzkkyM/2Xr0xojRUa3aAq18NWU=; b=S0yc9E/kTCwCCbf9p94i vkMnYteKUKun+DdCleAOopoCf+dX2lkEP/9LpkoBC5BsaCdPp40wEvx3jmDwDpKMG2dXofEqbpwgv leiH9kKYg4DWUKNA1Jj8/MByG+Mz90ubtw6vexUJVj9dePdM6iyea6GzoZf5+nu2Dtqs7q+Q5Mbur ZeZN74SvSlJe38C/mgVhCD5DAZ7ezA5STo/3B2iox4kPSy0iqlQ/o/pq5M4YnPqNkpdoOo3P+xjJ+ 9BYaHZki/KcMwseMwOp+x4jrMgDAGopLg31t/oMfBFgpdW5H+SYOpVKEzaaRLdTiJpCia+3APCudY 5jfi/ajlBxMIrA==; Date: Wed, 07 Feb 2024 14:32:18 +0200 Message-Id: <86jzngzc8d.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Robert Vojta <rvojta@HIDDEN> In-Reply-To: <m2a5od6y69.fsf@HIDDEN> (message from Robert Vojta on Tue, 06 Feb 2024 22:59:23 +0100) Subject: Re: bug#68940: 29.2; Random crashes in face for char / font References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> <m2a5od6y69.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68940 Cc: 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Robert Vojta <rvojta@HIDDEN> > Cc: 68940 <at> debbugs.gnu.org > Date: Tue, 06 Feb 2024 22:59:23 +0100 > > > Yes, what's important is to see what is value of base_face at entry to > > face_for_font -- it sounds like that's an invalid face doer some > > reason. Do you have any customizations of the fontsets? > > No, no fontsets customizations. > > This whole thing is getting weirder. I've recompiled Emacs w/ "-O0 -g3" > and two new things appeared: > > 1) Invalid read syntax: # Did you clean up the source tree before rebuilding? At least "make distclean" is needed. > Warning (initialization): An error occurred while loading > ‘/Users/zrzka/.emacs.d/init.el’ > > This is random as well, and it happens frequently (30% of Emacs > launches). Did you try --debug-init? > > 2) A new crash happened > > It is hard to reproduce it in my "while true; lldb ...; done" loop with > this error (a lot of manual interventios required), but managed to > capture another backtrace: > > https://gist.github.com/zrzka/7855634a46adeacb2fa7e8f861e39106 > > All this, purely random, undefined behavior? I don't see why it could be undefined. It seems to indicate that c_strcasecmp crashes comparing an empty string, which is something it is supposed to be able to handle. I'm beginning to suspect some problem with your compiler or maybe even with hardware (like some memory chip?).
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 7 Feb 2024 07:42:43 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Feb 07 02:42:43 2024 Received: from localhost ([127.0.0.1]:55631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXcZv-0007Wg-Ix for submit <at> debbugs.gnu.org; Wed, 07 Feb 2024 02:42:43 -0500 Received: from pv50p00im-ztbu10011701.me.com ([17.58.6.53]:36840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rvojta@HIDDEN>) id 1rXcZu-0007WR-TT for 68940 <at> debbugs.gnu.org; Wed, 07 Feb 2024 02:42:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1707291743; bh=ym6y44zM9iPWY1GGnx7btb2som6QAP3HuDF7OihVd0I=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=IC4JJTothKSELvIOXcOK28rXuimcJn2KgNVnLWjCnPoaLnKWXuHQ7MKqAv6bkEOmg YtEiIFORRMQtIWR1uOhoZtmInMX3EjdfNu44Dgytf+3qeSyHp8e1ZXpbG64CIBwNoi AMMAs2c1kQJ+hkzQjKdKoiOjyBPQ+zj9r8Mx69Mn/93incm1TTybWv0EVSfWfMcqZd Snqb069DUQ1HQbYOa4x3s9Szdc/nGEfpgqRafYVY+9ylE3lrqcjExAf1kd08TC+x1N bBQVIrzpOUnv6fOXbAKGq9gh3AS55wrPaFLCCdcVqGZYz1dE47aLSeEkCx3TB/uCpM jJ1IK0gPywVmA== Received: from localhost (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztbu10011701.me.com (Postfix) with ESMTPSA id 0CEDB740178; Wed, 7 Feb 2024 07:42:21 +0000 (UTC) References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> <m2a5od6y69.fsf@HIDDEN> User-agent: mu4e 1.10.8; emacs 29.2 From: Robert Vojta <rvojta@HIDDEN> To: 68940 <at> debbugs.gnu.org Subject: Re: bug#68940: 29.2; Random crashes in face for char / font Date: Wed, 07 Feb 2024 08:41:34 +0100 In-reply-to: <m2a5od6y69.fsf@HIDDEN> Message-ID: <m2plx8sotg.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-ORIG-GUID: qCy5REPr4SSHb6iJrqnPsmMwPBmLHplB X-Proofpoint-GUID: qCy5REPr4SSHb6iJrqnPsmMwPBmLHplB X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-07_02,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=1 suspectscore=0 bulkscore=0 mlxscore=1 mlxlogscore=197 clxscore=1015 phishscore=0 adultscore=0 malwarescore=0 spamscore=1 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2402070056 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68940 Cc: Eli Zaretskii <eliz@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Address sanitizer gave me ... https://gist.github.com/zrzka/3506322a8e4e63fc6b323a48faad8f64 ... heap user after free in "Automatic GC". When this happened, Emacs was showing the mentioned init file load error, and weird character. Don't know if it's related to my initial issue, if the problem is the timer & kill, ...
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 6 Feb 2024 22:11:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 06 17:11:36 2024 Received: from localhost ([127.0.0.1]:55283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXTfE-0005gk-Ai for submit <at> debbugs.gnu.org; Tue, 06 Feb 2024 17:11:36 -0500 Received: from qs51p00im-qukt01071901.me.com ([17.57.155.8]:26007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rvojta@HIDDEN>) id 1rXTfD-0005gS-0j for 68940 <at> debbugs.gnu.org; Tue, 06 Feb 2024 17:11:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1707257476; bh=GOUGjMkgkUHme0X8iA5zz8KwPXP+0ooU0wfGKFWuXsI=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=yZuvJQoMY938bxuKoFCqGDEYB2lNiLRrQA4v/PCVFae/by8aJoImSPWEAtb1z7w6D NZfe9BM8y6prSsaTL2XYtkEfrVIskpamJi4uKXJF4AKhmqEgnDu+XE5a8SevBFxKG2 ZtQeP7lj87v2WAgwzhmFIul1Z0oLA+6SDwkkRYFSpsdTnl1GxX8oosuR1x6/kY+FLp kgXNH1Ltm/4aF1dpUMOG26od68c/tn2xHHrQ7eMHAiwF3l2vbqXhew8A1KDLUK+18L oKB2/T6efBt5i0SeJj7XRVBXPCYSyfF8kXyJIaEyXrxyrfiG9KSJNEYIjicZfvgOP8 4oBJ3xy0G6PWQ== Received: from localhost (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01071901.me.com (Postfix) with ESMTPSA id 3F8C5628057D; Tue, 6 Feb 2024 22:11:12 +0000 (UTC) References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> <86sf25zgjx.fsf@HIDDEN> User-agent: mu4e 1.10.8; emacs 29.2 From: Robert Vojta <rvojta@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#68940: 29.2; Random crashes in face for char / font Date: Tue, 06 Feb 2024 22:59:23 +0100 In-reply-to: <86sf25zgjx.fsf@HIDDEN> Message-ID: <m2a5od6y69.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-GUID: GJxZCogyKnWENrICxIAy69EeA6mmXCLy X-Proofpoint-ORIG-GUID: GJxZCogyKnWENrICxIAy69EeA6mmXCLy X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-06_14,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=407 bulkscore=0 mlxscore=0 clxscore=1015 adultscore=0 spamscore=0 suspectscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2402060156 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68940 Cc: 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > Yes, what's important is to see what is value of base_face at entry to > face_for_font -- it sounds like that's an invalid face doer some > reason. Do you have any customizations of the fontsets? No, no fontsets customizations. This whole thing is getting weirder. I've recompiled Emacs w/ "-O0 -g3" and two new things appeared: 1) Invalid read syntax: # Warning (initialization): An error occurred while loading =E2=80=98/Users/zrzka/.emacs.d/init.el=E2=80=99 This is random as well, and it happens frequently (30% of Emacs launches). 2) A new crash happened It is hard to reproduce it in my "while true; lldb ...; done" loop with this error (a lot of manual interventios required), but managed to capture another backtrace: https://gist.github.com/zrzka/7855634a46adeacb2fa7e8f861e39106 All this, purely random, undefined behavior? Recompiled again, this time I've added "-fsanitize=3Daddress" (full flags "-O0 -g3 -fsanitize=3Daddress"), and the first thing (Invalid read syntax #) is gone. Leaving it running for the whole night, to see what's gonna happen now. If it won't reveal anything, I will switch back to "-O0 -g3", and will start bisecting 29.1 -> 29.2 changes.
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 6 Feb 2024 16:47:05 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 06 11:47:05 2024 Received: from localhost ([127.0.0.1]:55000 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXObB-00059D-3Y for submit <at> debbugs.gnu.org; Tue, 06 Feb 2024 11:47:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42250) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rXOb9-00058j-5R for 68940 <at> debbugs.gnu.org; Tue, 06 Feb 2024 11:47:04 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1rXOaq-0006Sm-8V; Tue, 06 Feb 2024 11:46:44 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=h90RWx9+yPtwh/3zL3sXcQsM9aERVD7a89CUZVskiWk=; b=K01kQyqurReJ lhnNM07zcPBK5Vt1Ef4ry68EtruSCnDIsgdI3DDV6LqlUS4+4H/ZEZ+VmN1kYsvMr1/+2Tp+4vJI1 7qObmwYaVnhEZTf+Rt0Vb854RRfkQzl8Q/kJ7hUiNqgUsfd87Y8WCLs1Fcwjj9myVIuAzXPZ+n+j5 bLwfRzvpOEQr0wMOsYAWu9+/Xl99QQ8ZzBt5YZHNrxeWqsDiO5PPKjDQxzhpcpxcbqU98YgyT6MgV lOeC6wwNyocnAXPwPyw5mRrMYEUJevV8zDPdqG+LpTjYRjKOrn0rUr94OhgG4kT4mgQg4AaVQa07e wXmkyIzI/m+vssWknhWrXg==; Date: Tue, 06 Feb 2024 18:46:42 +0200 Message-Id: <86sf25zgjx.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Robert Vojta <rvojta@HIDDEN> In-Reply-To: <m27cjhzinl.fsf@HIDDEN> (message from Robert Vojta on Tue, 06 Feb 2024 16:55:02 +0100) Subject: Re: bug#68940: 29.2; Random crashes in face for char / font References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> <m27cjhzinl.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68940 Cc: 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Robert Vojta <rvojta@HIDDEN> > Cc: 68940 <at> debbugs.gnu.org > Date: Tue, 06 Feb 2024 16:55:02 +0100 > > ... not counting the number of attempts, but it took me +1 hour to > reproduce it. Here's the better backtrace: > > https://gist.github.com/zrzka/b01a3c8c013c5efcafd9fde6ac8b78a9 > > Now, I have two things to do: > > - Still figuring out the minimal init.el to reproduce > > - Build Emacs again, with all optimizations disabled, to be able to > step through frames and see what's going on Yes, what's important is to see what is value of base_face at entry to face_for_font -- it sounds like that's an invalid face doer some reason. Do you have any customizations of the fontsets?
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 6 Feb 2024 16:01:42 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 06 11:01:42 2024 Received: from localhost ([127.0.0.1]:54984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXNtG-0003vE-BM for submit <at> debbugs.gnu.org; Tue, 06 Feb 2024 11:01:42 -0500 Received: from qs51p00im-qukt01072302.me.com ([17.57.155.13]:34453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rvojta@HIDDEN>) id 1rXNtE-0003ux-De for 68940 <at> debbugs.gnu.org; Tue, 06 Feb 2024 11:01:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1707235281; bh=TJWaWdSWhKYxCiGTdqGqzpawjsoo0rUSY+wqHhrYX4g=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=a9lb9gN/zNcm3FimBUrP1kLax+YjriUEqun1hIq3T2VEu6disoGex8gIiwYdJKKed O7ARVceZvx0mj1VXyPdDp1ViURPzjaP33xtXL3gPoRD57An+MLzHoDyu0Ps7XW2wAn rtU9sWxPkhJStPHCu0Y1OQq6+uq9g07wdLQUT9MiflR4rBYQ1k66an+WyHGwwqpR8K RVhVSnPhM90/2ortVk2hctXVoQ5Gzv/Nz/+eaQFDsvl93z4dA2+3iR6YblCHi1aMFf YHbVEmdofRTK+JtbMFRGywcyxadhC3F5mmzp9YYm7dIxrbPr7v1ONyh19Yw2rh0L+L Rn8onv4LwwLWg== Received: from localhost (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01072302.me.com (Postfix) with ESMTPSA id 9C9806300876; Tue, 6 Feb 2024 16:01:20 +0000 (UTC) References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> <86wmrhznlq.fsf@HIDDEN> User-agent: mu4e 1.10.8; emacs 29.2 From: Robert Vojta <rvojta@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#68940: 29.2; Random crashes in face for char / font Date: Tue, 06 Feb 2024 16:55:02 +0100 In-reply-to: <86wmrhznlq.fsf@HIDDEN> Message-ID: <m27cjhzinl.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-Proofpoint-ORIG-GUID: wqQ28iWtm6QufDYXzR_XaBpN17Vv0-FX X-Proofpoint-GUID: wqQ28iWtm6QufDYXzR_XaBpN17Vv0-FX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-06_09,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 clxscore=1015 spamscore=0 bulkscore=0 suspectscore=0 phishscore=0 malwarescore=0 mlxlogscore=263 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2402060112 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68940 Cc: 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) Small progress ... Compiled same version from source. Running "src/emacs" makes it really hard to manually reproduce it. The crash rate is very very low. I've added ... (run-with-timer (random 5) 0 'kill-emacs) ... at the end of my init.el file, and then ... while true ; do lldb --batch -o run -f src/emacs ; sleep 1; done ... not counting the number of attempts, but it took me +1 hour to reproduce it. Here's the better backtrace: https://gist.github.com/zrzka/b01a3c8c013c5efcafd9fde6ac8b78a9 Now, I have two things to do: - Still figuring out the minimal init.el to reproduce - Build Emacs again, with all optimizations disabled, to be able to step through frames and see what's going on
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 6 Feb 2024 14:14:54 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 06 09:14:54 2024 Received: from localhost ([127.0.0.1]:53488 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXMDu-0000iz-0a for submit <at> debbugs.gnu.org; Tue, 06 Feb 2024 09:14:54 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33658) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rXMDr-0000im-Ih for 68940 <at> debbugs.gnu.org; Tue, 06 Feb 2024 09:14:52 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1rXMDY-00017h-RW; Tue, 06 Feb 2024 09:14:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=yU0iB5AtRDH90FXlea/07NjONKmztjGbUIk8weFpl/4=; b=lGHCzeLGM355 cX2oOVbBf6BgXWFwwxEdjAzO/b+obNwxzz4PIpJKX3XBJnSoVTXVAGeyb3inXGLMNMmTGAwd3AP07 QgpotVJgC3/XArWmI3hQej5xF6gJgVvW/+5mkf2SRQjNiyYIVpG1dHQCTUW++hBoVYOtSH1kRT0ao 5XVWVQnK9ujiLgWptCmB4Oshj9wVi5TSBG9nOMdUANKgu35XK7AinYHada6h5ui3KLnf/X2QQTyvF QUMpq8VuTAb6mDXnk6RWt9JTJaFAlBUBzlHPmrYQ/FAYoU3VO22vef+Z8fM2Z/ZE5BY1UbZF5gmpk 1ymcNhTF2okaWnqWyqTHLw==; Date: Tue, 06 Feb 2024 16:14:25 +0200 Message-Id: <86wmrhznlq.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Robert Vojta <rvojta@HIDDEN> In-Reply-To: <m25xz14v5f.fsf@HIDDEN> (message from Robert Vojta on Tue, 06 Feb 2024 13:29:00 +0100) Subject: Re: bug#68940: 29.2; Random crashes in face for char / font References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> <m25xz14v5f.fsf@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68940 Cc: 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Robert Vojta <rvojta@HIDDEN> > Cc: 68940 <at> debbugs.gnu.org > Date: Tue, 06 Feb 2024 13:29:00 +0100 > > I know that it does not crash with "emacs -Q", crashes w/ my config, and > I also know which line is causing it. Right now I'm trying to come up w/ > a minimal init.el that can reproduce this issue. Thanks, that will help, I hope.
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 6 Feb 2024 12:47:35 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 06 07:47:35 2024 Received: from localhost ([127.0.0.1]:53373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXKrP-0006eE-2h for submit <at> debbugs.gnu.org; Tue, 06 Feb 2024 07:47:35 -0500 Received: from pv50p00im-ztdg10021901.me.com ([17.58.6.55]:47526) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rvojta@HIDDEN>) id 1rXKrN-0006dz-7o for 68940 <at> debbugs.gnu.org; Tue, 06 Feb 2024 07:47:33 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1707223634; bh=QwqFhJocTrf3LTZxkOUJVn/uNw9HWGhBz+EbeqgqQMU=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=L/WL/6ATu8bNYxae+K7nMDtlbb+cHdpHRuH/qbZoWVQOBhnH6jsDsChixKB8j3BNF flZ6ZmSqEzeNid8kyj9AmQp11pPIH/0at3y2/CvilHscVEs+lElXEW+zncOPP4C+d6 ZYS+NxlbcpUdnjmG6AT5mgs9tBbz2f5V04dCcPYW6Cb/JfeqkTltERvxE91JoEc5/C eDGRHxKej1ap9tOduv1tRtyPqQcPYGdFfadHVHJ5Fglmm4hDsWXm79Z0BBmvOCTOK5 QJxaATO20chtcQCuTVuzH0tRLHojOOwX1K1SrgDq2t15Q8Et7CyMcCUcjqUD/bbLTx quhtSfrPaKp+A== Received: from localhost (pv50p00im-dlb-asmtp-mailmevip.me.com [17.56.9.10]) by pv50p00im-ztdg10021901.me.com (Postfix) with ESMTPSA id 9689E81460; Tue, 6 Feb 2024 12:47:12 +0000 (UTC) References: <m2bk8ucyx1.fsf@HIDDEN> <865xz1233w.fsf@HIDDEN> User-agent: mu4e 1.10.8; emacs 29.2 From: Robert Vojta <rvojta@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#68940: 29.2; Random crashes in face for char / font Date: Tue, 06 Feb 2024 13:29:00 +0100 In-reply-to: <865xz1233w.fsf@HIDDEN> Message-ID: <m25xz14v5f.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: rWnmXBqGCwQXlDSC0pIyIE_FSvcu3B63 X-Proofpoint-GUID: rWnmXBqGCwQXlDSC0pIyIE_FSvcu3B63 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-06_06,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 bulkscore=0 mlxscore=0 clxscore=1011 spamscore=0 phishscore=0 adultscore=0 malwarescore=0 mlxlogscore=548 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2402060090 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 68940 Cc: 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) > Just to clarify: if you start "emacs -Q", then evaluate > > M-: (setq org-ellipsis (if (char-displayable-p ?=E2=8F=B7) "\t=E2=8F=B7= " nil)) RET > > then visit some Org file and try toggling visibility (so that > org-ellipsis is used), does it crash? No, this one does not crash Emacs. If I get after the launch Emacs phase, it works as expected, never crashed. An interesting fact - Emacs launched with "--debug-init" & this ellipsis never crashed too. - "emacs -Q" =3D no crash, expected - "(setq org-ellipsis ...)" in my init.el - "emacs --debug-init" =3D no crash too, never crashed - "emacs" - crash in 80%, once running, never crashed > If not, something else in your customizations "helps" the bug to > happen, perhaps some font-related settings? I'm using PragmataPro Mono font. I've tried another fonts, e.g. Menlo, ... and it is crashing w/ them too. It seems that it is not font related. I know that it does not crash with "emacs -Q", crashes w/ my config, and I also know which line is causing it. Right now I'm trying to come up w/ a minimal init.el that can reproduce this issue. Thanks.
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at 68940) by debbugs.gnu.org; 6 Feb 2024 12:23:58 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Tue Feb 06 07:23:58 2024 Received: from localhost ([127.0.0.1]:53341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rXKUX-0003If-RI for submit <at> debbugs.gnu.org; Tue, 06 Feb 2024 07:23:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1rXKUW-0003IT-9O for 68940 <at> debbugs.gnu.org; Tue, 06 Feb 2024 07:23:56 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <eliz@HIDDEN>) id 1rXKUD-0002C8-OW; Tue, 06 Feb 2024 07:23:37 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=TJ4J5+zE9NjVsnmzadrBSX/INzPKCKx67t4b+Q7chuQ=; b=Z3GQgevTrbnI03i3CYJG QDC17BQdHNp3Di3KVgst7fBcouzbBLnXjbWJAoAzmsO5/xww7IMWBOnu7b0vlvH0HqJl9vnBSOe9Y 4Lk/Ws2nKRy5g0mQJs4BTHEYnHO+E4YY73rN2BfiG4adzZWLL9GRceD94FSOwrLJUauK5XJ3XtuXu ndAPxkqR/AcUXZtW7rlngCXsmla4ZOiWinfh/efebkc2pxGuphuWdzAMSKrNucuA3ASGU65Ff7pJM 9gDEpjGjdJWYjKRj/7HaD450aPn/WiYOCV/gplvm47flFh21wypRalGB8kMPTuPIi1loOOob0QYTu VzwGKlOUqG/UWQ==; Date: Tue, 06 Feb 2024 14:23:31 +0200 Message-Id: <865xz1233w.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Robert Vojta <rvojta@HIDDEN> In-Reply-To: <m2bk8ucyx1.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN) Subject: Re: bug#68940: 29.2; Random crashes in face for char / font References: <m2bk8ucyx1.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 68940 Cc: 68940 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Date: Mon, 05 Feb 2024 23:46:18 +0100 > From: Robert Vojta via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > This was introduced in 29.2, works in 29.1. > > 1. emacs -Q does not crash > > 2. bisected it to the following ... > > (use-package org > :config > (setq org-ellipsis (if (char-displayable-p ?â·) "\tâ·" nil))) > > ... this randomly crashes (wild guess 80%). When it doesn't crash > (rare), it works as expected, even w/ the "â·" character. > > If I comment out this org-ellipsis line, everything's fine and it is not > crashing. > > Here's the full report from the macOS: > > https://gist.github.com/zrzka/373a8a860848efc9aa440dc1e8682a8b I cannot reproduce this, but I'm not on macOS. Maybe it's darwin-specific? Just to clarify: if you start "emacs -Q", then evaluate M-: (setq org-ellipsis (if (char-displayable-p ?â·) "\tâ·" nil)) RET then visit some Org file and try toggling visibility (so that org-ellipsis is used), does it crash? If not, something else in your customizations "helps" the bug to happen, perhaps some font-related settings? The crash backtrace seems to suggest the problem in face_for_font, and that usually means you have some problematic font in your setup. Thanks.
bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 5 Feb 2024 22:46:48 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Feb 05 17:46:48 2024 Received: from localhost ([127.0.0.1]:52577 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rX7jk-0002u6-1D for submit <at> debbugs.gnu.org; Mon, 05 Feb 2024 17:46:48 -0500 Received: from lists.gnu.org ([2001:470:142::17]:45240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rvojta@HIDDEN>) id 1rX7ji-0002tt-6W for submit <at> debbugs.gnu.org; Mon, 05 Feb 2024 17:46:46 -0500 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 <rvojta@HIDDEN>) id 1rX7jP-0006Ur-Ut for bug-gnu-emacs@HIDDEN; Mon, 05 Feb 2024 17:46:27 -0500 Received: from qs51p00im-qukt01080102.me.com ([17.57.155.19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <rvojta@HIDDEN>) id 1rX7jN-0004Px-8m for bug-gnu-emacs@HIDDEN; Mon, 05 Feb 2024 17:46:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=me.com; s=1a1hai; t=1707173182; bh=HKenZDwC89RNtG3mKId/Ykp4Qw+rmKAOzIdSLTYPpKk=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=0mJUHPU1j98ztCPOLxaQC/hw2IUynHrygm8hgL7cntZAge25DoSoDqa+aIeVMVd1h F7OykMoOImCvVjJG+GMvOtyq4NA5yrJHzvru4ez5BHg+4N/fvsoKv5azkNAxmgk+Wv bSZENvUtVmPElLfVJIcMHHGTZ4l4A86cZThALY9ANV4UwFeP3DG+98ahT1b0wcsdJR Me255kLouxzKCnIMs50XbNVOmY7uBXiZmjtq1jf9yoh42xft49xO9PDJmmpOrUwCvN o2eXOzgtdIvxvSl5SUvs0GXMJhFvoNW2o6BHaQAsnifFGZIKMCuaaZmZ3+QwuVMoO4 d+aGtIn6RDGcQ== Received: from localhost (qs51p00im-dlb-asmtp-mailmevip.me.com [17.57.155.28]) by qs51p00im-qukt01080102.me.com (Postfix) with ESMTPSA id 129D21CC014A for <bug-gnu-emacs@HIDDEN>; Mon, 5 Feb 2024 22:46:20 +0000 (UTC) From: Robert Vojta <rvojta@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 29.2; Random crashes in face for char / font Date: Mon, 05 Feb 2024 23:46:18 +0100 Message-ID: <m2bk8ucyx1.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: pFLJLTWUz3VVYvkIcbYPwYQ0nYfASwzX X-Proofpoint-GUID: pFLJLTWUz3VVYvkIcbYPwYQ0nYfASwzX X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.1011,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2024-02-05_16,2024-01-31_01,2023-05-22_02 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 bulkscore=0 adultscore=0 phishscore=0 suspectscore=0 malwarescore=0 clxscore=1011 mlxlogscore=999 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.19.0-2308100000 definitions=main-2402050170 Received-SPF: pass client-ip=17.57.155.19; envelope-from=rvojta@HIDDEN; helo=qs51p00im-qukt01080102.me.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.0 (/) This was introduced in 29.2, works in 29.1. 1. emacs -Q does not crash 2. bisected it to the following ... (use-package org :config (setq org-ellipsis (if (char-displayable-p ?=E2=8F=B7) "\t=E2=8F=B7" nil)= )) ... this randomly crashes (wild guess 80%). When it doesn't crash (rare), it works as expected, even w/ the "=E2=8F=B7" character. If I comment out this org-ellipsis line, everything's fine and it is not crashing. Here's the full report from the macOS: https://gist.github.com/zrzka/373a8a860848efc9aa440dc1e8682a8b If it does not help, I can build Emacs from source with the debug info, and run it from gdb. In GNU Emacs 29.2 (build 1, aarch64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.6 (Build 21G646)) of 2024-01-18 built on armbob.lan Windowing system distributor 'Apple', version 10.3.2487 System Description: macOS 14.3 Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules 'CFLAGS=3D-DFD_SETSIZE=3D10000 -DDARWIN_UNLIMITED_SELECT' --with-x-toolkit=3Dno' Configured features: ACL GLIB GMP GNUTLS JPEG JSON LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 Major mode: ELisp/l Minor modes in effect: ace-window-display-mode: t gcmh-mode: t goto-address-prog-mode: t subword-mode: t display-line-numbers-mode: t winner-mode: t delete-selection-mode: t global-auto-revert-mode: t electric-pair-mode: t global-hungry-delete-mode: t hungry-delete-mode: t global-undo-tree-mode: t undo-tree-mode: t server-mode: t save-place-mode: t recentf-mode: t savehist-mode: t default-text-scale-mode: t global-page-break-lines-mode: t page-break-lines-mode: t pixel-scroll-precision-mode: t shell-dirtrack-mode: t global-hl-line-mode: t yas-global-mode: t yas-minor-mode: t marginalia-mode: t which-key-mode: t windmove-mode: t override-global-mode: t direnv-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t window-divider-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /Users/zrzka/.emacs.d/elpa/emacsql-sqlite-builtin-20240119.2314/emacsql-sql= ite-builtin hides /Users/zrzka/.emacs.d/elpa/emacsql-20240124.1601/emacsql-= sqlite-builtin /Users/zrzka/.emacs.d/elpa/jsonrpc-1.0.24/jsonrpc hides /Applications/Emacs= .app/Contents/Resources/lisp/jsonrpc /Users/zrzka/.emacs.d/elpa/transient-20240201.1100/transient hides /Applica= tions/Emacs.app/Contents/Resources/lisp/transient Features: (shadow sort mail-extr emacsbug vc-git vc-dispatcher ace-window gcmh disp-table goto-addr cap-words superword subword display-line-numbers winner delsel autorevert filenotify elec-pair hungry-delete undo-tree diff queue avy server saveplace recentf tree-widget savehist default-text-scale page-break-lines transient mixed-pitch face-remap pixel-scroll cua-base emacsql-sqlite-builtin sqlite emacsql-sqlite-common emacsql emacsql-compiler rv-org ob-java ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-sass ob-css ob-js ob-ruby ob-python python treesit ob-perl ob-shell shell ob-rust ob-go ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar org-agenda ox-ascii ox-gfm ox-md ox-html table ox-publish ox org-element org-persist xdg org-id avl-tree generator org-mac-link org-goto org-refile rv-email mu4e mu4e-org org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete org-list org-footnote org-faces org-entities noutline outline icons ob-emacs-lisp ob-core ob-eval org-cycle org-table ol rx org-fold org-fold-core org-keys oc org-loaddefs find-func org-version org-compat org-macs format-spec mu4e-notification notifications mu4e-main mu4e-view gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum gnus-group gnus-undo gnus-start gnus-dbus dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus nnheader range wid-edit cal-menu calendar cal-loaddefs mu4e-headers mu4e-compose mu4e-draft mu4e-actions smtpmail mu4e-search mu4e-lists mu4e-bookmarks mu4e-mark mu4e-message shr pixel-fill kinsoku url-file svg xml dom flow-fill hl-line mu4e-contacts mu4e-update mu4e-folders mu4e-context mu4e-query-items mu4e-server mu4e-modeline mu4e-vars mu4e-helpers mu4e-config mu4e-window bookmark pp ido message sendmail yank-media puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068 epg-config gnus-util time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader mu4e-obsolete rv-lang-markdown rv-lang-http uuidgen calc-misc calc-ext calc calc-loaddefs rect calc-macs rv-lang-yaml yaml-mode rv-lang-ruby bundler inf-ruby compile text-property-search comint ansi-osc ansi-color ring ruby-mode smie ruby-hash-syntax rv-snippets yasnippet-capf thingatpt yasnippet-snippets yasnippet rv-flymake rv-spelling rv-completion orderless marginalia compat rv-copilot rv-gpt rv-eglot rv-vc rv-treesit rv-editor which-key use-package-diminish rv-windows windmove rv-buffers ibuffer-project project ibuf-ext ibuffer ibuffer-loaddefs edmacro kmacro use-package-bind-key bind-key rv-theme modus-vivendi-theme modus-operandi-theme modus-themes rv-keychain rv-env direnv diff-mode easy-mmode dash exec-path-from-shell rv-packages diminish cl-extra help-mode use-package-ensure use-package-core finder-inf ace-pinyin-autoloads ace-window-autoloads aggressive-indent-autoloads all-the-icons-autoloads async-autoloads avy-zap-autoloads avy-autoloads beginend-autoloads borland-blue-theme-autoloads bundler-autoloads consult-eglot-autoloads consult-autoloads copilot-autoloads csv-mode-autoloads default-text-scale-autoloads diminish-autoloads direnv-autoloads dockerfile-mode-autoloads drag-stuff-autoloads dumb-jump-autoloads editorconfig-autoloads eglot-jl-autoloads emacsql-sqlite-builtin-autoloads engrave-faces-autoloads exec-path-from-shell-autoloads expand-region-autoloads flycheck-autoloads forge-autoloads closql-autoloads emacsql-autoloads gcmh-autoloads ghub-autoloads goto-chg-autoloads gptel-autoloads haml-mode-autoloads hide-mode-line-autoloads ht-autoloads hungry-delete-autoloads ialign-autoloads ibuffer-project-autoloads jsonrpc-autoloads know-your-http-well-autoloads lv-autoloads magit-autoloads pcase git-commit-autoloads magit-section-autoloads marginalia-autoloads markdown-mode-autoloads minitest-autoloads mixed-pitch-autoloads mwim-autoloads nerd-icons-autoloads ob-go-autoloads ob-rust-autoloads orderless-autoloads org-fragtog-autoloads org-mac-link-autoloads org-mime-autoloads org-modern-autoloads org-pomodoro-autoloads alert-autoloads log4e-autoloads gntp-autoloads org-preview-html-autoloads org-rich-yank-autoloads org-timeline-autoloads org-tree-slide-autoloads ox-gfm-autoloads page-break-lines-autoloads pfuture-autoloads pinyinlib-autoloads pkg-info-autoloads epl-autoloads popup-autoloads rainbow-delimiters-autoloads rbenv-autoloads restclient-autoloads rg-autoloads ripgrep-autoloads robe-autoloads inf-ruby-autoloads ruby-hash-syntax-autoloads ruby-refactor-autoloads scss-mode-autoloads shrink-path-autoloads f-autoloads s-autoloads sly-autoloads solaire-mode-autoloads solarized-theme-autoloads spinner-autoloads sqlite3-autoloads terraform-mode-autoloads dash-autoloads hcl-mode-autoloads toc-org-autoloads toml-mode-autoloads transient-autoloads treepy-autoloads tsc-autoloads typescript-mode-autoloads undo-tree-autoloads queue-autoloads uuidgen-autoloads vterm-autoloads vundo-autoloads wfnames-autoloads wgrep-autoloads which-key-autoloads with-editor-autoloads info compat-autoloads yaml-autoloads yaml-mode-autoloads yard-mode-autoloads yari-autoloads yasnippet-capf-autoloads yasnippet-snippets-autoloads yasnippet-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib subr-x rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 741972 556806) (symbols 48 45280 0) (strings 32 204232 53998) (string-bytes 1 6071164) (vectors 16 72322) (vector-slots 8 857646 566423) (floats 8 424 2185) (intervals 56 900 77) (buffers 984 14))
Robert Vojta <rvojta@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#68940
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.