Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 4877d3a541650622eba4e7b575c83340b098cc91
Ticket: 1959637fffffffffffffffffffffffffffffffff
Problems with caching of resolution of [my init]
User & Date: sdeasey on 2008-11-22 04:00:34
Changes

  1. icomment:
    I don't think this bug is fixed.
    
    Ticket was closed 2008-05-30, and tcl-8.5.5 was released 2008-10-15.
    I'm experiencing this (or a very similar bug) with tcl8.5.5.
    
    It occurs very early in the startup of naviserver.
    
    Here's a backtrace:
    
    Fatal: expected to create new entry for object map
    #0  0x00110416 in __kernel_vsyscall ()
    #1  0x00b42660 in raise () from /lib/libc.so.6
    #2  0x00b44028 in abort () from /lib/libc.so.6
    #3  0x00144f18 in Panic (fmt=0x2b0760 "expected to create new entry for object map") at log.c:617
    #4  0x0025fec7 in Tcl_PanicVA (format=0x2b0760 "expected to create new entry for object map", 
        argList=0xbfd92824 "") at /home/sd/src/tcl8.5.5/unix/../generic/tclPanic.c:93
    #5  0x0025ffca in Tcl_Panic (format=0x2b0760 "expected to create new entry for object map")
        at /home/sd/src/tcl8.5.5/unix/../generic/tclPanic.c:132
    #6  0x0025c7b6 in TclDbInitNewObj (objPtr=0x95f1220) at /home/sd/src/tcl8.5.5/unix/../generic/tclObj.c:637
    #7  0x0024b919 in Tcl_DbNewListObj (objc=1, objv=0xbfd92890, 
        file=0x2ac234 "/home/sd/src/tcl8.5.5/unix/../generic/tclFileName.c", line=787)
        at /home/sd/src/tcl8.5.5/unix/../generic/tclListObj.c:239
    #8  0x00227d72 in Tcl_FSJoinToPath (pathPtr=0x961eb50, objc=0, objv=0x0)
        at /home/sd/src/tcl8.5.5/unix/../generic/tclFileName.c:787
    #9  0x0026639d in SetFsPathFromAny (interp=0x0, pathPtr=0x961eb50)
        at /home/sd/src/tcl8.5.5/unix/../generic/tclPathObj.c:2441
    #10 0x00265e4b in TclFSSetPathDetails (pathPtr=0x961eb50, fsRecPtr=0x95ee640, clientData=0x0)
        at /home/sd/src/tcl8.5.5/unix/../generic/tclPathObj.c:2203
    #11 0x0024a1c3 in Tcl_FSGetFileSystemForPath (pathPtr=0x961eb50)
        at /home/sd/src/tcl8.5.5/unix/../generic/tclIOUtil.c:4437
    #12 0x00248a63 in Tcl_FSGetCwd (interp=0x0) at /home/sd/src/tcl8.5.5/unix/../generic/tclIOUtil.c:2736
    #13 0x00148603 in SetCwd (path=0x962f3c8 "/home/sd/ns-scratch-hg/tests") at nsmain.c:1063
    #14 0x00147c24 in Ns_Main (argc=8, argv=0xbfd92d04, initProc=0x8048636 <ServerInit>) at nsmain.c:504
    #15 0x0804862c in main (argc=Cannot access memory at address 0x5785
    ) at main.c:64
    
    You can browse the source for nsmain.c here:
    
      http://www.bitbucket.org/naviserver/naviserver/src/tip/nsd/nsmain.c
    
    You can reproduce by grabbing this snapshot tarball:
    
      http://www.bitbucket.org/naviserver/naviserver/get/5e395980f472.gz
    
    building, and running the tests. There are no other dependencies.
    
    
    This works for me on tcl8.4.19. Linux 2.6.26, glibc-2.8, 32 bit (Fedora 9).
    
    Any tips?
    
    
    
  2. login: "sdeasey"
  3. mimetype: "text/plain"
  4. username: "sdeasey"