public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/27790] New: _dl_call_libc_early_init: Assertion `sym != NULL' failed
@ 2021-04-29 12:54 tuliom at ascii dot art.br
2021-04-29 19:37 ` [Bug libc/27790] " fweimer at redhat dot com
2021-04-29 19:39 ` fweimer at redhat dot com
0 siblings, 2 replies; 3+ messages in thread
From: tuliom at ascii dot art.br @ 2021-04-29 12:54 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27790
Bug ID: 27790
Summary: _dl_call_libc_early_init: Assertion `sym != NULL'
failed
Product: glibc
Version: 2.32
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: tuliom at ascii dot art.br
CC: drepper.fsp at gmail dot com
Target Milestone: ---
This bug has been originally reported at:
https://github.com/rust-lang/libc/issues/2054
I'm going to quote Jackob:
This is reproducible without Rust:
#include <stdio.h>
#include <stdlib.h>
#include <pty.h>
int main() {
int* child = malloc(sizeof(int));
int* parent = malloc(sizeof(int));
int p = openpty(parent, child, 0, 0, 0);
printf("p:%d\n", p);
free(child);
free(parent);
}
built with gcc openpty.c -lutil -static on a 2.32 system and run on 2.31:
a.out: dl-call-libc-early-init.c:37: _dl_call_libc_early_init: Assertion `sym
!= NULL' failed.
Aborted (core dumped)
---
Interestingly, I can't reproduce this issue when the binary is statically
linked against glibc 2.33 and executed on 2.31.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libc/27790] _dl_call_libc_early_init: Assertion `sym != NULL' failed
2021-04-29 12:54 [Bug libc/27790] New: _dl_call_libc_early_init: Assertion `sym != NULL' failed tuliom at ascii dot art.br
@ 2021-04-29 19:37 ` fweimer at redhat dot com
2021-04-29 19:39 ` fweimer at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2021-04-29 19:37 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27790
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |fweimer at redhat dot com
Resolution|--- |WONTFIX
--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
openpty calls dlopen under the covers, and static dlopen across glibc versions
is not supportable.
In glibc 2.33, openpty no longer tries to change file system permissions, so no
call into NSS is needed, and no dlopen happens.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug libc/27790] _dl_call_libc_early_init: Assertion `sym != NULL' failed
2021-04-29 12:54 [Bug libc/27790] New: _dl_call_libc_early_init: Assertion `sym != NULL' failed tuliom at ascii dot art.br
2021-04-29 19:37 ` [Bug libc/27790] " fweimer at redhat dot com
@ 2021-04-29 19:39 ` fweimer at redhat dot com
1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2021-04-29 19:39 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=27790
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
See Also| |https://sourceware.org/bugz
| |illa/show_bug.cgi?id=24941
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-04-29 19:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29 12:54 [Bug libc/27790] New: _dl_call_libc_early_init: Assertion `sym != NULL' failed tuliom at ascii dot art.br
2021-04-29 19:37 ` [Bug libc/27790] " fweimer at redhat dot com
2021-04-29 19:39 ` fweimer at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).