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

Jens Reyer jre.winesim at gmail.com
Wed Aug 31 15:08:08 UTC 2016


Control: tags -1 - moreinfo
Control: found -1 3.20.3-2

Hi

On 31.08.2016 06:09, Andreas Henriksson wrote:
> Are you still able to reproduce this issue? If so could you please
> provide a full backtrace including debugging symbols for it?
> 
> https://wiki.debian.org/HowToGetABacktrace

Yes, still happens every time I decrease the number of workspace
windows by one. If I repeat that step the whole GNOME session
crashes.

See attached screenlog.0

I followed https://wiki.gnome.org/Projects/GnomeShell/Debugging
(and added that link to the Debian wiki).


Exact steps I did:
[INSTALL] libmozjs-24-0-dbg:amd64 24.2.0-3.1
[INSTALL] libmutter0h-dbgsym:amd64 3.20.3-2
[INSTALL] libpulse0-dbgsym:amd64 9.0-2
[INSTALL] gnome-shell-dbgsym:amd64 3.20.3-1+b1
$ cat ~/xenv.sh
gnome_session=$(pgrep -u $USER gnome-session)
eval export $(sed 's/\o000/\n/g;' < /proc/$gnome_session/environ | grep DISPLAY)
eval export $(sed 's/\o000/\n/g;' < /proc/$gnome_session/environ | grep XAUTHORITY)
eval export $(sed 's/\o000/\n/g;' < /proc/$gnome_session/environ | grep DBUS_SESSION_BUS_ADDRESS)
--> Reboot
--> Login GNOME
--> CTRL-ALT-F3
--> Login tty3
$ screen
CTRL + A
SHIFT + H
$ . ~/xenv.sh
$ gdb --args /usr/bin/gnome-shell --replace
(gdb) run
--> CTRL-ALT-F2
--> Start Tweak Tool
    Number of Workspaces was set to 2, but the same happens for 3 or 4.
--> Decrease Number of Workspaces by one
--> CRASH
--> CTRL-ALT-F3
(gdb) t a a bt
...
(gdb) call gjs_dumpstack ()


Greets
jre
-------------- next part --------------
jens at hope:~$ . 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/8c/1e32f199e1391f19f8887cefa889baa7a5a774.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 0x7fffdff9c700 (LWP 5010)]
[New Thread 0x7fffdd5a9700 (LWP 5042)]
[New Thread 0x7fffdcda8700 (LWP 5043)]
[New Thread 0x7fffcffff700 (LWP 5044)]
[New Thread 0x7fffcf7fe700 (LWP 5045)]
[New Thread 0x7fffceffd700 (LWP 5046)]
[New Thread 0x7fffce7fc700 (LWP 5047)]
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 5066)]
[New Thread 0x7fffaa668700 (LWP 5073)]
[Thread 0x7fffdcda8700 (LWP 5043) exited]
[Thread 0x7fffabfff700 (LWP 5066) exited]
[New Thread 0x7fffabfff700 (LWP 5077)]
[New Thread 0x7fffdcda8700 (LWP 5078)]
[New Thread 0x7fffa9e67700 (LWP 5079)]
[New Thread 0x7fffa8b9c700 (LWP 5080)]
[New Thread 0x7fff9fffe700 (LWP 5081)]
[New Thread 0x7fff9f7fd700 (LWP 5082)]
[Thread 0x7fffa9e67700 (LWP 5079) exited]
[Thread 0x7fffaa668700 (LWP 5073) exited]
[Thread 0x7fff9f7fd700 (LWP 5082) exited]
[Thread 0x7fffa8b9c700 (LWP 5080) exited]
[New Thread 0x7fffa8b9c700 (LWP 5103)]
[New Thread 0x7fff9f7fd700 (LWP 5104)]
[New Thread 0x7fffaa668700 (LWP 5107)]
[New Thread 0x7fffa9e67700 (LWP 5108)]
[New Thread 0x7fff9effc700 (LWP 5109)]
[New Thread 0x7fff9e7fb700 (LWP 5110)]
[New Thread 0x7fff9dffa700 (LWP 5112)]
[Thread 0x7fff9e7fb700 (LWP 5110) exited]
[Thread 0x7fffa8b9c700 (LWP 5103) exited]
[Thread 0x7fff9f7fd700 (LWP 5104) exited]
[Thread 0x7fffdcda8700 (LWP 5078) exited]
[Thread 0x7fffa9e67700 (LWP 5108) exited]
[Thread 0x7fff9fffe700 (LWP 5081) exited]
[Thread 0x7fffabfff700 (LWP 5077) exited]
[Thread 0x7fff9effc700 (LWP 5109) exited]
[Thread 0x7fff9dffa700 (LWP 5112) exited]
[New Thread 0x7fff9dffa700 (LWP 5162)]
[Thread 0x7fffaa668700 (LWP 5107) exited]
**
mutter:ERROR:core/screen.c:1206:update_num_workspaces: assertion failed: (w->windows == NULL)

