NetBSD Problem Report #52723

From bjjl@mongo.db.zone  Mon Nov 13 06:08:44 2017
Return-Path: <bjjl@mongo.db.zone>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5F82D7A1C8
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 13 Nov 2017 06:08:44 +0000 (UTC)
Message-Id: <20171113060839.E5B51272E9E@mongo.db.zone>
Date: Mon, 13 Nov 2017 07:08:39 +0100 (CET)
From: ben@pocket.services
Reply-To:
To: gnats-bugs@NetBSD.org
Subject: mongod seg faults when compiled with SSL support
X-Send-Pr-Version: 3.95

>Number:         52723
>Category:       pkg
>Synopsis:       mongod seg faults when compiled with SSL support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 13 06:10:00 +0000 2017
>Originator:     ben@pocket.services
>Release:        NetBSD 8.0_BETA
>Organization:

>Environment:


System: NetBSD mongo.db.zone 8.0_BETA NetBSD 8.0_BETA (GENERIC.201711111640Z) amd64
Architecture: x86_64
Machine: amd64
>Description:
	mongod will not start when compiled with SSL support
>How-To-Repeat:
mongo$ cat /etc/mk.conf 
ACCEPTABLE_LICENSES += gnu-agpl-v3
PKG_OPTIONS.mongodb = ssl wiredtiger
mongo$ mongod
[1]   Segmentation fault (core dumped) mongod
mongo$ gdb mongod mongod.core
GNU gdb (GDB) 7.12
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mongod...done.
[New process 1]
Core was generated by `mongod'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f7ead80b9bf in memcpy () from /usr/libexec/ld.elf_so
(gdb) bt
#0  0x00007f7ead80b9bf in memcpy () from /usr/libexec/ld.elf_so
#1  0x00007f7ead80a0ff in _rtld_tls_allocate_locked ()
   from /usr/libexec/ld.elf_so
#2  0x00007f7ead80a147 in _rtld_tls_initial_allocation ()
   from /usr/libexec/ld.elf_so
#3  0x00007f7ead803000 in _rtld () from /usr/libexec/ld.elf_so
#4  0x00007f7ead8007a3 in .rtld_start () from /usr/libexec/ld.elf_so
#5  0x0000000000000000 in ?? ()

>Fix:


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.