Devuan bug report logs - #929
libfastjson4 linked without -lm causes segfault in rsyslog with libc6 2.42

Package: libfastjson-dev; Maintainer for libfastjson-dev is (unknown); Source for libfastjson-dev is src:libfastjson.

Affects: rsyslog

Reported by: "Dimitris T." <dimitris@stinpriza.org>

Date: Thu, 4 Dec 2025 12:18:01 UTC

Severity: grave

Tags: debian

Forwarded to https://bugs.debian.org/1114612

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#929: reassign
Reply-To: Mark Hindley <mark@hindley.org.uk>, 929@bugs.devuan.org
Resent-From: Mark Hindley <mark@hindley.org.uk>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Devuan Developers <devuan-dev@lists.dyne.org>
X-Loop: owner@bugs.devuan.org
Resent-Date: Thu, 04 Dec 2025 17:44:01 +0000
Resent-Message-ID: <handler.929.B929.176487021917887@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 929
X-Devuan-PR-Package: rsyslog
X-Devuan-PR-Keywords: 
References: <176485054505.3039.12364368063517979913.reportbug@louise.lan> <176485054505.3039.12364368063517979913.reportbug@louise.lan> <aTGQIXuB0xLn6cOb@hindley.org.uk> <176485054505.3039.12364368063517979913.reportbug@louise.lan>
X-Devuan-PR-Source: rsyslog
Received: via spool by 929-submit@bugs.devuan.org id=B929.176487021917887
          (code B ref 929); Thu, 04 Dec 2025 17:44:01 +0000
Received: (at 929) by bugs.devuan.org; 4 Dec 2025 17:43:39 +0000
Delivered-To: bugs@devuan.org
Received: from email.devuan.org [2a01:4f9:fff1:13::5fd9:f9e4]
	by doc.devuan.org with IMAP (fetchmail-6.4.39)
	for <debbugs@localhost> (single-drop); Thu, 04 Dec 2025 17:43:39 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id ArggMEPIMWmJJwAAmSBk0A
	(envelope-from <mark@hindley.org.uk>)
	for <bugs@devuan.org>; Thu, 04 Dec 2025 17:43:31 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 957DE257; Thu, 04 Dec 2025 17:43:31 +0000 (UTC)
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; envelope-from=mark@hindley.org.uk; receiver=bugs.devuan.org 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id 1FBA04E
	for <929@bugs.devuan.org>; Thu, 04 Dec 2025 17:43:29 +0000 (UTC)
Received: from hindley.org.uk (apollo.hindleynet [192.168.1.3])
	by mx.hindley.org.uk (Postfix) with SMTP id 018C1C7;
	Thu,  4 Dec 2025 17:43:27 +0000 (GMT)
Received: (nullmailer pid 14711 invoked by uid 1000);
	Thu, 04 Dec 2025 17:43:27 -0000
Date: Thu, 4 Dec 2025 17:43:27 +0000
From: Mark Hindley <mark@hindley.org.uk>
To: 929@bugs.devuan.org
Cc: "Dimitris T." <dimitris@stinpriza.org>
Message-ID: <aTHIP47SPuZykTk6@hindley.org.uk>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <aTGQIXuB0xLn6cOb@hindley.org.uk>
Control: reassign -1 libfastjson-dev
Control: retitle -1 libfastjson4 linked without -lm causes segfault in rsyslog with libc6 2.42
Control: tags -1 debian
Control: affects -1 rsyslog
Control: forwarded -1 https://bugs.debian.org/1114612

Dimitris,

The issue appears to be lack of -lm linkage after a change in libc6 modf()
implementation in 2.42. However, it is only triggered in rsyslog builds without
systemd (hence only reports from  Devuan, Gentoo and Artix.)

It is fixed in libfastjson upstream[1]. Src:libfastjson is not forked in Devuan
and I have reopened the existing Debian bug[2] to request the fix be cherry-picked.

Mark

[1]  https://github.com/rsyslog/libfastjson/pull/167

[2]  https://bugs.debian.org/1114612

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Tue Dec 9 08:57:48 2025;