Thread 1 "gnome-shell" received signal SIGABRT, Aborted.
0x00007ffff4a30198 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 24 (Thread 0x7fff9dffa700 (LWP 5162)):
#0  0x00007ffff4adfd49 in syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007ffff50494ea in g_cond_wait_until (cond=cond at entry=0x889668, mutex=mutex at entry=0x889660, end_time=end_time at entry=256691609) at ././glib/gthread-posix.c:1441
#2  0x00007ffff4fd9a09 in g_async_queue_pop_intern_unlocked (queue=queue at entry=0x889660, wait=wait at entry=1, end_time=end_time at entry=256691609) at ././glib/gasyncqueue.c:422
#3  0x00007ffff4fda02c in g_async_queue_timeout_pop (queue=0x889660, timeout=timeout at entry=15000000) at ././glib/gasyncqueue.c:543
#4  0x00007ffff502bf9d in g_thread_pool_thread_proxy () at ././glib/gthreadpool.c:167
#5  0x00007ffff502bf9d in g_thread_pool_thread_proxy (data=<optimized out>) at ././glib/gthreadpool.c:364
#6  0x00007ffff502b4d5 in g_thread_proxy (data=0x7fffc8002050) at ././glib/gthread.c:780
#7  0x00007ffff4da5444 in start_thread (arg=0x7fff9dffa700) at pthread_create.c:333
#8  0x00007ffff4ae420d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fffce7fc700 (LWP 5047)):
#0  0x00007ffff4dab07f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffe69f4d70 in PR_WaitCondVar (cvar=0xaf4760, timeout=timeout at entry=4294967295) at ptsynch.c:396
#2  0x00007ffff08fe536 in js::SourceCompressorThread::compressorThread(void*) (this=0xb0da58) at /build/mozjs24-UQFbnn/mozjs24-24.2.0/js/src/jsscript.cpp:1094
#3  0x00007ffff08fe536 in js::SourceCompressorThread::compressorThread(void*) (arg=0xb0da58) at /build/mozjs24-UQFbnn/mozjs24-24.2.0/js/src/jsscript.cpp:965
#4  0x00007fffe69fa758 in _pt_root (arg=0x9f8270) at ptthread.c:216
#5  0x00007ffff4da5444 in start_thread (arg=0x7fffce7fc700) at pthread_create.c:333
#6  0x00007ffff4ae420d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fffceffd700 (LWP 5046)):
#0  0x00007ffff4dab07f in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fffe69f4d70 in PR_WaitCondVar (cvar=0x9a9520, timeout=timeout at entry=4294967295) at ptsynch.c:396
#2  0x00007ffff088b15e in js::GCHelperThread::threadLoop() (this=0xb0d978) at /build/mozjs24-UQFbnn/mozjs24-24.2.0/js/src/jsgc.cpp:2266
#3  0x00007fffe69fa758 in _pt_root (arg=0x95e670) at ptthread.c:216
#4  0x00007ffff4da5444 in start_thread (arg=0x7fffceffd700) at pthread_create.c:333
#5  0x00007ffff4ae420d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fffcf7fe700 (LWP 5045)):
#0  0x00007ffff4adb09d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff0e6b9e1 in poll_func (__timeout=-1, __nfds=3, __fds=0x7fffbc006ca0) at /usr/include/x86_64-linux-gnu/bits/poll2.h:46
#2  0x00007ffff0e6b9e1 in poll_func (ufds=0x7fffbc006ca0, nfds=3, timeout=-1, userdata=0x9ead10) at pulse/thread-mainloop.c:69
#3  0x00007ffff0e5d1b1 in pa_mainloop_poll (m=m at entry=0x940950) at pulse/mainloop.c:844
#4  0x00007ffff0e5d84e in pa_mainloop_iterate (m=0x940950, block=<optimized out>, retval=0x0) at pulse/mainloop.c:926
#5  0x00007ffff0e5d900 in pa_mainloop_run (m=0x940950, retval=retval at entry=0x0) at pulse/mainloop.c:944
#6  0x00007ffff0e6b929 in thread (userdata=0x9eacd0) at pulse/thread-mainloop.c:100
#7  0x00007fffe7480908 in internal_thread_func (userdata=0x9eb7c0) at pulsecore/thread-posix.c:81
#8  0x00007ffff4da5444 in start_thread (arg=0x7fffcf7fe700) at pthread_create.c:333
#9  0x00007ffff4ae420d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fffcffff700 (LWP 5044)):
#0  0x00007ffff4adb09d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff50051f6 in g_main_context_iterate (priority=<optimized out>, n_fds=1, fds=0x7fffc80010c0, timeout=<optimized out>, context=0x8a21d0) at ././glib/gmain.c:4135
#2  0x00007ffff50051f6 in g_main_context_iterate (context=context at entry=0x8a21d0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ././glib/gmain.c:3835
#3  0x00007ffff500530c in g_main_context_iteration (context=context at entry=0x8a21d0, may_block=may_block at entry=1) at ././glib/gmain.c:3901
#4  0x00007fffdc3a241d in dconf_gdbus_worker_thread (user_data=0x8a21d0) at dconf-gdbus-thread.c:82
#5  0x00007ffff502b4d5 in g_thread_proxy (data=0x7fffd00046d0) at ././glib/gthread.c:780
#6  0x00007ffff4da5444 in start_thread (arg=0x7fffcffff700) at pthread_create.c:333
#7  0x00007ffff4ae420d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fffdd5a9700 (LWP 5042)):
#0  0x00007ffff4adb09d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff50051f6 in g_main_context_iterate (priority=<optimized out>, n_fds=3, fds=0x7fffd00010c0, timeout=<optimized out>, context=0x88ab20) at ././glib/gmain.c:4135
#2  0x00007ffff50051f6 in g_main_context_iterate (context=0x88ab20, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ././glib/gmain.c:3835
---Type <return> to continue, or q <return> to quit---
#3  0x00007ffff5005582 in g_main_loop_run (loop=0x88aab0) at ././glib/gmain.c:4034
#4  0x00007ffff580f956 in gdbus_shared_thread_func (user_data=0x88aaf0) at ././gio/gdbusprivate.c:246
#5  0x00007ffff502b4d5 in g_thread_proxy (data=0x64c540) at ././glib/gthread.c:780
#6  0x00007ffff4da5444 in start_thread (arg=0x7fffdd5a9700) at pthread_create.c:333
#7  0x00007ffff4ae420d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fffdff9c700 (LWP 5010)):
#0  0x00007ffff4adb09d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ffff50051f6 in g_main_context_iterate (priority=<optimized out>, n_fds=2, fds=0x7fffd80008e0, timeout=<optimized out>, context=0x64c0c0) at ././glib/gmain.c:4135
#2  0x00007ffff50051f6 in g_main_context_iterate (context=context at entry=0x64c0c0, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ././glib/gmain.c:3835
#3  0x00007ffff500530c in g_main_context_iteration (context=0x64c0c0, may_block=may_block at entry=1) at ././glib/gmain.c:3901
#4  0x00007ffff5005351 in glib_worker_main (data=<optimized out>) at ././glib/gmain.c:5672
#5  0x00007ffff502b4d5 in g_thread_proxy (data=0x64c400) at ././glib/gthread.c:780
#6  0x00007ffff4da5444 in start_thread (arg=0x7fffdff9c700) at pthread_create.c:333
#7  0x00007ffff4ae420d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ffff7edda80 (LWP 5006)):
#0  0x00007ffff4a30198 in __GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x00007ffff4a3161a in __GI_abort () at abort.c:89
#2  0x00007ffff502a6a5 in g_assertion_message (domain=domain at entry=0x7ffff69d4f7c "mutter", file=file at entry=0x7ffff69d597a "core/screen.c", line=line at entry=1206, func=func at entry=0x7ffff69d6480 <__func__.82463> "update_num_workspaces", message=message at entry=0xb262a0 "assertion failed: (w->windows == NULL)") at ././glib/gtestutils.c:2429
#3  0x00007ffff502a73a in g_assertion_message_expr (domain=domain at entry=0x7ffff69d4f7c "mutter", file=file at entry=0x7ffff69d597a "core/screen.c", line=line at entry=1206, func=func at entry=0x7ffff69d6480 <__func__.82463> "update_num_workspaces", expr=expr at entry=0x7ffff69d5a2c "w->windows == NULL") at ././glib/gtestutils.c:2452
#4  0x00007ffff6983a06 in update_num_workspaces (screen=0x851060 [MetaScreen], timestamp=246506) at core/screen.c:1206
#5  0x00007ffff697fcfb in emit_changed (pref=META_PREF_NUM_WORKSPACES) at core/prefs.c:884
#6  0x00007ffff697fd57 in changed_idle_handler (data=<optimized out>) at core/prefs.c:910
#7  0x00007ffff5004eaa in g_main_context_dispatch (context=0x64c340) at ././glib/gmain.c:3154
#8  0x00007ffff5004eaa in g_main_context_dispatch (context=context at entry=0x64c340) at ././glib/gmain.c:3769
#9  0x00007ffff5005260 in g_main_context_iterate (context=0x64c340, block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at ././glib/gmain.c:3840
#10 0x00007ffff5005582 in g_main_loop_run (loop=0x899b30) at ././glib/gmain.c:4034
#11 0x00007ffff697d2ac in meta_run () at core/main.c:537
#12 0x0000000000402197 in main (argc=<optimized out>, argv=<optimized out>) at main.c:471
(gdb) call gjs_dumpstack ()
== Stack trace for context 0x663360 ==
[Thread 0x7fff9dffa700 (LWP 5162) exited]

Thread 1 "gnome-shell" received signal SIGSEGV, Segmentation fault.
JSAutoCompartment::JSAutoCompartment (this=0x7fffffffdae0, cx=0x95aa00, 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 5006] will be killed.

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


More information about the pkg-gnome-maintainers mailing list