1 2 3 4 Previous Next 51 Replies Latest reply: Jan 27, 2008 9:56 PM by mkikeda
TouchOfClass Level 1 Level 1 (0 points)
when I run emacs from the command line I get the following error:

Fatal malloc_jumpstart() error

I just installed leopard. Emacs worked fine before the upgrade. Emacs is installed in /usr/bin. I can't run it from root either.

-help

MBP Boyeee, Mac OS X (10.4.6), My 'puter is better then yours!
  • 1. Re: emacs broken in leopard?
    Brian P. Campbell Level 1 Level 1 (25 points)
    Emacs works fine on Leopard for me. Have you tried moving aside your .emacs to see if there's anything in there that breaks emacs? Do you have Fink or Darwinports installed? Can you run emacs --version, or does that break too?
  • 2. Re: emacs broken in leopard?
    TouchOfClass Level 1 Level 1 (0 points)
    ok:

    emacs --version
    GNU Emacs 21.2.1

    I can't find my .emacs file. at my users root directory I found .emacs.d directory. I haven't installed any unix like tools such as fink or darwinports.
  • 3. Re: emacs broken in leopard?
    Brian P. Campbell Level 1 Level 1 (25 points)
    Interesting. That's the Tiger version of Emacs, not the Leopard version. Leopard ships with Emacs 22.1.1. Maybe you should try installing the Unix tools portion of Leopard again?
  • 4. Re: emacs broken in leopard?
    TouchOfClass Level 1 Level 1 (0 points)
    I tried reinstalling just the BSD portion of 10.5 but it looks like BSD is no longer an optional install. Any Ideas how I should go about fixing this. I would rather not do a full reinstall of Leopard.
  • 5. Re: emacs broken in leopard?
    Brian P. Campbell Level 1 Level 1 (25 points)
    This is not guaranteed to work, since this is using the Leopard installer in ways it wasn't designed or tested for but you can try the following. In Terminal, type:

    open "/Volumes/Mac OS X Install DVD/System/Installation/Packages/BSD.pkg"

    In order to run an installer for just the BSD packages.

    As I said, this is not supported in any way, but it's something you could try.
  • 6. Re: emacs broken in leopard?
    TouchOfClass Level 1 Level 1 (0 points)
    Ok I just installed the Leopard BSD.pkg off of the DVD(retail) with no problems (yet?). But emacs still doesn't work and --version still says 21.2.1.

    any more ideas?
  • 7. Re: emacs broken in leopard?
    mistersquid Level 3 Level 3 (795 points)
    I received the exact same error on a new 2.16 Ghz Intel Core 2 Duo iBook. A restart fixed the error.
  • 8. Re: emacs broken in leopard?
    Brian P. Campbell Level 1 Level 1 (25 points)
    OK, how about trying to run emacs-i386 (I'm assuming from your info that you're running on a MacBook Pro). The emacs binary on Leopard seems to just detect what your system is and run either emacs-i386 or emacs-ppc. If you try to run emacs-ppc on an intel mac, you get the error you are describing. I'm not sure why emacs wouldn't be booting the correct one, but try running emacs-i386 and see if that works. Are you using Apple's Terminal or some other terminal?

    If that doesn't work, try running the following commands and posting the output, to see if we can get any more information:
    which emacs; ls -al /usr/bin/emacs*; file /usr/bin/emacs*
  • 9. Re: emacs broken in leopard?
    TouchOfClass Level 1 Level 1 (0 points)
    output:

    Mac-the-puter:~ babu$ ls -al /usr/bin/emacs*; file /usr/bin/emacs*
    -r-xr-xr-x 1 root wheel 38544 Oct 11 03:39 /usr/bin/emacs
    -rwxr-xr-x 1 root wheel 21227988 Oct 24 19:43 /usr/bin/emacs-i386
    -rwxr-xr-x 1 root wheel 30805724 Feb 3 2006 /usr/bin/emacs-ppc
    -rwxr-xr-x 1 root wheel 5301856 Oct 11 03:39 /usr/bin/emacs-undumped
    -rwxr-xr-x 1 root wheel 64016 Oct 11 03:39 /usr/bin/emacsclient
    /usr/bin/emacs: Mach-O universal binary with 2 architectures
    /usr/bin/emacs (for architecture i386): Mach-O executable i386
    /usr/bin/emacs (for architecture ppc7400): Mach-O executable ppc
    /usr/bin/emacs-i386: Mach-O executable i386
    /usr/bin/emacs-ppc: Mach-O executable ppc
    /usr/bin/emacs-undumped: Mach-O universal binary with 2 architectures
    /usr/bin/emacs-undumped (for architecture i386): Mach-O executable i386
    /usr/bin/emacs-undumped (for architecture ppc7400): Mach-O executable ppc
    /usr/bin/emacsclient: Mach-O universal binary with 2 architectures
    /usr/bin/emacsclient (for architecture i386): Mach-O executable i386
    /usr/bin/emacsclient (for architecture ppc7400): Mach-O executable ppc

    ---------
    running emacs-i386 and emacs-ppc both give the same error:

    Fatal malloc_jumpstart() error

    Additionally I installed Leopard from the Family Pack on two other computers one ppc and one Intel. Emacs on both of those computers work with version 22.

    I am using the Apple terminal app.
  • 10. Re: emacs broken in leopard?
    Jeremy H. Brown Level 1 Level 1 (0 points)
    "Leopard ships with Emacs 22.1.1"

    I'm having the same problem as the initial poster. My emacs 21.2.1 is dated Oct. 11, and emacs-i386 is dated Oct. 13, which seems like dates I'd expect a Leopard build from, rather than a Tiger build. For what it's worth, I installed Leopard from the release DVD. Where did you get your Leopard install from -- were you a beta tester?

    Below, ls -l, version, and attempt at running:

    silverton:~ jhbrown$ /usr/bin/emacs --version
    GNU Emacs 21.2.1
    Copyright (C) 2001 Free Software Foundation, Inc.
    GNU Emacs comes with ABSOLUTELY NO WARRANTY.
    You may redistribute copies of Emacs
    under the terms of the GNU General Public License.
    For more information about these matters, see the file named COPYING.
    silverton:~ jhbrown$ ls -l /usr/bin/emacs
    -r-xr-xr-x 1 root wheel 38544 Oct 11 03:39 /usr/bin/emacs
    silverton:~ jhbrown$ /usr/bin/emacs
    Fatal malloc_jumpstart() error
    silverton:~ jhbrown$ ls -l /usr/bin/emacs-i386
    -rwxr-xr-x 1 root wheel 21227988 Oct 13 23:05 /usr/bin/emacs-i386
    silverton:~ jhbrown$ /usr/bin/emacs-i386
    Fatal malloc_jumpstart() error
    silverton:~ jhbrown$ file /usr/bin/emacs
    /usr/bin/emacs: Mach-O universal binary with 2 architectures
    /usr/bin/emacs (for architecture i386): Mach-O executable i386
    /usr/bin/emacs (for architecture ppc7400): Mach-O executable ppc
    silverton:~ jhbrown$ file /usr/bin/emacs-i386
    /usr/bin/emacs-i386: Mach-O executable i386
  • 11. Re: emacs broken in leopard?
    Brian P. Campbell Level 1 Level 1 (25 points)
    OK, try the following:

    /usr/libexec/dumpemacs -nd

    If it prints out something other than telling you that Emacs is up to date, you might want to try:

    sudo /usr/libexec/dumpemacs -d

    If that doesn't work, try posting the output so I can take a look. Also, post the result of

    /usr/libexec/dumpemacs -V
  • 12. Re: emacs broken in leopard?
    goli Level 1 Level 1 (0 points)
    I also have the same problem. Reinstalling BSD package didn't solve
    the problem. I removed /usr/bin/emacs to make sure BSD pkg is updating
    the emacs and reinstalled BSD package. It is still old tiger version.

    goli-mac:bin goli$ /usr/bin/emacs --version
    GNU Emacs 21.2.1
    Copyright (C) 2001 Free Software Foundation, Inc.
    GNU Emacs comes with ABSOLUTELY NO WARRANTY.
    You may redistribute copies of Emacs
    under the terms of the GNU General Public License.
    For more information about these matters, see the file named COPYING.

    goli-mac:bin goli$ /usr/libexec/dumpemacs -nd
    Checking if emacs is up-to-date
    Emacs is up-to-date. No dumping required
    goli-mac:bin goli$

    goli-mac:bin goli$ /usr/libexec/dumpemacs -V
    22.1

    What is emacs-undumped?
    goli-mac:bin goli$ file emacs-undumped
    emacs-undumped: Mach-O universal binary with 2 architectures
    emacs-undumped (for architecture i386): Mach-O executable i386
    emacs-undumped (for architecture ppc7400): Mach-O executable ppc

    This one works and it is 22.1 (not 22.1.1) but I have to start with
    '-bg white' otherwise background is all black and can't see anything.
    Also it looks like it is not reading .emacs.

    GNU Emacs 22.1 (mac-apple-darwin, Carbon Version 1.6.0)
  • 13. Re: emacs broken in leopard?
    TouchOfClass Level 1 Level 1 (0 points)
    Mac-the-puter:bin babu$ /usr/libexec/dumpemacs -nd
    Checking if emacs is up-to-date
    Emacs is up-to-date. No dumping required

    Mac-the-puter:bin babu$ sudo /usr/libexec/dumpemacs -d
    Checking if emacs is up-to-date
    Emacs is up-to-date. No dumping required

    Mac-the-puter:bin babu$ /usr/libexec/dumpemacs -V
    22.1
  • 14. Re: emacs broken in leopard?
    Jeremy H. Brown Level 1 Level 1 (0 points)
    I just reinstalled Leopard from the DVD. This time, I chose the option to archive the old OS to a separate directory --- I figure if the upgrade option botched emacs, it probably botched other things too. Emacs is now working properly, and is the expected version, 22.1.1
1 2 3 4 Previous Next