Bug#993162: libc6: i386 (Geode LX): latest push to Bookwork produces multiple sig ILL
On 2021-08-28 13:36, Martin-Éric Racine wrote:
> la 28. elok. 2021 klo 12.58 Aurelien Jarno (aurelien@aurel32.net) kirjoitti:
> > > $ sudo coredumpctl debug 1011
> > > PID: 1011 (apt-get)
> > > UID: 0 (root)
> > > GID: 0 (root)
> > > Signal: 4 (ILL)
> > > Timestamp: Sat 2021-08-28 11:00:34 EEST (3min 22s ago)
> > > Command Line: apt-get --quiet --quiet update
> > > Executable: /usr/bin/apt-get
> > > Control Group: /user.slice/user-1000.slice/session-4.scope
> > > Unit: session-4.scope
> > > Slice: user-1000.slice
> > > Session: 4
> > > Owner UID: 1000 (perkelix)
> > > Boot ID: 77dfa6eb16584c02b84de4e2b8feb781
> > > Machine ID: 1063a9d1fb9df6e371ea9f94491345ed
> > > Hostname: geode
> > > Storage: /var/lib/systemd/coredump/core.apt-get.0.77dfa6eb16584c02b84de4e2b8feb781.1011.1630137634000000.zst
> > > Message: Process 1011 (apt-get) of user 0 dumped core.
> > >
> > > Stack trace of thread 1011:
> > > #0 0x00000000b7ad2ed0 __cpu_indicator_init (libgcc_s.so.1 + 0x2ed0)
> > > #1 0x00000000b7faf02c call_init (ld-linux.so.2 + 0x1102c)
> > > #2 0x00000000b7faf132 call_init (ld-linux.so.2 + 0x11132)
> > > #3 0x00000000b7f9f0fa _dl_start_user (ld-linux.so.2 + 0x10fa)
> >
> > The SIGILL happens in __cpu_indicator_init which is provided by
> > libgcc-s1. Bookworm got a new upstream version of this package compared
> > to bullseye, so if you also upgraded it, it's more likely to be the
> > issue. In that case, have you tried to downgrade it?
>
> Just did. Here's the result:
>
> $ sudo coredumpctl debug 2083
> PID: 2083 (apt-get)
> UID: 0 (root)
> GID: 0 (root)
> Signal: 4 (ILL)
> Timestamp: Sat 2021-08-28 13:33:05 EEST (1min 36s ago)
> Command Line: apt-get update
> Executable: /usr/bin/apt-get
> Control Group: /user.slice/user-1000.slice/session-2.scope
> Unit: session-2.scope
> Slice: user-1000.slice
> Session: 2
> Owner UID: 1000 (perkelix)
> Boot ID: a200afe0e5134b8a812b05c898c8b859
> Machine ID: 1063a9d1fb9df6e371ea9f94491345ed
> Hostname: geode
> Storage:
> /var/lib/systemd/coredump/core.apt-get.0.a200afe0e5134b8a812b05c898c8b859.2083.1630146785000000.zst
> Message: Process 2083 (apt-get) of user 0 dumped core.
>
> Stack trace of thread 2083:
> #0 0x00000000b7ae9170 frame_dummy (libstdc++.so.6 + 0x87170)
It seems that all libraries from gcc-11 are now compiled with Intel CET
enabled, following an upstream commit [1]. I guess you will also have to
downgrade libstdc++6.
[1] https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=8d286dd118a5bd16f7ae0fb9dfcdcfd020bea803
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurelien@aurel32.net http://www.aurel32.net
Reply to: