From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: MPS: staticpro everything Date: Thu, 02 May 2024 21:49:07 +0300 Message-ID: <86ttjgjbh8.fsf@gnu.org> References: <87ttjlabic.fsf@gmail.com> <87v8408wsr.fsf@gmail.com> <87o79sasl5.fsf@gmail.com> <87plu72y8h.fsf@gmail.com> <877cgfwe5g.fsf_-_@gmail.com> <871q6mptkj.fsf@gmail.com> <86frv2pse5.fsf@gnu.org> <87v83ynhuc.fsf@gmail.com> <86v83xof5w.fsf@gnu.org> <878r0thbfl.fsf@gmail.com> <86jzkdo9rm.fsf@gnu.org> <87jzkdfres.fsf@gmail.com> <86plu4mylj.fsf@gnu.org> <87sez06yj3.fsf@gmail.com> <878r0s6w1m.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30564"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, emacs-devel@gnu.org To: Helmut Eller Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 02 20:49:50 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s2bV7-0007mJ-AZ for ged-emacs-devel@m.gmane-mx.org; Thu, 02 May 2024 20:49:49 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s2bUa-00062m-A0; Thu, 02 May 2024 14:49:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s2bUY-00061x-4j for emacs-devel@gnu.org; Thu, 02 May 2024 14:49:14 -0400 Original-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 ) id 1s2bUU-0002Am-H3; Thu, 02 May 2024 14:49:11 -0400 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=0jvQSPjbs6VGc+VsO5GDf1NpFJ4sO1FofV7xNsp1Ap0=; b=mvcx0N0yTpL8+PzDwQ3B c5vv3oUpY742NpyRPKcfqjWWQqYA7/x6kgKduGQqsntNN7HFb4Vg2Qkt3+u51Lt6Vtgty62xnuQxG alD98SCnpCO1pTOeYnVI5EnrIIiXe8EVRCz7xj98fWUwGpbyCXlsL0E1cFp/d4lNtYXfm9hpNHqwL +kJc6VPo32t+ZYCgGK+VAEb+qztWCr+0eYFQbWaMz6fSYr7ZYULGyX/nYcq2vDHUZfPYSlNo2J9Td NnePpfb6HNaRCzl6h+01xE9vcR+cQOcARIIj0suYAya9463e845PFo2v9v2ORUrJSiA2/SHL06Pjf dOrnKx14wuv04A==; In-Reply-To: <878r0s6w1m.fsf@gmail.com> (message from Helmut Eller on Thu, 02 May 2024 18:03:17 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318608 Archived-At: > From: Helmut Eller > Cc: Eli Zaretskii , emacs-devel@gnu.org > Date: Thu, 02 May 2024 18:03:17 +0200 > > > BTW, I sent the last mail an Emacs build from scratch/igc, without > > native compilation, but with my init file). It didn't survive very long > > though :-). I guess I'Ll try to do more in that direction. > > (add-hook 'post-command-hook 'igc--collect) helps to crash it sooner. Another crash I had was like this: Thread 1 received signal SIGSEGV, Segmentation fault. count_size_as_multibyte ( str=0xb855020 "àÜA\ve-2: visit this file in other window", len=len@entry=197397672) at character.c:675 675 nonascii += str[i] >> 7; (gdb) bt #0 count_size_as_multibyte ( str=0xb855020 "àÜA\ve-2: visit this file in other window", len=len@entry=197397672) at character.c:675 #1 0x00aab348 in insert_from_string_1 (string=, pos=0, pos_byte=0, nchars=197397672, nbytes=197397672, inherit=false, before_markers=false) at insdel.c:1017 #2 0x00aabedd in insert_from_string (string=0xb807b0c, pos=pos@entry=0, pos_byte=pos_byte@entry=0, length=197397672, length_byte=197397672, inherit=inherit@entry=false) at insdel.c:974 #3 0x00b05962 in general_insert_function (insert_func=0xaabb63 , insert_from_string_func=0xaabe6a , inherit=inherit@entry=false, nargs=nargs@entry=1, args=args@entry=0x1a99f04c) at editfns.c:1338 #4 0x00b05ab5 in Finsert (nargs=1, args=0x1a99f04c) at editfns.c:1374 #5 0x00b65737 in exec_byte_code (fun=0x103e065 , fun@entry=0x1a5d8dcd, args_template=513, nargs=2, nargs@entry=1, args=0x1a99f050, args@entry=0x72bf46c) at bytecode.c:1420 #6 0x00b188b8 in funcall_lambda (fun=0x1a5d8dcd, nargs=nargs@entry=1, arg_vector=arg_vector@entry=0x72bf46c) at eval.c:3200 #7 0x00b18dd4 in funcall_general (fun=, numargs=numargs@entry=1, args=args@entry=0x72bf46c) at eval.c:2994 #8 0x00b1455b in Ffuncall (args=0x72bf468, nargs=2) at eval.c:3032 #9 Ffuncall (nargs=nargs@entry=2, args=args@entry=0x72bf468) at eval.c:3006 #10 0x00a766a7 in help_echo_substitute_command_keys (help=help@entry=0xb807b0c) at lisp.h:1179 #11 0x00a7eaea in show_help_echo (help=help@entry=0xb807b0c, window=, window@entry=0xb0025fd, object=, object@entry=0xaa1248d, pos=) at keyboard.c:2275 In this case, the help-echo string is bogus (it has huge size), so I suspect the string was moved or GCed. Any suggestions or ideas? Unfortunately, these crashes are not reproducible.