Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Oct 2017 16:57:08 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 222782] mongodb34-rocks-3.4.6_3 hits segmentation fault upon startup.
Message-ID:  <bug-222782-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222782

            Bug ID: 222782
           Summary: mongodb34-rocks-3.4.6_3 hits segmentation fault upon
                    startup.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: weishan.ang@gmail.com

I have updated the mongodb34-rocks from 3.4.4_3 to 3.4.6_3. Upon mongod
startup,it will hit segmentation fault and create a core dump upon exit.

# gdb mongod mongod.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...
Core was generated by `mongod'.
Program terminated with signal 11, Segmentation fault.
#0  0x000000000250d085 in mongo::rpc::ServerSelectionMetadata::upconvert
(legacyCommand=3D@0x7fffffffde38, legacyQueryFlags=3D32767,
commandBob=3D0x7fffffffde38, metadataBob=3D0x80ac27400) at
src/mongo/rpc/metadata/server_selection_metadata.cpp:326
326         }
.gdbinit:2: Error in sourced command file:
No symbol "python" in current context.

(gdb) bt
#0  0x000000000250d085 in mongo::rpc::ServerSelectionMetadata::upconvert
(legacyCommand=3D@0x7fffffffde38, legacyQueryFlags=3D32767,
commandBob=3D0x7fffffffde38, metadataBob=3D0x80ac27400) at
src/mongo/rpc/metadata/server_selection_metadata.cpp:326
#1  0x000000000250b76a in mongo::rpc::ServerSelectionMetadata::readFromMeta=
data
(metadataElem=3D@0x80ac273f0) at
src/mongo/rpc/metadata/server_selection_metadata.cpp:171
#2  0x000000000251cdbf in boost::gregorian::greg_month::greg_month
(this=3D0x65219c000729ec9b, theMonth=3D0) at greg_month.hpp:64
#3  0x000000000251d275 in
boost::CV::constrained_value<boost::CV::simple_exception_policy<unsigned sh=
ort,
(unsigned short)1400, (unsigned short)10000, boost::gregorian::bad_year>
>::assign (this=3D0x251d275, value=3D0) at constrained_value.hpp:73
#4  0x0000000004b81252 in ?? ()
#5  0x0000000805c52000 in ?? ()
#6  0x00007fffffffe558 in ?? ()
#7  0x00007fffffffe4e0 in ?? ()
#8  0x0000000002013ee6 in __cxx_global_var_init.4 () at redaction.h:51
Previous frame identical to this frame (corrupt stack?)

OS Version: FreeBSD 11.0-RELEASE-p1

Thanks!

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222782-13>