[Pkg-xfce-devel] Bug#892290: Bug#892290: light-locker: at unlock, crash with: arguments to dbus_message_new_method_call() were incorrect

Stuart Pook slp587437 at pook.it
Sat Mar 10 17:30:49 UTC 2018


On 10/03/18 15:26, Yves-Alexis Perez wrote:
> On Sat, 2018-03-10 at 10:20 +0100, Stuart Pook wrote:
>> light-locker crashes at unlock every time I run it from the command line.
> 
> And did it work before or is it the first time you tried?

This the first time that I tried.

> You can also edit the configuration (using dconf-editor for example) and I
> think it should refresh it dynamically.

ok (perhaps it could print that just before it crashes ;-) )

I'll get a full stack trace next time.

:; gdb $(type -p light-locker)
GNU gdb (Debian 7.12-6+b1) 7.12.0.20161007-git
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/light-locker...Reading symbols from /usr/lib/debug/.build-id/e0/45019311f6cb6efe20e0fcd299a4f1d8ed64b0.debug...done.
done.
(gdb) define f
Type commands for definition of "f".
End with a line saying just "end".
>run  --debug
>where
>kill
>end
(gdb) f
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffedcf0700 (LWP 11063)]
[New Thread 0x7fffed4ef700 (LWP 11064)]
[New Thread 0x7fffecab8700 (LWP 11065)]
[gs_debug_init] gs-debug.c:106 (10:18:51):	 Debugging enabled
[main] light-locker.c:142 (10:18:51):	 initializing light-locker 1.8.0
[main] light-locker.c:164 (10:18:51):	 Platform:
gtk:        3
systemd:    yes
ConsoleKit: yes
UPower:     yes
[main] light-locker.c:196 (10:18:51):	 Features:
lock-after-screensaver: yes
late-locking:           yes
lock-on-suspend:        yes
lock-on-lid:            yes
settings backend:       GSETTINGS
[main] light-locker.c:198 (10:18:51):	 lock after screensaver 3600
[main] light-locker.c:199 (10:18:51):	 late locking 0
[main] light-locker.c:200 (10:18:51):	 lock on suspend 1
[main] light-locker.c:201 (10:18:51):	 lock on lid 0
[main] light-locker.c:202 (10:18:51):	 idle hint 0
[query_session_id] gs-listener-dbus.c:2101 (10:18:51):	 org.freedesktop.login1.NoSessionForPID raised:
  PID 11059 does not belong to any known session


