Mac CodeWarrior IDE Crash building Tcl PPC Libraries in Tcl/Tk 8.0.5 
Author Message
 Mac CodeWarrior IDE Crash building Tcl PPC Libraries in Tcl/Tk 8.0.5

Trying to build the Tcl 8.0.5 PPC Libraries on the Mac with CW-4,
the IDE crashes -- each time while compiling TclExecute.c,
sometimes with a different error, but always in the same place:

  MacsBug 6.5.4a6, Copyright Apple Computer, Inc. 1981-98

PowerPC unmapped memory exception at 0BFCC3A4 BowelsOfTheMemoryMgr+07624

  28-Apr-1999 11:12:49 AM (since boot = 11 minutes)

PowerPC access exception at 0BFCC3A4 BowelsOfTheMemoryMgr+07624

  28-Apr-1999 11:32:06 AM (since boot = 17 minutes)
  Current application is CodeWarrior IDE 3.3
  Machine = 69 (PowerMac8500), System $0851, sysu = $01008000

8.0.4 built without problems, but I may have done CW updates
since the last time I built it. ( And I guess I'm going to
have to go back and give it a try again. )


---|  Department of Molecular Physiology and Biological Physics  |---
---|  University of {*filter*}ia             Health Sciences Center  |---
---|  P.O. Box 10011            C{*filter*}tesville, VA  22906-0011  |---



Sun, 14 Oct 2001 03:00:00 GMT  
 Mac CodeWarrior IDE Crash building Tcl PPC Libraries in Tcl/Tk 8.0.5

Quote:
> (A copy of this message has also been posted to the following newsgroups:
> comp.lang.tcl, comp.sys.mac.programmer.codewarrior)

> Try increasing the Compiler Thread Stack size  that helps when you have a
> complex optimizations.   Did you try this with various optimization
> levels.  Are you using the updated IDE and MSL/Compiler patches?

I believe I have all current patches.
Optimization was maxed at 4.

Increasing Thread Stack size to 500 from it's default and lowering
optimization level to 1, it builds without problem.

Going back to level 4, (keeping increased thread stack) again crashes.
Also crashes at O Level 3.

I'll see if I can find some other combination that works.
( I assume that to change the O-level for compiling just that one file,
  I would have to build it as a separate project. )

Quote:
> If they help please let me know  exactly when it crashes for you,  if all
> sources compile or just one.

I do a make, and it compiles several files, always crashing on the same
file: tclExecute.c. The line on which it crashes changed when I changed
the settings above.

Quote:
> Thanks for any cooperation, if this is a CodeWarrior bug we'd like to
> know about it so we can fix it.

I have the MacsBug StdLog files from several crashes if that's any help.
This is always reproducible from my system ( 8.5.1 ) building straight
from the Tck/Tk 8.0.5 Mac source distribution at www.scriptics.com.


---|  Department of Molecular Physiology and Biological Physics  |---
---|  University of {*filter*}ia             Health Sciences Center  |---
---|  P.O. Box 10011            C{*filter*}tesville, VA  22906-0011  |---



Sun, 14 Oct 2001 03:00:00 GMT  
 Mac CodeWarrior IDE Crash building Tcl PPC Libraries in Tcl/Tk 8.0.5


Quote:
>Trying to build the Tcl 8.0.5 PPC Libraries on the Mac with CW-4,
>the IDE crashes -- each time while compiling TclExecute.c,
>sometimes with a different error, but always in the same place:

Try increasing the Compiler Thread Stack size  that helps when you have a
complex optimizations.   Did you try this with various optimization
levels.  Are you using the updated IDE and MSL/Compiler patches?

It may be in the code but it may be one of the abover problems.  

If they help please let me know  exactly when it crashes for you,  if all
sources compile or just one.

Thanks for any cooperation, if this is a CodeWarrior bug we'd like to
know about it so we can fix it.

Ron

--
http://www.zdnet.com/pcweek/stories/news/0,4153,361176,00.html
Pro 4.0 C++ 30% edge in Tak benchmark over VC++ 6.0

METROWERKS                   Ron Liechty



Sun, 14 Oct 2001 03:00:00 GMT  
 Mac CodeWarrior IDE Crash building Tcl PPC Libraries in Tcl/Tk 8.0.5
Steven,

This works fine for me, with CW4 and the 2.2.1 update to the IDE.
However, tclExecute.c takes a fair amount of memory to compile,
particularly if the optimization level is set to max (4, I think), so it
could be that you are running out of memory.  There is on option in
the compiler to use more memory for speed in the compilation.  Try
turning this off.  Also try increasing CW's memory allocation (though
CW usually uses Temp memory for compilation so this should not
matter.)  Also turn ON virtual memory if you have it off.

Jim

Quote:
> Trying to build the Tcl 8.0.5 PPC Libraries on the Mac with CW-4,
> the IDE crashes -- each time while compiling TclExecute.c,
> sometimes with a different error, but always in the same place:

>   MacsBug 6.5.4a6, Copyright Apple Computer, Inc. 1981-98

> PowerPC unmapped memory exception at 0BFCC3A4 BowelsOfTheMemoryMgr+07624

>   28-Apr-1999 11:12:49 AM (since boot = 11 minutes)

> PowerPC access exception at 0BFCC3A4 BowelsOfTheMemoryMgr+07624

>   28-Apr-1999 11:32:06 AM (since boot = 17 minutes)
>   Current application is CodeWarrior IDE 3.3
>   Machine = 69 (PowerMac8500), System $0851, sysu = $01008000

> 8.0.4 built without problems, but I may have done CW updates
> since the last time I built it. ( And I guess I'm going to
> have to go back and give it a try again. )


> ---|  Department of Molecular Physiology and Biological Physics  |---
> ---|  University of {*filter*}ia             Health Sciences Center  |---
> ---|  P.O. Box 10011            C{*filter*}tesville, VA  22906-0011  |---

--
++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++==++

Cygnus Solutions Inc.


Sun, 14 Oct 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Compiling tk and tcl on Mac-Codewarrior

2. Tcl and Mac Codewarrior

3. Help building a Tcl/Tk Mac-OSX universal application

4. Mac Tcl/Tk build

5. Building Tcl/Tk as a static library on Windows

6. How to build Tcl/Tk as a shared 64-bit library

7. HowTo build tcl/tk for windows 95/NT as a static library

8. CodeWarrior+MSWin->tcl/tk?

9. Tcl/Tk for MacOS with CodeWarrior Pro3?

10. Tcl/Tk for NT on PPC

11. Tcl 8.0 bug fix for crash from set env() on Mac

12. tk 8.0.4 for ppc mac

 

 
Powered by phpBB® Forum Software