bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Attempting to )load a )dump file causes segfault


From: Juergen Sauermann
Subject: Re: [Bug-apl] Attempting to )load a )dump file causes segfault
Date: Mon, 21 Apr 2014 15:41:27 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5

Hi David,

I tried to reproduce the problem on my machine but couldn't.
I looped around an empty file (outside emacs mode) several 10000 times without
the problem happening.

Some more context like the Backtrace shown after SEGMENTATION FAULT (if any)
or loading the core dump into gdb and doing 'bt" would help.

/// Jürgen


On 04/20/2014 11:25 PM, David B. Lamkins wrote:
Sigh: Or maybe not... The crash happens less often from the command
line, but it can still happen.

Uninitialized pointer...?

OK... I'm gonna stop reporting these crashes. Let me know if there's
anything I can do to help isolate the cause.

On Sun, 2014-04-20 at 14:20 -0700, David B. Lamkins wrote:
Apologies: This problem only appears within an Emacs session using
gnu-apl-mode. It's not an APL bug; the problem does not manifest when
apl is run from the command-line.

Let me try to resynchronize gnu-apl and gnu-apl-mode; if there's still a
problem I'll report back.

On Sun, 2014-04-20 at 14:09 -0700, David B. Lamkins wrote:
Here's another )load crash, this time with dump files. I'm running svn
218, clean build with a default ./configure.

This crash is trivial to reproduce. Create a dump file with only the
header line, i.e.:

-- begin test.apl --
#!/usr/local/bin/apl --script --
--  end  test.apl --

... then:
       )load test.apl
loading )DUMP file /home/dlamkins/workspaces/test.apl...


====================================================
SEGMENTATION FAULT

Process apl segmentation fault (core dumped)

The problem seems to occur at the end of the file; any APL expressions
after the header seem to be executed correctly.









reply via email to

[Prev in Thread] Current Thread [Next in Thread]