From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: MPS: profiler Date: Thu, 20 Jun 2024 21:50:51 +0200 Message-ID: References: <87v823xvq1.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27053"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel@gnu.org, Eli Zaretskii , eller.helmut@gmail.com To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jun 20 21:51:34 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 1sKNok-0006qx-K7 for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Jun 2024 21:51:34 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKNo9-0000UC-7o; Thu, 20 Jun 2024 15:50:57 -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 1sKNo7-0000Tm-LA for emacs-devel@gnu.org; Thu, 20 Jun 2024 15:50:55 -0400 Original-Received: from mail-wr1-x42c.google.com ([2a00:1450:4864:20::42c]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sKNo5-0000Y7-VS; Thu, 20 Jun 2024 15:50:55 -0400 Original-Received: by mail-wr1-x42c.google.com with SMTP id ffacd0b85a97d-3620ee2cdf7so826455f8f.3; Thu, 20 Jun 2024 12:50:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1718913052; x=1719517852; darn=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=MgmRStvxPsmryYtE9K7I6Morm7oLxQ3S7oEUG2O8Jw0=; b=W7O2diD+NabNIO3+BOr55BWjcpiQH3W5aDFjUHX7ryKyHHhQSH5XZKhZRRtJsosj9r 80czNXnbU6zO/t0lIOTyU3m8rRJabKjX+gqDmfLOatol/7A8uBFssRP80cQ+zHIScWws yIjEMjwg4+R/nbwpCKhs/m1AG52dSZ9CEizWJ2/CV7oaReomPnIpTu7zXF1ltcCXCjRA HeY+/QI5HJG90V4ltnijWw2jmCEf4WNt1N0NM9+Ou22Rrd+OTtsntZflxXuphak3ZOSt K/KdOsTiIcjup5jyr0/DX3Hoh6yVyhHDEM6UPCSmA7TqkMZVdkg+K4J4EQpGW6+vTViD 2UEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718913052; x=1719517852; 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=MgmRStvxPsmryYtE9K7I6Morm7oLxQ3S7oEUG2O8Jw0=; b=ksAk3CIu7d3Q3b7T/9BfsD2IEzfy4G38NQTIia9ZGXNXO43JZh8G+wfqbeuA5lyv6Y m9mo3iqbvWr8ahm7JHQys85N31WkrAgRME6bWDgXZ0s5ztdzdVJixTUwEQXtcwiLYELi LzsOhEXBVX/c/6Ig6rtNBfTdfARzMKuIOwxjX7x3B8rL69QVfoS7Te7YVNeyzVIk1i0X qzT2k2h8zwccyY40ilbrvf54Rkx8kd93+zUT6Sip180VGyK6HRzJ3PmkbEAez+4PmPTk k044X/k0CQ+mImEkslk2fSo3kUaGq8GLrALgDwFo5Wdd+QL5g/hDseKrmFgIYh4XVKAC U4fQ== X-Forwarded-Encrypted: i=1; AJvYcCVKZpyFMADafzNeRIl9lQWDjwIeTv3g8rYEljf+PPoTGL3mFIs2wE6m5VeZxi/XmtCh/gI0FIi8nKI1SZM= X-Gm-Message-State: AOJu0Yyva0+22lBueAAJqnYDgWzwOQo9O6PcJ/hsltHUUZy7BEcKzR2c xQ8VPHV05qJqbE/0CWbCQNXJgdfuKz5iH7b1jNjUynzWc3tON+ez X-Google-Smtp-Source: AGHT+IFsax+lETYGMHI3AD1+NrswKB1+mPjPNshznaTrJ2H9xByWzmNl+WhkdXFtytKb3pEElr9IQw== X-Received: by 2002:a5d:5f8a:0:b0:364:3ba5:c5af with SMTP id ffacd0b85a97d-3643ba5cc94mr4183226f8f.61.1718913052221; Thu, 20 Jun 2024 12:50:52 -0700 (PDT) Original-Received: from pro2.fritz.box (p4fe3a551.dip0.t-ipconnect.de. [79.227.165.81]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-3609aa60a59sm9913365f8f.84.2024.06.20.12.50.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 12:50:51 -0700 (PDT) In-Reply-To: <87v823xvq1.fsf@localhost> (Ihor Radchenko's message of "Thu, 20 Jun 2024 19:25:26 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::42c; envelope-from=gerd.moellmann@gmail.com; helo=mail-wr1-x42c.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-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:320343 Archived-At: Ihor Radchenko writes: > Hi, > > I am playing around with scratch/igc branch for fun, and there is one > crash that I can reproduce quite consistently. > > All it takes is (1) compile Emacs without native-compilation support; > (2) open Emacs; (3) M-x profiler-start; (4) run a complex operation. > > Steps to reproduce: > > 1. emacs -Q doc/misc/org.org > 2. M-x profiler-start RET cpu RET > 3. M-: (org-element-parse-buffer) RET > > Without step 2, no crash. > > Hope it helps. Doesn't seem to happen here. Strangely, I get something like this in *Messages*, but no crash. ... CPU profiler started (org-data (:standard-properties [1 1 1 821876 821876 0 nil org-data nil nil nil 3 ...] :path "/Users/gerd/emacs/github/igc/doc/misc/org.org" :CATEGORY "org") (section (:standard-properties [1 1 1 142 142 0 nil first-section nil nil nil 1 ...]) (keyword (:standard-properties [1 1 nil nil 25 0 nil top-comment nil nil nil nil ...] :key "TITLE" :value "The Org Manual")) (keyword (:standard-properties [25 25 nil nil 60 ... What system are you using? And, maybe, does a git pull help? It's been moving quite fast the last days.