From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Sam Steingold Newsgroups: gmane.emacs.bugs Subject: bug#28176: 26.0.50; Emacs hangs on entering a specific article in gnus Date: Tue, 22 Aug 2017 15:18:11 -0400 Message-ID: References: <83lgmcc2i8.fsf@gnu.org> <83d17obyyc.fsf@gnu.org> <838ticbv5p.fsf@gnu.org> <83tw0zabb9.fsf@gnu.org> <83k21va05e.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11409b32d94aa305575c745f" X-Trace: blaine.gmane.org 1503429567 4154 195.159.176.226 (22 Aug 2017 19:19:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 22 Aug 2017 19:19:27 +0000 (UTC) Cc: 28176@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 22 21:19:22 2017 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 1dkEhg-0000CY-J4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Aug 2017 21:19:08 +0200 Original-Received: from localhost ([::1]:48010 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkEhn-00039l-Dy for geb-bug-gnu-emacs@m.gmane.org; Tue, 22 Aug 2017 15:19:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dkEhf-00038p-LK for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2017 15:19:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dkEhb-0007Ii-Qk for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2017 15:19:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41181) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dkEhb-0007Id-Mp for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2017 15:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dkEha-0005Zg-5R for bug-gnu-emacs@gnu.org; Tue, 22 Aug 2017 15:19:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Sam Steingold Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 22 Aug 2017 19:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28176 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28176-submit@debbugs.gnu.org id=B28176.150342950521381 (code B ref 28176); Tue, 22 Aug 2017 19:19:02 +0000 Original-Received: (at 28176) by debbugs.gnu.org; 22 Aug 2017 19:18:25 +0000 Original-Received: from localhost ([127.0.0.1]:49862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkEgu-0005Yi-5l for submit@debbugs.gnu.org; Tue, 22 Aug 2017 15:18:25 -0400 Original-Received: from mail-io0-f169.google.com ([209.85.223.169]:37441) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dkEgs-0005YT-Gn for 28176@debbugs.gnu.org; Tue, 22 Aug 2017 15:18:19 -0400 Original-Received: by mail-io0-f169.google.com with SMTP id y4so261602iod.4 for <28176@debbugs.gnu.org>; Tue, 22 Aug 2017 12:18:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=s2ldSjKSnL0hKZ7PA2FWUX4T0pbiBAnURmzId073Aso=; b=MqS/JflSsMNRxhqEIgaGcUsDjhcSxXoYj2wboTSVlrtuBYrGL14sMeDBSkHc/ri1qY 2knB+ydhKG0HRO1fNM4QiaZLEpM6Kd79Yea01c0g1DYa+b5ukKk26BoUO6gSJgnMPn3o 7dUCo1hbVkZsWCtdhqTN9XoimdDfYYTmWlkS4MyL0hZE7hu4vAetX2lupAX30OrS7U2V /NBpINb5T5iugQ/PGDSh6ZTg0rbhrcSDQoSlR7BINiurvQ21Mx26V59QEw66jSyXGrMj QJF5JH486Z3m07aitlnjduKl61O15UanqbyQhvT7ojNEgUNS2A/HfVfAie9sdkvcoAs0 tiiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=s2ldSjKSnL0hKZ7PA2FWUX4T0pbiBAnURmzId073Aso=; b=nJ0E9hr4CQBF1iANxZY3gDYhkItrLwPOTayB/w66UoJKC4emHpm7Rv7ttK7zB8tegZ fKQBYT6vH+Nr+uw5YxqaINc4mbuvxSzn4BWB8COdtkOnrgznGOT8C2cyo9BCczAKtX2q v4XexlzrrW8cEmQsVDmBhgC12WCWCtfgYMBJCPfKNzeZzSNPg+49xk7hAIVhy94McR6V LGtkAD6nDoAF8GjgUnk4UyGvqh3q/2s/Vy+0gFsHWJtmVV3KO9e0EWaOuIxK5byH3qfk Z/vD6X7Mai+Ki7RoaCWtJb9o3aI82k6rCg0z1HXiIqJNu8ABRF7lLL1xDThZuxF2qQow njkg== X-Gm-Message-State: AHYfb5hwa2hy0ND7nkKAWM+vQIEjtSAktmYgVYEw8TS+mj26vJsRylrC e5HK+CL1SKhM2ido1N5SiXW1ZZquyw== X-Received: by 10.107.37.20 with SMTP id l20mr172184iol.81.1503429492556; Tue, 22 Aug 2017 12:18:12 -0700 (PDT) Original-Received: by 10.107.174.100 with HTTP; Tue, 22 Aug 2017 12:18:11 -0700 (PDT) In-Reply-To: <83k21va05e.fsf@gnu.org> X-Google-Sender-Auth: PmEZJS1nTkCYlivLOgCgZURdmFw 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:136062 Archived-At: --001a11409b32d94aa305575c745f Content-Type: text/plain; charset="UTF-8" the backtrace _may_ depend on where I happen to hit C-c. I am prepared to play "remote debugging" if you want to, supplying the output to the lldb (not gdb!) commands that you will send me. game? On Tue, Aug 22, 2017 at 3:10 PM, Eli Zaretskii wrote: > > From: Sam Steingold > > Date: Tue, 22 Aug 2017 14:23:00 -0400 > > Cc: 28176@debbugs.gnu.org > > > > here is the backtrace from an identical hang with a different article in > > the same group: > > > > 2017-08-22 14:10:48.609113-0400 emacs[16623:7011753] [general] Connection > > to 'pboard' server had an error: { count = 1, > > transaction: 0, voucher = 0x0, contents = > > "XPCErrorDescription" => { length = 18, > > contents = "Connection invalid" } > > } > > 2017-08-22 14:11:02.771791-0400 emacs[16623:7011721] Detected potentially > > harmful notification post rate of 229.322 notifications per second > > 2017-08-22 14:11:12.773714-0400 emacs[16623:7011721] Detected potentially > > harmful notification post rate of 300.907 notifications per second > > 2017-08-22 14:11:22.774338-0400 emacs[16623:7011721] Detected potentially > > harmful notification post rate of 280.44 notifications per second > > 2017-08-22 14:11:32.774777-0400 emacs[16623:7011721] Detected potentially > > harmful notification post rate of 290.527 notifications per second > > emacs was compiled with optimization - stepping may behave oddly; > variables > > may not be available. > > Process 16623 stopped > > * thread #1, queue = 'com.apple.main-thread', stop reason = signal > SIGSTOP > > > > frame #0: 0x00000001001a4de9 emacs`lookup_image [inlined] > > search_image_cache(f=0x000000010305afa8, spec=4358862915, > > hash=4195912884339560560) at image.c:1454 [opt] > > > > 1451 > > 1452 for (img = c->buckets[i]; img; img = img->next) > > > > 1453 if (img->hash == hash > > -> 1454 && !NILP (Fequal (img->spec, spec)) > > 1455 && img->frame_foreground == FRAME_FOREGROUND_PIXEL (f) > > > > 1456 && img->frame_background == FRAME_BACKGROUND_PIXEL (f)) > > > > 1457 break; > > (lldb) bt > > * thread #1, queue = 'com.apple.main-thread', stop reason = signal > SIGSTOP > > > > * frame #0: 0x00000001001a4de9 emacs`lookup_image [inlined] > > search_image_cache(f=0x000000010305afa8, spec=4358862915, > > hash=4195912884339560560) at image.c:1454 [opt] > > > > frame #1: 0x00000001001a4d82 emacs`lookup_image(f= > 0x000000010305afa8, > > spec=4358862915) at image.c:1739 [opt] > > > > frame #2: 0x0000000100044a68 > > emacs`handle_single_display_spec(it=, spec=, > > object=, overlay=, position=, > > bufpos=, display_replaced=, > > frame_window_p=) at xdisp.c:5299 [opt] > > > > frame #3: 0x000000010001dd85 > > emacs`handle_display_spec(it=0x00007fff5fbf8280, spec=4358862915, > > object=4523100261, overlay=0, position=0x00007fff5fbf83b8, bufpos=1765, > > frame_window_p=) at xdisp.c:4800 [opt] > > > > frame #4: 0x00000001000452e1 > > emacs`handle_display_prop(it=0x00007fff5fbf8280) at xdisp.c:4719 [opt] > > > > > > frame #5: 0x000000010004544b emacs`handle_stop(it= > 0x00007fff5fbf8280) > > at xdisp.c:3425 [opt] > > frame #6: 0x0000000100048434 > > emacs`next_element_from_buffer(it=0x00007fff5fbf8280) at xdisp.c:8398 > [opt] > > This is an entirely different backtrace. > > Since you say Emacs is stuck signaling errors, one way to proceed is > to put a breakpoint in xsignal and in Fsignal, and then continue > Emacs. When it stops at one of these functions, we need to see the > backtrace and maybe examine the error data. > -- Sam Steingold < http://steingoldpsychology.com> --001a11409b32d94aa305575c745f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
the backtrace _may_ depend on where I happen to hit C-c.
I am prepare= d to play "remote debugging" if you want to, supplying the output= to the lldb (not gdb!) commands that you will send me.
game?

