Re: Bus error when attempting to run two emacs -nw on 10.1.5

Andrew Choi <[email protected]> Tue, 25 Jun 2002 17:02:06 -0600
Newsgroups gmane.emacs.macintosh.user
Message-ID <[email protected]>
> This behavior has been seen on an iBook (14.1", 600MHz PowerPC 
> processor, 256MB RAM)
> 
> I am currently running a CVS version of Emacs as of 17 June 2002.
> 
> When trying to start a second instance of an emacs -nw (in a new 
> Terminal window or xterm), the attempt fails with the message 'Bus 
> error'.  If I quit the first emacs -nw, it is possible to start emacs 
> -nw in the second Terminal or xterm window.
> 
> I see this behavior also when .emacs is empty.
> 
> I have experienced this behavior in earlier versions of Emacs as well, 
> namely the CVS version of 7 June 2002 and also Emacs 21.2 (as far as I 
> remember.)
> 
> Henrik

Strangely, if one starts up Emacs in gdb, one can start up multiple
versions.  So the problem seems to have something to do with reading
symbols in shared libraries.

You can have a file ~/gdb_run_emacs_commands containing the two lines:

run
quit

and start Emacs like this:

  gdb --command=~/gdb_run_emacs_commands --args emacs -nw

It will start much slower, but you'll be able to start more than one
instance.

Beyond that I welcome any suggestions.



-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn