X-Loop: help-debbugs@HIDDEN Subject: bug#39343: 27.0.50; Thrad signal crashes Emacs with sgmentation fault Resent-From: Christian Johansson <christian@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 29 Jan 2020 11:29:01 +0000 Resent-Message-ID: <handler.39343.B.158029732711278 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 39343 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 39343 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.158029732711278 (code B ref -1); Wed, 29 Jan 2020 11:29:01 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jan 2020 11:28:47 +0000 Received: from localhost ([127.0.0.1]:33285 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iwlWY-0002vq-9u for submit <at> debbugs.gnu.org; Wed, 29 Jan 2020 06:28:46 -0500 Received: from lists.gnu.org ([209.51.188.17]:45840) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <christian@HIDDEN>) id 1iwlWV-0002vf-Jk for submit <at> debbugs.gnu.org; Wed, 29 Jan 2020 06:28:44 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:36895) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from <christian@HIDDEN>) id 1iwlWT-0002I8-4P for bug-gnu-emacs@HIDDEN; Wed, 29 Jan 2020 06:28:43 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <christian@HIDDEN>) id 1iwlWQ-0003N3-NH for bug-gnu-emacs@HIDDEN; Wed, 29 Jan 2020 06:28:40 -0500 Received: from cvj.se ([31.192.230.63]:59625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <christian@HIDDEN>) id 1iwlWQ-0003BQ-1k for bug-gnu-emacs@HIDDEN; Wed, 29 Jan 2020 06:28:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cvj.se; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Date:Message-ID:From:Subject:To; bh=bKuqISyDqNQg805Yg18k6epTyQqtatgO7p0n8GifDOI=; b=XCFFVOENkguo/+R8RMVxe2fEwhOr82EqQfDV36CDi3zhd1RKeybpfQs31dyhrXITtUxiqoFsSHui4ElMGwJg+7Th856Y0rshhjmpg/w9btPU6Q5elWQW7mZacBdCFPwC8IxZfmiKhPFmHv5ViW0BzcshHubsyL/A5L28a3xuVR4=; Received: from a235.broadband3.quicknet.se ([46.17.184.235] helo=Christians-MacBook-Air.local) by cvj.se with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <christian@HIDDEN>) id 1iwlVG-0007uz-Hx for bug-gnu-emacs@HIDDEN; Wed, 29 Jan 2020 12:27:27 +0100 From: Christian Johansson <christian@HIDDEN> Message-ID: <f6ac77bf-ef13-c30b-07ac-26712428e652@HIDDEN> Date: Wed, 29 Jan 2020 12:27:19 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:60.0) Gecko/20100101 Thunderbird/60.9.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 31.192.230.63 X-Spam-Score: 0.2 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.8 (/) Running following works on Linux but not on macOS. (let ((loop t) (iterations 1)) (while loop (make-thread (lambda() (message "Thread %d" iterations) (signal 'error (list "My error")))) (setq iterations (1+ iterations)))) Error in console: Fatal error 11: Segmentation faultAbort trap: 6 It seems to be some kind of issue with quitting threads on macOS which is not present on Linux In GNU Emacs 27.0.50 (build 5, x86_64-apple-darwin18.5.0, NS appkit-1671.40 Version 10.14.4 (Build 18E226)) of 2019-07-12 built on Christians-MacBook-Air.local Repository revision: 8179cbff9ed37e7d8892643859adfad448ae1c7a Repository branch: master Windowing system distributor 'Apple', version 10.3.1894 System Description: Mac OS X 10.15.2 Recent messages: Getting /ftp:neojungiantypology.com@HIDDEN:/.htaccess...done Wrote /Users/christianjohansson/.emacs.d/.emacs.desktop.lock Desktop: 1 frame, 27 buffers restored. Initializing Hyperbole...done Hyperbole 7.0.6 is ready for action. For information about GNU Emacs and the GNU system, type C-h C-a. Ispell process killed Starting new Ispell process /usr/local/bin/hunspell with svenska dictionary... Source file ‘/Users/christianjohansson/Documents/emacs/lisp/mail/emacsbug.el’ newer than byte-compiled file Source file ‘/Users/christianjohansson/Documents/emacs/lisp/mail/sendmail.el’ newer than byte-compiled file Configured features: RSVG DBUS GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS THREADS PDUMPER GMP Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: global-hl-todo-mode: t flycheck-color-mode-line-mode: t show-paren-mode: t save-place-mode: t global-diff-hl-mode: t diff-hl-mode: t ssh-deploy-line-mode: t global-auto-complete-mode: t flyspell-mode: t editorconfig-mode: t which-key-mode: t csv-field-index-mode: t global-flycheck-mode: t flycheck-mode: t async-bytecomp-package-mode: t yas-global-mode: t yas-minor-mode: t override-global-mode: t ido-everywhere: t display-time-mode: t winner-mode: t electric-pair-mode: t desktop-save-mode: t recentf-mode: t global-semantic-mru-bookmark-mode: t global-semanticdb-minor-mode: t global-semantic-idle-completions-mode: t global-semantic-idle-scheduler-mode: t global-semantic-idle-local-symbol-highlight-mode: t global-semantic-idle-summary-mode: t global-semantic-decoration-mode: t global-semantic-highlight-func-mode: t global-semantic-stickyfunc-mode: t global-semantic-show-parser-state-mode: t global-semantic-highlight-edits-mode: t semantic-mode: t delete-selection-mode: t display-battery-mode: t global-whitespace-mode: t which-function-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t window-divider-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t transient-mark-mode: t Load-path shadows: /Users/christianjohansson/.emacs.d/phps-mode/phps-mode-analyzer hides /Users/christianjohansson/.emacs.d/elpa/phps-mode-20190930.1742/phps-mode-analyzer /Users/christianjohansson/.emacs.d/phps-mode/phps-mode-tags hides /Users/christianjohansson/.emacs.d/elpa/phps-mode-20190930.1742/phps-mode-tags /Users/christianjohansson/.emacs.d/phps-mode/phps-mode-macros hides /Users/christianjohansson/.emacs.d/elpa/phps-mode-20190930.1742/phps-mode-macros /Users/christianjohansson/.emacs.d/phps-mode/phps-mode-semantic hides /Users/christianjohansson/.emacs.d/elpa/phps-mode-20190930.1742/phps-mode-semantic /Users/christianjohansson/.emacs.d/phps-mode/phps-mode-syntax-table hides /Users/christianjohansson/.emacs.d/elpa/phps-mode-20190930.1742/phps-mode-syntax-table /Users/christianjohansson/.emacs.d/phps-mode/phps-mode-flymake hides /Users/christianjohansson/.emacs.d/elpa/phps-mode-20190930.1742/phps-mode-flymake /Users/christianjohansson/.emacs.d/phps-mode/phps-mode hides /Users/christianjohansson/.emacs.d/elpa/phps-mode-20190930.1742/phps-mode /Users/christianjohansson/.emacs.d/ssh-deploy/ssh-deploy hides /Users/christianjohansson/.emacs.d/elpa/ssh-deploy-20190917.530/ssh-deploy /Users/christianjohansson/.emacs.d/ssh-deploy/ssh-deploy-diff-mode hides /Users/christianjohansson/.emacs.d/elpa/ssh-deploy-20190917.530/ssh-deploy-diff-mode /Users/christianjohansson/.emacs.d/ssh-deploy/ssh-deploy-hydra hides /Users/christianjohansson/.emacs.d/elpa/ssh-deploy-20190917.530/ssh-deploy-hydra /Users/christianjohansson/.emacs.d/elpa/less-css-mode-20161001.453/less-css-mode hides /Users/christianjohansson/Documents/emacs/lisp/textmodes/less-css-mode /Users/christianjohansson/.emacs.d/elpa/let-alist-1.0.6/let-alist hides /Users/christianjohansson/Documents/emacs/lisp/emacs-lisp/let-alist /Users/christianjohansson/Documents/emacs/lisp/sb-image hides /Users/christianjohansson/Documents/emacs/lisp/obsolete/sb-image /Users/christianjohansson/Documents/emacs/lisp/url/url-ns hides /Users/christianjohansson/Documents/emacs/lisp/obsolete/url-ns /Users/christianjohansson/Documents/emacs/lisp/emacs-lisp/cl hides /Users/christianjohansson/Documents/emacs/lisp/obsolete/cl Features: (shadow mail-extr emacsbug sendmail ediff-merg ediff-mult ediff-wind ediff-diff ediff-help ediff-init ediff-util tramp-cache epa-file ange-ftp tramp-ftp apache-mode eww mm-url url-queue shr svg org-rmail org-mhe org-irc org-info org-gnus nnir gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo gnus-spec gnus-int gnus-range message rfc822 mml mml-sec epa epg mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs text-property-search org-docview org-bibtex bibtex org-bbdb org-w3m semantic/imenu semantic/sb semantic/tag-file semantic/db-file data-debug cedet-files semantic/bovine/c semantic/decorate/include hideif semantic/bovine/c-by semantic/lex-spp semantic/bovine/gcc semantic/dep semantic/bovine semantic/analyze/refs bug-reference display-line-numbers rainbow-mode hl-todo flycheck-rust flycheck-color-mode-line face-remap editorconfig-core editorconfig-core-handle editorconfig-fnmatch vc-git init rng-nxml rng-valid rng-loc rng-uri rng-parse nxml-parse rng-match rng-pttrn nxml-ns nxml-mode nxml-outln nxml-rap smartparens-html sgml-mode dom nxml-util nxml-enc xmltok misc ts-comint tss log4e helm helm-source helm-multi-match helm-lib json-mode json-reformat json-snatcher tide tide-lv typescript-mode zenburn-theme smarty-mode paren saveplace restclient smex flycheck-pos-tip pos-tip diff-hl vc-dir ewoc vc vc-dispatcher diff-mode exec-path-from-shell ssh-deploy-hydra ssh-deploy nginx-mode ac-html ac-html-core auto-complete-config auto-complete popup ztree ztree-diff ztree-diff-model ztree-dir ztree-view ztree-util gulp-task-runner grunt powerline powerline-separators powerline-themes phpcbf php-auto-yasnippets php-mode add-log cc-langs php-face php php-project mmm-mode mmm-univ mmm-class mmm-region mmm-auto mmm-vars mmm-utils mmm-compat php-eldoc phps-mode derived phps-mode-tags phps-mode-syntax-table phps-mode-semantic semantic/doc phps-mode-flymake phps-mode-analyzer semantic/wisent semantic/wisent/wisent phps-mode-wy-macros phps-mode-serial phps-mode-macros web-beautify w3m doc-view jka-compr image-mode timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-favicon w3m-image w3m-proc w3m-util hydra lv hl-line auto-dictionary flyspell ispell editorconfig ansible-doc org-jira org-jira-sdk jiralib request autorevert filenotify mail-utils soap-client mm-decode mm-bodies mm-encode url-http url-auth mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm rmc puny rng-xsd rng-dt rng-util xsd-regexp xml org-clock ecb ecb-symboldef ecb-analyse ecb-compatibility ecb-winman-support ecb-autogen autoload radix-tree ecb-tod ecb-cycle ecb-eshell ecb-help ecb-jde ecb-method-browser hideshow ecb-semantic-wrapper ecb-semantic ecb-file-browser ecb-speedbar ecb-layout ecb-create-layout ecb-compilation ecb-common-browser speedbar sb-image dframe ecb-navigate eieio-compat ecb-mode-line ecb-face tree-buffer ecb-upgrade ecb-cedet-wrapper semantic/db-find semantic/db-ref ecb-util which-key csv-mode sort flycheck-package package-lint let-alist finder finder-inf lisp-mnt flycheck flymake-rust flymake-easy flymake-proc flymake rust-playground time-stamp cargo cargo-process smartparens-markdown markdown-mode color smartparens-rust rust-mode image+ image-file google-translate google-translate-default-ui google-translate-core-ui google-translate-core google-translate-tk google-translate-backend url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf mailcap lorem-ipsum hyperbole hinit hibtypes hib-doc-id hsys-www klink hib-kbd hib-social hib-debbugs hsys-org org-element avl-tree smartparens-org org org-macro org-footnote org-pcomplete org-list org-faces org-entities time-date org-version ob-emacs-lisp ob ob-tangle org-src ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs org-loaddefs hactypes hui-mini hui hui-mouse hmouse-key hargs hui-menu hyrolo-menu hyrolo hmail hui-jmenu noutline outline hmouse-sh hmouse-drv hypb locate dired dired-loaddefs hui-window hycontrol hsettings hui-em-but hbut hact hpath hhist hbdata htz cal-julian cal-menu calendar cal-loaddefs hbmap hmoccur browse-url hui-select hvar set hversion hload-path darktooth-theme autothemer smartparens-config smartparens-javascript smartparens-text smartparens paredit ripgrep thingatpt grep compile minimap skewer-mode cache-table js2-mode etags fileloop generator xref project js cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs simple-httpd pp url-util doom-themes doom-themes-base base16-theme dracula-theme with-editor warnings async-bytecomp async server yasnippet yaxception ht dash know-your-http-well http-status-codes http-relations http-methods http-headers s use-package up-delight up-diminish up-ensure up-core pcase cl bind-key easy-mmode ido time winner elec-pair desktop frameset recentf tree-widget wid-edit semantic/mru-bookmark semantic/db-mode semantic/idle semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/db eieio-base semantic/format ezimage semantic/ctxt semantic/decorate/mode semantic/tag-ls semantic/find semantic/decorate pulse semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local find-func cedet delsel battery disp-table whitespace which-func imenu windmove tramp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete comint ansi-color ring parse-time ls-lisp format-spec wombat-theme edmacro kmacro kotl-autoloads rx cl-extra help-mode advice w3m-load info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame 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 minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads dbusbind kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 943870 51645) (symbols 48 80255 3) (strings 32 259884 5972) (string-bytes 1 7562303) (vectors 16 102296) (vector-slots 8 1189521 55816) (floats 8 832 297) (intervals 56 7106 199) (buffers 992 47)) -- Hälsningar / Best Regards Christian
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Christian Johansson <christian@HIDDEN> Subject: bug#39343: Acknowledgement (27.0.50; Thrad signal crashes Emacs with sgmentation fault) Message-ID: <handler.39343.B.158029732711278.ack <at> debbugs.gnu.org> References: <f6ac77bf-ef13-c30b-07ac-26712428e652@HIDDEN> X-Gnu-PR-Message: ack 39343 X-Gnu-PR-Package: emacs Reply-To: 39343 <at> debbugs.gnu.org Date: Wed, 29 Jan 2020 11:29:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 39343 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 39343: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39343 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#39343: 27.0.50; Thrad signal crashes Emacs with sgmentation fault Resent-From: Alan Third <alan@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 29 Jan 2020 20:43:01 +0000 Resent-Message-ID: <handler.39343.B39343.158033056822397 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 39343 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Christian Johansson <christian@HIDDEN> Cc: 39343 <at> debbugs.gnu.org Received: via spool by 39343-submit <at> debbugs.gnu.org id=B39343.158033056822397 (code B ref 39343); Wed, 29 Jan 2020 20:43:01 +0000 Received: (at 39343) by debbugs.gnu.org; 29 Jan 2020 20:42:48 +0000 Received: from localhost ([127.0.0.1]:34613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1iwuAi-0005p9-9P for submit <at> debbugs.gnu.org; Wed, 29 Jan 2020 15:42:48 -0500 Received: from mail-wm1-f52.google.com ([209.85.128.52]:54714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <athird@HIDDEN>) id 1iwuAf-0005ot-B5 for 39343 <at> debbugs.gnu.org; Wed, 29 Jan 2020 15:42:45 -0500 Received: by mail-wm1-f52.google.com with SMTP id g1so1249160wmh.4 for <39343 <at> debbugs.gnu.org>; Wed, 29 Jan 2020 12:42:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=+i23xBhtRejMQ2GyUx84z1Xa2+xV128yhvmlV2EiZp8=; b=O2RR/ptfblHKTfi0A0MLvhIWs52zHK7GICuz2qbU2Uqr+fsyLzNyC9UTWyBwG7TOz3 AfUJ6y9RxADzjGKaPezaUZ2PvUNZjRLdSFdapX+sAtlYqK1drcLw6CHbEURYFP5y/md9 6YG9MkkkQetgcB087BvA+tMI74FOUsKNqmAy7/emDR1wUed6Ef1A9XBEK/NuqORQ62dP QKVhNqqCfY0/FFUhA5hN+ZisO45WrmnnlTWU/4gB2hVQdHJcL0KNJOE5ZoFqd1iVHp3n nYS49AZMVnBCvgE8t8fUTBr/6TLeWdsf/s4TWl3l9sKq4+wctCBrTp/Zew1nBPiZyNJN yZKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=+i23xBhtRejMQ2GyUx84z1Xa2+xV128yhvmlV2EiZp8=; b=esarlpLc8KxLlSZVysTqreUv729Wh8m0udZkdtD798lIkiLgu173+OM0wW/Pj46jOJ lzyUWNsUrWIXIcXGYQbMjU9ntkxQgjyXYR/iGUmtYYSkvGsLBS51uhUijWLB7Xv1Kdj3 TzF5Yk9eOKJqJDoeM/hNefKT0kCoVmhHQ1+c7GsflMxemuvNz9Q7qLzXAtzTvObK5UfG I1vMZMJ/Nd5BfSpMajf6GybMxLyEQgLN4rXClTu4O3n7wakckfdsAubf5+RMRz4Pirwq QNTTLLSnX1UDxfcAlO9vK5E0pDSiYyEA+EGSUWxPulh1MkgnpHkQ3Uhsz9WRxxABAppZ SJEw== X-Gm-Message-State: APjAAAUpNODUIQ3tZoTLw0/eplqLoa3HBo7QgeikB53Wa77Al5hxK/bo S8J0FMQ4uHo9HgD5cLFqyUo= X-Google-Smtp-Source: APXvYqzu/bwxLLrhGc2OMhTymwATIU8qElQ6FlnPMSBxmoHYpV8na5as7vj7KgO6IH7tIPAIVzw/kg== X-Received: by 2002:a05:600c:2c41:: with SMTP id r1mr986254wmg.57.1580330557346; Wed, 29 Jan 2020 12:42:37 -0800 (PST) Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-a08b-b269-65be-dd6a.holly.idiocy.org. [2001:8b0:3f8:8129:a08b:b269:65be:dd6a]) by smtp.gmail.com with ESMTPSA id y7sm2152496wrr.56.2020.01.29.12.42.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jan 2020 12:42:36 -0800 (PST) Date: Wed, 29 Jan 2020 20:42:34 +0000 From: Alan Third <alan@HIDDEN> Message-ID: <20200129204234.GB60190@HIDDEN> References: <f6ac77bf-ef13-c30b-07ac-26712428e652@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <f6ac77bf-ef13-c30b-07ac-26712428e652@HIDDEN> X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) On Wed, Jan 29, 2020 at 12:27:19PM +0100, Christian Johansson wrote: > Running following works on Linux but not on macOS. > > (let ((loop t) > (iterations 1)) > (while loop > (make-thread > (lambda() > (message "Thread %d" iterations) > (signal 'error (list "My error")))) > (setq iterations (1+ iterations)))) > > Error in console: Fatal error 11: Segmentation faultAbort trap: 6 > > It seems to be some kind of issue with quitting threads on macOS which is > not present on Linux It’s a stack overflow caused by the main thread getting stuck in a loop processing calls to ns_send_appdefined which must be coming from the 2000‐odd threads the script starts. Presumably it’s the call to ns_run_loop_break in sys_cond_broadcast that’s doing it. I don’t think there’s really any way round this other than the massive rewrite the NS port needs to make it handle threads correctly. -- Alan Third
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.