[init_session_id] gs-listener-dbus.c:2193 (10:18:51):	 Got session-id: (null)
[query_sd_session_id] gs-listener-dbus.c:2177 (10:18:51):	 Couldn't determine our own sd session id: No data available
[init_session_id] gs-listener-dbus.c:2198 (10:18:51):	 Got sd-session-id: (null)
[init_seat_path] gs-listener-dbus.c:2279 (10:18:51):	 Got seat: /org/freedesktop/DisplayManager/Seat0
[gs_listener_delay_suspend] gs-listener-dbus.c:449 (10:18:51):	 Delay suspend
[gs_listener_x11_acquire] gs-listener-x11.c:172 (10:18:51):	 ScreenSaver Registered
[listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (10:18:51):	 obj_path=/org/freedesktop/DBus interface=org.freedesktop.DBus method=NameAcquired destination=:1.1875
[xroot_filter] gs-listener-x11.c:131 (12:16:55):	 ScreenSaver started
[listener_x11_blanking_changed_cb] gs-monitor.c:454 (12:16:55):	 Blanking changed: 1
[gs_manager_timed_lock] gs-manager.c:488 (12:16:55):	 Start lock timer
[gs_listener_send_signal_active_changed] gs-listener-dbus.c:310 (12:16:55):	 Sending the ActiveChanged(TRUE) signal on the session bus
[xroot_filter] gs-listener-x11.c:124 (12:50:07):	 ScreenSaver stopped
[listener_x11_blanking_changed_cb] gs-monitor.c:454 (12:50:07):	 Blanking changed: 0
[gs_manager_stop_lock] gs-manager.c:499 (12:50:07):	 Stop lock timer
[gs_listener_send_signal_active_changed] gs-listener-dbus.c:310 (12:50:07):	 Sending the ActiveChanged(FALSE) signal on the session bus
[xroot_filter] gs-listener-x11.c:131 (13:04:56):	 ScreenSaver started
[listener_x11_blanking_changed_cb] gs-monitor.c:454 (13:04:56):	 Blanking changed: 1
[gs_manager_timed_lock] gs-manager.c:488 (13:04:56):	 Start lock timer
[gs_listener_send_signal_active_changed] gs-listener-dbus.c:310 (13:04:56):	 Sending the ActiveChanged(TRUE) signal on the session bus
[xroot_filter] gs-listener-x11.c:124 (13:05:07):	 ScreenSaver stopped
[listener_x11_blanking_changed_cb] gs-monitor.c:454 (13:05:07):	 Blanking changed: 0
[gs_manager_stop_lock] gs-manager.c:499 (13:05:07):	 Stop lock timer
[gs_listener_send_signal_active_changed] gs-listener-dbus.c:310 (13:05:07):	 Sending the ActiveChanged(FALSE) signal on the session bus
[xroot_filter] gs-listener-x11.c:131 (13:47:20):	 ScreenSaver started
[listener_x11_blanking_changed_cb] gs-monitor.c:454 (13:47:20):	 Blanking changed: 1
[gs_manager_timed_lock] gs-manager.c:488 (13:47:20):	 Start lock timer
[gs_listener_send_signal_active_changed] gs-listener-dbus.c:310 (13:47:20):	 Sending the ActiveChanged(TRUE) signal on the session bus
[xroot_filter] gs-listener-x11.c:124 (13:47:22):	 ScreenSaver stopped
[listener_x11_blanking_changed_cb] gs-monitor.c:454 (13:47:22):	 Blanking changed: 0
[gs_manager_stop_lock] gs-manager.c:499 (13:47:22):	 Stop lock timer
[gs_listener_send_signal_active_changed] gs-listener-dbus.c:310 (13:47:22):	 Sending the ActiveChanged(FALSE) signal on the session bus
[xroot_filter] gs-listener-x11.c:131 (15:05:40):	 ScreenSaver started
[listener_x11_blanking_changed_cb] gs-monitor.c:454 (15:05:40):	 Blanking changed: 1
[gs_manager_timed_lock] gs-manager.c:488 (15:05:40):	 Start lock timer
[gs_listener_send_signal_active_changed] gs-listener-dbus.c:310 (15:05:40):	 Sending the ActiveChanged(TRUE) signal on the session bus
[lock_timeout] gs-manager.c:468 (16:05:40):	 Lock timeout
[gs_grab_grab_root] gs-grab-x11.c:647 (16:05:40):	 Grabbing the root window
[gs_grab_get_keyboard] gs-grab-x11.c:153 (16:05:40):	 Grabbing keyboard widget=DF
[gs_grab_get_mouse] gs-grab-x11.c:213 (16:05:40):	 Grabbing mouse widget=DF
[gs_manager_create_windows_for_screen] gs-manager.c:548 (16:05:40):	 Creating 1 windows for screen 0
[gs_manager_create_window_for_monitor] gs-manager.c:324 (16:05:40):	 Creating window for monitor 0 [0,0] (1920x1200)
[update_geometry] gs-window-x11.c:197 (16:05:40):	 got geometry for monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:210 (16:05:40):	 using geometry for monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:197 (16:05:40):	 got geometry for monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:210 (16:05:40):	 using geometry for monitor 0: x=0 y=0 w=1920 h=1200
[gs_window_move_resize_window] gs-window-x11.c:243 (16:05:40):	 Move and/or resize window on monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:197 (16:05:40):	 got geometry for monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:210 (16:05:40):	 using geometry for monitor 0: x=0 y=0 w=1920 h=1200
[gs_window_move_resize_window] gs-window-x11.c:243 (16:05:40):	 Move and/or resize window on monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:197 (16:05:40):	 got geometry for monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:210 (16:05:40):	 using geometry for monitor 0: x=0 y=0 w=1920 h=1200
[gs_window_move_resize_window] gs-window-x11.c:243 (16:05:40):	 Move and/or resize window on monitor 0: x=0 y=0 w=1920 h=1200
[gs_window_xevent] gs-window-x11.c:369 (16:05:40):	 not raising our windows
[window_map_event_cb] gs-manager.c:233 (16:05:40):	 Handling window map_event event
[gs_listener_resume_suspend] gs-listener-dbus.c:513 (16:05:40):	 Resume suspend: fd=14
[manager_maybe_grab_window] gs-manager.c:204 (16:05:40):	 Moving grab to 0x555555a784c0
[gs_grab_move_keyboard] gs-grab-x11.c:450 (16:05:40):	 Moving keyboard grab from DF to 380000C
[gs_grab_move_keyboard] gs-grab-x11.c:457 (16:05:40):	 *** doing X server grab
[gs_grab_release_keyboard] gs-grab-x11.c:279 (16:05:40):	 Ungrabbing keyboard
[gs_grab_get_keyboard] gs-grab-x11.c:153 (16:05:40):	 Grabbing keyboard widget=380000C
[gs_grab_move_keyboard] gs-grab-x11.c:479 (16:05:40):	 *** releasing X server grab
[gs_grab_move_mouse] gs-grab-x11.c:395 (16:05:40):	 Moving pointer grab from DF to 380000C
[gs_grab_move_mouse] gs-grab-x11.c:402 (16:05:40):	 *** doing X server grab
[gs_grab_release_mouse] gs-grab-x11.c:320 (16:05:40):	 Ungrabbing pointer
[gs_grab_get_mouse] gs-grab-x11.c:213 (16:05:40):	 Grabbing mouse widget=380000C
[gs_grab_move_mouse] gs-grab-x11.c:425 (16:05:40):	 *** releasing X server grab
[listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:05:40):	 obj_path=/org/freedesktop/login1 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null)
[update_geometry] gs-window-x11.c:197 (16:05:40):	 got geometry for monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:210 (16:05:40):	 using geometry for monitor 0: x=0 y=0 w=1920 h=1200
[gs_window_move_resize_window] gs-window-x11.c:243 (16:05:40):	 Move and/or resize window on monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:197 (16:05:40):	 got geometry for monitor 0: x=0 y=0 w=1920 h=1200
[update_geometry] gs-window-x11.c:210 (16:05:40):	 using geometry for monitor 0: x=0 y=0 w=1920 h=1200
[gs_window_move_resize_window] gs-window-x11.c:243 (16:05:40):	 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 (16:05:41):	 Send lock session
[listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:05:41):	 obj_path=(null) interface=(null) method=(null) destination=:1.1875
[listener_dbus_handle_system_message] gs-listener-dbus.c:1343 (16:05:41):	 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 (16:05:41):	 obj_path=/org/freedesktop/login1/seat/seat0 interface=org.freedesktop.DBus.Properties method=PropertiesChanged destination=(null)
dbus[11059]: 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

Thread 1 "light-locker" received signal SIGABRT, Aborted.
__GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
#0  0x00007ffff4f7be7b in __GI_raise (sig=sig at entry=6)
     at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff4f7d231 in __GI_abort () at abort.c:79
#2  0x00007ffff5f3d9c4 in _dbus_abort ()
     at /lib/x86_64-linux-gnu/libdbus-1.so.3
#3  0x00007ffff5f34260 in _dbus_strdup ()
     at /lib/x86_64-linux-gnu/libdbus-1.so.3
#4  0x00007ffff5f240e1 in dbus_message_new_method_call ()
     at /lib/x86_64-linux-gnu/libdbus-1.so.3
#5  0x00005555555604f6 in query_session_active (listener=0x555555801500)
     at gs-listener-dbus.c:1135
#6  0x00005555555604f6 in listener_dbus_handle_system_message (local_interface=0, user_data=<optimized out>, message=0x555555812f10, connection=<optimized out>) at gs-listener-dbus.c:1373
#7  0x00005555555604f6 in listener_dbus_system_filter_function (connection=<optimized out>, message=0x555555812f10, user_data=<optimized out>)
     at gs-listener-dbus.c:1634
#8  0x00007ffff5f1b1ad in dbus_connection_dispatch ()
     at /lib/x86_64-linux-gnu/libdbus-1.so.3
#9  0x00007ffff6170e55 in  () at /usr/lib/x86_64-linux-gnu/libdbus-glib-1.so.2
---Type <return> to continue, or q <return> to quit---Exception ignored in: <gdb.GdbOutputFile object at 0x7fbff5128208>
Traceback (most recent call last):
   File "/usr/share/gdb/python/gdb/__init__.py", line 43, in flush
     def flush(self):
KeyboardInterrupt



More information about the Pkg-xfce-devel mailing list