all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Mac OSX Fatal error (6).Abort trap
@ 2003-01-09 11:52 Ashley Sanders
  2003-01-09 13:21 ` Benjamin Riefenstahl
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Ashley Sanders @ 2003-01-09 11:52 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Mac OSX Fatal error (6).Abort trap
  2003-01-09 11:52 Mac OSX Fatal error (6).Abort trap Ashley Sanders
@ 2003-01-09 13:21 ` Benjamin Riefenstahl
  2003-01-09 16:54   ` Rodney Sparapani
  2003-01-10 14:29   ` Ashley Sanders
  2003-01-09 15:06 ` Rodney Sparapani
  2003-01-09 15:45 ` Hans-Peter Binder
  2 siblings, 2 replies; 8+ messages in thread
From: Benjamin Riefenstahl @ 2003-01-09 13:21 UTC (permalink / raw)


Hi Ashley,

Ashley Sanders <a.sanders@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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Mac OSX Fatal error (6).Abort trap
  2003-01-09 11:52 Mac OSX Fatal error (6).Abort trap Ashley Sanders
  2003-01-09 13:21 ` Benjamin Riefenstahl
@ 2003-01-09 15:06 ` Rodney Sparapani
  2003-01-09 20:30   ` Ashley Sanders
  2003-01-09 15:45 ` Hans-Peter Binder
  2 siblings, 1 reply; 8+ messages in thread
From: Rodney Sparapani @ 2003-01-09 15:06 UTC (permalink / raw)


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
rsparapa@mcw.edu              http://www.mcw.edu/pcor
Was 'Name That Tune' rigged?  WWLD -- What Would Lombardi Do

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Mac OSX Fatal error (6).Abort trap
  2003-01-09 11:52 Mac OSX Fatal error (6).Abort trap Ashley Sanders
  2003-01-09 13:21 ` Benjamin Riefenstahl
  2003-01-09 15:06 ` Rodney Sparapani
@ 2003-01-09 15:45 ` Hans-Peter Binder
  2 siblings, 0 replies; 8+ messages in thread
From: Hans-Peter Binder @ 2003-01-09 15:45 UTC (permalink / raw)


* Ashley Sanders <a.sanders@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)

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Mac OSX Fatal error (6).Abort trap
  2003-01-09 13:21 ` Benjamin Riefenstahl
@ 2003-01-09 16:54   ` Rodney Sparapani
  2003-01-10 14:29   ` Ashley Sanders
  1 sibling, 0 replies; 8+ messages in thread
From: Rodney Sparapani @ 2003-01-09 16:54 UTC (permalink / raw)


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

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Mac OSX Fatal error (6).Abort trap
  2003-01-09 15:06 ` Rodney Sparapani
@ 2003-01-09 20:30   ` Ashley Sanders
  2003-01-10 19:29     ` Benjamin Riefenstahl
  0 siblings, 1 reply; 8+ messages in thread
From: Ashley Sanders @ 2003-01-09 20:30 UTC (permalink / raw)


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:anoncvs@subversions.gnu.org:/cvsroot/emacs login
   cvs -z3 -d:pserver:anoncvs@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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Mac OSX Fatal error (6).Abort trap
  2003-01-09 13:21 ` Benjamin Riefenstahl
  2003-01-09 16:54   ` Rodney Sparapani
@ 2003-01-10 14:29   ` Ashley Sanders
  1 sibling, 0 replies; 8+ messages in thread
From: Ashley Sanders @ 2003-01-10 14:29 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Mac OSX Fatal error (6).Abort trap
  2003-01-09 20:30   ` Ashley Sanders
@ 2003-01-10 19:29     ` Benjamin Riefenstahl
  0 siblings, 0 replies; 8+ messages in thread
From: Benjamin Riefenstahl @ 2003-01-10 19:29 UTC (permalink / raw)


Ashley Sanders <a.sanders@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.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2003-01-10 19:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-09 11:52 Mac OSX Fatal error (6).Abort trap Ashley Sanders
2003-01-09 13:21 ` Benjamin Riefenstahl
2003-01-09 16:54   ` Rodney Sparapani
2003-01-10 14:29   ` Ashley Sanders
2003-01-09 15:06 ` Rodney Sparapani
2003-01-09 20:30   ` Ashley Sanders
2003-01-10 19:29     ` Benjamin Riefenstahl
2003-01-09 15:45 ` Hans-Peter Binder

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.