From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrii Kolomoiets Newsgroups: gmane.emacs.bugs Subject: bug#43973: 28.0.50; [NS] Two crashes on macOS Date: Thu, 15 Oct 2020 00:33:44 +0300 Message-ID: References: <20201014204147.GO60347@breton.holly.idiocy.org> <20201014211548.GP60347@breton.holly.idiocy.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="38407"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (darwin) Cc: 43973@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 14 23:34:26 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 1kSoPi-0009pT-1j for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Oct 2020 23:34:26 +0200 Original-Received: from localhost ([::1]:50176 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kSoPg-0001im-Vd for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 14 Oct 2020 17:34:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kSoPK-0001hh-Nu for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 17:34:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kSoPK-0001SC-7f for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 17:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kSoPK-00057n-4S for bug-gnu-emacs@gnu.org; Wed, 14 Oct 2020 17:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andrii Kolomoiets Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Oct 2020 21:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43973 X-GNU-PR-Package: emacs Original-Received: via spool by 43973-submit@debbugs.gnu.org id=B43973.160271123619687 (code B ref 43973); Wed, 14 Oct 2020 21:34:02 +0000 Original-Received: (at 43973) by debbugs.gnu.org; 14 Oct 2020 21:33:56 +0000 Original-Received: from localhost ([127.0.0.1]:53253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSoPE-00057T-2Q for submit@debbugs.gnu.org; Wed, 14 Oct 2020 17:33:56 -0400 Original-Received: from mail-lj1-f171.google.com ([209.85.208.171]:37053) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kSoPB-00057E-R9 for 43973@debbugs.gnu.org; Wed, 14 Oct 2020 17:33:54 -0400 Original-Received: by mail-lj1-f171.google.com with SMTP id i2so982842ljg.4 for <43973@debbugs.gnu.org>; Wed, 14 Oct 2020 14:33:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=CC6rl4iWPc7ovh7XieAV/vy5uP2zKD+3WZlsFt3b5b8=; b=Mns/RmpbvrRONi2aINcOel+no+E6kVpwa2uxw1vPu0vKhT0Rx3JTq7itYNroBYL5Pe hQ3eNMyqjY9TGgc+F/KrZU35xmsauD8kC2GWNm/LzbeI50VzHE75V2NIic602JF0kSNi cIxB6RQNpGIFnYhGBiWEG9BLon6f3cN5VdqcJuV2gEbJigsreQdjVX50nDEnCYhzGKqO 8JVUUIWQq9Q9YEe9/lob2hptR8OqlvMDx0V7sVeZHe6lC43RFgYTddn1aXRgARADVoM1 U0hYk6+Ig8rUGUejQoFe6dGRjxCmcB9uZsXidnU6LdN9LPBP+cV3fwqEfLjoI42N9xpU 19eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=CC6rl4iWPc7ovh7XieAV/vy5uP2zKD+3WZlsFt3b5b8=; b=G7XJccS0WVT50K/j+EJPSjbwrpPyFicRUO7G3AdqW7647NBRGMe7btrVJQrU03zJMl XV+e2G9gUWelJTzlFV+lmQl+A4DfyYN2MhLRPEJwtYwVLByTk2q3ejHn9FStYFiGqfTM tZLYQPBoJMSUPczVNWt6xeM8A98RLchNgT+goUNpT+mWJpdsSUQ7LDsV5J2eeSwnC4Rj XCdVOSK8S4s023qXKZi4rPW2qYcDcO3uRrmGsi8DonQsvhT08svFBoRl/AK4/TTdKb6M bQ00THipGpwG440prbRLTXfVyHbSvVWRKYUbfugDZadpf7QuhcM+u9ZdwTOrmHVLTGet gGbQ== X-Gm-Message-State: AOAM531nixN1f/uQWgR+jwrkz3BGUH0t8NoGHMhk1o17Q+o6DzBoCby9 GD9z0FR3T2avoPef2afqanndcMtWkLg= X-Google-Smtp-Source: ABdhPJyg7wu3R/INoexpUR4LdLbicuxI2xrLR7IWcsoJwsvrSBUr1l2gj1zVsJUdT/Ygmr8dQi4gag== X-Received: by 2002:a2e:b5c1:: with SMTP id g1mr46035ljn.305.1602711227345; Wed, 14 Oct 2020 14:33:47 -0700 (PDT) Original-Received: from muffinmac ([91.206.110.168]) by smtp.gmail.com with ESMTPSA id k184sm189181lfd.229.2020.10.14.14.33.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Oct 2020 14:33:46 -0700 (PDT) In-Reply-To: <20201014211548.GP60347@breton.holly.idiocy.org> (Alan Third's message of "Wed, 14 Oct 2020 22:15:48 +0100") 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:190530 Archived-At: Alan Third writes: >> The frame must be small enough to not all the toolbar buttons fits the >> toolbar: >> >> (setq test-frame (make-frame `((parent-frame . ,(selected-frame)) >> (width . 41)))) >> >> The last button (isearch) is replaced by ">>". > > Funnily enough that ">>" is what I was looking at. I guess it's a > toolkit image and not something we provide with Emacs...? > >> There are no crash if '(width . 42)'. > > Can you try this: Process 28381 stopped * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x10c94fc8) frame #0: 0x00007fff6fa97678 libobjc.A.dylib`objc_release + 24 libobjc.A.dylib`objc_release: -> 0x7fff6fa97678 <+24>: testb $0x4, 0x20(%rax) 0x7fff6fa9767c <+28>: je 0x7fff6fa976e7 ; <+135> 0x7fff6fa9767e <+30>: movabsq $0x100000000000000, %rcx ; imm = 0x100000000000000 0x7fff6fa97688 <+40>: movabsq $0x40000000000000, %rdx ; imm = 0x40000000000000 Target 0: (emacs) stopped. (lldb) bt * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x10c94fc8) * frame #0: 0x00007fff6fa97678 libobjc.A.dylib`objc_release + 24 frame #1: 0x0000000100476338 emacs`-[EmacsImage dealloc](self=0x000000010178c650, _cmd="dealloc") at nsimage.m:286:3 frame #2: 0x00007fff6fa9ceb3 libobjc.A.dylib`objc_object::sidetable_release(bool) + 229 frame #3: 0x00007fff33e5a6e1 AppKit`-[NSMenuItem dealloc] + 108 frame #4: 0x00007fff340c83f8 AppKit`-[NSToolbarItem dealloc] + 110 frame #5: 0x00007fff36b7d2a5 CoreFoundation`__RELEASE_OBJECTS_IN_THE_ARRAY__ + 118 frame #6: 0x00007fff36b7d1e8 CoreFoundation`-[__NSArrayM dealloc] + 279 frame #7: 0x00007fff34227a99 AppKit`-[NSToolbarClippedItemsIndicator dealloc] + 84 frame #8: 0x00007fff6fab3054 libobjc.A.dylib`AutoreleasePoolPage::releaseUntil(objc_object**) + 134 frame #9: 0x00007fff6fa97dba libobjc.A.dylib`objc_autoreleasePoolPop + 175 frame #10: 0x00007fff36bdf335 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23 frame #11: 0x00007fff36bdf267 CoreFoundation`__CFRunLoopDoObservers + 457 frame #12: 0x00007fff36bde805 CoreFoundation`__CFRunLoopRun + 874 frame #13: 0x00007fff36bdde3e CoreFoundation`CFRunLoopRunSpecific + 462 frame #14: 0x00007fff3580aabd HIToolbox`RunCurrentEventLoopInMode + 292 frame #15: 0x00007fff3580a6f4 HIToolbox`ReceiveNextEventCommon + 359 frame #16: 0x00007fff3580a579 HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 64 frame #17: 0x00007fff33e50039 AppKit`_DPSNextEvent + 883 frame #18: 0x00007fff33e4e880 AppKit`-[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352 frame #19: 0x00007fff33e4058e AppKit`-[NSApplication run] + 658 frame #20: 0x000000010043b9ba emacs`-[EmacsApp run](self=0x000000010152b3a0, _cmd="run") at nsterm.m:5768:9