Skip to contentSkip to conversation

eglibc and Kodi Krypton

Buildroot Stanislav Vlasic 2 participants 4 messages Aug 24, 2016

lore
Share & tools
lore
#0 lore raw

Hi,

Kodi Krypton causes random crashes when using eglibc (2.18 or 2.19, doesnt matter - from 2016.05).

GDB output:
(gdb) kodi.bin: pthread_mutex_lock.c:347: __pthread_mutex_lock_full:
Assertion `(-(e)) != 35 || (kind != PTHREAD_MUTEX_ERRORCHECK_NP && kind != PTHREAD_MUTEX_RECURSIVE_NP)' failed.

I rebuilt with glibc 2.23 which fixed issue. Platform is aarch64, custom 3.14 kernel (Amlogic), not sure if same happens with armel and armhf (did not test it).

Regards,
Stane1983

#1 lore raw

Hello,

Quoted 11 lines · Stanislav Vlasic

Kodi Krypton causes random crashes when using eglibc (2.18 or 2.19, doesnt matter - from 2016.05).

GDB output:
(gdb) kodi.bin: pthread_mutex_lock.c:347: __pthread_mutex_lock_full:
Assertion `(-(e)) != 35 || (kind != PTHREAD_MUTEX_ERRORCHECK_NP && kind != PTHREAD_MUTEX_RECURSIVE_NP)' failed.

I rebuilt with glibc 2.23 which fixed issue. Platform is aarch64, custom 3.14 kernel (Amlogic), not sure if same happens with armel and armhf (did not test it).

We no longer support eglibc in Buildroot, and therefore only support glibc 2.22 and 2.23 in the upcoming 2016.08 release, and 2.22/2.23/2.24 in the next 2016.11 release.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
#2 lore raw

Hi,

Quoted 12 lines · Thomas Petazzoni

Hello,

Quoted 8 lines · Stanislav Vlasic

Kodi Krypton causes random crashes when using eglibc (2.18 or 2.19, doesnt matter - from 2016.05).

GDB output:
(gdb) kodi.bin: pthread_mutex_lock.c:347: __pthread_mutex_lock_full:
Assertion `(-(e)) != 35 || (kind != PTHREAD_MUTEX_ERRORCHECK_NP && kind != PTHREAD_MUTEX_RECURSIVE_NP)' failed.

Quoted 7 lines
Quoted 3 lines

I rebuilt with glibc 2.23 which fixed issue. Platform is aarch64, custom 3.14 kernel (Amlogic), not sure if same happens with armel and armhf (did not test it).

We no longer support eglibc in Buildroot, and therefore only support glibc 2.22 and 2.23 in the upcoming 2016.08 release, and 2.22/2.23/2.24 in the next 2016.11 release.

Thank you for confirmation/information. I was not following what was going on with upcoming 2016.08 release. Was just a bug I ran into and shared my fix :)

Quoted 2 lines

Thomas

Stane1983

#3 lore raw
In reply to Thomas Petazzoni

Hi,

Quoted 12 lines · Thomas Petazzoni

Hello,

Quoted 8 lines · Stanislav Vlasic

Kodi Krypton causes random crashes when using eglibc (2.18 or 2.19, doesnt matter - from 2016.05).

GDB output:
(gdb) kodi.bin: pthread_mutex_lock.c:347: __pthread_mutex_lock_full:
Assertion `(-(e)) != 35 || (kind != PTHREAD_MUTEX_ERRORCHECK_NP && kind != PTHREAD_MUTEX_RECURSIVE_NP)' failed.

Quoted 7 lines
Quoted 3 lines

I rebuilt with glibc 2.23 which fixed issue. Platform is aarch64, custom 3.14 kernel (Amlogic), not sure if same happens with armel and armhf (did not test it).

We no longer support eglibc in Buildroot, and therefore only support glibc 2.22 and 2.23 in the upcoming 2016.08 release, and 2.22/2.23/2.24 in the next 2016.11 release.

Thank you for confirmation/information. I was not following what was going on with upcoming 2016.08 release. Was just a bug I ran into and shared my fix :)

Quoted 2 lines

Thomas

Stane1983