public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/28920] New: ldd crashes when it can't find libjvm.so
@ 2022-02-23 16:35 ht990332 at gmx dot com
2022-02-23 16:50 ` [Bug libc/28920] " adhemerval.zanella at linaro dot org
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: ht990332 at gmx dot com @ 2022-02-23 16:35 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28920
Bug ID: 28920
Summary: ldd crashes when it can't find libjvm.so
Product: glibc
Version: 2.35
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: ht990332 at gmx dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
archlinux gcc 11.2 / binutils 2.38/ glibc 2.35
ldd /usr/lib/jvm/default-runtime/lib/libnio.so returns nothing.
It actually segfaults without any valid trace.
LD_LIBRARY_PATH=/usr/lib/jvm/default-runtime/lib/server ldd
/usr/lib/jvm/default-runtime/lib/libnio.so avoids the segfault.
This was not an issue in previous versions of glibc.
I tried archlinux's jdk, adoptium eclipse jdk, oracle jdk, and many other jdk
flavors. I even compiled openjdk myself. all result in a same issue.
An Archlinux developer confirmed the segfault so this isn't a local problem on
my machine.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/28920] ldd crashes when it can't find libjvm.so
2022-02-23 16:35 [Bug libc/28920] New: ldd crashes when it can't find libjvm.so ht990332 at gmx dot com
@ 2022-02-23 16:50 ` adhemerval.zanella at linaro dot org
2022-02-23 17:18 ` ht990332 at gmx dot com
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2022-02-23 16:50 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28920
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |adhemerval.zanella at linaro dot o
| |rg
--- Comment #1 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
I think this is duplicate of bz#28868. Could you check if
https://patchwork.sourceware.org/project/glibc/list/?series=7467 fixes it?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/28920] ldd crashes when it can't find libjvm.so
2022-02-23 16:35 [Bug libc/28920] New: ldd crashes when it can't find libjvm.so ht990332 at gmx dot com
2022-02-23 16:50 ` [Bug libc/28920] " adhemerval.zanella at linaro dot org
@ 2022-02-23 17:18 ` ht990332 at gmx dot com
2022-02-23 17:30 ` adhemerval.zanella at linaro dot org
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: ht990332 at gmx dot com @ 2022-02-23 17:18 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28920
--- Comment #2 from Hussam Al-Tayeb <ht990332 at gmx dot com> ---
(In reply to Adhemerval Zanella from comment #1)
> I think this is duplicate of bz#28868. Could you check if
> https://patchwork.sourceware.org/project/glibc/list/?series=7467 fixes it?
It does.
ldd libnio.so
ldd: warning: you do not have execution permission for `./libnio.so'
linux-vdso.so.1 (0x00007ffcff9ba000)
libjava.so => /usr/lib/jvm/java-17-temurin/lib/./libjava.so
(0x00007f9140000000)
libnet.so => /usr/lib/jvm/java-17-temurin/lib/./libnet.so
(0x00007f913fc00000)
libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f91407e1000)
libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f91407dc000)
libc.so.6 => /usr/lib/libc.so.6 (0x00007f9140628000)
/usr/lib64/ld-linux-x86-64.so.2 (0x00007f9140803000)
libjvm.so => not found
libjvm.so => not found
Why the double libjvm.so => not found though?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/28920] ldd crashes when it can't find libjvm.so
2022-02-23 16:35 [Bug libc/28920] New: ldd crashes when it can't find libjvm.so ht990332 at gmx dot com
2022-02-23 16:50 ` [Bug libc/28920] " adhemerval.zanella at linaro dot org
2022-02-23 17:18 ` ht990332 at gmx dot com
@ 2022-02-23 17:30 ` adhemerval.zanella at linaro dot org
2022-02-23 17:31 ` adhemerval.zanella at linaro dot org
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2022-02-23 17:30 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28920
--- Comment #3 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
(In reply to Hussam Al-Tayeb from comment #2)
> (In reply to Adhemerval Zanella from comment #1)
> > I think this is duplicate of bz#28868. Could you check if
> > https://patchwork.sourceware.org/project/glibc/list/?series=7467 fixes it?
>
> It does.
> ldd libnio.so
> ldd: warning: you do not have execution permission for `./libnio.so'
> linux-vdso.so.1 (0x00007ffcff9ba000)
> libjava.so => /usr/lib/jvm/java-17-temurin/lib/./libjava.so
> (0x00007f9140000000)
> libnet.so => /usr/lib/jvm/java-17-temurin/lib/./libnet.so
> (0x00007f913fc00000)
> libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f91407e1000)
> libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f91407dc000)
> libc.so.6 => /usr/lib/libc.so.6 (0x00007f9140628000)
> /usr/lib64/ld-linux-x86-64.so.2 (0x00007f9140803000)
> libjvm.so => not found
> libjvm.so => not found
Thanks for checking on it.
>
>
> Why the double libjvm.so => not found though?
Because /usr/lib/jvm/java-17-temurin/lib/./libjava.so and
/usr/lib/jvm/java-17-temurin/lib/./libnet.so both have libjvm.so as DT_NEEDED
and loaders does not keep track if the object already was printted for
LD_TRACE_LOADED_OBJECTS.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/28920] ldd crashes when it can't find libjvm.so
2022-02-23 16:35 [Bug libc/28920] New: ldd crashes when it can't find libjvm.so ht990332 at gmx dot com
` (2 preceding siblings ...)
2022-02-23 17:30 ` adhemerval.zanella at linaro dot org
@ 2022-02-23 17:31 ` adhemerval.zanella at linaro dot org
2022-02-25 16:39 ` ht990332 at gmx dot com
2022-03-02 13:40 ` freswa at archlinux dot org
5 siblings, 0 replies; 7+ messages in thread
From: adhemerval.zanella at linaro dot org @ 2022-02-23 17:31 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28920
Adhemerval Zanella <adhemerval.zanella at linaro dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |DUPLICATE
Status|UNCONFIRMED |RESOLVED
--- Comment #4 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
As per previous comments.
*** This bug has been marked as a duplicate of bug 28868 ***
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/28920] ldd crashes when it can't find libjvm.so
2022-02-23 16:35 [Bug libc/28920] New: ldd crashes when it can't find libjvm.so ht990332 at gmx dot com
` (3 preceding siblings ...)
2022-02-23 17:31 ` adhemerval.zanella at linaro dot org
@ 2022-02-25 16:39 ` ht990332 at gmx dot com
2022-03-02 13:40 ` freswa at archlinux dot org
5 siblings, 0 replies; 7+ messages in thread
From: ht990332 at gmx dot com @ 2022-02-25 16:39 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28920
--- Comment #5 from Hussam Al-Tayeb <ht990332 at gmx dot com> ---
On Wed, 2022-02-23 at 17:30 +0000, adhemerval.zanella at linaro dot org
wrote:
> Because /usr/lib/jvm/java-17-temurin/lib/./libjava.so and
> /usr/lib/jvm/java-17-temurin/lib/./libnet.so both have libjvm.so as
> DT_NEEDED
> and loaders does not keep track if the object already was printted
> for
> LD_TRACE_LOADED_OBJECTS.
>
So it's not sorted in a tree format? Why are they both showing at end
instead one of the entries after libjava.so?
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/28920] ldd crashes when it can't find libjvm.so
2022-02-23 16:35 [Bug libc/28920] New: ldd crashes when it can't find libjvm.so ht990332 at gmx dot com
` (4 preceding siblings ...)
2022-02-25 16:39 ` ht990332 at gmx dot com
@ 2022-03-02 13:40 ` freswa at archlinux dot org
5 siblings, 0 replies; 7+ messages in thread
From: freswa at archlinux dot org @ 2022-03-02 13:40 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=28920
freswa <freswa at archlinux dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |freswa at archlinux dot org
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-03-02 13:40 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-23 16:35 [Bug libc/28920] New: ldd crashes when it can't find libjvm.so ht990332 at gmx dot com
2022-02-23 16:50 ` [Bug libc/28920] " adhemerval.zanella at linaro dot org
2022-02-23 17:18 ` ht990332 at gmx dot com
2022-02-23 17:30 ` adhemerval.zanella at linaro dot org
2022-02-23 17:31 ` adhemerval.zanella at linaro dot org
2022-02-25 16:39 ` ht990332 at gmx dot com
2022-03-02 13:40 ` freswa at archlinux dot org
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).