NetBSD Problem Report #59094

From www@netbsd.org  Sat Feb 22 18:39:37 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 2E3201A923F
	for <gnats-bugs@gnats.NetBSD.org>; Sat, 22 Feb 2025 18:39:37 +0000 (UTC)
Message-Id: <20250222183935.DE6B91A9241@mollari.NetBSD.org>
Date: Sat, 22 Feb 2025 18:39:35 +0000 (UTC)
From: robertorodriguez@wp.pl
Reply-To: robertorodriguez@wp.pl
To: gnats-bugs@NetBSD.org
Subject: amule binary package segfaults on launch
X-Send-Pr-Version: www-1.0

>Number:         59094
>Category:       pkg
>Synopsis:       amule binary package segfaults on launch
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb 22 18:40:00 +0000 2025
>Originator:     Roberto Rodríguez
>Release:        10.1 amd64
>Organization:
>Environment:
NetBSD otokokiras.lan 10.1 NetBSD 10.1 (GENERIC) #0: Mon Dec 16 13:08:11 UTC 2024  mkrepro@mkrepro.NetBSD.org:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
The amule application installed with pkgin crashes with a segfault when launched for the first time.

GDB says it's something related to SHA256

Starting program: /usr/pkg/bin/amule 

Program received signal SIGSEGV, Segmentation fault.
0x0000788f9308bfe3 in CryptoPP::SHA256::InitState (
    state=0x788f93492378 <vtable for CryptoPP::NonblockingRng+16>)
    at sha.cpp:514
514	sha.cpp: No such file or directory.
>How-To-Repeat:
Just run amule. It's version amule-2.3.3nb15, from the binary repo.

otokokiras$ amule
[1]   Segmentation fault (core dumped) amule

>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.