NetBSD Problem Report #58685

From www@netbsd.org  Sun Sep 22 09:28:52 2024
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 D02AA1A923D
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 22 Sep 2024 09:28:51 +0000 (UTC)
Message-Id: <20240922092850.C95BE1A923E@mollari.NetBSD.org>
Date: Sun, 22 Sep 2024 09:28:50 +0000 (UTC)
From: ea1abz@gmail.com
Reply-To: ea1abz@gmail.com
To: gnats-bugs@NetBSD.org
Subject: net/amule hangs
X-Send-Pr-Version: www-1.0

>Number:         58685
>Category:       pkg
>Synopsis:       net/amule hangs
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 22 09:30:00 +0000 2024
>Last-Modified:  Wed Sep 25 12:20:01 +0000 2024
>Originator:     Ramiro Aceves
>Release:        10.0_STABLE NetBSD
>Organization:
>Environment:
NetBSD netbsd-raspa4 10.0_STABLE NetBSD 10.0_STABLE (MYKERNEL) #0: Tue Sep 10 20:41:04 CEST 2024  ramiro@netbsd-raspa4:/usr/obj/sys/arch/evbarm/compile/MYKERNEL evbarm

>Description:

Hello,

Amule user interface hangs after several minutes downloading files. 

netbsd-raspa4$ amule
 2024-09-22 10:52:45: Initialising aMule 2.3.3 compiled with wxGTK2 v3.0.5
 2024-09-22 10:52:45: Checking if there is an instance already running...
 2024-09-22 10:52:45: No other instances are running.
 2024-09-22 10:52:45: Socket de escucha: correcto.
 2024-09-22 10:52:48: Cargando archivos temporales desde /home/ramiro/.aMule/Temp.
 2024-09-22 10:52:48: Cargando el archivo de partes 1 de 2
 2024-09-22 10:52:48: Cargando el archivo de partes 2 de 2
 2024-09-22 10:52:48: Todos los archivos de partes han sido cargados.
 2024-09-22 10:52:48: Añadiendo archivo /home/ramiro/.aMule/Temp/002.part.met a compartidos

(amule:2315): GLib-CRITICAL **: 11:07:23.478: Source ID 507445 was not found when attempting to remove it

(amule:2315): GLib-CRITICAL **: 11:16:10.613: Source ID 886214 was not found when attempting to remove it


>How-To-Repeat:
Start downloading files an wait for the hang.
>Fix:
I do not know.

>Audit-Trail:
From: Thomas Klausner <wiz@NetBSD.org>
To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
Cc: 
Subject: Re: pkg/58685: net/amule hangs
Date: Sun, 22 Sep 2024 12:11:53 +0200

 On Sun, Sep 22, 2024 at 09:30:00AM +0000, ea1abz@gmail.com wrote:
 > Start downloading files an wait for the hang.
 > >Fix:
 > I do not know.

 I think in this case it's best to talk to the amule developers.

 http://www.amule.org/

  Thomas

From: Ramiro Aceves <ea1abz@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/58685: net/amule hangs
Date: Sun, 22 Sep 2024 12:22:35 +0200

 El 22/9/24 a las 12:15, Thomas Klausner via gnats escribió:
 > The following reply was made to PR pkg/58685; it has been noted by GNATS.
 > 
 > From: Thomas Klausner <wiz@NetBSD.org>
 > To: NetBSD bugtracking <gnats-bugs@NetBSD.org>
 > Cc:
 > Subject: Re: pkg/58685: net/amule hangs
 > Date: Sun, 22 Sep 2024 12:11:53 +0200
 > 
 >   On Sun, Sep 22, 2024 at 09:30:00AM +0000, ea1abz@gmail.com wrote:
 >   > Start downloading files an wait for the hang.
 >   > >Fix:
 >   > I do not know.
 >   
 >   I think in this case it's best to talk to the amule developers.

 Thanks so much Thomas, I will report them.

 Regards.
 Ramiro.

 >   
 >   http://www.amule.org/
 >   
 >    Thomas
 >   

From: Ramiro Aceves <ea1abz@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/58685: net/amule hangs
Date: Wed, 25 Sep 2024 14:15:19 +0200

 Hi,

 I have made the following findings:

 I compiled amule with debugging symbols from pkgsrc source in the RPi4
 board including amule-cmd and amule-daemon options. I run the daemon
 and the amulecmd commandline application connected fine to the daemon.
 I could see the downloading files progression working fine but after
 some minutes it bombed out.

 I filled a bug report upstream here:

 https://forum.amule.org/index.php?topic=82341.0

 It seems to be a similar problem in FreeBSD with a backtrace but no
 response there.  :-(

 Just for curiosity, I installed binary amule package in my amd64
 desktop machine. The situation is even worse, Amule segfaults even
 before the user interface window is shown.

 Looking with gdb the problem was in /security/crypto++. The pkgsrc Makefile:

 CPPFLAGS+=              -DCRYPTOPP_DISABLE_ASM -fPIC

 I just tried blindly to remove -DCRYPTOPP_DISABLE_ASM, recompiled
 cryptopp and amule and user interface window appeared ok. Program
 worked fine after some time and become irresponsive and eating memory
 as in the beginning of this bug report.

 Sorry, my understanding about all of this is very limited. If you
 think I could do some more tests while upstream replies please let me
 know.


 Regards.
 Ramiro.

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-2024 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.