From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pip Cet Newsgroups: gmane.emacs.bugs Subject: bug#47067: 28.0.50; [feature/native-comp] Crash while scrolling through dispnew.c Date: Fri, 12 Mar 2021 18:42:17 +0000 Message-ID: References: <83sg52lykn.fsf@gnu.org> <83mtv8lrmf.fsf@gnu.org> <83czw4lelg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1694"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Andrea Corallo , 47067@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 12 20:43:11 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lKngl-0000Ks-Ba for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Mar 2021 20:43:11 +0100 Original-Received: from localhost ([::1]:45530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKngk-0005F4-DD for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Mar 2021 14:43:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50028) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKmla-0007M7-Eg for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 13:44:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46806) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKmlV-0004m8-OQ for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 13:44:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKmlV-0005JF-N8 for bug-gnu-emacs@gnu.org; Fri, 12 Mar 2021 13:44:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Pip Cet Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Mar 2021 18:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47067 X-GNU-PR-Package: emacs Original-Received: via spool by 47067-submit@debbugs.gnu.org id=B47067.161557458320319 (code B ref 47067); Fri, 12 Mar 2021 18:44:01 +0000 Original-Received: (at 47067) by debbugs.gnu.org; 12 Mar 2021 18:43:03 +0000 Original-Received: from localhost ([127.0.0.1]:58347 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKmkZ-0005Hf-8k for submit@debbugs.gnu.org; Fri, 12 Mar 2021 13:43:03 -0500 Original-Received: from mail-oi1-f169.google.com ([209.85.167.169]:36773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKmkU-0005H7-GX for 47067@debbugs.gnu.org; Fri, 12 Mar 2021 13:43:01 -0500 Original-Received: by mail-oi1-f169.google.com with SMTP id o22so18100213oic.3 for <47067@debbugs.gnu.org>; Fri, 12 Mar 2021 10:42:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=PuDNhpcRlWiIJhrt3jDcSf6I9GJFjhPMsln3nRSdY9c=; b=u7/AvOZQNc7VVpFoDVm5k8gLN3P3FlCeTVtpnd1gPYZcQ49P3ezxmFiWWfta19GHbm Of+7q6UhzTu86KbSsfXYi6BUn6sqA5S2tkQic0h+MBneIx8Jd/D7TjWhyxX8qh50MHny apT7aCoI2EHklMFMNufRJmbrOx3LHog/SPVIKrCyqxceC/qby2PlhUjt8ghcyMtn68R7 R+SbYfTgn53K9RhdUMoYhDACyhsosPrNkUbY3EzuTIy/5qF1r+BCCnOl9zMWb+xmJ469 HQIY9cu9WBm5KLSrLPX1yRJdGbELLBZ7rcF3avdw79I81cvAVQ4ZudlCJ0d/+nwZ299M avHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=PuDNhpcRlWiIJhrt3jDcSf6I9GJFjhPMsln3nRSdY9c=; b=ouMG+aThgWvLYYEFi2RL1yO1NaR739H+CbS4BWAhCD6Vvtdp13Vc0/yTWZ7hZROBTY xcJQsW/ky9+FQwvNv8QIJX0bZBHdP5afFHqzpviSJlXlASXwE6sHFclN+DvRKLN0v61w DdJS9r32/amY3qCYXevncJceoNS6MGQnfYifkKawXpvqo9G5I//2/lDXoSEVP8dTicKf RxsbUwQm2hjc7hNIf7xUtbUr5g/waGJpbbxSdLnb3d2R2zX+AhV7mzShHQjEt3hQEGKL xxRht33duDYwRCS+2HfcPreusUfESQ6fVs9721tJNEExXSIL370v5XYos8pVBJduwEs3 4LaQ== X-Gm-Message-State: AOAM531Nww5q2Q1IJV7LlSJG9FzonSZzGHLi9lmy9rqivgylcq81PfwL Whn/on+KQ+/B3cT/q3qKi8bVMMlu9DFMGxMl3I4= X-Google-Smtp-Source: ABdhPJyGn3H1ECjbfc9Pw6TFpAV9INYBENGiTEGCPukPy5l/DE29bTgbONAlsX6/6SIizTy+tc/Rajf2myuK1TAUTNM= X-Received: by 2002:a54:4196:: with SMTP id 22mr10575259oiy.30.1615574572917; Fri, 12 Mar 2021 10:42:52 -0800 (PST) In-Reply-To: <83czw4lelg.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:202197 Archived-At: On Fri, Mar 12, 2021 at 12:52 PM Eli Zaretskii wrote: > > From: Andrea Corallo > > Cc: 47067@debbugs.gnu.org > > Date: Fri, 12 Mar 2021 12:04:34 +0000 > > > > >> > emacs -Q > > >> > C-h sit-for RET > > >> > Click on the link to subr.el > > >> > In subr.el go to where sit-for calls sleep-for and type C-h f RET > > >> > Click on "C source code" to display dispnew.c > > >> > Scroll down with C-n or C-v > > >> > > >> I can't reproduce here :/ > > > > > > Did you try the 32-bit build --with-wide-int? It could be specific to > > > that configuration. > > > > Good point, it tried on 32-bit before and now 32-bit --with-wide-int but > > still could not reproduce. > > Is there any data I can collect to help diagnose the issue? Anything > at all? Like maybe disassembly of this F632d626567696e6e696e672d6f662d73746174656d656e742d31_c_beginning_of_statement_1_0() > function or some part of it? I think disassembling that function couldn't hurt, and it might help, particularly the insns around the call site (but, of course, Andrea's the expert). Passing 0x28 where the argument pointer should be is very wrong; my suspicion is that the frame base pointer is NULL and there are five arguments, leaving us with 0x28 pointing to what's allegedly the base of the "proper" stack, but I don't think that's even how it's supposed to work in the dynamic-scope case... Pip