Bug#1043329: gnome-shell crashes with SIGABRT

2023-08-16 Thread Jörg Sommer
Simon McVittie schrieb am Di 15. Aug, 11:37 (+0100):
> Control: tags -1 + moreinfo unreproducible
> 
> On Wed, 09 Aug 2023 at 10:02:00 +0200, Jörg Sommer wrote:
> > #7  0x7f4c474451ed __libc_message (libc.so.6 + 0x271ed)
> > #8  0x7f4c474b1a75 malloc_printerr (libc.so.6 + 0x93a75)
> > #9  0x7f4c474b1c3c munmap_chunk (libc.so.6 + 0x93c3c)
> > #10 0x7f4c474b61b8 __GI___libc_free (libc.so.6 + 
> > 0x981b8)
> > #11 0x7f4c450e7252 n/a (libmozjs-102.so.0 + 0x8e7252)
> > #12 0x7f4c450e7c06 n/a (libmozjs-102.so.0 + 0x8e7c06)
> > #13 0x7f4c44e750e2 n/a (libmozjs-102.so.0 + 0x6750e2)
> 
> This looks like memory corruption. Are there any steps you can follow that
> make this crash more likely to happen?

No, I don't know how to reproduce it.

I'm fine when you close this (and the other) report.

> > Maybe the list of my extensions is helpful:
> 
> We cannot really support gnome-shell when used with third-party extensions:
> extensions have complete control over the Shell process, and extension bugs
> can easily cause a crash like this.

But an extension written in JavaScript should not be able to cause a
*memory* corruption. That's why it's JavaScript.

I've been using these extensions for months now, but I see these crashes
since two weeks or so. But I know the root cause might be somewhere in a
library, which makes it difficult to track down.


Regards Jörg

-- 
An SQL query walks into a bar and sees two tables.
He walks up to them and says: "Mind if I join you?"


signature.asc
Description: PGP signature


Bug#1043329: gnome-shell crashes with SIGABRT

2023-08-15 Thread Simon McVittie
Control: tags -1 + moreinfo unreproducible

On Wed, 09 Aug 2023 at 10:02:00 +0200, Jörg Sommer wrote:
> #7  0x7f4c474451ed __libc_message (libc.so.6 + 0x271ed)
> #8  0x7f4c474b1a75 malloc_printerr (libc.so.6 + 0x93a75)
> #9  0x7f4c474b1c3c munmap_chunk (libc.so.6 + 0x93c3c)
> #10 0x7f4c474b61b8 __GI___libc_free (libc.so.6 + 0x981b8)
> #11 0x7f4c450e7252 n/a (libmozjs-102.so.0 + 0x8e7252)
> #12 0x7f4c450e7c06 n/a (libmozjs-102.so.0 + 0x8e7c06)
> #13 0x7f4c44e750e2 n/a (libmozjs-102.so.0 + 0x6750e2)

This looks like memory corruption. Are there any steps you can follow that
make this crash more likely to happen?

> Maybe the list of my extensions is helpful:

We cannot really support gnome-shell when used with third-party extensions:
extensions have complete control over the Shell process, and extension bugs
can easily cause a crash like this.

Does this crash still happen if you disable all extensions? If not,
then it could be an extension bug. If you disable all extensions and
then gradually re-enable them, you might be able to narrow down which
extension triggers it.

smcv



Bug#1043329: gnome-shell crashes with SIGABRT

2023-08-09 Thread Jörg Sommer
Package: gnome-shell
Version: 43.6-1
Severity: normal

Hi,

I've got another crash today:

