From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Neil Jerram Newsgroups: gmane.emacs.orgmode,gmane.emacs.help Subject: Re: Emacs sagmentation fault error on a big org-mode file movement Date: Sat, 16 Dec 2017 10:58:36 +0000 Message-ID: <00d6f98c-31b2-fd9e-e4af-e6d9445d8945@ossau.homelinux.net> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------CEA8F5085777CF6F5394EE02" X-Trace: blaine.gmane.org 1513421964 2494 195.159.176.226 (16 Dec 2017 10:59:24 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 16 Dec 2017 10:59:24 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 To: "numbchild@gmail.com" , Org-mode , emacs-help Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sat Dec 16 11:59:18 2017 Return-path: Envelope-to: geo-emacs-orgmode@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 1eQABY-0008Tx-SO for geo-emacs-orgmode@m.gmane.org; Sat, 16 Dec 2017 11:59:17 +0100 Original-Received: from localhost ([::1]:50211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQABf-0007eG-Pp for geo-emacs-orgmode@m.gmane.org; Sat, 16 Dec 2017 05:59:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48944) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eQAB4-0007dk-Ts for emacs-orgmode@gnu.org; Sat, 16 Dec 2017 05:58:48 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eQAB0-0002t7-Us for emacs-orgmode@gnu.org; Sat, 16 Dec 2017 05:58:46 -0500 Original-Received: from smtp-out-3.talktalk.net ([62.24.135.67]:57289) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eQAB0-0002rN-LU for emacs-orgmode@gnu.org; Sat, 16 Dec 2017 05:58:42 -0500 Original-Received: from arudy.520b.com ([92.1.161.95]) by smtp.talktalk.net with SMTP id QAAwePVNaCbAZQAAweFqhQ; Sat, 16 Dec 2017 10:58:39 +0000 X-Originating-IP: [92.1.161.95] X-Spam: 0 X-OAuthority: v=2.2 cv=JvuBlIwC c=1 sm=1 tr=0 a=XADhQEnjw/kW7BrA+PwMvw==:117 a=XADhQEnjw/kW7BrA+PwMvw==:17 a=ocR9PWop10UA:10 a=r77TgQKjGQsHNAKrUKIA:9 a=pGLkceISAAAA:8 a=oY89v2SdAAAA:8 a=uTAu6XafcMfKbnOBD7EA:9 a=QEXdDO2ut3YA:10 a=PqeJH_83fozn-XJ5wEAA:9 a=naX5Vz6R17V-I3sc:21 a=_W_S_7VecoQA:10 a=HtINljx6QbwEgCd--ti2:22 Original-Received: from [192.168.1.13] (unknown [192.168.1.13]) by arudy.520b.com (Postfix) with ESMTPSA id 290B238016; Sat, 16 Dec 2017 10:58:38 +0000 (GMT) In-Reply-To: Content-Language: en-US X-CMAE-Envelope: MS4wfPqGcQYuNWxupTAulkbhysg2+LzhGixNQW20JFLCuN+UJZMciTTZdvGM5ZROywMctuIw/iQM/yZsvbU7pKKqr0Nve4lL/IUS4Vcu3A9gCo5M0P/bwlOm qy1myBc1vqW0Or+fKq9NxR3fN6WIieSMQvSQPGxDHHQwlFnnMHj+LYAltyeedNjGaXltP9xu1Pn13qBpt8lUD1/bQ1yQ2XS7CpnpB6O0jKauFoS7yEm6UjgL X7iYjH/k3lAhWsEzBEA9og== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 62.24.135.67 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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 Original-Sender: "Emacs-orgmode" Xref: news.gmane.org gmane.emacs.orgmode:117570 gmane.emacs.help:115371 Archived-At: This is a multi-part message in MIME format. --------------CEA8F5085777CF6F5394EE02 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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/ --------------CEA8F5085777CF6F5394EE02 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

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]           <Hack this world!>      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/

--------------CEA8F5085777CF6F5394EE02--