Re: Odd behavior in some terminal apps.

Wes Frazier <[email protected]> Fri, 28 Jul 2017 16:47:52 -0400
Newsgroups gmane.os.netbsd.ports.hpcarm
Message-ID <[email protected]>

On 07/18/2017 21:43, Robert Swindells wrote:
> Wes Fraizer <[email protected]> wrote:
>> On Tue, Jul 18, 2017 at 12:26:42PM +0100, Robert Swindells wrote:
>>> 
>>> Wes Fraizer <[email protected]> wrote:
>>> >On Tue, Jul 11, 2017 at 06:37:03PM +0100, Robert Swindells wrote:
>>> >>
>>> >> Wes Frazier <[email protected]> wrote:
>>> >> >I issued the 'ulimit -s 8192' command from bash and it appeared to
>>> >> >execute without error. I then launched emacs, but it still triggered a
>>> >> >segment fault.
>>> >>
>>> >> I have rebuilt emacs25-nox11, it works for me on a cats.
>>> >>
>>> >I ran a pkg_delete 'emacs25-nox11' and a 'pkg_add emacs25-nox11' and I
>>> >continue to get a segment fault at launch with emacs.
>>> 
>>> Are you sure that you downloaded the emacs25-nox11 package again ?
>>> 
>>> I will try building tmux with debug symbols, would you be able to run
>>> it under gdb to get an idea of why it is failing ?
>> 
>> Im fairly confident it was the new package, I confirmed there was no
>> emacs binary package in /usr/pkgsrc/packages before running pkg_add 
>> and
>> saw the WiFi care lightup for a long time on the device as it was
>> fetched. I can post a md5sum or some other hash of the binary.
> 
> Ok.

MD5 (/usr/pkg/bin/emacs) = 0216e50f5148bfecfd05d9043c521eaf

> 
>> Is gdb in the base system? (cant check at work this second). If it is 
>> I
>> should be able to muddle through that, if not would you mind building
>> it?
> 
> If you installed the comp tarball then you will have gdb.
> 
> I have put a debug build of tmux at:
> 
> <ftp://ftp.NetBSD.org/pub/NetBSD/misc/rjs/earmv4/tmux-2.5.tgz>

I can confirm the debug build fails too, although I can't actually get 
it running in GDB. Every time I issue a "run" to gdb I get a "ptrace: No 
such proccess." I can succesfully backtrace emacs though. (Assuming we 
determine I am not using the old binary). Can you confirm if the MD5 sum 
matches the newer build?

Sorry on the delay on getting around to this. I had some real life 
constraints that kept getting in the way of sitting down with the 
Jornada. Thanks for all your help so far.

- Wes