Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-556

shell is too chatty with error output on this particular error case

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Cannot Reproduce
    • Icon: Trivial - P5 Trivial - P5
    • None
    • None
    • Shell
    • None

    Description

      unnecessary stack trace display

      [dwight@dmt61 p]$ ./mongo --shell 192.168.58.1/test asdf*.js
      MongoDB shell version: 1.3.1-
      url: 192.168.58.1/test
      Wed Jan 20 10:12:51 *** warning: spider monkey build without utf8 support. consider rebuilding with utf8 support
      connecting to: 192.168.58.1/test
      terminate called after throwing an instance of 'boost::filesystem::filesystem_error'
      what(): boost::filesystem::path: invalid name "asdf*.js" in path: "asdf*.js"
      Wed Jan 20 10:12:51 mongo got signal 6 (Aborted), stack trace:
      Wed Jan 20 10:12:51 0x8077099 0x110420 0x110402 0x2d0fa0 0x2d28b1 0x678c540 0x678a025 0x678a062 0x678a19a 0x127982 0x128800 0x80c30a7 0x80797a0 0x807bc35 0x2bdf70 0x80764f1
      ./mongo(_Z12quitAbruptlyi+0x399) [0x8077099]
      [0x110420]
      [0x110402]
      /lib/libc.so.6(gsignal+0x50) [0x2d0fa0]
      /lib/libc.so.6(abort+0x101) [0x2d28b1]
      /usr/lib/libstdc++.so.6(ZN9gnu_cxx27_verbose_terminate_handlerEv+0x150) [0x678c540]
      /usr/lib/libstdc++.so.6 [0x678a025]
      /usr/lib/libstdc++.so.6 [0x678a062]
      /usr/lib/libstdc++.so.6 [0x678a19a]
      /usr/lib/libboost_filesystem.so.2(_ZN5boost10filesystem4path13m_path_appendERKSsPFbS3_E+0x572) [0x127982]
      /usr/lib/libboost_filesystem.so.2(_ZN5boost10filesystem4pathC1ERKSs+0x40) [0x128800]
      ./mongo(_ZN5mongo5Scope8execFileERKSsbbbi+0x47) [0x80c30a7]
      ./mongo(_Z5_mainiPPc+0x1880) [0x80797a0]
      ./mongo(main+0x35) [0x807bc35]
      /lib/libc.so.6(__libc_start_main+0xe0) [0x2bdf70]
      ./mongo [0x80764f1]

      Attachments

        Activity

          People

            mathias@mongodb.com Mathias Stearn
            dwight@mongodb.com Dwight Merriman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: