On 10/03/18 10:10, Yves-Alexis Perez wrote:
In any case, I really can't reproduce here, and you still didn't indicate what
you changed to make it crash reliably, so I'm afraid I can't help.

light-locker crashes at unlock every time I run it from the command line.

What happens when you run light-locker from the command line?

I agree that it should not normally be run from the command line.  I wanted to 
run lightlocker with different options and the running it from the command line 
was faster than logging on and off.

I tried running light-locker in gdb but that hung my session and I had to login 
on another console and kill gdb to recover.

I think that light-locker should either run correctly from the command line or 
announce that it cannot be used that way.

thanks, Stuart

:; light-locker --debug
[gs_debug_init] gs-debug.c:106 (00:05:14):       Debugging enabled
[main] light-locker.c:142 (00:05:14):    initializing light-locker 1.8.0
[main] light-locker.c:164 (00:05:14):    Platform:
gtk:        3
systemd:    yes
ConsoleKit: yes
UPower:     yes
[main] light-locker.c:196 (00:05:14):    Features:
lock-after-screensaver: yes
late-locking:           yes
lock-on-suspend:        yes
lock-on-lid:            yes
settings backend:       GSETTINGS
[main] light-locker.c:198 (00:05:14):    lock after screensaver 3600
[main] light-locker.c:199 (00:05:14):    late locking 0
[main] light-locker.c:200 (00:05:14):    lock on suspend 1
[main] light-locker.c:201 (00:05:14):    lock on lid 0
[main] light-locker.c:202 (00:05:14):    idle hint 0
[query_session_id] gs-listener-dbus.c:2101 (00:05:14):   
org.freedesktop.login1.NoSessionForPID raised:
 PID 32104 does not belong to any known session


[init_session_id] gs-listener-dbus.c:2193 (00:05:14):    Got session-id: (null)
[query_sd_session_id] gs-listener-dbus.c:2177 (00:05:14):        Couldn't 
determine our own sd session id: No data available
[init_session_id] gs-listener-dbus.c:2198 (00:05:14):    Got sd-session-id: 
(null)
[init_seat_path] gs-listener-dbus.c:2279 (00:05:14):     Got seat: 
/org/freedesktop/DisplayManager/Seat0
[gs_listener_delay_suspend] gs-listener-dbus.c:449 (00:05:14):   Delay suspend
[gs_listener_x11_acquire] gs-listener-x11.c:172 (00:05:14):      ScreenSaver 
Registered
[listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (00:05:14):       
 obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus 
method=NameAcquired destination=:1.1851
[listener_dbus_handle_session_message] gs-listener-dbus.c:1010 (00:14:00):      
 Received Lock request
[gs_grab_grab_root] gs-grab-x11.c:647 (00:14:00):        Grabbing the root 
window
[gs_grab_get_keyboard] gs-grab-x11.c:153 (00:14:00):     Grabbing keyboard 
widget=DF
[gs_grab_get_mouse] gs-grab-x11.c:213 (00:14:00):        Grabbing mouse 
widget=DF
[gs_manager_create_windows_for_screen] gs-manager.c:548 (00:14:00):      
Creating 1 windows for screen 0
[gs_manager_create_window_for_monitor] gs-manager.c:324 (00:14:00):      
Creating window for monitor 0 [0,0] (1920x1200)
[update_geometry] gs-window-x11.c:197 (00:14:00):        got geometry for 
monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:210 (00:14:00):        using geometry for 
monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:197 (00:14:00):        got geometry for 
monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:210 (00:14:00):        using geometry for 
monitor 0: x=0 y=0 w=1920 h=1200
[gs_window_move_resize_window] gs-window-x11.c:243 (00:14:00):   Move and/or 
resize window on monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:197 (00:14:00):        got geometry for 
monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:210 (00:14:00):        using geometry for 
monitor 0: x=0 y=0 w=1920 h=1200
[gs_window_move_resize_window] gs-window-x11.c:243 (00:14:00):   Move and/or 
resize window on monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:197 (00:14:00):        got geometry for 
monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:210 (00:14:00):        using geometry for 
monitor 0: x=0 y=0 w=1920 h=1200
[gs_window_move_resize_window] gs-window-x11.c:243 (00:14:00):   Move and/or 
resize window on monitor 0: x=0 y=0 w=1920 h=1200
[gs_manager_timed_switch] gs-manager.c:445 (00:14:00):   Start switch to 
greeter timer
[gs_window_xevent] gs-window-x11.c:369 (00:14:00):       not raising our windows
[window_map_event_cb] gs-manager.c:233 (00:14:00):       Handling window 
map_event event
[gs_listener_resume_suspend] gs-listener-dbus.c:513 (00:14:00):  Resume 
suspend: fd=14
[manager_maybe_grab_window] gs-manager.c:204 (00:14:00):         Moving grab to 
0x5587c72364d0
[gs_grab_move_keyboard] gs-grab-x11.c:450 (00:14:00):    Moving keyboard grab 
from DF to 320000C
[gs_grab_move_keyboard] gs-grab-x11.c:457 (00:14:00):    *** doing X server grab
[gs_grab_release_keyboard] gs-grab-x11.c:279 (00:14:00):         Ungrabbing 
keyboard
[gs_grab_get_keyboard] gs-grab-x11.c:153 (00:14:00):     Grabbing keyboard 
widget=320000C
[gs_grab_move_keyboard] gs-grab-x11.c:479 (00:14:00):    *** releasing X server 
grab
[gs_grab_move_mouse] gs-grab-x11.c:395 (00:14:00):       Moving pointer grab 
from DF to 320000C
[gs_grab_move_mouse] gs-grab-x11.c:402 (00:14:00):       *** doing X server grab
[gs_grab_release_mouse] gs-grab-x11.c:320 (00:14:00):    Ungrabbing pointer
[gs_grab_get_mouse] gs-grab-x11.c:213 (00:14:00):        Grabbing mouse 
widget=320000C
[gs_grab_move_mouse] gs-grab-x11.c:425 (00:14:00):       *** releasing X server 
grab
[listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (00:14:00):       
 obj_path=/org/freedesktop/login1 interface=org.freedesktop.DBus.Properties 
method=PropertiesChanged destination=(null)
[update_geometry] gs-window-x11.c:197 (00:14:00):        got geometry for 
monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:210 (00:14:00):        using geometry for 
monitor 0: x=0 y=0 w=1920 h=1200
[gs_window_move_resize_window] gs-window-x11.c:243 (00:14:00):   Move and/or 
resize window on monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:197 (00:14:00):        got geometry for 
monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:210 (00:14:00):        using geometry for 
monitor 0: x=0 y=0 w=1920 h=1200
[gs_window_move_resize_window] gs-window-x11.c:243 (00:14:00):   Move and/or 
resize window on monitor 0: x=0 y=0 w=1920 h=1200
[gs_listener_send_lock_session] gs-listener-dbus.c:180 (00:14:01):       Send 
lock session
[listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (00:14:01):       
 obj_path=(null) interface=(null) method=(null) destination=:1.1851
[listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (00:14:01):       
 obj_path=/org/freedesktop/login1/session/_32200 
interface=org.freedesktop.DBus.Properties method=PropertiesChanged 
destination=(null)
[listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (00:14:01):       
 obj_path=/org/freedesktop/login1/seat/seat0 
interface=org.freedesktop.DBus.Properties method=PropertiesChanged 
destination=(null)
dbus[32104]: arguments to dbus_message_new_method_call() were incorrect, assertion 
"path != NULL" failed in file ../../../dbus/dbus-message.c line 1362.
This is normally a bug in some application using the D-Bus library.

  D-Bus not built with -rdynamic so unable to print a backtrace
Aborted

Reply via email to