I used the manual way to debug why gdm doesn't show the login screen (inferring that it's because gnome-shell is not running). I "inferred" it initially by looking at the mouse cursor blinking. Before, when the login screen shows up, the mouse would blink once then the login screen shows up. Now the mouse would blink once then just blink again instead of showing the logins screen. I can also see the output of ps -AfH, wherein it shows that gnome-shell isn't running even when gdm-x-session is running under the gdm user. I still don't know why there's no crash file though. Any pointers on how to debug this?
Thank you for your help. On Thu, Aug 27, 2020 at 1:50 PM Daniel van Vugt <[email protected]> wrote: > Please also note that if you are launching gnome-shell manually and > expect it to use Xorg then you may need: > > gnome-shell --x11 > > That said, if you are launching gnome-shell manually then that also > makes the original bug report somewhat invalid. You reported this bug as > a problem with gdm or the login screen, and yet you are not doing things > in any way that are compatible with that. I will clarify the situation > by removing mention of "gdm". > > > ** Summary changed: > > - groovy gnome-shell crashes so gdm is black screen with cursor > + groovy gnome-shell crashes when launched manually > > ** Changed in: gnome-shell (Ubuntu) > Importance: Undecided => Low > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1893032 > > Title: > groovy gnome-shell crashes when launched manually > > To manage notifications about this bug go to: > > https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1893032/+subscriptions > -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-shell in Ubuntu. https://bugs.launchpad.net/bugs/1893032 Title: groovy gnome-shell crashes when launched manually Status in gnome-shell package in Ubuntu: Incomplete Bug description: Here's the backtrace I got from the console. I think it has something todo with gjs or libmozjs. #0 gjs_invoke_c_function(JSContext*, Function*, JS::HandleObject, JS::HandleValueArray const&, mozilla::Maybe<JS::MutableHandle<JS::Value> >, GIArgument*) (context=<optimized out>, function=0x555556cc6000, obj=..., args=..., js_rval=..., r_value=<optimized out>) at ../gi/function.cpp:1264 #1 0x00007ffff70aa92b in function_call(JSContext*, unsigned int, JS::Value*) (context=0x5555558698f0, js_argc=2, vp=0x5555558fa3f8) at /usr/include/mozjs-68/js/RootingAPI.h:1212 #2 0x00007ffff5101351 in CallJSNative(JSContext*, bool (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) (args=..., native=0x7ffff70aa7f0 <function_call(JSContext*, unsigned int, JS::Value*)>, cx=0x5555558698f0) at ./debian/build/dist/include/js/CallArgs.h:284 #3 js::InternalCallOrConstruct(JSContext*, JS::CallArgs const&, js::MaybeConstruct) (cx=0x5555558698f0, args=..., construct=<optimized out>) at ./js/src/vm/Interpreter.cpp:515 #4 0x00007ffff50f2b77 in js::CallFromStack(JSContext*, JS::CallArgs const&) (args=..., cx=<optimized out>) at ./js/src/vm/Interpreter.cpp:3082 #5 Interpret(JSContext*, js::RunState&) (cx=0x5555558698f0, state=...) at ./js/src/vm/Interpreter.cpp:3082 #6 0x00007ffff510090e in js::RunScript(JSContext*, js::RunState&) (cx=0x5555558698f0, state=...) at ./js/src/vm/Interpreter.cpp:423 #7 0x00007ffff5102cdf in js::ExecuteKernel(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value const&, js::AbstractFramePtr, JS::Value*) (cx=cx@entry=0x5555558698f0, script=..., script@entry=..., envChainArg=..., newTargetValue=..., evalInFrame=..., evalInFrame@entry=..., result=result@entry=0x7fffffffe340) at ./js/src/vm/Interpreter.cpp:782 #8 0x00007ffff5102e81 in js::Execute(JSContext*, JS::Handle<JSScript*>, JSObject&, JS::Value*) (cx=cx@entry=0x5555558698f0, script=script@entry=..., envChainArg=..., rval=0x7fffffffe340) at ./debian/build/dist/include/js/Value.h:934 #9 0x00007ffff519c8c0 in EvaluateSourceBuffer<char16_t>(JSContext*, js::ScopeKind, JS::Handle<JSObject*>, JS::ReadOnlyCompileOptions const&, JS::SourceText<char16_t>&, JS::MutableHandle<JS::Value>) (cx=cx@entry=0x5555558698f0, scopeKind=<optimized out>, env=..., env@entry=..., optionsArg=..., srcBuf=..., rval=...) at ./debian/build/dist/include/js/RootingAPI.h:1212 #10 0x00007ffff519fdc0 in JS::Evaluate(JSContext*, JS::Handle<JS::StackGCVector<JSObject*, js::TempAllocPolicy> >, JS::ReadOnlyCompileOptions const&, JS::SourceText<char16_t>&, JS::MutableHandle<JS::Value>) (cx=0x5555558698f0, envChain=..., envChain@entry=..., options=..., srcBuf=..., rval=rval@entry=...) at ./js/src/vm/Scope.h:339 #11 0x00007ffff70d791e in GjsContextPrivate::eval_with_scope(JS::Handle<JSObject*>, char const*, long, char const*, JS::MutableHandle<JS::Value>) (this=0x55555562d630, scope_object=..., script=<optimized out>, script_len=<optimized out>, filename=0x7ffff7d98fc8 "<main>", retval=...) at /usr/include/mozjs-68/js/RootingAPI.h:1212 #12 0x00007ffff70d7d10 in GjsContextPrivate::eval(char const*, long, char const*, int*, _GError**) (this=0x55555562d630, script=0x7ffff7d99038 "imports.ui.environment.init();imports.ui.main.start();", script_len=-1, filename=0x7ffff7d98fc8 "<main>", exit_status_p=0x7fffffffe43c, error=0x7fffffffe440) at /usr/include/mozjs-68/js/RootingAPI.h:1238 #13 0x00007ffff70d800d in gjs_context_eval(GjsContext*, char const*, gssize, char const*, int*, GError**) (js_context=js_context@entry=0x55555562d720, script=script@entry=0x7ffff7d99038 "imports.ui.environment.init();imports.ui.main.start();", script_len=script_len@entry=-1, filename=filename@entry=0x7ffff7d98fc8 "<main>", exit_status_p=exit_status_p@entry=0x7fffffffe43c, error=error@entry=0x7fffffffe440) at ../gjs/context.cpp:934 #14 0x00007ffff7d7caf5 in gnome_shell_plugin_start (plugin=<optimized out>) at ../src/gnome-shell-plugin.c:127 #15 0x00007ffff6dc7ea4 in meta_plugin_manager_new (compositor=compositor@entry=0x55555585c230) at ../src/compositor/meta-plugin-manager.c:113 #16 0x00007ffff6dc0452 in meta_compositor_manage (compositor=0x55555585c230) at ../src/compositor/compositor.c:592 #17 0x00007ffff6ddec90 in enable_compositor (display=0x55555591a040) at ../src/core/display.c:612 #18 meta_display_open () at ../src/core/display.c:933 #19 0x00007ffff6de9960 in meta_run () at ../src/core/main.c:673 #20 0x0000555555556d79 in main (argc=<optimized out>, argv=<optimized out>) at ../src/main.c:634 ProblemType: Bug DistroRelease: Ubuntu 20.10 Package: gnome-shell 3.36.4-1ubuntu2~build1 ProcVersionSignature: Ubuntu 5.8.0-16.17-generic 5.8.0 Uname: Linux 5.8.0-16-generic x86_64 NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair ApportVersion: 2.20.11-0ubuntu44 Architecture: amd64 CasperMD5CheckResult: skip Date: Wed Aug 26 18:55:05 2020 DisplayManager: gdm3 EcryptfsInUse: Yes InstallationDate: Installed on 2015-09-28 (1793 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422) RelatedPackageVersions: mutter-common 3.36.4-1ubuntu2 ShellJournal: -- Logs begin at Tue 2020-08-25 09:05:16 PST, end at Wed 2020-08-26 18:55:02 PST. -- -- No entries -- SourcePackage: gnome-shell UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1893032/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

