<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
</style>
</head>
<body class='hmmessage'>
[truncated again]<br><br><br><hr id="stopSpelling">From: jay.krell@cornell.edu<br>To: m3devel@elegosoft.com<br>Subject: cm3ide crash<br>Date: Fri, 17 Jul 2009 12:28:58 +0000<br><br>
<style>
.ExternalClass .EC_hmmessage P
{padding:0px;}
.ExternalClass body.EC_hmmessage
{font-size:10pt;font-family:Verdana;}
</style>
I used cm3ide for a few minutes.<br>I had to add BUILD_DIR explicitly to cm3.cfg. "Normally" (when compiling) it is constructed in a roundabout fashion by running the code.<br> See m3-sys/cminstall/src/config-no-install/cm3.cfg for the config file I usually use.<br><br>Clicking on the examples link:<br><br>(gdb) r<br>Starting program: /cm3/bin/cm3ide <br>warning: posix_spawn failed, trying execvp, error: 86<br>CAUTION: PKG_USE not defined in cm3.cfg, constructed it from cm3.cfg path as: /cm3/pkg<br>CAUTION: DOC_INSTALL not defined in cm3.cfg, constructed it from package root as: /cm3/doc<br>NOTICE: Unable to locate 'examples' folder.<br>Recovering user state from /Users/jay/proj/CM3_IDE.cfg0<br>calling start_browser(http://localhost:3800/)<br>/Applications/Firefox.app/Contents/MacOS/firefox http://localhost:3800/<br>starting TCP service<br>Scanning Packages: Jul 17 05:15...<br>?? b32e8e57 == cfe61f3f [Jay] Is this a problem?<br>scan done: Jul 17 06:27<br><br>Program received signal EXC_BAD_ACCESS, Could not access memory.<br>Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000<br>[Switching to process 23997 thread 0x2703]<br>0x000000010012d3d9 in Text__Length (M3_Bd56fi_t=0x0) at ../src/text/Text.m3:16<br>16 t.get_info (i);<br>(gdb) bt<br>#0 0x000000010012d3d9 in Text__Length (M3_Bd56fi_t=0x0) at ../src/text/Text.m3:16<br>#1 0x00000001000c4d22 in Pathname__Absolute (M3_Bd56fi_pn=0x0) at ../src/os/POSIX/PathnamePosix.m3:65<br>#2 0x00000001000c3c8d in FS__Iterate (M3_Bd56fi_pn=0x0) at ../src/os/POSIX/FSPosix.m3:243<br>#3 0x0000000100042713 in Roots__ScanExamples (M3_AnO5JK_self=0x100c72a78) at ../src/nodes/Roots.m3:1018<br>#4 0x0000000100042338 in Roots__ExamplesRootPage (M3_AnO5JK_self=0x100c72a78, M3_Ah9VqA_wx=0x101800018, M3_DLS2Hj_action=1, M3_AJUDqH_data=0x0) at ../src/nodes/Roots.m3:996<br>#5 0x000000010005abc0 in WebServer__ProcessRequest (M3_Bd56fi_cmd=0x100ce4c38, M3_Ah9VqA_wx=0x101800018) at ../src/misc/WebServer.m3:325<br>#6 0x000000010001e688 in TCPServer (M3_D2z1aq_self=0x100c541e8) at ../src/server/TCPServer.m3:116<br>#7 0x000000010011b52a in ThreadPThread__RunThread (M3_CgoaiZ_me=0x100d02270) at ../src/thread/PTHREAD/ThreadPThread.m3:547<br>#8 0x000000010011b1b6 in ThreadPThread__ThreadBase (M3_AJWxb1_param=0x100d02270) at ../src/thread/PTHREAD/ThreadPThread.m3:523<br>#9 0x00007fff82a66deb in _pthread_start ()<br>#10 0x00007fff82a66cad in thread_start ()<br><br>There are other problems.<br>It prompted me for my browser.<br><br>On a Mac, it could offer choices like:<br><br>jaypro:cm3ide jay$ find /Applications | grep -i fox$<br>/Applications/Firefox.app/Contents/MacOS/firefox<br><br>jaypro:cm3ide jay$ find /Applications | grep -i fari$<br>/Applications/Safari.app/Contents/MacOS/Safari<br><br>if they exist.<br>Of course I should try Opera and whatever else and report their paths.<br><br>I had to close any existing Firefox, else I got an error that only one Firefox can run at a time.<br>The error came from Firefox, not cm3ide.<br><br>For the prompt for editor, I grant there may be too many options to offer.<br>I use TextWrangler, which provides /usr/bin/edit.<br>It's not very good, but it is the best I have found on the Mac.<br> (Visual C++ 5.0 is the best editor I have ever used by far; I use it every day; I'll try it in VMware.)<br>A popular one might be:<br>/Developer/Applications/Xcode.app/Contents/MacOS/Xcode<br>or arch -i386 /Developer/Applications/Xcode.app/Contents/MacOS/Xcode<br>It crashed the first time I ran it but seemed ok after that.<br><br> - Jay<br></body>
</html>