From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eval EXEC Newsgroups: gmane.emacs.devel Subject: Re: [scratch/igc] 985247b6bee crash on Linux, KDE, Wayland Date: Thu, 05 Sep 2024 19:04:00 +0800 Message-ID: <87ikva5plr.fsf@gmail.com> References: <8734mezkgo.fsf@gmail.com> <87jzfqse2c.fsf@gmail.com> <87jzfqwlm4.fsf@gmail.com> <87cylisdlg.fsf@gmail.com> <877cbq752f.fsf@gmail.com> <865xra4b60.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5229"; mail-complaints-to="usenet@ciao.gmane.io" Cc: eller.helmut@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 05 13:27:39 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 1smAeJ-0001Bj-Ex for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Sep 2024 13:27:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1smAdm-0001u5-VL; Thu, 05 Sep 2024 07:27:06 -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 1smAHX-0003BA-Mt for emacs-devel@gnu.org; Thu, 05 Sep 2024 07:04:11 -0400 Original-Received: from mail-pf1-x441.google.com ([2607:f8b0:4864:20::441]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1smAHU-0007ZB-KE; Thu, 05 Sep 2024 07:04:06 -0400 Original-Received: by mail-pf1-x441.google.com with SMTP id d2e1a72fcca58-717986530ddso685b3a.0; Thu, 05 Sep 2024 04:04:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1725534242; x=1726139042; darn=gnu.org; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=GegALK8nXZHylFcZygTJtWTP4JGkM3wwHLCOaH4uW6g=; b=VQWVx5XfxSvN9KMOCDTx/N6Za0MRThd7ZdaZTfdX7bll1iWFB3LqBPVdNId6G+Ntyy l5VFzlqhm/jHfV17tinneUAUl3G54+8nZlRXCr65XL6bhW3B0m3ankdBCR0ZNLHhb/I5 oIVmchc1GgFNCdaNMxRZveKPN+lqvQ673ECMrtA53puQlPlgsb9q+bGiu7xSCD2BlUT5 NM+os0jBVj3rAKxaNzMyQuaN3sezbJJ0xFCk3xd8xtT6cg8dM3QDolVsw4JUGbg9frtX fpITxDi3My2MnAmqPUuhcdh4Ra8RIu1LBKJ6cbHD43RC7UUCkbCOO5F7MZZdotkG2MO9 TN2g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725534242; x=1726139042; h=mime-version: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=GegALK8nXZHylFcZygTJtWTP4JGkM3wwHLCOaH4uW6g=; b=ELn7KbrnJyghU2VMnjsiT2flwqAdEZ8NSR0CGIAwJDs54whGg2VqQFyCJGWLPPN5ud DohPdWtIjt8glQt9ceullFNcjMKjvZF0vyrDaDKd4GQ6VSfKzu9vK2gh9gL5nvBqwdjM BF9NdN4LyRAEt1vMlpMviegOqkqFqE3PheKZwIP8ho0+y2NwGwXhT+ErFqjxkoTgDIJi C2t68MUqapfwDcktkMurD2/GfXuZWxqAQOU61vZqmZogXndYhEeY2tpCo3nNQg33ax8+ 8bvouRXW8w+UMjE7HMT301b/Lhv7CBPF8VnzF+cTUq81AV0xJq4b95BP0krCM3vs+BsM 8TQw== X-Forwarded-Encrypted: i=1; AJvYcCX8CbWcBZ75okX0oyYeuCPznXe/i8iEdqC/PhtMW5r+Eq+krXGdnpeDRlxTX3dh145ffdz+O7EtJsd8xQ==@gnu.org X-Gm-Message-State: AOJu0Yya4CrzPWOsyJzoVOk0yRVsWGRiuL0r8jOOANzq7a5DJuRHEgXm FQDM/b818RH06SnxNQp/EsRP8yKXBwGOPo69poax8t9e2YY2oF/ejFCyim8e0LyB5Q== X-Google-Smtp-Source: AGHT+IH8BhlADB0Pgm/PzmwR3bouNdyerLLuECWPEolxHCg3Dnt9SizVJUPGT4h8Dpn+2dbzHdnLKw== X-Received: by 2002:a05:6a20:e617:b0:1c4:2134:dd54 with SMTP id adf61e73a8af0-1cce10ef0cfmr29159369637.45.1725534242284; Thu, 05 Sep 2024 04:04:02 -0700 (PDT) Original-Received: from localhost (144.34.182.14.16clouds.com. [144.34.182.14]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-7178d280d20sm1033842b3a.193.2024.09.05.04.04.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Sep 2024 04:04:02 -0700 (PDT) In-Reply-To: <865xra4b60.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 05 Sep 2024 14:01:11 +0300") Received-SPF: pass client-ip=2607:f8b0:4864:20::441; envelope-from=execvy@gmail.com; helo=mail-pf1-x441.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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-Mailman-Approved-At: Thu, 05 Sep 2024 07:27:05 -0400 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:323394 Archived-At: Eli Zaretskii writes: >> From: Eval EXEC >> Cc: emacs-devel >> Date: Thu, 05 Sep 2024 18:44:40 +0800 >> >> Helmut Eller writes: >> >> > On Thu, Sep 05 2024, Eval EXEC wrote: >> > >> >> Helmut Eller writes: >> >> >> >>> I think you need to add -fno-omit-frame-pointer (or use the patch >> >>> https://github.com/Ravenbrook/mps/pull/38). Without that, MPS doesn't >> >>> trace the %rbp register properly. >> >> >> >> Will `-fno-omit-frame-pointer` >> > >> > This will cost a little. Though, it usually also helps perf to produce >> > more useful reports. >> > >> >> or apply use github PR patch performance >> >> emacs's performance? >> > >> > The patch should not cost any performance. >> >> I compiled scratch/igc emacs with `-fno-omit-frame-pointer`, it crash >> again, and I don't know how to reproduce. > > Please show the value of system-configuration-options, so that we are > sure the switch was indeed noted. system-configuration-options is a variable defined in emacs.c. Value "'CFLAGS=-O3 -fno-omit-frame-pointer -mtune=native -march=native' --prefix=/home/exec/Projects/git.savannah.gnu.org/git/emacs-build/scratch_igc --with-mps=yes --with-imagemagick --with-modules --without-compress-install --with-native-compilation --with-mailutils --enable-link-time-optimization --with-tree-sitter --with-xinput2 --with-dbus --with-native-compilation=aot --with-file-notification=inotify" > Also, I would suggest to rebuild with -O2, since -O3e could perform > other unsafe optimizations. OK, I'm going to replace -O3 by -O2 now. --