From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#21313: 25.0.50; Strange errors from dbus-handle-event Date: Wed, 09 Sep 2015 22:43:28 +0200 Message-ID: <87wpvzs4r3.fsf@gnu.org> References: <877foo4nkd.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1441831488 27737 80.91.229.3 (9 Sep 2015 20:44:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 9 Sep 2015 20:44:48 +0000 (UTC) To: 21313@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 09 22:44:36 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZZmEE-0006Kz-JK for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Sep 2015 22:44:26 +0200 Original-Received: from localhost ([::1]:45670 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZmE9-0007XI-No for geb-bug-gnu-emacs@m.gmane.org; Wed, 09 Sep 2015 16:44:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55845) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZmDu-0007DB-0T for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2015 16:44:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZmDq-0001no-KY for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2015 16:44:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33792) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZmDq-0001nf-5d for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2015 16:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZZmDq-0000e3-0K for bug-gnu-emacs@gnu.org; Wed, 09 Sep 2015 16:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Sep 2015 20:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21313 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21313-submit@debbugs.gnu.org id=B21313.14418314142436 (code B ref 21313); Wed, 09 Sep 2015 20:44:01 +0000 Original-Received: (at 21313) by debbugs.gnu.org; 9 Sep 2015 20:43:34 +0000 Original-Received: from localhost ([127.0.0.1]:54235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZZmDN-0000dC-GS for submit@debbugs.gnu.org; Wed, 09 Sep 2015 16:43:33 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:44460) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZZmDL-0000d5-NN for 21313@debbugs.gnu.org; Wed, 09 Sep 2015 16:43:32 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 85C7120295 for <21313@debbugs.gnu.org>; Wed, 9 Sep 2015 16:43:31 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute6.internal (MEProxy); Wed, 09 Sep 2015 16:43:31 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=eze3VSUtoRbxS9wj6RnTMwRntqw=; b=i8cRe Qyowg3dxNZLuw6rO+UDdQnLgLh3XRDiheJN1FTiAkqZZk978JVZW1pvmtmlkDi33 r9OmrjIin1+d50pW6DNal3XnpzGc6MY+cmP0wtlDXQEBHzZ+eGVCb5y2pA+I1qJS QMNoafg6BeLPoK2F3palACjgiMKay+HKIbwu10= X-Sasl-enc: 7rMijMJ5YDK4mVOjWug/jgRJpwb0N1ztDPO2yIhraoyd 1441831411 Original-Received: from thinkpad-t440p (unknown [2.161.206.107]) by mail.messagingengine.com (Postfix) with ESMTPA id 01C5D680197 for <21313@debbugs.gnu.org>; Wed, 9 Sep 2015 16:43:30 -0400 (EDT) In-Reply-To: <877foo4nkd.fsf@gnu.org> (Tassilo Horn's message of "Fri, 21 Aug 2015 18:24:18 +0200") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106328 Archived-At: This problem has nothing to to with dbus in particular. Today I had a different occurrence of the bug where during repeated killing in a message-mode buffer I suddenly got an error about something with a file-notify event. I've stopped killing then just to read the error message, and then I restarted killing which out of sudden made emacs crash. Since then I've let emacs run in the debugger. Just right now I had another crash during repeated killing in message-mode, and below is the backtrace. To me that backtrace looks like there's a bug in the error printing code which seems to cause the crashes. But it does not explain the source of the errors I sometimes get during pressing and holding C-k in message-mode. Those errors always sound as if events of the wrong kind have been delegated to some event handlers, e.g., `dbus-handle-event' might have received some file-notify event or `file-notify-handle-event' might have received some keyboard event. Any ideas how to debug that? The problem is that it is not really reproducible, it just happens once every second day or so. --8<---------------cut here---------------start------------->8--- Program received signal SIGSEGV, Segmentation fault. 0x000000000054ab2f in SYMBOL_INTERNED_P (sym=185795904) at lisp.h:1770 1770 return XSYMBOL (sym)->interned != SYMBOL_UNINTERNED; (gdb) bt full #0 0x000000000054ab2f in SYMBOL_INTERNED_P (sym=185795904) at lisp.h:1770 No locals. #1 0x0000000000610588 in print_preprocess (obj=185795904) at print.c:1179 i = 0 size = 0 loop_count = 0 halftail = 185795904 #2 0x0000000000610328 in print (obj=185795904, printcharfun=43968, escapeflag=true) at print.c:1116 No locals. #3 0x000000000060df75 in Fprin1 (object=185795904, printcharfun=43968) at print.c:626 old = 0xaecc460 old_point = -1 start_point = -1 old_point_byte = -1 start_point_byte = -1 specpdl_count = 3 free_print_buffer = false multibyte = true original = 43968 #4 0x000000000060fead in print_error_message (data=86346515, stream=43968, context=0xbe1a9f "", caller=23712) at print.c:946 obj = 185795904 sep = 0x6b806f ", " errname = 50304 errmsg = 9499852 file_error = 0 tail = 86346563 #5 0x000000000055226d in Fcommand_error_default_function (data=86346515, context=9458692, signal=23712) at keyboard.c:1026 sf = 0x129aca0 #6 0x00000000005ec8f8 in Ffuncall (nargs=4, args=0x7ffe058b14b0) at eval.c:2641 internal_argbuf = {0, 0, 140728991421808, 5581510, 0, 5581464, 9458692, 140728991421504} fun = 9446293 original_fun = 321456 funcar = 9458692 numargs = 3 lisp_numargs = 5547072 val = 23712 internal_args = 0x7ffe058b14b8 count = 2 #7 0x00000000005ec33d in call3 (fn=321456, arg1=86346515, arg2=9458692, arg3=23712) at eval.c:2509 No locals. #8 0x0000000000552105 in cmd_error_internal (data=86346515, context=0x7ffe058b1520 "") at keyboard.c:981 No locals. #9 0x0000000000552019 in cmd_error (data=86346515) at keyboard.c:950 old_level = 0 old_length = 0 macroerror = "\000\000\000\000\000\000\000\000\256\254^\000\000\000\000\000\000\000\000\000\001\000\000\000\203j\021\001\000\000\000\000\260\323\306\000\000\000\000\000`\304\354\n\000\000\000\000A\001" #10 0x00000000005e9656 in internal_condition_case (bfun=0x5526bc , ---Type to continue, or q to quit--- handlers=18912, hfun=0x551ea6 ) at eval.c:1290 val = 86346515 val = 5546463 c = 0x1542ca0 #11 0x00000000005523c3 in command_loop_2 (ignore=0) at keyboard.c:1088 val = 2 #12 0x00000000005e8e20 in internal_catch (tag=45312, func=0x55239a , arg=0) at eval.c:1057 val = 5546463 c = 0x1542b70 #13 0x0000000000552365 in command_loop () at keyboard.c:1067 No locals. #14 0x0000000000551a6e in recursive_edit_1 () at keyboard.c:673 count = 1 val = 140728991422112 #15 0x0000000000551c02 in Frecursive_edit () at keyboard.c:744 count = 0 buffer = 0 #16 0x000000000054fafd in main (argc=1, argv=0x7ffe058b18a8) at emacs.c:1643 dummy = 0 stack_bottom_variable = 0 '\000' do_initial_setlocale = true dumping = false skip_args = 0 rlim = { rlim_cur = 8720000, rlim_max = 18446744073709551615 } no_loadup = false junk = 0x0 dname_arg = 0x0 ch_to_dir = 0x0 original_pwd = 0x0 Lisp Backtrace: "command-error-default-function" (0x58b14b8) (gdb) --8<---------------cut here---------------end--------------->8---