From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 98BF43887F5A; Wed, 14 Sep 2022 05:29:02 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 98BF43887F5A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1663133342; bh=TmdoCjnuhnhexUKjOllniKtBhtMzChsvk5t9iUmNVxA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=sUyOm8jQKEMoPnbYCglwpAu15zzpk4dCrZkjuuxX4baXfy1amDc6SJGbo2EN4LS7I X8vTDOV0ftTUMWoPn+EOdl6huZRVnznWWYfyocqIqiBH9mAWRlXCQLe366qadJIqL/ hBghPDdt9yT3ZJNyuLAmT7DyZxpxSHJxc5odsOtc= From: "linjy0410 at gmail dot com" To: glibc-bugs@sourceware.org Subject: [Bug dynamic-link/29567] when `dlopen` glibc itself, it needs `__ctype_init` Date: Wed, 14 Sep 2022 05:28:57 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: enhancement X-Bugzilla-Who: linjy0410 at gmail dot com X-Bugzilla-Status: WAITING X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: security- X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D29567 --- Comment #2 from jy l --- Created attachment 14334 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14334&action=3Ded= it iconv_open segfault poc I pull the latest glibc and build/install it to `glibcinstallamd64`, with g= cc 9.4.0. And compile this poc by `gcc poc.c -ldl` with my system libc which is 2.31. It segfault on my machine when calling the `func` (iconv_open), didn't have= any static dlopen I think. --=20 You are receiving this mail because: You are on the CC list for the bug.=