Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-109

traffic_shell crashes after show:network

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0a
    • None
    • None
    • Fedora 10. GCC 4.3.2

    Description

      After ./configure && make && make install

      1. gdb -q ./traffic_shell
        (gdb) r
        Starting program: /usr/local/bin/traffic_shell
        [Thread debugging using libthread_db enabled]
        [New Thread 0xb7fe3b80 (LWP 10473)]
        [New Thread 0xb7fe1b90 (LWP 10482)]
        INKInit 5: Failed to initialize MgmtAPI in /usr/local/var/trafficserver/
        % show:network

      Hostname ---------------- orodruin.mordor
      Detaching after fork from child process 10483.
      Default Gateway --------- 192.168.73.2
      Search Domain ----------- localdomain
      DNS IP Addresses--------- 192.168.73.2

      Program received signal SIGSEGV, Segmentation fault.
      Net_GetNetworkInt (int_num=0, interface=0xbfffe92c "", interface_len=80) at SysAPI.cc:361
      361 *pos = '\0';
      (gdb) bt
      #0 Net_GetNetworkInt (int_num=0, interface=0xbfffe92c "", interface_len=80) at SysAPI.cc:361
      #1 0x08098907 in Cmd_ShowNetwork (clientData=0x80d3ea0, interp=0x80c2640, argc=1, argv=0x80c2ce0) at ShowCmd.cc:1554
      #2 0x0043d4d6 in TclInvokeStringCommand () from /usr/lib/libtcl8.5.so
      #3 0x0043df69 in ?? () from /usr/lib/libtcl8.5.so
      #4 0x00488ff6 in ?? () from /usr/lib/libtcl8.5.so
      #5 0x00493b11 in ?? () from /usr/lib/libtcl8.5.so
      #6 0x0043f1d0 in TclEvalObjEx () from /usr/lib/libtcl8.5.so
      #7 0x0043f5eb in Tcl_EvalObjEx () from /usr/lib/libtcl8.5.so
      #8 0x0049aa54 in Tcl_RecordAndEvalObj () from /usr/lib/libtcl8.5.so
      #9 0x004b956e in Tcl_Main () from /usr/lib/libtcl8.5.so
      #10 0x0805be0f in main (argc=1, argv=0xbffff784) at cliMain.cc:72
      (gdb)

      Attachments

        Activity

          People

            Unassigned Unassigned
            chintana Chintana Wilamuna
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: