From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ravine Var Newsgroups: gmane.emacs.bugs Subject: bug#45248: 28.0.50; Emacs freezes with big C functions Date: Tue, 15 Dec 2020 09:29:12 +0530 Message-ID: <87a6ufen1w.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8480"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.7; emacs 28.0.50 To: 45248@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 15 05:01:17 2020 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 1kp1WX-00026O-Di for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 15 Dec 2020 05:01:17 +0100 Original-Received: from localhost ([::1]:51894 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kp1WV-0001kB-Uu for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 14 Dec 2020 23:01:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54284) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kp1WK-0001k0-TJ for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 23:01:05 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43487) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kp1WI-0007KH-7F for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 23:01:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kp1WI-0001Gc-4y for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 23:01:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Ravine Var Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Dec 2020 04:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45248 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16080048554846 (code B ref -1); Tue, 15 Dec 2020 04:01:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Dec 2020 04:00:55 +0000 Original-Received: from localhost ([127.0.0.1]:55033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kp1WB-0001G5-D1 for submit@debbugs.gnu.org; Mon, 14 Dec 2020 23:00:55 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:46044) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kp1W9-0001Fy-Sd for submit@debbugs.gnu.org; Mon, 14 Dec 2020 23:00:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kp1W9-0001jm-Jq for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 23:00:53 -0500 Original-Received: from mail-pg1-x52b.google.com ([2607:f8b0:4864:20::52b]:38085) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kp1W5-0007Gv-A1 for bug-gnu-emacs@gnu.org; Mon, 14 Dec 2020 23:00:53 -0500 Original-Received: by mail-pg1-x52b.google.com with SMTP id e2so14341004pgi.5 for ; Mon, 14 Dec 2020 20:00:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=user-agent:from:to:subject:date:message-id:mime-version; bh=uwLIzF55SxEIAvHsLeeQUZ1wQB/+ZPO3bK+6tqFhtX8=; b=CZHuzG9alE5Zz8WXUll4kNqqXEEV3cSiCuKK0Hqhn+5HmGe1R6nqmDayQHj50gslqi lcXD5RlMPePhKDDoJcN7KUww7fNN9T0uIRZhcwiDAut7uPltjhBDQEeG7Ul1EPF3YBIa FFdaHZc1ELizFU4P3CCCX3QqQhBO3n7lAM5MxehwseiSb33gNLkxqNFdTrksLLttNyvE h5KRCkim8moucevcN2MT1SK8knunmg9hri7AG+cFZ09myfzT5MainSmldfj2JoOzwGDp GLqc8r/vX7tTdi/xoyONyqeBuhL8f9H1jZtdx4gEjIx3QNz0QAnGeCfptIYgmvpoIYg3 DvlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=uwLIzF55SxEIAvHsLeeQUZ1wQB/+ZPO3bK+6tqFhtX8=; b=pSNxpxWtUj7GruhIRBltuZlPtddKKy0+sLfiL5bvoETKt56z1D7FlKGeVJlSuG7blh p/y9Fjx37Buy5G+wsI3kAqQPuIE7qgsideD0O+cevRtJiZTN9nKus7+VjLcjxEU64aSX uOwaVJp9n8iM/4E6hq4V7blp947cJp0/EiGnKi09Mufc/J01LeQ1Ogp5GN7GP94/mIjs VUrKWgQlB0zxZytfOq/6aVgdJyv+Xv3JqsDHyOCs8WO4vP5NdYk5lmyBOori5Tih5TX9 bOiNOLhDbwSMWOVfK8qKBGdK5+qoqQM1jV3knOXf4Luk4HygSpWisBdJfW8GDyaMDOPv ALnQ== X-Gm-Message-State: AOAM53267xpObVzDH8DCp/DjQaVE9DhxOpg5elj0QSEE52IwV/PgEO4+ pcA1XeqnWso3sYFxBBXWLbyIyA/OOSk= X-Google-Smtp-Source: ABdhPJzFgSBja7oSOBkf28WRr2mzKxIJzP/ky37nXlaTr4z695dlZlX+K7KrNT8ukO7BVdGCfs+W6Q== X-Received: by 2002:aa7:8159:0:b029:1a5:54e4:7cf2 with SMTP id d25-20020aa781590000b02901a554e47cf2mr8709342pfn.69.1608004846776; Mon, 14 Dec 2020 20:00:46 -0800 (PST) Original-Received: from ryzen-mach ([2409:4072:e87:49af:4b4a:d2e8:6eaf:82aa]) by smtp.gmail.com with ESMTPSA id z3sm13995572pfq.89.2020.12.14.20.00.45 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Dec 2020 20:00:46 -0800 (PST) Received-SPF: pass client-ip=2607:f8b0:4864:20::52b; envelope-from=ravine.var@gmail.com; helo=mail-pg1-x52b.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 autolearn=ham autolearn_force=no X-Spam_action: no action 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:196124 Archived-At: Scrolling through large functions freezes Emacs. For example, the function proto_register_rrc(void) extracted from Wireshark shows the issue. https://gitlab.com/wireshark/wireshark/-/raw/master/epan/dissectors/packet-rrc.c Profile report with emacs -Q: https://gist.github.com/ravine-var/9136ed2608a08f65111bdc2fc531ccf5 In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.17.4) of 2020-12-15 built on ryzen-mach Repository revision: fd4297b25a61b33340ef312355748512e702bc2c Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12010000 System Description: Arch Linux Configured using: 'configure --prefix=/usr/local --without-rsvg --with-x-toolkit=no --without-lcms2 --without-libsystemd --without-dbus --without-gsettings --without-selinux --with-sound=no --enable-link-time-optimization 'CFLAGS=-O2 -march=native'' Configured features: XPM JPEG TIFF GIF PNG CAIRO NOTIFY INOTIFY ACL GNUTLS LIBXML2 FREETYPE HARFBUZZ ZLIB OLDXMENU X11 XDBE XIM MODULES THREADS PDUMPER Important settings: value of $LANG: en_IN.UTF-8 locale-coding-system: utf-8-unix Major mode: Dired by name Minor modes in effect: save-place-mode: t savehist-mode: t dired-omit-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t column-number-mode: 1 line-number-mode: t transient-mark-mode: t Load-path shadows: ~/packages/xcscope/xcscope hides /usr/share/emacs/site-lisp/xcscope ~/packages/dictionary-el/dictionary hides /usr/local/share/emacs/28.0.50/lisp/net/dictionary Features: (shadow face-remap emacsbug dired-aux cl-extra help-mode edmacro kmacro emms-browser sort emms-playlist-sort emms-last-played emms-cache emms-volume emms-volume-mixerctl emms-volume-pulse emms-volume-amixer emms-info-libtag emms-info emms-later-do emms-player-simple emms-playlist-mode emms-source-playlist emms-source-file locate emms emms-compat saveplace savehist visual-fill-column mu4e-contrib eshell esh-cmd esh-ext esh-opt esh-proc esh-io esh-arg esh-module esh-groups esh-util bookmark pp mu4e mu4e-org mu4e-main mu4e-view thingatpt mu4e-headers mu4e-compose mu4e-context mu4e-draft mu4e-actions ido rfc2368 smtpmail sendmail mu4e-mark mu4e-proc mu4e-utils doc-view jka-compr image-mode exif mu4e-lists mu4e-message shr kinsoku svg xml dom browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse url-vars mailcap flow-fill org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete comint ansi-color org-list org-faces org-entities noutline outline easy-mmode org-version ob-emacs-lisp ob-core ob-eval org-table ol org-keys org-compat advice org-macs org-loaddefs format-spec find-func cal-menu calendar cal-loaddefs mule-util hl-line mu4e-vars message rmc puny rfc822 mml mml-sec epa derived epg epg-config gnus-util rmail rmail-loaddefs auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json map text-property-search time-date subr-x seq byte-opt gv bytecomp byte-compile cconv mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr mailabbrev mail-utils gmm-utils mailheader cl-loaddefs cl-lib mu4e-meta dictionary link connection cycbuf dired-x dired dired-loaddefs xcscope ring easymenu iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic 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 charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads inotify dynamic-setting font-render-setting cairo x multi-tty make-network-process emacs) Memory information: ((conses 16 145029 10616) (symbols 48 16107 1) (strings 32 54243 2983) (string-bytes 1 1799965) (vectors 16 28914) (vector-slots 8 327029 18380) (floats 8 151 158) (intervals 56 538 134) (buffers 984 12))