Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Feb 2018 22:06:35 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 225779] SIGILL from _armv8_pmull_probe() when trying to start mysqld
Message-ID:  <bug-225779-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225779

            Bug ID: 225779
           Summary: SIGILL from _armv8_pmull_probe() when trying to start
                    mysqld
           Product: Base System
           Version: CURRENT
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: arm
          Assignee: freebsd-arm@FreeBSD.org
          Reporter: pru13allan@telia.com

Cannot start mysqld with version r328961:
# service mysql-server start
Starting mysql.
limits: NO: No such file or directory
/usr/local/etc/rc.d/mysql-server: WARNING: failed to start mysql

It is fully working on r327173!

When debugging mysqld:
Reading symbols from /usr/local/libexec/mysqld...(no debugging symbols
found)...done.
(gdb) run
Starting program: /usr/local/libexec/mysqld=20

Program received signal SIGILL, Illegal instruction.
_armv8_pmull_probe () at /usr/src/crypto/openssl/crypto/arm64cpuid.S:43
43      /usr/src/crypto/openssl/crypto/arm64cpuid.S: No such file or direct=
ory.
(gdb) backtrace full
#0  _armv8_pmull_probe () at /usr/src/crypto/openssl/crypto/arm64cpuid.S:43
No locals.
#1  0x0000000040d7a1cc in OPENSSL_cpuid_setup () at
/usr/src/crypto/openssl/crypto/armcap.c:142
        trigger =3D <error reading variable trigger (Cannot access memory at
address 0xfffff96700000001)>
        e =3D <optimized out>
        ill_act =3D {__sigaction_u =3D {__sa_handler =3D 0x40d7a294 <ill_ha=
ndler>,=20
            __sa_sigaction =3D 0x40d7a294 <ill_handler>}, sa_flags =3D 0, s=
a_mask =3D
{__bits =3D {
              4294965607, 4294967295, 4294967295, 4294967295}}}
        oset =3D {__bits =3D {0, 0, 0, 0}}
        ill_oact =3D {__sigaction_u =3D {__sa_handler =3D 0x0, __sa_sigacti=
on =3D 0x0},
sa_flags =3D 0,=20
          sa_mask =3D {__bits =3D {0, 0, 0, 0}}}
#2  0x0000000040a92a84 in objlist_call_init (list=3D<optimized out>,
lockstate=3D<optimized out>)
    at /usr/src/libexec/rtld-elf/rtld.c:2688
        obj =3D <optimized out>
        elm =3D 0x40ad2880
        init_addr =3D 0x40e57038
        index =3D <error reading variable index (Cannot access memory at ad=
dress
0x0)>
        saved_msg =3D <optimized out>
#3  0x0000000040a91abc in _rtld (sp=3D0xffffffffec10, exit_proc=3D<optimize=
d out>,=20
    objp=3D<optimized out>) at /usr/src/libexec/rtld-elf/rtld.c:767
        aux_info =3D {0x0, 0x0, 0x0, 0xffffffffeca0, 0xffffffffecb0,
0xffffffffecc0, 0xffffffffecd0,=20
          0xffffffffed00, 0xffffffffece0, 0xffffffffecf0, 0x0, 0x0, 0x0, 0x=
0,
0x0, 0xffffffffed20,=20
          0xffffffffed40, 0xffffffffed50, 0xffffffffed30, 0xffffffffed60,
0xffffffffed70,=20
          0xffffffffed80, 0xffffffffed90, 0xffffffffeda0, 0xffffffffed10, 0=
x0,
0x0}
        buf =3D '\000' <repeats 1023 times>
        argcp =3D <optimized out>
        argc =3D <optimized out>        i =3D <error reading variable i (Ca=
nnot
access memory at address 0x0)>
        argv =3D 0xffffffffec10
        argv0 =3D <optimized out>
        env =3D 0xffffffffec20
        mib =3D <optimized out>
        len =3D <optimized out>
        fd =3D <optimized out>
        phdr =3D <optimized out>
        rtld_argc =3D <optimized out>
        st =3D <optimized out>
        dir_enable =3D <error reading variable dir_enable (Cannot access me=
mory
at address 0x0)>
        envp =3D <optimized out>
        library_path_rpath =3D <optimized out>
        phnum =3D <optimized out>
        obj =3D <optimized out>
        last_interposer =3D <optimized out>
        entry =3D <optimized out>
        aux =3D <optimized out>
        initlist =3D {stqh_first =3D 0x40ad2740, stqh_last =3D 0x40ad2a40}
        preload_tail =3D <optimized out>
        lockstate =3D {lockstate =3D 2, env =3D {{_sjb =3D {
                0x00000000000000000000000000000000 <repeats 32 times>}}}}
        kexecpath =3D <optimized out>
#4  0x0000000040a90018 in .rtld_start () at
/usr/src/libexec/rtld-elf/aarch64/rtld_start.S:41
No locals.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225779-7>