Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 500812 - =sys-libs/glibc-2.18-r1 breaks JRE 6.0_45-b06 with problematic frame C [libc.so.6+0x12ac7d] __nss_passwd_lookup+0x45d
Summary: =sys-libs/glibc-2.18-r1 breaks JRE 6.0_45-b06 with problematic frame C [libc....
Status: RESOLVED DUPLICATE of bug 488918
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-09 22:27 UTC by devsk
Modified: 2014-02-16 02:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description devsk 2014-02-09 22:27:25 UTC
See details at:

http://forums.gentoo.org/viewtopic-p-7497414.html

After install glibc-2.18-r1 on gentoo i have problem with running some apps used jvm.

Details:

# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xf6bd5c7d, pid=6266, tid=4138243840
#
# JRE version: 6.0_45-b06
# Java VM: Java HotSpot(TM) Client VM (20.45-b01 mixed mode, sharing linux-x86 )
# Problematic frame:
# C [libc.so.6+0x12ac7d] __nss_passwd_lookup+0x45d

Reproducible: Always

Steps to Reproduce:
1. run davmail
2. 
3.
Actual Results:  
davmail fails to run.

Expected Results:  
davmail runs

diff --git a/sysdeps/x86_64/multiarch/strstr.c b/sysdeps/x86_64/multiarch/strstr.c
index cd63b68..03d8b9a 100644
--- a/sysdeps/x86_64/multiarch/strstr.c
+++ b/sysdeps/x86_64/multiarch/strstr.c
The patch that fixes the issue:

@@ -86,7 +86,7 @@
 /* Simple replacement of movdqu to address 4KB boundary cross issue.
    If EOS occurs within less than 16B before 4KB boundary, we don't
    cross to next page.  */
-static __m128i
+static inline __m128i
 __m128i_strloadu (const unsigned char * p, __m128i zero)
 {
   if (__builtin_expect ((int) ((size_t) p & 0xfff) > 0xff0, 0))
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2014-02-10 08:36:13 UTC
Since this is a patch for glibc, as well as that the cause lies there; I'll let the core system maintainers take a look at this first as to determine whether this is something to be fixed by glibc upstream or by the JRE upstream, or whether we can patch this at Gentoo. Since this new glibc version has affected multiple other packages (eg. acroread segfault) and I haven't heard of a documentation or announcement wrt a change in usage yes; I'm assuming that this is a glibc issue, if that's not the case then feel free to elaborate. Thank you.
Comment 2 Holger Hoffstätte 2014-02-10 16:03:28 UTC
(In reply to Tom Wijsman (TomWij) from comment #1)
This seems to be the same issue as Acroread (but here with an IMHO really weird patch) and it is fixed with glibc-2.19.
Comment 3 SpanKY gentoo-dev 2014-02-16 02:55:46 UTC
we're not merging that patch.  sounds like the JRE is broken.

*** This bug has been marked as a duplicate of bug 488918 ***