Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Mac OSX Fatal error (6).Abort trap

688 views
Skip to first unread message

Ashley Sanders

unread,
Jan 9, 2003, 6:52:53 AM1/9/03
to
Have just compiled and installed emacs 21 for Mac OSX according to the
instructions at:

http://members.shaw.ca/akochoi-emacs/

I'm running MaC OSX 10.2.1

When I run emacs from the command line I get:

Fatal error (6).Abort trap

Running emacs under gdb gives the following backtrace:

Program received signal SIGABRT, Aborted.
0x9001bc0c in kill ()
(gdb) bt
#0 0x9001bc0c in kill ()
#1 0x9005d5cc in abort ()
#2 0x0012c41c in NewMacWindow (fp=0x105a0c0) at macterm.c:13203
#3 0x0012c49c in make_mac_frame (f=0x105a0c0) at macterm.c:13231
#4 0x0013216c in Fx_create_frame (parms=1349071004) at macfns.c:4030
#5 0x000cbb60 in Ffuncall (nargs=0, args=0xbfffe748) at eval.c:2740
#6 0x000fba20 in Fbyte_code (bytestr=275454532, vector=1,
maxdepth=-1073748152) at bytecode.c:709
#7 0x000cc204 in funcall_lambda (fun=1075433048, nargs=1,
arg_vector=0xbfffe964) at eval.c:2927
#8 0x000cbcc8 in Ffuncall (nargs=0, args=0xbfffe960) at eval.c:2797
#9 0x000fba20 in Fbyte_code (bytestr=275454532, vector=1,
maxdepth=-1073747616) at bytecode.c:709
#10 0x000cc204 in funcall_lambda (fun=1075743864, nargs=1,
arg_vector=0xbfffeb74) at eval.c:2927
#11 0x000cbcc8 in Ffuncall (nargs=0, args=0xbfffeb70) at eval.c:2797
#12 0x000fba20 in Fbyte_code (bytestr=276279636, vector=1,
maxdepth=-1073747088) at bytecode.c:709
#13 0x000cc204 in funcall_lambda (fun=1075740308, nargs=0,
arg_vector=0xbfffed84) at eval.c:2927
#14 0x000cbcc8 in Ffuncall (nargs=0, args=0xbfffed80) at eval.c:2797
#15 0x000fba20 in Fbyte_code (bytestr=275172516, vector=0,
maxdepth=-1073746560) at bytecode.c:709
#16 0x000cc204 in funcall_lambda (fun=1075871536, nargs=0,
arg_vector=0xbfffefa4) at eval.c:2927
#17 0x000cbcc8 in Ffuncall (nargs=0, args=0xbfffefa0) at eval.c:2797
#18 0x000fba20 in Fbyte_code (bytestr=275035812, vector=0,
maxdepth=-1073746016) at bytecode.c:709
#19 0x000cc204 in funcall_lambda (fun=1075866752, nargs=0,
arg_vector=0xbffff130) at eval.c:2927
#20 0x000cbecc in apply_lambda (fun=830688, args=2367344, eval_flag=1)
at eval.c:2849
#21 0x000cace0 in Feval (form=1349835268) at eval.c:2153
#22 0x000c9488 in internal_condition_case (bfun=0x638d0 <top_level_2>,
handlers=274992316, hfun=0x63474 <cmd_error>) at eval.c:1351
#23 0x00063940 in top_level_1 () at keyboard.c:1291
#24 0x000c8ef8 in internal_catch (tag=0, func=0x638ec <top_level_1>,
arg=274945748) at eval.c:1112
#25 0x000637ec in command_loop () at keyboard.c:1252
#26 0x00063210 in recursive_edit_1 () at keyboard.c:969
#27 0x00063398 in Frecursive_edit () at keyboard.c:1025
#28 0x00061e6c in main (argc=0, argv=0xbffffe08) at emacs.c:1659
#29 0x000038a8 in _start (argc=50, argv=0x0, envp=0x23c2d4) at
/SourceCache/Csu/Csu-45/crt.c:267
#30 0x00003728 in start ()

Any suggestions on how this might be fixed will be
gladly received.

Many thanks,

Ashley.

Rodney Sparapani

