Uploaded image for project: 'Perl Driver'
  1. Perl Driver
  2. PERL-205

Connection breaks

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 0.503
    • Fix Version/s: None
    • Component/s: Perl driver
    • Labels:
    • Environment:
      linux debian

      Description

      After installing of 0.503 version driver from CPAN connection to Mongo from time to time crashes with apparently random reasons, but not always. The data inserted or updated are roughly the same every time. Looks like broken BSON packer in driver.

      Excerpts from mongo log:

      Mon Jan 14 17:05:31 [conn1608] Assertion: 10320:BSONElement: bad type -29
      Mon Jan 14 17:05:31 [conn1608] Assertion: 10331:EOO Before end of object
      Mon Jan 14 17:10:18 [conn1609] Assertion: 10334:Invalid BSONObj size: 1678901248 (0x00001264) first element: v: ?type=101
      Mon Jan 14 17:13:28 [conn1610] Assertion: 10320:BSONElement: bad type -47
      Mon Jan 14 17:13:28 [conn1610] Assertion: 10321:Invalid dbref/code/string/symbol size: 13 strnlen:9
      Mon Jan 14 17:15:22 [conn1612] Assertion: 10334:Invalid BSONObj size: 1819242496 (0x00706F6C) first element: er.machistory: ?type=108
      Mon Jan 14 17:15:40 [conn1613] Assertion: 10320:BSONElement: bad type -43
      Mon Jan 14 17:15:40 [conn1613] AssertionException handling request, closing client connection: 13655 BSONElement: bad type -43
      Mon Jan 14 17:16:56 [conn1614] Assertion: 16141:cannot translate opcode 19712
      Mon Jan 14 18:00:19 [conn32] Assertion: 16141:cannot translate opcode 9
      Mon Jan 14 18:04:22 [conn35] Assertion: 10320:BSONElement: bad type -42
      Mon Jan 14 18:04:22 [conn35] Assertion: 13655:BSONElement: bad type -42
      Mon Jan 14 18:05:49 [conn36] Assertion: 10320:BSONElement: bad type -42
      Mon Jan 14 18:05:49 [conn36] Assertion: 13655:BSONElement: bad type -42
      Mon Jan 14 18:05:49 [conn36] AssertionException handling request, closing client connection: 13655 BSONElement: bad type -42
      Mon Jan 14 18:06:33 [conn37] Assertion: 10320:BSONElement: bad type 56
      Mon Jan 14 18:06:33 [conn37] Assertion: 10328:Invalid element size
      Mon Jan 14 18:06:33 [conn37] AssertionException handling request, closing client connection: 10328 Invalid element size
      Mon Jan 14 18:27:06 [conn49] Assertion: 10320:BSONElement: bad type -24
      Mon Jan 14 18:27:06 [conn49] Assertion: 10331:EOO Before end of object
      Mon Jan 14 18:27:06 [conn49] AssertionException handling request, closing client connection: 10331 EOO Before end of object
      Mon Jan 14 18:27:55 [conn51] Assertion: 10334:Invalid BSONObj size: 131137536 (0x0000D107) first element: EOO
      Mon Jan 14 18:28:19 [conn53] Assertion: 10334:Invalid BSONObj size: 1879048192 (0x00000070) first element: ller.machistory: ?type=111
      Mon Jan 14 18:29:10 [conn54] Assertion: 10320:BSONElement: bad type -47
      Mon Jan 14 18:29:10 [conn54] Assertion: 10331:EOO Before end of object
      Mon Jan 14 18:29:10 [conn54] AssertionException handling request, closing client connection: 10331 EOO Before end of object
      Mon Jan 14 19:14:01 [conn75] Assertion: 10305:Client Error: Invalid object size
      Mon Jan 14 19:14:59 [conn76] Assertion: 10320:BSONElement: bad type -20
      Mon Jan 14 19:14:59 [conn76] Assertion: 13655:BSONElement: bad type -20
      Mon Jan 14 19:14:59 [conn76] AssertionException handling request, closing client connection: 13655 BSONElement: bad type -20
      Mon Jan 14 19:15:11 [conn77] Assertion: 10306:Client Error: Next object larger than space left in message

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: