[Pkg-rust-maintainers] Bug#973414: libmozjs-78-0: invalid opcodes in libmozjs when launching GDM3

Martin-Éric Racine martin-eric.racine at iki.fi
Thu Dec 10 18:02:42 GMT 2020

to 10. jouluk. 2020 klo 19.47 Simon McVittie (smcv at debian.org) kirjoitti:
> On Thu, 10 Dec 2020 at 18:29:39 +0200, Martin-Éric Racine wrote:
> > Btw, when it comes to libmozjs, is there any attachment you'd need?
> > gdb backtrace, etc.?
> A backtrace is always useful, and it would also be useful to know which
> opcode not supported by your CPU it's trying to execute.

$ sudo coredumpctl debug 855 --output /tmp/coredump_gnome-shell
           PID: 855 (gnome-shell)
           UID: 101 (Debian-gdm)
           GID: 122 (Debian-gdm)
        Signal: 4 (ILL)
     Timestamp: Thu 2020-12-10 18:38:09 EET (1h 15min ago)
  Command Line: /usr/bin/gnome-shell
    Executable: /usr/bin/gnome-shell
 Control Group: /user.slice/user-101.slice/session-c2.scope
          Unit: session-c2.scope
         Slice: user-101.slice
       Session: c2
     Owner UID: 101 (Debian-gdm)
       Boot ID: b115ec37ecca4f75acd8d60bc6a44403
    Machine ID: 1063a9d1fb9df6e371ea9f94491345ed
      Hostname: geode
       Message: Process 855 (gnome-shell) of user 101 dumped core.

                Stack trace of thread 861:
                #0  0x00000000b5500d08
(libmozjs-78.so.0 + 0xa01d08)

GNU gdb (Debian 10.1-1+b1) 10.1
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "i686-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/gnome-shell...
(No debugging symbols found in /usr/bin/gnome-shell)
[New LWP 861]
[New LWP 855]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".

warning: Can't read data for section '.debug_info' in file
Core was generated by `/usr/bin/gnome-shell'.
Program terminated with signal SIGILL, Illegal instruction.
#0  0xb5500d08 in compiler_builtins::int::udiv::__udivmoddi4 () from
[Current thread is 1 (Thread 0xb15c9b40 (LWP 861))]
(gdb) bt full
#0  0xb5500d08 in compiler_builtins::int::udiv::__udivmoddi4 () from
No symbol table info available.
(gdb) c
The program is not being run.

> I'm sure you know more than I do about the finer points of the x86
> instruction set and how opcodes map to CPU flags and architecture
> extensions.

Sadly not. I only remember that the Geode LX is 1 instruction short of
a standard 686.


More information about the Pkg-rust-maintainers mailing list