unread,
Jan 9, 2003, 10:06:05 AM1/9/03
to
Ashley:

I think you need to do "make bootstrap". If that is what you did, then
maybe you could
go over the steps that you used for us. Thanks.

--
Rodney Sparapani Medical College of Wisconsin
Sr. Biostatistician Patient Care & Outcomes Research
rspa...@mcw.edu http://www.mcw.edu/pcor
Was 'Name That Tune' rigged? WWLD -- What Would Lombardi Do

Hans-Peter Binder

unread,
Jan 9, 2003, 10:45:41 AM1/9/03
to
* Ashley Sanders <a.sa...@mccx.acy.ukz> writes:

> Have just compiled and installed emacs 21 for Mac OSX according to the

[...]



> When I run emacs from the command line I get:
>
> Fatal error (6).Abort trap

[hyperion:~] tethys% emacs
Fatal error (6).Abort

the right way is to type emacs -nw


Regards/Gruesse
Hans-Peter Binder
--
(coffee-mode 1)

Benjamin Riefenstahl

unread,
Jan 9, 2003, 8:21:20 AM1/9/03
to
Hi Ashley,

Ashley Sanders <a.sa...@mccx.acy.ukz> writes:
> When I run emacs from the command line I get:
>
> Fatal error (6).Abort trap

I think directly from the command line you can only either run "emacs
-nw" or you have to call /Application/Emacs.app/Contents/MacOS/Emacs.
You can of course make a shell alias for this.

This situation should probably be handled better, but somebody has to
write the code for that.

Hope this helps,
benny

Rodney Sparapani

unread,
Jan 9, 2003, 11:54:12 AM1/9/03
to
Ahh. Now, I see what you want. From the command line, you need to type
"open emacs"
or as I normally do "open Emacs.app" assuming Emacs.app is in your PATH

Ashley Sanders

unread,
Jan 9, 2003, 3:30:44 PM1/9/03
to
Rodney Sparapani wrote:
> I think you need to do "make bootstrap". If that is what you did, then
> maybe you could
> go over the steps that you used for us. Thanks.

I did the make bootstrap. The steps I took are exactly those
as detailed on the web page I referenced in my original message, ie:


curl -O ftp://ftp.gnu.org/gnu/texinfo/texinfo-4.3.tar.gz
tar zxf texinfo-4.3.tar.gz
cd texinfo-4.3
CFLAGS="-g -O2 -D_INTL_REDIRECT_MACROS" ./configure
make
sudo make install

cd ..
cvs -d:pserver:ano...@subversions.gnu.org:/cvsroot/emacs login
cvs -z3 -d:pserver:ano...@subversions.gnu.org:/cvsroot/emacs co emacs
cd emacs
./configure --with-carbon --without-x
make bootstrap
sudo make install

Hans-Peter Binder wrote:
> the right way is to type emacs -nw

Gee, thanks.

The abort() is called from the following line:

if (!(mwp->mWP = GetNewCWindow (WINDOW_RESOURCE, NULL,
(WindowPtr) -1)))
abort ();

The Mac help says of GetNewCWindow:

"If GetNewCWindow is unable to read the window or window definition
function from the resource file, it returns null."

I'm afraid I don't know what the resource file is or why GetNewCWindow
would be unable to read from it.

Any further pointers gratefully received.

Ashley.


Ashley Sanders

unread,
Jan 10, 2003, 9:29:43 AM1/10/03
to
Benjamin Riefenstahl wrote:
> I think directly from the command line you can only either run "emacs
> -nw" or you have to call /Application/Emacs.app/Contents/MacOS/Emacs.
> You can of course make a shell alias for this.

Thank you -- that is what I didn't know. I've re-built
emacs and re-run ./configure with the --enable-carbon-app
argument and all works fine now.

Many thanks,

Ashley.


Benjamin Riefenstahl

unread,
Jan 10, 2003, 2:29:33 PM1/10/03
to
Ashley Sanders <a.sa...@mccx.acy.ukz> writes:
> I'm afraid I don't know what the resource file is or why
> GetNewCWindow would be unable to read from it.

Because the binary was not called from inside the proper Emacs.app
environment where its resource file is found.

0 new messages