GNU gdb (GDB) Fedora 7.9-11.fc22
Copyright (C) 2015 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-redhat-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 gdm...Reading symbols from /usr/lib/debug/usr/sbin/gdm.debug...done.
done.
[New LWP 979]
[New LWP 992]
[New LWP 1135]
[New LWP 993]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Core was generated by `/usr/sbin/gdm'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  get_user_session_for_display (display=0x7fbef077a500, self=<optimized out>) at gdm-manager.c:1133
1133	             node = node->next) {
(gdb) bt
#0  0x00007fbeeec33a20 in gdm_manager_handle_register_display (display=0x7fbef077a500 [GdmLocalDisplay], self=<optimized out>)
    at gdm-manager.c:1133
#1  0x00007fbeeec33a20 in gdm_manager_handle_register_display (manager=0x7fbef077a200, invocation=0x7fbedc003090 [GDBusMethodInvocation], details=<optimized out>) at gdm-manager.c:1188
#2  0x00007fbeecd6ddb0 in ffi_call_unix64 () at ../src/x86/unix64.S:76
#3  0x00007fbeecd6d818 in ffi_call (cif=cif@entry=0x7ffc0422eab0, fn=<optimized out>, rvalue=0x7ffc0422ea10, avalue=avalue@entry=0x7ffc0422e9b0) at ../src/x86/ffi64.c:525
#7  0x00007fbeedef1011 in #8  0x00007fbeeec47b39 in _gdm_dbus_manager_skeleton_handle_method_call (connection=<optimized out>, sender=<optimized out>, object_path=<optimized out>, interface_name=0x7fbedc0079f0 "org.gnome.DisplayManager.Manager", method_name=0x7fbedc007980 "RegisterDisplay", parameters=<optimized out>, invocation=0x7fbedc003090 [GDBusMethodInvocation], user_data=0x7fbef077a200)
    at gdm-manager-glue.c:1352
#9  0x00007fbeee207d21 in skeleton_intercept_handle_method_call (invocation=0x7fbedc003090 [GDBusMethodInvocation], method_call_func=0x7fbeeec47960 <_gdm_dbus_manager_skeleton_handle_method_call>, interface=0x7fbef077a200 [GdmManager]) at gdbusinterfaceskeleton.c:609
#10 0x00007fbeee207d21 in skeleton_intercept_handle_method_call (connection=<optimized out>, sender=<optimized out>, object_path=<optimized out>, interface_name=<optimized out>, method_name=<optimized out>, parameters=<optimized out>, invocation=0x7fbedc003090 [GDBusMethodInvocation], user_data=0x7fbef077a200) at gdbusinterfaceskeleton.c:650
#11 0x00007fbeee1f01bc in call_in_idle_cb (user_data=0x7fbedc003090) at gdbusconnection.c:4884
#12 0x00007fbeedbd1a8a in g_main_context_dispatch (context=0x7fbef077b800) at gmain.c:3122
#13 0x00007fbeedbd1a8a in g_main_context_dispatch (context=context@entry=0x7fbef077b800) at gmain.c:3737
#14 0x00007fbeedbd1e20 in g_main_context_iterate (context=0x7fbef077b800, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808
#15 0x00007fbeedbd2142 in g_main_loop_run (loop=0x7fbef0787360) at gmain.c:4002
#16 0x00007fbeeec2762c in main (argc=1, argv=0x7ffc0422f278) at main.c:404
(gdb) list
1128	{
1129	        GList *node;
1130	
1131	        for (node = self->priv->user_sessions;
1132	             node != NULL;
1133	             node = node->next) {
1134	                GdmSession *session = node->data;
1135	                GdmDisplay *candidate_display;
1136	                GList *next_node = node->next;
1137	
(gdb) print node
$1 = 0x0
(gdb) quit
