Wind River Support Network

HomeDefectsLIN6-9422
Fixed

LIN6-9422 : Glibc raise seg fault in strstr on some architecture

Created: Feb 11, 2015    Updated: Dec 3, 2018
Resolved Date: Jun 17, 2015
Found In Version: 6.0.0.16
Fix Version: 6.0.0.20
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: Toolchain

Description

ASML customer tested Java jdk but they got a seg fault:

Program received signal SIGSEGV, Segmentation fault.
0x46724ef5 in __strstr_sse42 (s1=<optimized out>, s2=0xf7b5c9e0 "Java_java_io_ObjectOutputStream_getPrimitiveFieldValues")
   at ../sysdeps/x86_64/multiarch/strstr.c:385
385 ../sysdeps/x86_64/multiarch/strstr.c: No such file or directory.
(gdb)


Looks like a known issue. It crashes depending on the HW you run it on:
https://github.com/voidlinux/void-packages/issues/163

It looks to be related to https://github.com/voidlinux/void-packages/commit/a407cfac9c160d2e637742e68fba9ec46eda3f42


also discussed here:
https://bugs.archlinux.org/task/36556

with https://sourceware.org/git/?p=glibc.git;a=blobdiff;f=sysdeps/x86_64/multiarch/strstr.c;h=cd63b68c01e88d7bfe4eda77a65e370d8a417b86;hp=1cc015d0c198a139bb2b8bbc88780f2b08f4abdc;hb=f1d70dad5381352b3cad04b5ee0dd0efe2627683;hpb=7bd642f580ef5698bd5b1777a5ba7af2f58c5d8c

Other Downloads


Live chat
Online