From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.bugs Subject: bug#44313: 27.1.50; ns_mouse_position EXC_BAD_ACCESS crash Date: Thu, 29 Oct 2020 15:16:22 -0500 Message-ID: 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="3036"; mail-complaints-to="usenet@ciao.gmane.io" To: 44313@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 29 21:17:10 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 1kYEM9-0000fz-J5 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Oct 2020 21:17:09 +0100 Original-Received: from localhost ([::1]:50770 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kYEM8-0006cI-F0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Oct 2020 16:17:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49412) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYEM3-0006c6-5A for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 16:17:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43472) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYEM2-0001nL-R6 for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 16:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kYEM2-0006Sn-MS for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 16:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Aaron Jensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 29 Oct 2020 20:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 44313 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.160400260024809 (code B ref -1); Thu, 29 Oct 2020 20:17:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 29 Oct 2020 20:16:40 +0000 Original-Received: from localhost ([127.0.0.1]:55018 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYELg-0006S5-IO for submit@debbugs.gnu.org; Thu, 29 Oct 2020 16:16:40 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kYELe-0006Rx-Dn for submit@debbugs.gnu.org; Thu, 29 Oct 2020 16:16:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kYELe-0006OQ-6n for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 16:16:38 -0400 Original-Received: from mail-yb1-xb29.google.com ([2607:f8b0:4864:20::b29]:46437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kYELb-0001kb-Ma for bug-gnu-emacs@gnu.org; Thu, 29 Oct 2020 16:16:37 -0400 Original-Received: by mail-yb1-xb29.google.com with SMTP id a4so3199567ybq.13 for ; Thu, 29 Oct 2020 13:16:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=lN7N6JTY9nfGvEg0PMn/XxbVVcc4DhRHbwVuGDn5Vak=; b=TnhuDnyqas8plM8q98yqmFXQQIEvl8KzI65Ak9Fc7JXvehwScczoJwuVPA8iEUiqoS fJHrGJ7vAnluTWBoUtZs9GrvIhWiQaINix7bHcxZ7pB3lEFlskvlSaqNNVaDrPXtdGdZ YEqDd0ierGXvqkHE9NCK1sorhBoJnMPnjxsJ/FzDk/YCXwJCUPcs/P5dfES03bkniL94 0DTfwr+f5BjtdiDg/b8ORtd6L99TTisBx5xJfxYFEwsetG7SZ63JgvIFLTH/HTxn1nNP 2txuqr//kCfR7K4JBgtbnFmsNBE8hbrBTpKrd7XzV84zLTKeNWNYgGntFG2Fn1wZ67Vq NW1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=lN7N6JTY9nfGvEg0PMn/XxbVVcc4DhRHbwVuGDn5Vak=; b=lHHIeFs9UlTN7357/1hbptsqZRdoSeXj8OepiYEcwVst02FA3K4K+ieEgTmZE+8GpG a7Tn1ZnMq2cEfEfHhT7MGJiHBxlvXmCXpnm7Y1vfLJNgxDqCl2uCIi1zwUL6evZ/q3za 6ncm1cDtgxkvAfetFaGR4dudyu9Pl4SZ1hhkNy4i1jYfzQ2EtR1JPCSI1x2anAUg+XtY vGp23f7BmD+8eTAGcm0CyPWmi0EM60IxErH9mA9+k7uCYLIpIKcO0A9lvD3S2zDS8pV/ e7s4iZS7fe28mas/nWpCxB7LhPrD6Z+FFymXYnhmx4aM5XOvOVJF2ShiDYUztjLUFapu mPpQ== X-Gm-Message-State: AOAM533/Nq8qWfBqnEQp5hK9oZNTd3PHgjYP3lEAHVtNWU2zYb4yLPP1 s2fRaOUsmwHs7gawR3OuIfPAW15Fyh7W8uL7xpsxLRn8XHlVRA== X-Google-Smtp-Source: ABdhPJwEC3Ga9GUxjTOrIMwYR0lKTxCOEKDSzg2g0RHIMyBUCtMXjRmDq/3K6vyME67HI6yyTqX9vuYVEooJGVSPwjE= X-Received: by 2002:a25:c1c1:: with SMTP id r184mr7650000ybf.517.1604002593070; Thu, 29 Oct 2020 13:16:33 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::b29; envelope-from=aaronjensen@gmail.com; helo=mail-yb1-xb29.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. 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:191995 Archived-At: Not sure how to reproduce this, but it has happened multiple times today. I'm on e29cace60a * thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x9038f6d4d) * frame #0: 0x0000000100378558 emacs`ns_mouse_position(fp=0x00007ffeefbfd3e8, insist=-1, bar_window=0x00007ffeefbfd3e0, part=0x00007ffeefbfd3c4, x=0x00007ffeefbfd3d8, y=0x00007ffeefbfd3d0, time=0x00007ffeefbfd3b8) at nsterm.m:2536:12 frame #1: 0x000000010001fefc emacs`Fmouse_pixel_position at frame.c:2494:7 frame #2: 0x00000001002693c6 emacs`funcall_subr(subr=0x0000000100412bc8, numargs=0, args=0x00007ffeefbfd588) at eval.c:2866:19 frame #3: 0x0000000100268204 emacs`Ffuncall(nargs=1, args=0x00007ffeefbfd580) at eval.c:2795:11 frame #4: 0x00000001002d951e emacs`exec_byte_code(bytestr=0x000000010422a0a4, vector=0x0000000104229fa5, maxdepth=0x000000000000002a, args_template=0x0000000000000406, nargs=1, args=0x00007ffeefbfdcf8) at bytecode.c:633:12 frame #5: 0x000000010026985c emacs`funcall_lambda(fun=0x0000000104229f75, nargs=1, arg_vector=0x00007ffeefbfdcf0) at eval.c:2990:11 frame #6: 0x000000010026824e emacs`Ffuncall(nargs=2, args=0x00007ffeefbfdce8) at eval.c:2797:11 frame #7: 0x0000000100268d2f emacs`call1(fn=0x00000000000094b0, arg1=0x0000000158414eb4) at eval.c:2655:10 frame #8: 0x0000000100169ebf emacs`show_help_echo(help=0x0000000158414eb4, window=0x000000017dca1e35, object=0x00000001755c90a5, pos=0x0000000000000346) at keyboard.c:2093:14 frame #9: 0x000000010016cb33 emacs`read_char(commandflag=1, map=0x00000001950c1a83, prev_event=0x0000000000000000, used_mouse_menu=0x00007ffeefbfe7ef, end_time=0x0000000000000000) at keyboard.c:3117:7 frame #10: 0x0000000100166719 emacs`read_key_sequence(keybuf=0x00007ffeefbfeaf0, prompt=0x0000000000000000, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9554:12 frame #11: 0x0000000100165139 emacs`command_loop_1 at keyboard.c:1350:15 frame #12: 0x0000000100261b4f emacs`internal_condition_case(bfun=(emacs`command_loop_1 at keyboard.c:1236), handlers=0x0000000000000090, hfun=(emacs`cmd_error at keyboard.c:919)) at eval.c:1356:25 frame #13: 0x000000010017ce8c emacs`command_loop_2(ignore=0x0000000000000000) at keyboard.c:1091:11 frame #14: 0x00000001002614ba emacs`internal_catch(tag=0x000000000000c840, func=(emacs`command_loop_2 at keyboard.c:1087), arg=0x0000000000000000) at eval.c:1117:25 frame #15: 0x00000001001640ca emacs`command_loop at keyboard.c:1070:2 frame #16: 0x0000000100163f50 emacs`recursive_edit_1 at keyboard.c:714:9 frame #17: 0x0000000100164299 emacs`Frecursive_edit at keyboard.c:786:3 frame #18: 0x0000000100161764 emacs`main(argc=1, argv=0x00007ffeefbff0a0) at emacs.c:2066:3 frame #19: 0x00007fff6a33dcc9 libdyld.dylib`start + 1 (lldb) frame select 3 frame #3: 0x0000000100268204 emacs`Ffuncall(nargs=1, args=0x00007ffeefbfd580) at eval.c:2795:11 2792 fun = indirect_function (fun); 2793 2794 if (SUBRP (fun)) -> 2795 val = funcall_subr (XSUBR (fun), numargs, args + 1); 2796 else if (COMPILEDP (fun) || MODULE_FUNCTIONP (fun)) 2797 val = funcall_lambda (fun, numargs, args + 1); 2798 else (lldb) p XSTRING(XSYMBOL(args[0])->u.s.name)->u.s.data (unsigned char *) $0 = 0x00000001003e2c94 "mouse-pixel-position" In GNU Emacs 27.1.50 (build 2, x86_64-apple-darwin19.6.0, NS appkit-1894.60 Version 10.15.7 (Build 19H2)) of 2020-10-28 built on my-machine Repository revision: e29cace60afdab04ff20c4f4043a3ee64ec9d01d Repository branch: emacs-27 Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.7 Memory information: ((conses 16 777153 878287) (symbols 48 68934 1027) (strings 32 241222 115526) (string-bytes 1 8380649) (vectors 16 109859) (vector-slots 8 1221060 903756) (floats 8 1729 3395) (intervals 56 6128 1401) (buffers 1000 18)) Aaron