From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#30364: 26.0.91; thread crash on macos Date: Tue, 13 Feb 2018 20:05:33 -0500 Message-ID: <87bmgs9y8y.fsf@users.sourceforge.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1518570258 7889 195.159.176.226 (14 Feb 2018 01:04:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 14 Feb 2018 01:04:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux) Cc: 30364@debbugs.gnu.org To: Aaron Jensen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 14 02:04:14 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ellUV-0001Qc-Hr for geb-bug-gnu-emacs@m.gmane.org; Wed, 14 Feb 2018 02:04:07 +0100 Original-Received: from localhost ([::1]:42569 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ellWX-0008QE-4z for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 Feb 2018 20:06:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57534) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ellWP-0008Ph-Od for bug-gnu-emacs@gnu.org; Tue, 13 Feb 2018 20:06:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ellWM-0004iz-Hk for bug-gnu-emacs@gnu.org; Tue, 13 Feb 2018 20:06:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34071) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ellWM-0004ic-CV for bug-gnu-emacs@gnu.org; Tue, 13 Feb 2018 20:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ellWL-0000oN-VA for bug-gnu-emacs@gnu.org; Tue, 13 Feb 2018 20:06:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 14 Feb 2018 01:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30364 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30364-submit@debbugs.gnu.org id=B30364.15185703433095 (code B ref 30364); Wed, 14 Feb 2018 01:06:01 +0000 Original-Received: (at 30364) by debbugs.gnu.org; 14 Feb 2018 01:05:43 +0000 Original-Received: from localhost ([127.0.0.1]:41968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ellW3-0000nr-5V for submit@debbugs.gnu.org; Tue, 13 Feb 2018 20:05:43 -0500 Original-Received: from mail-io0-f173.google.com ([209.85.223.173]:35712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ellW1-0000ne-JG for 30364@debbugs.gnu.org; Tue, 13 Feb 2018 20:05:41 -0500 Original-Received: by mail-io0-f173.google.com with SMTP id m11so23347762iob.2 for <30364@debbugs.gnu.org>; Tue, 13 Feb 2018 17:05:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=jwn4PWHlvsTvH4eY9Qn+F1io9dp24H+JEd0zIuoezGg=; b=TWRM2A7dqzK/u9GMBSwhfNKBOXMU+nVp6SXxz5SCVjsP58AktGHh5jTNtyRayJXiTR w1NQnGX7PeTOFlAhUpCf72VcWPpnvzO1yXTuz8Szc+XN/oF8+97H60eYrl92JPjw1Riz R9fzf7j5Xax8Wpz837WSRIT5JpzYAUEw1oGVlmJwdGUYrRzIthX4l1W1P4oEUS0pdGkY MDksP5S1W1DryoERLVjZJMN/XYAVerOxIY6coAlXcHHe+gSUWjr0lmXl23fO7r03x5N6 J/BgcLpf82N1/0kpLa5+LvPO8P5Aa3epSaEikxj3gJQLeZpGzxLDB+OpcY0tH9P0AwEJ bPbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=jwn4PWHlvsTvH4eY9Qn+F1io9dp24H+JEd0zIuoezGg=; b=dn5yBJa2j3ZZ/bwmKwK/3k71UXIxXrsJ6JDBOs9LwN6cD8dy91qpjAdZBrQmrcv1pL zLnDOdQskWDL2wCJ9/MhK7g603PKhE7tT+IUwGBht6RIQEC+xvOiTtCUoMpsiBXJ0phS QyTiE2A+9qwKVo4a/1K8HHmo0yteHA/xyWIIhN540+b5LhS5qSLOGziOMq/zb1aWr5xY Swur/9WUbDTwmjdcRnUQxsSHASKUUwcnJC+/M0ZT3xfqARBQVL4SjnO8jyx4i08aCART +OvLAP8/jyBa//m3cu5+2jUBncAm1PAUiBiMmprRdWm9I5St4osUeFyQqIEBRNoKAIOs xQ8g== X-Gm-Message-State: APf1xPAyfeH/ALVov0wrFtg8H/Ig7WBNxHMgBMCtXl/rymKqekep14y7 mDVJm59cCuuXc71h8iQAHTsbHQ== X-Google-Smtp-Source: AH8x226kU9SKKFLs7cXbzpg2gKA9k6MFuANL1JLZFYcDi20w12ocVdgNC1VFwfHg/l42/Tgm6rsbyw== X-Received: by 10.107.200.142 with SMTP id y136mr3761323iof.155.1518570335928; Tue, 13 Feb 2018 17:05:35 -0800 (PST) Original-Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id g186sm12524121itg.2.2018.02.13.17.05.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 13 Feb 2018 17:05:34 -0800 (PST) In-Reply-To: (Aaron Jensen's message of "Tue, 6 Feb 2018 03:21:44 -0500") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143261 Archived-At: Aaron Jensen writes: > I'm trying out porting company-dabbrev to use a thread and things aren't > going well. The biggest problem so far is that Emacs occasionally > crashes while using threads. > > The mac crash dump and super naive async company-dabbrev are here: > > https://gist.github.com/aaronjensen/7b1685a7d275c20d8f0eb7170addf1d7 > > It seems to crash after a while of using it, though I'm also able to > repro the crash by evaling: > > (company-dabbrev-thread (lambda (words) (message "%S" words))) > > several times in a row I was going to check if this happens on systems other than macOS, but as far as I can tell, the code you posted doesn't define the function "company-dabbrev-thread". So I guess what you posted and what are running aren't quite the same...