From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "numbchild@gmail.com" Newsgroups: gmane.emacs.help,gmane.emacs.orgmode Subject: Re: [O] Emacs sagmentation fault error on a big org-mode file movement Date: Sun, 17 Dec 2017 23:03:54 +0800 Message-ID: References: <00d6f98c-31b2-fd9e-e4af-e6d9445d8945@ossau.homelinux.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1513522996 23507 195.159.176.226 (17 Dec 2017 15:03:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 17 Dec 2017 15:03:16 +0000 (UTC) Cc: emacs-help , Org-mode To: Neil Jerram Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 17 16:03:12 2017 Return-path: Envelope-to: geh-help-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 1eQaT8-0005fM-Ve for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Dec 2017 16:03:11 +0100 Original-Received: from localhost ([::1]:54558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQaV5-0006Be-ME for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Dec 2017 10:05:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQaUQ-0006A6-SY for help-gnu-emacs@gnu.org; Sun, 17 Dec 2017 10:04:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQaUP-00025f-En for help-gnu-emacs@gnu.org; Sun, 17 Dec 2017 10:04:30 -0500 Original-Received: from mail-ot0-x22b.google.com ([2607:f8b0:4003:c0f::22b]:44353) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eQaUM-00022h-1L; Sun, 17 Dec 2017 10:04:26 -0500 Original-Received: by mail-ot0-x22b.google.com with SMTP id d27so11479638ote.11; Sun, 17 Dec 2017 07:04:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=yMztV8N/eEw6Q0IAuPM/Zv+inENdV5+KH+rvASJxS3E=; b=LhBh4aHo646VEM15bITj0lpES+neOT884SX4BGJJfA8qwWA5H2wZ6r6eTfYsGMN+oH AD9xbnDzy4/ERqSw8swHO33rGpXwLDNc9nHJxKVxg7FzdQl4K9xvSaQ/SZbVKXnbx1Bo hQgXuaogFbdyQh1vzSAqr/hXwsWTFHrB5MPL23C7xU0+yyxLCdkybvEokHrC5mzOgjlA cMXQx2ZRJE07Kl5pLSTOy7+l6L2rM07t0x56BDEZX/xxpr30gJNnMsSEY5i0iEUCK5zo hfF0dg6XJRk3dIKku1MrZC1JnOsJ0Ih7kQZpYvnEdiz/LkyZNcOS0rFd3++4z18MWd+d +mXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=yMztV8N/eEw6Q0IAuPM/Zv+inENdV5+KH+rvASJxS3E=; b=BiISScyD2mEiQ+nIPYjPHTUvIk7noZGVCI9oDEv935nGboAWRERBnxNX6AwjlTtMvs v+Vl9QbfRXgk0rZQQw7AbdTxLqabnaph4bb1dubYsnR3q/JYVFJN3ZXZWGGlVTurwNQU XD9PVv+Bozj9jabru6PWJRAyJV0TPAbFSXFV1IjqxGUOFB5zStcrOHlhkKSRHtZaRXD7 kF/bw4g2vUXYz3FGt4CXVDAvi8VzmxbtDmukSXYUerXzBS9jEZuHH4Zy1plZiOASnUeL UxuPNvjIUXTrgh3YgXOlEmxh/HinDFLBv7z6LCCYHgyok/nAdm/w5fKn6LG8oKiQF6w8 25Nw== X-Gm-Message-State: AKGB3mL2U1wiavD25Hw5cC7HL3TBlnCywa0T/BQ1lDgVTvHG4SHGOAE4 d2CIVibm0oJbDmh+kW9i1dAi0ZFthypv+LI7MA== X-Google-Smtp-Source: ACJfBouzbOd4PKd3l8GU2SWatucmoGNIyr/oPz3Zkcbe6+I0TtjD89ULdEY9fJBWdaDUPwrHs3DygieTO1HY1QP9Wnk= X-Received: by 10.157.44.210 with SMTP id e18mr1938919otd.316.1513523065191; Sun, 17 Dec 2017 07:04:25 -0800 (PST) Original-Received: by 10.157.42.19 with HTTP; Sun, 17 Dec 2017 07:03:54 -0800 (PST) In-Reply-To: <00d6f98c-31b2-fd9e-e4af-e6d9445d8945@ossau.homelinux.net> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4003:c0f::22b X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115377 gmane.emacs.orgmode:117584 Archived-At: I'm doing it try to reproduce this sagment fault. but can't reproduce it for now. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://stardiviner.github.io/ On Sat, Dec 16, 2017 at 6:58 PM, Neil Jerram wrote: > I would suggest (but without detailed knowledge of current emacs practice): > > 1. Report your exact emacs version. > > 2. Install a corresponding debug symbols package, if your distro provides > that. That should add a lot more interesting detail to the backtrace. > > 3. To go further, repro under GDB, ideally with corresponding source > code. Then you could explore the immediate cause of the segfault. > > Neil > > On 16/12/17 04:27, numbchild@gmail.com wrote: > > I have a big org-mode file which is overview at startup. When I navigate > around with [C-v] and [M-v]. The Emacs crashed. > > Here is the output from command-line: > ``` > Fatal error 11: Segmentation fault > Backtrace: > emacs[0x51195e] > emacs[0x4f739a] > emacs[0x50fe3e] > emacs[0x510058] > emacs[0x5100dc] > /usr/lib/libpthread.so.0(+0x11da0)[0x7fcb1cdcada0] > emacs[0x4caa74] > emacs[0x45b2b5] > emacs[0x4613e9] > emacs[0x41eb42] > emacs[0x42087c] > emacs[0x42157a] > emacs[0x421567] > emacs[0x421567] > emacs[0x42351d] > emacs[0x458015] > emacs[0x501893] > emacs[0x50465a] > emacs[0x5061dc] > emacs[0x56c85e] > emacs[0x4f7754] > emacs[0x56c7cd] > emacs[0x4f76eb] > emacs[0x4fc313] > emacs[0x4fc636] > emacs[0x41b302] > /usr/lib/libc.so.6(__libc_start_main+0xea)[0x7fcb1bf30f4a] > emacs[0x41c01a] > [1] 17259 segmentation fault (core dumped) emacs --debug-init > ``` > Is there a way to debug this? > I know it is not possible to invoke edebug on anything internal Emacs. > So is there any system (Linux) solution? > Like system process dump or traceback. > > I'm using latest version `master` branch source code Org-mode. > Emacs is from compiled `master` branch source code too. > > [stardiviner] GPG key ID: 47C32433 > IRC(freeenode): stardiviner Twitter: @numbchild > Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 > Blog: http://stardiviner.github.io/ > > >