Skip to content

maxima doesn't work, "personality change failure 0" #1185

Closed

Description

  • A brief description
    Trying to run the Maxima computer-algebra system, it gives the error "personality change failure 0" and dies.
  • Expected results
    When I run maxima, it should launch and work; the front-ends (wxMaxima, xmaxima) should work, too.
  • Actual results (with terminal output if applicable)
    It says "personality change failure 0".
  • Your Windows build number
    Build 14393.222
  • Steps / All commands required to reproduce the error from a brand new installation
    Install maxima (apt-get install maxima) and then try to run maxima.
  • Strace of the failing command
    To not make this report too long, it's here:
    https://gist.github.com/renanbirck/c3095df655a835ab3cc49f885bb40bfe
  • Required packages and commands to install
    Just maxima (apt-get install maxima).

Activity

  1. fpqc commented on Oct 10, 2016

    @fpqc

    I noticed it was trying to load libX11 in the strace. Could you install and run vcXsrv and run Maxima with:

    DISPLAY=:0 maxima

  2. mobluse commented on Oct 10, 2016

    @mobluse

    I mentioned this earlier in #1128 (comment) .

    I now use Octave with octave-symbolic, see https://youtu.be/r3XOrW8tVSY and description.

  3. renanbirck commented on Oct 10, 2016

    @renanbirck
    Author

    fpqc, unfortunately it doesn't change anything.

  4. stehufntdev commented on Jan 6, 2017

    @stehufntdev

    Thanks for reporting the issue. I took a look at the maxima repro under strace and it's trying to set a personality of STICKY_TIMEOUTS which isn't supported today in WSL.

  5. mobluse commented on Feb 26, 2017

    @mobluse

    This is still a problem in the most updated Ubuntu in the latest slow ring version of Windows 10 (16288.1.amd64fre.rs3_release.170909-0851):

    $ maxima
    personality failure 38
    
  6. mobluse commented on Sep 16, 2017

    @mobluse

    In the most updated openSUSE Leap 42 under Windows 10 16288.1.amd64fre.rs3_release.170909-0851 it's even worse:

    > sudo zypper ref
    > sudo zypper dup
    > sudo zypper install maxima
    > maxima
    

    And then you get a lots of errors and it's difficult to stop with Ctrl+C.

  7. jstarks commented on Nov 24, 2017

    @jstarks
    Member

    I’ve got Ubuntu’s maxima working in an internal build. The fixes should be available in a future insider build.

  8. jstarks commented on Dec 19, 2017

    @jstarks
    Member

    This should be fixed in insider build 17063.

  9. mobluse commented on Dec 21, 2017

    @mobluse

    Microsoft Windows [Version 10.0.17063.1000]

    The command maxima doesn't do anything now. It only returns without even printing an error message.

    $ maxima
    $
    

    In ordinary Ubuntu it prints version of maxima and then there is a maxima prompt. How it should be in Ubuntu 16.04 (from Lubuntu for Raspberry Pi):

    $ maxima
    
    Maxima 5.37.2 http://maxima.sourceforge.net
    using Lisp GNU Common Lisp (GCL) GCL 2.6.12
    Distributed under the GNU Public License. See the file COPYING.
    Dedicated to the memory of William Schelter.
    The function bug_report() provides bug reporting information.
    (%i1)
    

    I first uninstalled maxima with:

    $ sudo apt purge maxima
    $ sudo apt autoremove
    

    Then reinstalled it, but it didn't help:
    $ sudo apt install maxima

  10. jstarks commented on Dec 21, 2017

    @jstarks
    Member

    Hmm, that’s unexpected. I’ll take a look soon.

  11. jstarks commented on Dec 28, 2017

    @jstarks
    Member

    Bad luck -- we are hitting a failure in the execve code path once it's too late to report a failure to the caller. This is due to some unrelated memory management improvements to Windows that introduced a bug. We'll get this fixed soon. Thanks for pointing it out!

  12. mobluse commented on Jan 20, 2018

    @mobluse

    I just installed the latest insider Microsoft Windows [Version 10.0.17074.1002] and maxima is still unfixed, i.e. it is as in Microsoft Windows [Version 10.0.17063.1000].

  13. Brian-Perkins commented on Jan 24, 2018

    @Brian-Perkins
    Contributor

    The execve failure should be fixed in Insiders Build 17083

  14. sangwinc commented on Dec 2, 2018

    @sangwinc

    I'm trying to set up Maxima in a docker container based on php:7.0-apache
    I'm also getting "personality failure 0" as a result. See below! Any suggestions please?

    root@ad3265ff4f24:/var/data/api/stack# apt-get install maxima
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following additional packages will be installed:
      maxima-share
    Suggested packages:
      texmacs maxima-doc xmaxima maxima-emacs wish
    The following NEW packages will be installed:
      maxima maxima-share
    0 upgraded, 2 newly installed, 0 to remove and 6 not upgraded.
    Need to get 11.4 MB of archives.
    After this operation, 58.5 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://cdn-fastly.deb.debian.org/debian stretch/main armhf maxima armhf 5.38.1-8+b1 [5055 kB]
    Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main armhf maxima-share all 5.38.1-8 [6365 kB]
    Fetched 11.4 MB in 6s (1708 kB/s)                                                                                                                                      
    debconf: delaying package configuration, since apt-utils is not installed
    Selecting previously unselected package maxima.
    (Reading database ... 22954 files and directories currently installed.)
    Preparing to unpack .../maxima_5.38.1-8+b1_armhf.deb ...
    Unpacking maxima (5.38.1-8+b1) ...
    Selecting previously unselected package maxima-share.
    Preparing to unpack .../maxima-share_5.38.1-8_all.deb ...
    Unpacking maxima-share (5.38.1-8) ...
    Setting up maxima (5.38.1-8+b1) ...
    Setting up maxima-share (5.38.1-8) ...
    root@ad3265ff4f24:/var/data/api/stack# maxima
    personality failure 0
    
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions