Bug 222782 - databases/mongodb34-rocks 3.4.6_3 hits segmentation fault upon startup.
Summary: databases/mongodb34-rocks 3.4.6_3 hits segmentation fault upon startup.
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-04 16:57 UTC by weishan.ang
Modified: 2018-07-03 15:10 UTC (History)
3 users (show)

See Also:
linimon: maintainer-feedback? (numisemis)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description weishan.ang 2017-10-04 16:57:08 UTC
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 conditions.
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=@0x7fffffffde38, legacyQueryFlags=32767, commandBob=0x7fffffffde38, metadataBob=0x80ac27400) 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=@0x7fffffffde38, legacyQueryFlags=32767, commandBob=0x7fffffffde38, metadataBob=0x80ac27400) at src/mongo/rpc/metadata/server_selection_metadata.cpp:326
#1  0x000000000250b76a in mongo::rpc::ServerSelectionMetadata::readFromMetadata (metadataElem=@0x80ac273f0) at src/mongo/rpc/metadata/server_selection_metadata.cpp:171
#2  0x000000000251cdbf in boost::gregorian::greg_month::greg_month (this=0x65219c000729ec9b, theMonth=0) at greg_month.hpp:64
#3  0x000000000251d275 in boost::CV::constrained_value<boost::CV::simple_exception_policy<unsigned short, (unsigned short)1400, (unsigned short)10000, boost::gregorian::bad_year> >::assign (this=0x251d275, value=0) 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!
Comment 1 Rene Ladan freebsd_committer freebsd_triage 2018-07-03 15:10:34 UTC
No news, expired port removed, still available in 2018Q3 branch