[M3devel] FW: cm3ide crash

Olaf Wagner wagner at elegosoft.com
Fri Jul 17 19:07:10 CEST 2009


Can anybody fix that crash? It's probably just a missing text or
other NIL pointer (missing examples)...

Olaf

Quoting Jay K <jay.krell at cornell.edu>:

> I used cm3ide for a few minutes.
> I had to add BUILD_DIR explicitly to cm3.cfg. "Normally" (when   
> compiling) it is constructed in a roundabout fashion by running the   
> code.
>  See m3-sys/cminstall/src/config-no-install/cm3.cfg for the config   
> file I usually use.
>
> Clicking on the examples link:
>
> (gdb) r
> Starting program: /cm3/bin/cm3ide
> warning: posix_spawn failed, trying execvp, error: 86
> CAUTION:  PKG_USE not defined in cm3.cfg, constructed it from   
> cm3.cfg path as:  /cm3/pkg
> CAUTION:  DOC_INSTALL not defined in cm3.cfg, constructed it from   
> package root as:  /cm3/doc
> NOTICE:  Unable to locate 'examples' folder.
> Recovering user state from /Users/jay/proj/CM3_IDE.cfg0
> calling start_browser(http://localhost:3800/)
> /Applications/Firefox.app/Contents/MacOS/firefox http://localhost:3800/
> starting TCP service
> Scanning Packages: Jul 17 05:15...
> ?? b32e8e57 == cfe61f3f        [Jay] Is this a problem?
> scan done: Jul 17 06:27
>
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000000
> [Switching to process 23997 thread 0x2703]
> 0x000000010012d3d9 in Text__Length (M3_Bd56fi_t=0x0) at   
> ../src/text/Text.m3:16
> 16        t.get_info (i);
> (gdb) bt
> #0  0x000000010012d3d9 in Text__Length (M3_Bd56fi_t=0x0) at   
> ../src/text/Text.m3:16
> #1  0x00000001000c4d22 in Pathname__Absolute (M3_Bd56fi_pn=0x0) at   
> ../src/os/POSIX/PathnamePosix.m3:65
> #2  0x00000001000c3c8d in FS__Iterate (M3_Bd56fi_pn=0x0) at   
> ../src/os/POSIX/FSPosix.m3:243
> #3  0x0000000100042713 in Roots__ScanExamples   
> (M3_AnO5JK_self=0x100c72a78) at ../src/nodes/Roots.m3:1018
> #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
> #5  0x000000010005abc0 in WebServer__ProcessRequest   
> (M3_Bd56fi_cmd=0x100ce4c38, M3_Ah9VqA_wx=0x101800018) at   
> ../src/misc/WebServer.m3:325
> #6  0x000000010001e688 in TCPServer (M3_D2z1aq_self=0x100c541e8) at   
> ../src/server/TCPServer.m3:116
> #7  0x000000010011b52a in ThreadPThread__RunThread   
> (M3_CgoaiZ_me=0x100d02270) at   
> ../src/thread/PTHREAD/ThreadPThread.m3:547
> #8  0x000000010011b1b6 in ThreadPThread__ThreadBase   
> (M3_AJWxb1_param=0x100d02270) at   
> ../src/thread/PTHREAD/ThreadPThread.m3:523
> #9  0x00007fff82a66deb in _pthread_start ()
> #10 0x00007fff82a66cad in thread_start ()
-- 
Olaf Wagner -- elego Software Solutions GmbH
                Gustav-Meyer-Allee 25 / Gebäude 12, 13355 Berlin, Germany
phone: +49 30 23 45 86 96  mobile: +49 177 2345 869  fax: +49 30 23 45 86 95
    http://www.elegosoft.com | Geschäftsführer: Olaf Wagner | Sitz: Berlin
Handelregister: Amtsgericht Charlottenburg HRB 77719 | USt-IdNr: DE163214194




More information about the M3devel mailing list