Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Feb 2024 16:16:14 +0100
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Konstantin Belousov <kib@freebsd.org>
Cc:        Alexander Leidinger <alexleidingerde@gmail.com>, current@freebsd.org
Subject:   Re: segfault in ld-elf.so.1
Message-ID:  <bf350a2507ecf9185d98120da0663e25@Leidinger.net>
In-Reply-To: <Zcq-oU_4X7o_TfND@kib.kiev.ua>
References:  <1707730081-90734-mlmmj-4d88f1fd@FreeBSD.org> <CAJg7qzFV2bY14tn1-wdpeBb5W1XeZ7v6bk3Qhf5A=hV98kSXFw@mail.gmail.com> <ZcnqtY0dQoed9yjw@kib.kiev.ua> <Zcq-oU_4X7o_TfND@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)

--=_f725242c86850af7c6b4e976eb858030
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII;
 format=flowed

Am 2024-02-13 01:58, schrieb Konstantin Belousov:
> On Mon, Feb 12, 2024 at 11:54:02AM +0200, Konstantin Belousov wrote:
>> On Mon, Feb 12, 2024 at 10:35:56AM +0100, Alexander Leidinger wrote:
>> > Hi,
>> >
>> > dovecot (and no other program I use on this machine... at least not that I
>> > notice it) segfaults in ld-elf.so.1 after an update from 2024-01-18-092730
>> > to 2024-02-10-144617 (and now 2024-02-11-212006 in the hope the issue would
>> > have been fixed by changes to libc/libsys since 2024-02-10-144617). The
>> > issue shows up when I try to do an IMAP login. A successful authentication
>> > starts the imap process which immediately segfaults.
>> >
>> > I didn't recompile dovecot for the initial update, but I did now to rule
>> > out a regression in this area (and to get access via imap do my normal mail
>> > account).
>> >
>> >
>> > Backtrace:
>> The backtrace looks incomplete.  It might be the case of infinite 
>> recursion,
>> but I cannot claim it from the trace.
>> 
>> Does the program segfault if you run it manually?  If yes, please 
>> provide

No.

>> me with the tarball of the binary and all required shared libs, 
>> including
>> base system libraries, from your machine.
> 
> Regardless of my request, you might try the following.  Note that I did
> not tested the patch, ensure that you have a way to recover ld-elf.so.1
> if something goes wrong.
> 
[inline patch]

This did the trick and I have IMAP access to my emails again. As this 
runs in a jail, it was easy to test without fear to kill something.

I will try the patch in the review next.

Bye,
Alexander.

-- 
http://www.Leidinger.net Alexander@Leidinger.net: PGP 0x8F31830F9F2772BF
http://www.FreeBSD.org    netchild@FreeBSD.org  : PGP 0x8F31830F9F2772BF

--=_f725242c86850af7c6b4e976eb858030
Content-Type: application/pgp-signature;
 name=signature.asc
Content-Disposition: attachment;
 filename=signature.asc;
 size=833
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEER9UlYXp1PSd08nWXEg2wmwP42IYFAmXLh80ACgkQEg2wmwP4
2IaGhw/+LJBE50rDUsWWsa9urrDUc3Mdh2CHfofApji0faUkWrdFajTWq6rO3s9R
eiHlK+y2SB7qAoQQIMMRGYTrfqE8bycZBwsWBcZcH/CJjKTdI94sEUG8MCVN/RY3
1boKd6ICk7caKYUapRzObSgze8uVPHO9JxmBgX+PKp0J0dNH3g2Pp2Uoonyvo5qa
G7UsL3+Jt1Kg5FTDrNcU5GOf801KwYnFd6FnB6RSjzVf87osHnEBxHvrureXfUzN
ci+f2CRkIOUe4NP4i8xprxDfzOQ0g/5b27RODKHsxVg4H8ovn4iWkm80fVmYxJxl
RnjYc5jta4MvuHuyPeK3B/iWcV0uKcXm0jlX11dV7mBTs7fArhZ1bjFltgg2nVG/
h4aFHZzEOPQOLmFMvcNbUvxViBvl6GYNtWGztFh3nMGF7RQ2PjadgMmGmsQr2dfe
u9tCc7Kp0bnzoXZcWKu3sEaQWF8eDZAuQt+jSnhpA88QPmSZJld5Tmel7Ss9O5aY
w97SiJtSEaO0NALMCnhdhrNILGn1z9ThCyL8zNc0fao31FjTCSiC4BYprNDCta/Q
LxgG7hJQ4s/Z0su6Vo6lwciSxgPrhbvSj092Db+v+dHD4yAnajeaaCfNXZPHE0cG
r5xwV12oom9MvEBbXJpfCuZxVVCgBAyUf1DjuG/FgiOnbFBaQvY=
=rnA/
-----END PGP SIGNATURE-----

--=_f725242c86850af7c6b4e976eb858030--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bf350a2507ecf9185d98120da0663e25>