GNOME Bugzilla – Bug 786656
gdm crashes on unlocking my session.
Last modified: 2017-08-23 13:36:43 UTC
I am getting the following crash on unlocking my session GNU gdb (GDB) 8.0 Copyright (C) 2017 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-pc-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/gdm...done. [New LWP 1517] [New LWP 1538] [New LWP 1518] [New LWP 1520] [New LWP 1519] [Thread debugging using libthread_db enabled] Using host libthread_db library "/usr/lib/libthread_db.so.1". Core was generated by `/usr/bin/gdm'. Program terminated with signal SIGSEGV, Segmentation fault.
+ Trace 237841
Thread 2 (Thread 0x7fbea9811700 (LWP 1538))
Thread 1 (Thread 0x7fbeaf7e1180 (LWP 1517))
ret = 1 res = <optimized out> do_timed_exit = 0 print_version = 0 fatal_warnings = 0 entries = {{long_name = 0xaab7893ee9 "fatal-warnings", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xaab7ab4194 <fatal_warnings>, description = 0xaab7893ef8 "Make all warnings fatal", arg_description = 0x0}, {long_name = 0xaab7893f10 "timed-exit", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xaab7ab4190 <do_timed_exit>, description = 0xaab7894110 "Exit after a time (for debugging)", arg_description = 0x0}, {long_name = 0xaab7893f25 "version", short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xaab7ab4198 <print_version>, description = 0xaab7893f1b "Print GDM version", arg_description = 0x0}, {long_name = 0x0, short_name = 0 '\000', flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}
Created attachment 358228 [details] valgrind log. I was able to get a valgrind log with assistance in #Gnome-shell irc channel (that you very much for that).
Created attachment 358237 [details] [review] manager: fix dangling pointer free When reauthenticating, we can crash if configured with --disable-user-display-server and a non-login screen session unlocks the screen due to a dangling pointer. This commit fixes that.
Attachment 358237 [details] pushed as 42ae130 - manager: fix dangling pointer free