Bug#782075: gnome-tweak-tool: Crashes Gnome when reducing Number of Workspaces

Jens Reyer jre.winesim at gmail.com
Wed Aug 31 17:41:41 UTC 2016


Control: found -1 3.21.91-1

Hi Andreas

I updated my system as requested (had to uninstall the gnome metapackage
and some extensions).

I can still reproduce this for my regular user with mutter/gnome-shell
3.21.91-1, see attachment. All extensions were disabled.

However it now works for a fresh user. Note that in the past I could
reproduce this on two machines, even for fresh users, see buglog.

At least GNOME now (at least since 3.20) doesn't disable all extensions
automatically anymore after a crash :)

Greets
jre
-------------- next part --------------
. xenv.sh
jens at hope:~$ gdb --args /usr/bin/gnome-shell --replace
GNU gdb (Debian 7.11.1-2) 7.11.1
Copyright (C) 2016 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 "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/gnome-shell...Reading symbols from /usr/lib/debug/.build-id/78/afdb18f04b732ec496f2beb1489f0c899b0a41.debug...done.
done.
(gdb) run
Starting program: /usr/bin/gnome-shell --replace
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffdfaf1700 (LWP 4728)]
[New Thread 0x7fffdd0fe700 (LWP 4743)]
[New Thread 0x7fffdc8fd700 (LWP 4744)]
[New Thread 0x7fffcfdf2700 (LWP 4745)]
[New Thread 0x7fffcf3e9700 (LWP 4748)]
[New Thread 0x7fffcebe8700 (LWP 4749)]
[New Thread 0x7fffce3e7700 (LWP 4750)]
Gjs-Message: JS LOG: Failed to launch ibus-daemon: Failed to execute child process "ibus-daemon" (No such file or directory)
Gjs-Message: JS LOG: Failed to add search provider /usr/share/gnome-shell/search-providers/org.gnome.bijiben-search-provider.ini: TypeError: appInfo is null
[New Thread 0x7fffabfff700 (LWP 4760)]
[New Thread 0x7fffaaf33700 (LWP 4766)]
[Thread 0x7fffdc8fd700 (LWP 4744) exited]
[Thread 0x7fffabfff700 (LWP 4760) exited]
[New Thread 0x7fffabfff700 (LWP 4768)]
[New Thread 0x7fffdc8fd700 (LWP 4769)]
[New Thread 0x7fffa8b9c700 (LWP 4770)]
[New Thread 0x7fff9fffe700 (LWP 4771)]
[New Thread 0x7fff9f7fd700 (LWP 4772)]
[New Thread 0x7fff9effc700 (LWP 4773)]
[Thread 0x7fff9effc700 (LWP 4773) exited]
[Thread 0x7fffa8b9c700 (LWP 4770) exited]
[Thread 0x7fffaaf33700 (LWP 4766) exited]
[Thread 0x7fff9fffe700 (LWP 4771) exited]
[New Thread 0x7fff9fffe700 (LWP 4801)]
[New Thread 0x7fffaaf33700 (LWP 4802)]
[New Thread 0x7fffa8b9c700 (LWP 4803)]
[New Thread 0x7fff9effc700 (LWP 4804)]
[New Thread 0x7fff9e7fb700 (LWP 4805)]
[Thread 0x7fff9e7fb700 (LWP 4805) exited]
[Thread 0x7fff9effc700 (LWP 4804) exited]
[Thread 0x7fffa8b9c700 (LWP 4803) exited]
[Thread 0x7fffaaf33700 (LWP 4802) exited]
[Thread 0x7fff9f7fd700 (LWP 4772) exited]
[Thread 0x7fffdc8fd700 (LWP 4769) exited]
[Thread 0x7fff9fffe700 (LWP 4801) exited]
**
mutter:ERROR:core/screen.c:1206:update_num_workspaces: assertion failed: (w->windows == NULL)

Thread 1 "gnome-shell" received signal SIGABRT, Aborted.
0x00007ffff4a03198 in __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) t a a bt

Thread 11 (Thread 0x7fffabfff700 (LWP 4768)):
#0  0x00007ffff4ab2d49 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff501df7a in g_cond_wait_until (cond=cond at entry=0x88a248, mutex=mutex at entry=0x88a240, end_time=end_time at entry=227780230) at ././glib/gthread-posix.c:1442
#2  0x00007ffff4face39 in g_async_queue_pop_intern_unlocked (queue=queue at entry=0x88a240, wait=wait at entry=1, end_time=end_time at entry=227780230) at ././glib/gasyncqueue.c:422
#3  0x00007ffff4fad45c in g_async_queue_timeout_pop (queue=0x88a240, timeout=timeout at entry=15000000) at ././glib/gasyncqueue.c:543
#4  0x00007ffff50009cd in g_thread_pool_thread_proxy () at ././glib/gthreadpool.c:167
#5  0x00007ffff50009cd in g_thread_pool_thread_proxy (data=<optimized out>) at ././glib/gthreadpool.c:364
#6  0x00007ffff4ffff05 in g_thread_proxy (data=0x2c16450) at ././glib/gthread.c:784
#7  0x00007ffff4d78444 in start_thread (arg=0x7fffabfff700) at pthread_create.c:333
#8  0x00007ffff4ab720d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fffce3e7700 (LWP 4750)):
#0  0x00007ffff4d7e07f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffe6582d70 in PR_WaitCondVar (cvar=0x9c6eb0, timeout=timeout at entry=4294967295) at ptsynch.c:396
#2  0x00007ffff06d0536 in js::SourceCompressorThread::compressorThread(void*) (this=0xb5f458) at /build/mozjs24-UQFbnn/mozjs24-24.2.0/js/src/jsscript.cpp:1094
#3  0x00007ffff06d0536 in js::SourceCompressorThread::compressorThread(void*) (arg=0xb5f458) at /build/mozjs24-UQFbnn/mozjs24-24.2.0/js/src/jsscript.cpp:965
#4  0x00007fffe6588758 in _pt_root (arg=0x97d100) at ptthread.c:216
#5  0x00007ffff4d78444 in start_thread (arg=0x7fffce3e7700) at pthread_create.c:333
#6  0x00007ffff4ab720d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fffcebe8700 (LWP 4749)):
#0  0x00007ffff4d7e07f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffe6582d70 in PR_WaitCondVar (cvar=0x9ebc70, timeout=timeout at entry=4294967295) at ptsynch.c:396
#2  0x00007ffff065d15e in js::GCHelperThread::threadLoop() (this=0xb5f378) at /build/mozjs24-UQFbnn/mozjs24-24.2.0/js/src/jsgc.cpp:2266
#3  0x00007fffe6588758 in _pt_root (arg=0x9c4aa0) at ptthread.c:216
#4  0x00007ffff4d78444 in start_thread (arg=0x7fffcebe8700) at pthread_create.c:333
#5  0x00007ffff4ab720d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fffcf3e9700 (LWP 4748)):
#0  0x00007ffff4aae09d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff0c3d9e1 in poll_func (__timeout=-1, __nfds=3, __fds=0x7fffbc006c50) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007ffff0c3d9e1 in poll_func (ufds=0x7fffbc006c50, nfds=3, timeout=-1, userdata=0x98afa0) at pulse/thread-mainloop.c:69
#3  0x00007ffff0c2f1b1 in pa_mainloop_poll (m=m at entry=0x9d4d00) at pulse/mainloop.c:844
#4  0x00007ffff0c2f84e in pa_mainloop_iterate (m=0x9d4d00, block=<optimized out>, retval=0x0) at pulse/mainloop.c:926
#5  0x00007ffff0c2f900 in pa_mainloop_run (m=0x9d4d00, retval=retval at entry=0x0) at pulse/mainloop.c:944
#6  0x00007ffff0c3d929 in thread (userdata=0x98af60) at pulse/thread-mainloop.c:100
#7  0x00007fffe700e908 in internal_thread_func (userdata=0x9b8480) at pulsecore/thread-posix.c:81
#8  0x00007ffff4d78444 in start_thread (arg=0x7fffcf3e9700) at pthread_create.c:333
#9  0x00007ffff4ab720d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fffcfdf2700 (LWP 4745)):
#0  0x00007ffff4aae09d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff4fd8896 in g_main_context_iterate (priority=<optimized out>, n_fds=1, fds=0x7fffc80010c0, timeout=<optimized out>, context=0x8a3580) at ././glib/gmain.c:4226
#2  0x00007ffff4fd8896 in g_main_context_iterate (context=context at entry=0x8a3580, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ././glib/gmain.c:3922
#3  0x00007ffff4fd89ac in g_main_context_iteration (context=context at entry=0x8a3580, may_block=may_block at entry=1) at ././glib/gmain.c:3988
#4  0x00007fffcfdfa41d in dconf_gdbus_worker_thread (user_data=0x8a3580) at dconf-gdbus-thread.c:82
#5  0x00007ffff4ffff05 in g_thread_proxy (data=0x7fffd00046d0) at ././glib/gthread.c:784
#6  0x00007ffff4d78444 in start_thread (arg=0x7fffcfdf2700) at pthread_create.c:333
#7  0x00007ffff4ab720d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fffdd0fe700 (LWP 4743)):
#0  0x00007ffff4aae09d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff4fd8896 in g_main_context_iterate (priority=<optimized out>, n_fds=3, fds=0x7fffd00010c0, timeout=<optimized out>, context=0x88bbe0) at ././glib/gmain.c:4226
#2  0x00007ffff4fd8896 in g_main_context_iterate (context=0x88bbe0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ././glib/gmain.c:3922
---Type <return> to continue, or q <return> to quit---
#3  0x00007ffff4fd8c22 in g_main_loop_run (loop=0x88bb70) at ././glib/gmain.c:4123
#4  0x00007ffff55be4f6 in gdbus_shared_thread_func (user_data=0x88bbb0) at ././gio/gdbusprivate.c:247
#5  0x00007ffff4ffff05 in g_thread_proxy (data=0x64b940) at ././glib/gthread.c:784
#6  0x00007ffff4d78444 in start_thread (arg=0x7fffdd0fe700) at pthread_create.c:333
#7  0x00007ffff4ab720d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fffdfaf1700 (LWP 4728)):
#0  0x00007ffff4aae09d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff4fd8896 in g_main_context_iterate (priority=<optimized out>, n_fds=2, fds=0x7fffd80008e0, timeout=<optimized out>, context=0x64b4c0) at ././glib/gmain.c:4226
#2  0x00007ffff4fd8896 in g_main_context_iterate (context=context at entry=0x64b4c0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ././glib/gmain.c:3922
#3  0x00007ffff4fd89ac in g_main_context_iteration (context=0x64b4c0, may_block=may_block at entry=1) at ././glib/gmain.c:3988
#4  0x00007ffff4fd89f1 in glib_worker_main (data=<optimized out>) at ././glib/gmain.c:5781
#5  0x00007ffff4ffff05 in g_thread_proxy (data=0x64b800) at ././glib/gthread.c:784
#6  0x00007ffff4d78444 in start_thread (arg=0x7fffdfaf1700) at pthread_create.c:333
#7  0x00007ffff4ab720d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ffff7edba80 (LWP 4716)):
#0  0x00007ffff4a03198 in __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff4a0461a in __GI_abort () at abort.c:89
#2  0x00007ffff4fff0d5 in g_assertion_message (domain=domain at entry=0x7ffff67bf27c "mutter", file=file at entry=0x7ffff67bfc7a "core/screen.c", line=line at entry=1206, func=func at entry=0x7ffff67c0780 <__func__.102764> "update_num_workspaces", message=message at entry=0x2e2d940 "assertion failed: (w->windows == NULL)") at ././glib/gtestutils.c:2429
#3  0x00007ffff4fff16a in g_assertion_message_expr (domain=domain at entry=0x7ffff67bf27c "mutter", file=file at entry=0x7ffff67bfc7a "core/screen.c", line=line at entry=1206, func=func at entry=0x7ffff67c0780 <__func__.102764> "update_num_workspaces", expr=expr at entry=0x7ffff67bfd2c "w->windows == NULL") at ././glib/gtestutils.c:2452
#4  0x00007ffff6762be6 in update_num_workspaces (screen=0x7a2400 [MetaScreen], timestamp=217475) at core/screen.c:1206
#5  0x00007ffff675eebb in emit_changed (pref=META_PREF_NUM_WORKSPACES) at core/prefs.c:884
#6  0x00007ffff675ef17 in changed_idle_handler (data=<optimized out>) at core/prefs.c:910
#7  0x00007ffff4fd854a in g_main_context_dispatch (context=0x64c000) at ././glib/gmain.c:3201
#8  0x00007ffff4fd854a in g_main_context_dispatch (context=context at entry=0x64c000) at ././glib/gmain.c:3854
#9  0x00007ffff4fd8900 in g_main_context_iterate (context=0x64c000, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ././glib/gmain.c:3927
#10 0x00007ffff4fd8c22 in g_main_loop_run (loop=0x8b2490) at ././glib/gmain.c:4123
#11 0x00007ffff675c31c in meta_run () at core/main.c:572
#12 0x00000000004021c7 in main (argc=<optimized out>, argv=<optimized out>) at main.c:471
(gdb) call gjs_dumpstack ()
== Stack trace for context 0x663360 ==
[Thread 0x7fffabfff700 (LWP 4768) exited]

Thread 1 "gnome-shell" received signal SIGSEGV, Segmentation fault.
JSAutoCompartment::JSAutoCompartment (this=0x7fffffffdae0, cx=0x95b630, target=0x0) at /build/mozjs24-UQFbnn/mozjs24-24.2.0/js/src/jsapi.cpp:1456
1456	/build/mozjs24-UQFbnn/mozjs24-24.2.0/js/src/jsapi.cpp: No such file or directory.
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on".
Evaluation of the expression containing the function
(gjs_dumpstack) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) quit
A debugging session is active.

	Inferior 1 [process 4716] will be killed.

Quit anyway? (y or n) y
jens at hope:~$ exit
exit


More information about the pkg-gnome-maintainers mailing list