From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vitalie Spinu Newsgroups: gmane.emacs.bugs Subject: bug#19322: 25.0.50; 1.6Mb one line file chocks Emacs Date: Tue, 09 Dec 2014 15:58:36 -0800 Organization: UCLA Anderson School of Management Message-ID: <87a92wqssz.fsf@gmail.com> References: <87bnndsg44.fsf@gmail.com> <83wq60x0gm.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418169571 27298 80.91.229.3 (9 Dec 2014 23:59:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Dec 2014 23:59:31 +0000 (UTC) Cc: 19322@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 10 00:59:19 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 1XyUgZ-0005pu-5x for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Dec 2014 00:59:19 +0100 Original-Received: from localhost ([::1]:42903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyUgY-0007KM-RV for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Dec 2014 18:59:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyUgP-0007K6-Ms for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2014 18:59:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XyUgJ-0007YM-9N for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2014 18:59:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34624) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XyUgJ-0007YI-5F for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2014 18:59:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XyUgI-0002fQ-Iv for bug-gnu-emacs@gnu.org; Tue, 09 Dec 2014 18:59:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vitalie Spinu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Dec 2014 23:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19322 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19322-submit@debbugs.gnu.org id=B19322.141816952410224 (code B ref 19322); Tue, 09 Dec 2014 23:59:02 +0000 Original-Received: (at 19322) by debbugs.gnu.org; 9 Dec 2014 23:58:44 +0000 Original-Received: from localhost ([127.0.0.1]:60070 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XyUfz-0002ep-8o for submit@debbugs.gnu.org; Tue, 09 Dec 2014 18:58:43 -0500 Original-Received: from mail-pa0-f45.google.com ([209.85.220.45]:36720) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XyUfw-0002ee-Of for 19322@debbugs.gnu.org; Tue, 09 Dec 2014 18:58:41 -0500 Original-Received: by mail-pa0-f45.google.com with SMTP id lf10so962055pab.18 for <19322@debbugs.gnu.org>; Tue, 09 Dec 2014 15:58:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:organization:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=3wxiXjxCFaTVxvkKcUUWInU6GQ/DyKlK9uvttMTuJJc=; b=er71y2jx93pGf6IaW4gANA1AYJZSZ9hsR9OL3IQ0k7w/E8b2LAP1G1vDdJjxGisMRF zDz4EIVofw1lM1hBE1H2TWiZ2njQOmW2QjFoTGWk/tO207ZdT2bxZ2gtZDSqKqITYJey oEvTBWHdJIH+CLekf8ZcfohRiMhNcGeeSdKLv9OYobTt1yIh2yrS3n2u4bqbZJNkzgLB wj7uTKtDYWosYHFLVnC/2pstZMgXuNPJgD34EqNaVTjU29XmQQWU7yCucVecx3ho9PDG gSsyfyvzdhyk9KXDo/+HU8BOwRUhGZrpJ2+Rvp5y1FIAetIlESMerQ43ItCgeUe2yGBt MGzA== X-Received: by 10.66.140.102 with SMTP id rf6mr1728150pab.1.1418169519671; Tue, 09 Dec 2014 15:58:39 -0800 (PST) Original-Received: from localhost ([2607:f010:2e9:9:6110:775d:7602:a43e]) by mx.google.com with ESMTPSA id dj1sm2451575pbb.48.2014.12.09.15.58.37 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Dec 2014 15:58:38 -0800 (PST) In-Reply-To: <83wq60x0gm.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 09 Dec 2014 18:16:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) 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: 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:97115 Archived-At: Hi Eli, I have 16GB of RAM and 10GB of Swap. When emacs is stuck it blink periodically about every 2 seconds as if throwing an error and system RAM usage goes up and down by about 6GB or so with the same periodicity. With "--enable-checking 'CFLAGS=-O0 -g3' CPPFLAGS=-DGLYPH_DEBUG=1", the backtrace is: (gdb) break memory_full Breakpoint 1 at 0x60dc1d: file alloc.c, line 3784. (gdb) run Starting program: /home/vitoshka/bin/emacs/src/emacs [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffe8d65700 (LWP 6289)] ** (emacs:6285): WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-wgMsBj3J4m: Connection refused [New Thread 0x7fffe3dc3700 (LWP 6290)] [New Thread 0x7fffe3068700 (LWP 6293)] Breakpoint 1, memory_full (nbytes=14854559328) at alloc.c:3784 3784 bool enough_free_memory = 0; (gdb) (gdb) backtrace #0 memory_full (nbytes=14854559328) at alloc.c:3784 #1 0x00000000006099ce in xrealloc (block=0x7ffba0368010, size=14854559328) at alloc.c:776 #2 0x0000000000609c61 in xpalloc (pa=0x7ffba0368010, nitems=0xd357a8, nitems_incr_min=200, nitems_max=1238368963057837, item_size=7448) at alloc.c:882 #3 0x0000000000515e41 in bidi_cache_ensure_space (idx=1329624) at bidi.c:743 #4 0x0000000000515ec6 in bidi_cache_iterator_state (bidi_it=0x7fffffff3cd8, resolved=false, update_only=false) at bidi.c:766 #5 0x000000000051a37c in bidi_find_bracket_pairs (bidi_it=0x7fffffff3cd8) at bidi.c:2480 #6 0x000000000051afbe in bidi_resolve_brackets (bidi_it=0x7fffffff3cd8) at bidi.c:2719 #7 0x000000000051b38f in bidi_resolve_neutral (bidi_it=0x7fffffff3cd8) at bidi.c:2820 #8 0x000000000051bb39 in bidi_type_of_next_char (bidi_it=0x7fffffff3cd8) at bidi.c:3024 #9 0x000000000051bda9 in bidi_level_of_next_char (bidi_it=0x7fffffff3cd8) at bidi.c:3091 #10 0x000000000051c3cc in bidi_move_to_visually_next (bidi_it=0x7fffffff3cd8) at bidi.c:3258 #11 0x0000000000456644 in get_visually_first_element (it=0x7fffffff3340) at xdisp.c:7805 #12 0x0000000000457aab in next_element_from_buffer (it=0x7fffffff3340) at xdisp.c:8248 #13 0x0000000000453cf0 in get_next_display_element (it=0x7fffffff3340) at xdisp.c:6934 #14 0x00000000004836a0 in display_line (it=0x7fffffff3340) at xdisp.c:20257 #15 0x00000000004754a5 in try_window (window=20399237, pos=..., flags=1) at xdisp.c:17031 #16 0x0000000000471a67 in redisplay_window (window=20399237, just_this_one_p=false) at xdisp.c:16504 #17 0x000000000046887d in redisplay_window_0 (window=20399237) at xdisp.c:14329 #18 0x00000000006345d3 in internal_condition_case_1 (bfun=0x46883b , arg=20399237, handlers=14393142, hfun=0x46880a ) at eval.c:1369 #19 0x00000000004687eb in redisplay_windows (window=20399237) at xdisp.c:14309 #20 0x000000000046754f in redisplay_internal () at xdisp.c:13905 #21 0x0000000000464fc9 in redisplay () at xdisp.c:13185 #22 0x000000000058d84e in read_char (commandflag=1, map=61337350, prev_event=14421890, used_mouse_menu=0x7fffffffd4c9, end_time=0x0) at keyboard.c:2593 #23 0x000000000059dd52 in read_key_sequence (keybuf=0x7fffffffd6b0, bufsize=30, prompt=14421890, dont_downcase_last=false, can_return_switch_frame=true, fix_current_buffer=true, prevent_redisplay=false) at keyboard.c:9206 #24 0x000000000058a76f in command_loop_1 () at keyboard.c:1462 #25 0x000000000063445f in internal_condition_case (bfun=0x58a35e , handlers=14473826, hfun=0x589a85 ) at eval.c:1345 #26 0x0000000000589fde in command_loop_2 (ignore=14421890) at keyboard.c:1197 #27 0x000000000063388a in internal_catch (tag=14469458, func=0x589fb8 , arg=14421890) at eval.c:1106 #28 0x0000000000589f8c in command_loop () at keyboard.c:1176 #29 0x000000000058958d in recursive_edit_1 () at keyboard.c:786 #30 0x0000000000589775 in Frecursive_edit () at keyboard.c:857 #31 0x000000000058738a in main (argc=1, argv=0x7fffffffdac8) at emacs.c:1623 Hope it's helpful, Vitalie