```text
% coredumpctl --debugger ~/bin/gdb-bt-full debug =gnome-shell
   PID: 46283 (gnome-shell)
   UID: 1000 (joerg)
   GID: 1000 (joerg)
Signal: 6 (ABRT)
 Timestamp: Wed 2023-08-09 09:28:18 CEST (27min ago)
  Command Line: /usr/bin/gnome-shell
Executable: /usr/bin/gnome-shell
 Control Group: 
/user.slice/user-1000.slice/user@1000.service/session.slice/org.gnome.Shell@wayland.service
  Unit: user@1000.service
 User Unit: org.gnome.Shell@wayland.service
 Slice: user-1000.slice
 Owner UID: 1000 (joerg)
   Boot ID: b407b68900ed4b4695d770c2cb30b696
Machine ID: 523cb54753234ed08c13ec497d0d3b64
  Hostname: zenbook
   Storage: 
/var/lib/systemd/coredump/core.gnome-shell.1000.b407b68900ed4b4695d770c2cb30b696.46283.169156609800.zst
 (present)
  Size on Disk: 72.4M
   Message: Process 46283 (gnome-shell) of user 1000 dumped core.

Module libudev.so.1 from deb systemd-254-1.amd64
Module libsystemd.so.0 from deb systemd-254-1.amd64
Stack trace of thread 46283:
#0  0x7f4c474a80fc __pthread_kill_implementation (libc.so.6 
+ 0x8a0fc)
#1  0x7f4c4745a472 __GI_raise (libc.so.6 + 0x3c472)
#2  0x560495dc00f2 n/a (gnome-shell + 0x30f2)
#3  0x7f4c4745a510 __restore_rt (libc.so.6 + 0x3c510)
#4  0x7f4c474a80fc __pthread_kill_implementation (libc.so.6 
+ 0x8a0fc)
#5  0x7f4c4745a472 __GI_raise (libc.so.6 + 0x3c472)
#6  0x7f4c47b2 __GI_abort (libc.so.6 + 0x264b2)
#7  0x7f4c474451ed __libc_message (libc.so.6 + 0x271ed)
#8  0x7f4c474b1a75 malloc_printerr (libc.so.6 + 0x93a75)
#9  0x7f4c474b1c3c munmap_chunk (libc.so.6 + 0x93c3c)
#10 0x7f4c474b61b8 __GI___libc_free (libc.so.6 + 0x981b8)
#11 0x7f4c450e7252 n/a (libmozjs-102.so.0 + 0x8e7252)
#12 0x7f4c450e7c06 n/a (libmozjs-102.so.0 + 0x8e7c06)
#13 0x7f4c44e750e2 n/a (libmozjs-102.so.0 + 0x6750e2)
#14 0x7f4c44e7d2cc n/a (libmozjs-102.so.0 + 0x67d2cc)
#15 0x7f4c44e66d6c n/a (libmozjs-102.so.0 + 0x666d6c)
#16 0x7f4c44e73b45 n/a (libmozjs-102.so.0 + 0x673b45)
#17 0x7f4c44e76073 n/a (libmozjs-102.so.0 + 0x676073)
#18 0x7f4c44e4cfa9 n/a (libmozjs-102.so.0 + 0x64cfa9)
#19 0x7f4c44e4d62c n/a (libmozjs-102.so.0 + 0x64d62c)
#20 0x7f4c44e4d8cf n/a (libmozjs-102.so.0 + 0x64d8cf)
#21 0x7f4c44e4dca2 n/a (libmozjs-102.so.0 + 0x64dca2)
#22 0x7f4c47b29522 n/a (libgjs.so.0 + 0x8b522)
#23 0x7f4c4853302a n/a (libglib-2.0.so.0 + 0x5a02a)
#24 0x7f4c485324c9 g_main_context_dispatch 
(libglib-2.0.so.0 + 0x594c9)
#25 0x7f4c485328e8 n/a (libglib-2.0.so.0 + 0x598e8)
#26 0x7f4c48532b9f g_main_loop_run (libglib-2.0.so.0 + 
0x59b9f)
#27 0x7f4c476d6fc5 meta_context_run_main_loop 
(libmutter-11.so.0 + 0xd6fc5)
#28 0x560495dbf924 n/a (gnome-shell + 0x2924)
#29 0x7f4c474456ca __libc_start_call_main (libc.so.6 + 
0x276ca)
#30 0x7f4c47445785 __libc_start_main_impl (libc.so.6 + 
0x27785)
#31 0x560495dbfbc1 n/a (gnome-shell + 0x2bc1)

Stack trace of thread 46304:
#0  0x7f4c474a3156 __futex_abstimed_wait_common64 
(libc.so.6 + 0x85156)
#1  0x7f4c474a5818 __pthread_cond_wait_common (libc.so.6 + 
0x87818)
#2  0x7f4c452740c7 
_ZN7mozilla6detail21ConditionVariableImpl4waitERNS0_9MutexImplE 
(libmozjs-102.so.0 + 0xa740c7)
#3  0x7f4c45274255 
_ZN7mozilla6detail21ConditionVariableImpl8wait_forERNS0_9MutexImplERKNS_16BaseTimeDurationINS_27TimeDurationValueCalculatorEEE
 (libmozjs-102.so.0 + 0xa74255)
#4  0x7f4c44a7da85 n/a (libmozjs-102.so.0 + 0x27da85)
#5  0x7f4c44a7db31 n/a (libmozjs-102.so.0 + 0x27db31)
#6  0x7f4c44a7ce47 n/a (libmozjs-102.so.0 + 0x27ce47)
#7  0x7f4c474a63ec start_thread (libc.so.6 + 0x883ec)
#8  0x7f4c47526a1c __clone3 (libc.so.6 + 0x108a1c)

Stack trace of thread 46292:
#0  0x7f4c475199ef __GI___poll (libc.so.6 + 0xfb9ef)
#1  0x7f4c4853285e n/a (libglib-2.0.so.0 + 0x5985e)
#2  0x7f4c4853297c g_main_context_iteration 
(libglib-2.0.so.0 + 0x5997c)
#3  0x7f4c400724bd n/a (libdconfsettings.so + 0xb4bd)
#4