From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: markus.hoenicka@mhoenicka.de Newsgroups: gmane.emacs.bugs Subject: bug#17753: Cygwin emacs-X11 core dump Date: Sat, 14 Jun 2014 00:53:04 +0200 Message-ID: <21403.32976.771019.763973@wombat.mininet> References: <21398.11604.630991.757383@wombat.mininet> <83ppigyx8s.fsf@gnu.org> <83mwdjzeon.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1402699946 5162 80.91.229.3 (13 Jun 2014 22:52:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Jun 2014 22:52:26 +0000 (UTC) Cc: 17753@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 14 00:52:18 2014 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 1WvaKX-0000wh-QF for geb-bug-gnu-emacs@m.gmane.org; Sat, 14 Jun 2014 00:52:18 +0200 Original-Received: from localhost ([::1]:33520 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvaKX-0003wn-DB for geb-bug-gnu-emacs@m.gmane.org; Fri, 13 Jun 2014 18:52:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvaKP-0003vo-BS for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 18:52:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvaKI-00046T-O2 for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 18:52:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvaKI-00046P-KW for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 18:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WvaKI-0002oR-0G for bug-gnu-emacs@gnu.org; Fri, 13 Jun 2014 18:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: markus.hoenicka@mhoenicka.de Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Jun 2014 22:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17753 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 17753-submit@debbugs.gnu.org id=B17753.140269991510794 (code B ref 17753); Fri, 13 Jun 2014 22:52:01 +0000 Original-Received: (at 17753) by debbugs.gnu.org; 13 Jun 2014 22:51:55 +0000 Original-Received: from localhost ([127.0.0.1]:47058 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvaKA-0002o1-Ml for submit@debbugs.gnu.org; Fri, 13 Jun 2014 18:51:55 -0400 Original-Received: from smtprelay01.ispgateway.de ([80.67.31.39]:33190) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvaK7-0002no-5a for 17753@debbugs.gnu.org; Fri, 13 Jun 2014 18:51:52 -0400 Original-Received: from [93.132.120.156] (helo=wombat.mininet) by smtprelay01.ispgateway.de with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.68) (envelope-from ) id 1WvaK5-0007KD-3m; Sat, 14 Jun 2014 00:51:49 +0200 X-Mailer: emacs 24.3.1 (via feedmail 11-beta-1 I); VM 8.1.2 under 24.3.1 (amd64-portbld-freebsd10.0) In-Reply-To: <83mwdjzeon.fsf@gnu.org> X-Df-Sender: NDcyNTgy 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: 140.186.70.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:90362 Archived-At: Eli Zaretskii writes: > > Date: Wed, 11 Jun 2014 08:16:39 +0200 > > From: Markus Hoenicka > > Cc: 17753@debbugs.gnu.org > >=20 > > > Are you sure you were in the right thread when you collected the= > > > backtrace=3F > > >=20 > >=20 > > No, I'm not sure at all. How do I find out=3F >=20 > "info threads" will display all the threads. "thread apply all bt" > will produce a backtrace for every thread. Ok, here goes: (gdb) info threads Id Target Id Frame 9 Thread 0xe14 0x0004003300001f80 in =3F=3F () 8 Thread 0xb48 0x9e84003300001f80 in =3F=3F () 7 Thread 0x8fc 0x0005003300001f80 in =3F=3F () 6 Thread 0xc20 0x0005003300001f80 in =3F=3F () 5 Thread 0x8dc 0x0000003300001f80 in =3F=3F () 4 Thread 0xf34 0x0000003300001f80 in =3F=3F () 3 Thread 0xda0 0x0000003300001f80 in =3F=3F () 2 Thread 0x64c 0x0000003300001f80 in =3F=3F () * 1 Thread 0x6d8 0x0000003300001fa4 in =3F=3F () (gdb) thread apply all bt Thread 9 (Thread 0xe14): #0 0x0004003300001f80 in =3F=3F () #1 0x0000000000000000 in =3F=3F () Thread 8 (Thread 0xb48): #0 0x9e84003300001f80 in =3F=3F () #1 0x000007fefd5410dc in =3F=3F () #2 0x0000000000000000 in =3F=3F () Thread 7 (Thread 0x8fc): #0 0x0005003300001f80 in =3F=3F () #1 0x000007fefd5410dc in =3F=3F () #2 0x0000000000000000 in =3F=3F () Thread 6 (Thread 0xc20): #0 0x0005003300001f80 in =3F=3F () #1 0x000007fefd5410dc in =3F=3F () #2 0x0000000000000000 in =3F=3F () Thread 5 (Thread 0x8dc): #0 0x0000003300001f80 in =3F=3F () #1 0x000007fefd5411a2 in =3F=3F () ---Type to continue, or q to quit--- #2 0x00000000035caba8 in =3F=3F () #3 0x0000000600042280 in =3F=3F () #4 0x0000000000000003 in =3F=3F () #5 0x00000001802de988 in =3F=3F () #6 0x00000000000000c6 in =3F=3F () #7 0x000000018010bc01 in =3F=3F () #8 0x0000000000000048 in =3F=3F () #9 0x0000000000000001 in =3F=3F () #10 0x0000000000000000 in =3F=3F () Thread 4 (Thread 0xf34): #0 0x0000003300001f80 in =3F=3F () Cannot access memory at address 0xffffc458 (gdb) thread apply 3 bt Thread 3 (Thread 0xda0): #0 0x0000003300001f80 in =3F=3F () #1 0x00000000774fb037 in =3F=3F () #2 0x0000000000000002 in =3F=3F () #3 0x0000000000000000 in =3F=3F () (gdb) thread apply 2 bt Thread 2 (Thread 0x64c): #0 0x0000003300001f80 in =3F=3F () #1 0x000007fefd541a7a in =3F=3F () #2 0x000000000042ce00 in =3F=3F () #3 0x0000000100629773 in run=5Ftimers () at /usr/src/debug/emacs-24.3.90-1/src/atimer.c:364 Backtrace stopped: previous frame inner to this frame (corrupt stack=3F= ) (gdb) thread apply 1 bt Thread 1 (Thread 0x6d8): #0 0x0000003300001fa4 in =3F=3F () #1 0x0000000100a49832 in bss=5Fsbrk=5Fbuffer () #2 0x000000000042ccf0 in =3F=3F () #3 0x0000000000000004 in =3F=3F () #4 0x0000000101013c48 in bss=5Fsbrk=5Fbuffer () #5 0x0000000000425170 in =3F=3F () #6 0x000000010052b64d in CHAR=5FTABLE=5FREF ( ct=3D, ct@entry=3D, idx=3D) at /usr/src/debug/emacs-24.3.90-1/src/lisp.h:1468 As for thread 2 I'd like to mention that there were several hints on the Cygwin list that 64 bit Emacs has a timer-related problem, see e.g. the thread around this post: https://cygwin.com/ml/cygwin/2014-05/msg00419.html In brief, I've noticed several error messages in a previous version of 64 bit Cygwin Emacs that did not cause Emacs to crash but indicated timer-related malfunctions anyway: Args out of range: [t 21335 39727 373923 0.5 blink-cursor-timer-functio= n nil nil 100000], 4 Invalid function: #[(timer) "^H >^H ^[\211^203^Q^@=C3^H=09 \"^Q^K\203^Z^@=C3^H \"^R^L\206^=5F^@^K*\207" [timer timer-list timer-idle-list cell2 cell1 = delq] 4 2245674] timer-relative-time: Wrong type argument: vectorp, [t1 time high low mi= cro pico nil 3 0 2 ...] I've never noticed any of these messages on the other 64 bit platforms that I use Emacs on, i.e. FreeBSD 10 and Debian testing. Hope this helps Markus --=20 Markus Hoenicka http://www.mhoenicka.de AQ score 38