|
From: | Blake McBride |
Subject: | Re: [Bug-apl] Segmentation fault with Emacs mode |
Date: | Sat, 3 May 2014 06:46:50 -0500 |
Hi,
so the last we see in Input.cc is:
*prompt: ' ' at Input.cc:223
and then we call start_input(). That is a callback installed by emacs_mode.
We do not see that the next line is reached, so the segfault is most likely
thrown by start_input().
You could add Q((const void *)start_input) after line 223, but I doubt that this
will teach us anything new.
I guess Elias should have a look (maybe stale start_input() ?).
/// Jürgen
On 04/30/2014 07:41 PM, Blake McBride wrote:
Here is what I get:
*prompt: ' ' at Input.cc:223LOC: 'Input.cc:225' at Input.cc:225from: '1398879544756301' at Input.cc:228]xterm offline: ']xterm off' at Input.cc:239LOC: 'Input.cc:247' at Input.cc:247LOC: 'Input.cc:249' at Input.cc:249(const void *)l: '0x24c0700' at Input.cc:255(const char *)l: ']xterm off' at Input.cc:256(const char *)l: ']xterm off' at Input.cc:260LOC: 'Input.cc:263' at Input.cc:263(const char *)l: ']xterm off' at Input.cc:266*prompt: ' ' at Input.cc:223LOC: 'Input.cc:225' at Input.cc:225from: '1398879554047033' at Input.cc:228'libemacs'⎕FX'EMACS'line: ''libemacs'⎕FX'EMACS'' at Input.cc:239LOC: 'Input.cc:247' at Input.cc:247LOC: 'Input.cc:249' at Input.cc:249(const void *)l: '0x24c1650' at Input.cc:255(const char *)l: ''libemacs'⎕FX'EMACS'' at Input.cc:256(const char *)l: ''libemacs'⎕FX'EMACS'' at Input.cc:260LOC: 'Input.cc:263' at Input.cc:263(const char *)l: ''libemacs'⎕FX'EMACS'' at Input.cc:266EMACS*prompt: ' ' at Input.cc:223LOC: 'Input.cc:225' at Input.cc:225from: '1398879572132051' at Input.cc:228EMACS[1] 0line: 'EMACS[1] 0' at Input.cc:239LOC: 'Input.cc:247' at Input.cc:247LOC: 'Input.cc:249' at Input.cc:249(const void *)l: '0x24d2680' at Input.cc:255(const char *)l: 'EMACS[1] 0' at Input.cc:256(const char *)l: 'EMACS[1] 0' at Input.cc:260LOC: 'Input.cc:263' at Input.cc:263(const char *)l: 'EMACS[1] 0' at Input.cc:266Network listener started. Connection information: mode:tcp addr:55734*prompt: ' ' at Input.cc:223LOC: 'Input.cc:225' at Input.cc:225from: '1398879581362948' at Input.cc:228)load Devicesline: ')load Devices' at Input.cc:239LOC: 'Input.cc:247' at Input.cc:247LOC: 'Input.cc:249' at Input.cc:249(const void *)l: '0x24984b0' at Input.cc:255(const char *)l: ')load Devices' at Input.cc:256(const char *)l: ')load Devices' at Input.cc:260LOC: 'Input.cc:263' at Input.cc:263(const char *)l: ')load Devices' at Input.cc:266SAVED 2014-4-27 16:11:45 (GMT-5)VALUE ERRORauto[11] start^*prompt: ' ' at Input.cc:223
====================================================SEGMENTATION FAULTSegmentation fault (core dumped)address@hidden ~ $
On Wed, Apr 30, 2014 at 11:52 AM, Juergen Sauermann <address@hidden> wrote:
Hi,
ok, we are getting closer. Can you please replace Input.,cc with the attached
file and sent the output before the SEGFAULT (last 30 lines suffice)
/// Jürhen
On 04/30/2014 05:31 PM, Blake McBride wrote:
Here is what I did after setting ulimit:
]xterm off
'libemacs'⎕FX'EMACS'
EMACS
EMACS[1] 0
Network listener started. Connection information: mode:tcp addr:38717
)load Devices
SAVED 2014-4-27 16:11:45 (GMT-5)
VALUE ERROR
auto[11] start
^
====================================================
SEGMENTATION FAULT
Segmentation fault (core dumped)
[Prev in Thread] | Current Thread | [Next in Thread] |