On Tue, Aug 22, 2017 at 3:10 PM, Eli Zaretskii <eliz@gnu.org= > wrote:
> From: Sam Ste= ingold <sds@gnu.org>
> Date: Tue, 22 Aug 2017 14:23:00 -0400
> Cc: 28176@debbugs.gnu.org=
>
> here is the backtrace from an identical hang with a different article = in
> the same group:
>
> 2017-08-22 14:10:48.609113-0400 emacs[16623:7011753] [general] Connect= ion
> to 'pboard' server had an error: <error: 0x7fffb7597ca0>= { count =3D 1,
> transaction: 0, voucher =3D 0x0, contents =3D
>=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"XPCErrorDescription" =3D&g= t; <string: 0x7fffb7597f18> { length =3D 18,
> contents =3D "Connection invalid" }
> }
> 2017-08-22 14:11:02.771791-0400 emacs[16623:7011721] Detected potentia= lly
> harmful notification post rate of 229.322 notifications per second
> 2017-08-22 14:11:12.773714-0400 emacs[16623:7011721] Detected potentia= lly
> harmful notification post rate of 300.907 notifications per second
> 2017-08-22 14:11:22.774338-0400 emacs[16623:7011721] Detected potentia= lly
> harmful notification post rate of 280.44 notifications per second
> 2017-08-22 14:11:32.774777-0400 emacs[16623:7011721] Detected potentia= lly
> harmful notification post rate of 290.527 notifications per second
> emacs was compiled with optimization - stepping may behave oddly; vari= ables
> may not be available.
> Process 16623 stopped
> * thread #1, queue =3D 'com.apple.main-thread', stop reason = =3D signal SIGSTOP
>
>=C2=A0 =C2=A0 =C2=A0frame #0: 0x00000001001a4de9 emacs`lookup_image [in= lined]
> search_image_cache(f=3D0x000000010305afa8, spec=3D4358862915,
> hash=3D4195912884339560560) at image.c:1454 [opt]
>
>=C2=A0 =C2=A0 1451
>=C2=A0 =C2=A0 1452=C2=A0 =C2=A0for (img =3D c->buckets[i]; img; img = =3D img->next)
>
>=C2=A0 =C2=A0 1453=C2=A0 =C2=A0 =C2=A0if (img->hash =3D=3D hash
> -> 1454=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&& !NILP (Fequal (= img->spec, spec))
>=C2=A0 =C2=A0 1455=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&& img->= frame_foreground =3D=3D FRAME_FOREGROUND_PIXEL (f)
>
>=C2=A0 =C2=A0 1456=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&& img->= frame_background =3D=3D FRAME_BACKGROUND_PIXEL (f))
>
>=C2=A0 =C2=A0 1457=C2=A0 =C2=A0 =C2=A0 =C2=A0break;
> (lldb) bt
> * thread #1, queue =3D 'com.apple.main-thread', stop reason = =3D signal SIGSTOP
>
>=C2=A0 =C2=A0* frame #0: 0x00000001001a4de9 emacs`lookup_image [inlined= ]
> search_image_cache(f=3D0x000000010305afa8, spec=3D4358862915,
> hash=3D4195912884339560560) at image.c:1454 [opt]
>
>=C2=A0 =C2=A0 =C2=A0frame #1: 0x00000001001a4d82 emacs`lookup_image(f= =3D0x000000010305afa8,
> spec=3D4358862915) at image.c:1739 [opt]
>
>=C2=A0 =C2=A0 =C2=A0frame #2: 0x0000000100044a68
> emacs`handle_single_display_spec(it=3D<unavailable>, spec= =3D<unavailable>,
> object=3D<unavailable>, overlay=3D<unavailable>, position= =3D<unavailable>,
> bufpos=3D<unavailable>, display_replaced=3D<unavailable>,
> frame_window_p=3D<unavailable>) at xdisp.c:5299 [opt]
>
>=C2=A0 =C2=A0 =C2=A0frame #3: 0x000000010001dd85
> emacs`handle_display_spec(it=3D0x00007fff5fbf8280, spec=3D4358862= 915,
> object=3D4523100261, overlay=3D0, position=3D0x00007fff5fbf83b8, bufpo= s=3D1765,
> frame_window_p=3D<unavailable>) at xdisp.c:4800 [opt]
>
>=C2=A0 =C2=A0 =C2=A0frame #4: 0x00000001000452e1
> emacs`handle_display_prop(it=3D0x00007fff5fbf8280) at xdisp.c:471= 9 [opt]
>
>
>=C2=A0 =C2=A0 =C2=A0frame #5: 0x000000010004544b emacs`handle_stop(it= =3D0x00007fff5fbf8280)
> at xdisp.c:3425 [opt]
>=C2=A0 =C2=A0 =C2=A0frame #6: 0x0000000100048434
> emacs`next_element_from_buffer(it=3D0x00007fff5fbf8280) at xdisp.= c:8398 [opt]

This is an entirely different backtrace.

Since you say Emacs is stuck signaling errors, one way to proceed is
to put a breakpoint in xsignal and in Fsignal, and then continue
Emacs.=C2=A0 When it stops at one of these functions, we need to see the backtrace and maybe examine the error data.



--
Sam Steingold <<= a href=3D"http://sds.podval.org" target=3D"_blank">http://sds.podval.org> <http://www.= childpsy.net> <http://steingoldpsychology.com>
--001a11409b32d94aa305575c745f--