From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eli Zaretskii Subject: Re: bug#17749: 24.3.91; Crash on mwheel-scroll of org file Date: Tue, 05 Aug 2014 17:21:12 +0300 Message-ID: <83r40vow4n.fsf@gnu.org> References: <"018001cf84c5$6252a1c0$26f7e540$@alexiev"@ontotext.com> <8361k81wha.fsf@gnu.org> <"0b2001cfb084$b11e7a50$135b6ef0$@alexiev"@ontotext.com> Reply-To: Eli Zaretskii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43920) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEfbx-00064E-Bb for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 10:21:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XEfbs-0003FK-Ac for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 10:21:09 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:44544) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XEfbs-0003F6-2W for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 10:21:04 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0N9U00F007NV3G00@a-mtaout20.012.net.il> for emacs-orgmode@gnu.org; Tue, 05 Aug 2014 17:21:02 +0300 (IDT) In-reply-to: <"0b2001cfb084$b11e7a50$135b6ef0$@alexiev"@ontotext.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: vladimir.alexiev@ontotext.com Cc: 17749@debbugs.gnu.org, emacs-orgmode@gnu.org > From: "Vladimir Alexiev" > Cc: <17749@debbugs.gnu.org>, > > Date: Tue, 5 Aug 2014 11:10:16 +0300 > > > > 1. Open emacs-crash-test.org > > > 2. Make the window smaller (e.g. 20 lines tall) > > > 2. Roll the mouse wheel down until you see the end of file, then up. > > > 3. CRASH > > The specific org file doesn't matter. > The window size doesn't matter. > This crash happens to me occasionally (2-3 times a week), always on an org file, always on mwheel-up (which invokes mwheel-scroll). > > Eli, can you tell something from the backtrace here? > http://lists.gnu.org/archive/html/emacs-orgmode/2014-06/txtkIBvnmHi_F.txt No, sorry. I really need to reproduce this on my machine and run Emacs under a debugger to see what happens and why. Please try to come up with a recipe starting from "emacs -Q". It is OK to include customizations and loading of optional packages, but please try to find the minimal set of those, as too many of them complicate debugging. > > This is an assertion violation, not a crash. > > The failing assertion causes a crash, so I'm not sure what's the difference. > Is there an emacs build that doesn't crash on eassert() failure? If Emacs is configured without --enable-checking (which is what happens in released versions), all the eassert lines compile to nothing. > > Some assumption in the > > code turned out to be false, but it is not possible to know which one, > > and whether it's just a wrong assumption or a real problem. > > It seems the assertion does basic consistency checks of the IT structure. Yes. But without details, I cannot know what caused it or how to fix it. > What is it->bidi_p? I don't use BIDI text: this happens on ascii org files. The display engine always works in bidirectional mode, this has been so since Emacs 24.1.