Uploaded image for project: 'SWORD'
  1. SWORD
  2. API-78

installmgr fails if the responding ftp host does not answer

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: installmgr
    • Labels:
      None
    • Environment:

      gnomesword (linux & cygwin), installmgr (linux & cygwin)

      Description

      if the host to which one is attempting to connect fails to answer, Sword attempts to continue anyhow, evidently with an invalid handle on the nonexistent host, leading to SEGV. this takes out the "installmgr" command line tool, or gnomesword.

      [1322] [03:11 PM] awol:~> grep BUG .sword/InstallMgr/InstallMgr.conf
      FTPSource=BUG|128.2.198.166|/pub/sword
      [1323] [03:11 PM] awol:~> gdb /usr/bin/installmgr
      (gdb) r -r BUG
      Starting program: /usr/bin/installmgr -r BUG
      connecting to host 128.2.198.166
      timeout: Operation now in progress
      Failed to connect to 128.2.198.166

      Program received signal SIGSEGV, Segmentation fault.
      0x077ada1f in FtpSendCmd () from /usr/lib/libsword-1.5.9.so
      (gdb) bt
      #0 0x077ada1f in FtpSendCmd () from /usr/lib/libsword-1.5.9.so
      #1 0x077adbe9 in FtpLogin () from /usr/lib/libsword-1.5.9.so
      #2 0x077afb4c in sword::FTPLibFTPTransport::FTPLibFTPTransport () from /usr/lib/libsword-1.5.9.so
      #3 0x077c5d1e in sword::InstallMgr::createFTPTransport () from /usr/lib/libsword-1.5.9.so
      #4 0x077ca5e2 in sword::InstallMgr::ftpCopy () from /usr/lib/libsword-1.5.9.so
      #5 0x077c7b28 in sword::InstallMgr::refreshRemoteSource () from /usr/lib/libsword-1.5.9.so
      #6 0x08049acf in refreshRemoteSource ()
      #7 0x0804a833 in main ()

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              karl karl kleinpaste
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: