Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#1008 Windows DEP Execution Problem

closed
nobody
5
2006-11-14
2006-10-14
Anonymous
No

CPU: AMD64 dual-core
OS: Windows XP
Maxima: 5.10.0

DEP (Data Execution Prevention) is turned on.

maxima.bat fails to execute maxima.exe.
XMaxima and wxMaxima report a missing connection to Maxima.

There is no warning, no hint to the real problem. I was
confused, Filemon/Regmon did not help. In the wxMaxima
discussion forum I found the solution.

Workaround:

include the full program path of maxima.exe
C:\Program
Files\Maxima-5.10.0\lib\maxima\5.10.0\binary-gcl\maxima.exe

in the list of DEP exceptions (Control
Panel->System->Advanced->Performance->DEP)

Problem:

It seems that the LISP interpreter in maxima.exe is
executing binary code in data sections. This should be
fixed.

Discussion

  • Raymond Toy
    Raymond Toy
    2006-10-16

    Logged In: YES
    user_id=28849

    I don't know about GCL in particular, but I believe this is
    how most Lisp implementations work.

     
  • Robert Dodier
    Robert Dodier
    2006-10-30

    Logged In: YES
    user_id=501686

    Assigning category="Problem not in Maxima" and
    resolution=rejected and status=pending (will be closed
    automatically in 2 weeks).

    Notes:

    (1) I posted a note about this problem to the gcl-devel
    mailing list, with no reply as of this writing.

    (2) But I did find this statement by Camm Maguire. Not sure
    exactly what this means.
    "GCL does not require executable stack, but does require
    non-randomized sbrk. GCL autodetects when the OS is trying
    to do this and resets its 'personality'. All GCL apps work
    is such a mode on the latest security setups." (from
    http://groups.google.com/group/comp.lang.lisp/msg/f062ed80b68cbcda\)

    (3) I added a note about Windows DEP to the wiki page for
    Run-time problems:
    http://maxima.sourceforge.net/wiki/index.php/Run-time%20problems

     
  • Robert Dodier
    Robert Dodier
    2006-10-30

    • status: open --> pending
    • labels: --> Problem not in Maxima
     
  • Logged In: YES
    user_id=1312539

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
    • status: pending --> closed