From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12007: 24.1.50; Crash in auto-revert-handler Date: Wed, 15 Aug 2012 20:27:50 +0300 Message-ID: <83wr10hxpl.fsf@gnu.org> References: <86pq7p8d9o.fsf@googlemail.com> <83mx2t1aut.fsf@gnu.org> <500B2BB0.1000402@gmail.com> <500F4055.4080005@gmail.com> <500F5BD7.6050203@yandex.ru> <500F6DAE.9010207@gmail.com> <500F7930.3060100@yandex.ru> <500FD9C8.7080705@gmail.com> <500FE913.9030801@yandex.ru> <50294F85.8080504@gmail.com> <83r4rak33b.fsf@gnu.org> <83393ojeg5.fsf@gnu.org> <502BD347.10605@yandex.ru> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1345051764 16567 80.91.229.3 (15 Aug 2012 17:29:24 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2012 17:29:24 +0000 (UTC) Cc: cschol2112@googlemail.com, 12007@debbugs.gnu.org To: Dmitry Antipov , Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 15 19:29:24 2012 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 1T1hPF-0003Uk-SG for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Aug 2012 19:29:21 +0200 Original-Received: from localhost ([::1]:41591 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1hPE-0005qr-OH for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Aug 2012 13:29:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34572) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1hPC-0005qg-Ne for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2012 13:29:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1hPB-0000tJ-JS for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2012 13:29:18 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49880) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1hPB-0000t9-GQ for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2012 13:29:17 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T1hXd-0001A1-HC for bug-gnu-emacs@gnu.org; Wed, 15 Aug 2012 13:38:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Aug 2012 17:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12007 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12007-submit@debbugs.gnu.org id=B12007.13450522264399 (code B ref 12007); Wed, 15 Aug 2012 17:38:01 +0000 Original-Received: (at 12007) by debbugs.gnu.org; 15 Aug 2012 17:37:06 +0000 Original-Received: from localhost ([127.0.0.1]:59426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1hWk-00018u-HN for submit@debbugs.gnu.org; Wed, 15 Aug 2012 13:37:06 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:58815) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T1hWi-00018m-EY for 12007@debbugs.gnu.org; Wed, 15 Aug 2012 13:37:05 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M8T00M004FBWW00@a-mtaout22.012.net.il> for 12007@debbugs.gnu.org; Wed, 15 Aug 2012 20:27:44 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M8T00MTB4I8V410@a-mtaout22.012.net.il>; Wed, 15 Aug 2012 20:27:44 +0300 (IDT) In-reply-to: <502BD347.10605@yandex.ru> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:63202 Archived-At: > Date: Wed, 15 Aug 2012 20:50:15 +0400 > From: Dmitry Antipov > CC: cschol2112@googlemail.com, 12007@debbugs.gnu.org > > > Today's trunk still crashes on startup. Can this be fixed, please? > > I don't know whether you have received my previous e-mail, but it was: > > Eli, please review a fix. Sorry, I wrote that before I saw you mail. > This looks simple: it's wrong to look at with f->output_data.XXX without > checking f->output_method first, so, FRAME_X_OUTPUT (f) may be non-zero > for TTY frames, and segfault comes when xg_mark_data looks at initial > ("F1") frame with non-zero f->output_data.tty member. The patch works for me, and it seems to be the right one. Jan, could you take a look? (I don't feel I know enough about the GTK build.) > P.S. BTW, this is X/GTK bug rather that GC bug. Right again, sorry for jumping the gun too soon.