[Bug 1794292] Re: plymouthd crashed with SIGSEGV in /sbin/plymouthd:11 in ply_renderer_set_handler_for_input_source -> ply_keyboard_stop_watching_for_renderer_input -> ply_keyboard_stop_watching_for_input -> ply_device_manager_deactivate_keyboards -> on_deactivate
Mauricio Faria de Oliveira
mfo at canonical.com
Wed Apr 10 23:15:13 UTC 2019
bionic-proposed:
---------------
$ dpkg -s plymouth | grep ^Version:
Version: 0.9.3-1ubuntu7.18.04.2
$ sudo plymouthd --no-daemon --debug --kernel-command-line=splash &
[1] 1055
$ [main.c:2066] initialize_environment:initializing minimal work environment
[main.c:2080] initialize_environment:checking if '/dev/tty1' exists
[main.c:1928] check_verbosity:checking if tracing should be enabled
[main.c:1993] check_verbosity:tracing shouldn't be enabled!
[main.c:2012] check_logging:checking if console messages should be redirected and logged
[main.c:2021] check_logging:logging will be enabled!
[main.c:2093] initialize_environment:source built on Apr 4 2019
[main.c:2104] initialize_environment:Making sure /run/plymouth exists
[ply-utils.c:728] ply_create_directory:directory '/run/plymouth' already exists
[main.c:2108] initialize_environment:initialized minimal work environment
[main.c:769] get_cache_file_for_mode:returning cache file '/var/lib/plymouth//boot-duration'
[main.c:322] load_settings:Trying to load /etc/plymouth//plymouthd.conf
[ply-key-file.c:83] ply_key_file_open_file:Failed to open key file /etc/plymouth//plymouthd.conf: No such file or directory
[main.c:498] find_system_default_splash:failed to load /etc/plymouth//plymouthd.conf
[main.c:322] load_settings:Trying to load /run/plymouth/plymouthd.defaults
[ply-key-file.c:83] ply_key_file_open_file:Failed to open key file /run/plymouth/plymouthd.defaults: No such file or directory
[main.c:512] find_distribution_default_splash:failed to load /run/plymouth/plymouthd.defaults, trying /usr/share/plymouth//
[main.c:322] load_settings:Trying to load /usr/share/plymouth//plymouthd.defaults
[ply-key-file.c:83] ply_key_file_open_file:Failed to open key file /usr/share/plymouth//plymouthd.defaults: No such file or directory
[main.c:514] find_distribution_default_splash:failed to load /usr/share/plymouth//plymouthd.defaults
[main.c:926] plymouth_should_show_default_splash:checking if plymouth should show default splash
[main.c:954] plymouth_should_show_default_splash:using default splash because kernel command line has option "splash"
[ply-device-manager.c:814] create_devices_from_terminals:checking for consoles
[ply-device-manager.c:592] add_consoles_from_file:opening /sys/class/tty/console/active
[ply-device-manager.c:600] add_consoles_from_file:reading file
[ply-device-manager.c:638] add_consoles_from_file:console /dev/tty1 found!
[ply-device-manager.c:414] watch_for_udev_events:watching for udev graphics device add and remove events
[ply-device-manager.c:315] create_devices_for_subsystem:creating objects for drm devices
[main.c:2400] main:entering event loop
$
$
$ [ply-device-manager.c:850] create_devices_from_udev:Timeout elapsed, looking for devices from udev
[ply-device-manager.c:315] create_devices_for_subsystem:creating objects for drm devices
[ply-device-manager.c:315] create_devices_for_subsystem:creating objects for frame buffer devices
[ply-device-manager.c:332] create_devices_for_subsystem:found device /sys/devices/platform/efi-framebuffer.0/graphics/fb0
[ply-device-manager.c:339] create_devices_for_subsystem:device is initialized
[ply-device-manager.c:348] create_devices_for_subsystem:found node /dev/fb0
[ply-device-manager.c:262] create_devices_for_udev_device:device subsystem is graphics
[ply-device-manager.c:268] create_devices_for_udev_device:found frame buffer device /dev/fb0
[ply-device-manager.c:218] fb_device_has_drm_device:trying to find associated drm node for fb device (path: platform-efi-framebuffer.0)
[ply-device-manager.c:241] fb_device_has_drm_device:no card entry!
[ply-device-manager.c:727] create_devices_for_terminal_and_renderer_type:creating devices for /dev/fb0 (renderer type: 2) (terminal: /dev/tty1)
[ply-renderer.c:236] ply_renderer_open_plugin:trying to open renderer plugin /usr/lib/x86_64-linux-gnu/plymouth/renderers/frame-buffer.so
[./plugin.c:257] create_backend:creating renderer backend for device /dev/fb0
[ply-terminal.c:603] ply_terminal_open:trying to open terminal '/dev/tty1'
[ply-terminal.c:396] ply_terminal_refresh_geometry:looking up terminal text geometry
[ply-terminal.c:410] ply_terminal_refresh_geometry:terminal is now 100x37 text cells
[ply-terminal.c:447] get_active_vt:Remembering that initial vt is 1
[./plugin.c:506] query_device:24 bpp (8, 8, 8, 0) with rowstride 2400
[./plugin.c:273] initialize_head:initializing 800x600 head
[ply-renderer.c:256] ply_renderer_open_plugin:opened renderer plugin /usr/lib/x86_64-linux-gnu/plymouth/renderers/frame-buffer.so
[main.c:1044] on_keyboard_added:listening for keystrokes
[main.c:1048] on_keyboard_added:listening for escape
[main.c:1052] on_keyboard_added:listening for backspace
[main.c:1056] on_keyboard_added:listening for enter
[ply-device-manager.c:664] create_pixel_displays_for_renderer:Adding displays for 1 heads
[ply-terminal.c:396] ply_terminal_refresh_geometry:looking up terminal text geometry
[ply-terminal.c:410] ply_terminal_refresh_geometry:terminal is now 100x37 text cells
[ply-device-manager.c:700] create_text_displays_for_terminal:adding text display for terminal /dev/tty1
[ply-device-manager.c:332] create_devices_for_subsystem:found device /sys/devices/virtual/graphics/fbcon
[ply-device-manager.c:355] create_devices_for_subsystem:it's not initialized
$
$
$ sudo plymouth --show-splash
[ply-boot-server.c:388] print_connection_process_identity:connection is from pid 1059 (plymouth --show-splash) with parent pid 1058 (sudo plymouth --show-splash)
[ply-boot-server.c:484] ply_boot_connection_on_request:got show splash request
[main.c:896] plymouth_should_ignore_show_splash_calls:checking if plymouth should be running
[main.c:995] on_show_splash:at least one display already available, so loading splash
[main.c:926] plymouth_should_show_default_splash:checking if plymouth should show default splash
[main.c:954] plymouth_should_show_default_splash:using default splash because kernel command line has option "splash"
[main.c:528] show_default_splash:Showing splash screen
[main.c:547] show_default_splash:Trying old scheme for default splash
[main.c:1758] load_theme:Loading boot splash theme '/usr/share/plymouth/themes/default.plymouth'
[ply-key-file.c:83] ply_key_file_open_file:Failed to open key file /usr/share/plymouth/themes/default.plymouth: No such file or directory
[ply-boot-splash.c:388] ply_boot_splash_free:freeing splash
[main.c:553] show_default_splash:Could not start default splash screen,showing text splash screen
[main.c:1758] load_theme:Loading boot splash theme '/usr/share/plymouth/themes/text.plymouth'
[ply-key-file.c:171] ply_key_file_load_group:trying to load group Plymouth Theme
[ply-key-file.c:171] ply_key_file_load_group:trying to load group ubuntu-text
[ply-key-file.c:259] ply_key_file_load_groups:key file has no more groups
[./plugin.c:322] create_plugin:creating plugin
[main.c:1773] load_theme:attaching plugin to event loop
[main.c:1776] load_theme:attaching progress to plugin
[ply-boot-splash.c:174] ply_boot_splash_add_text_display:adding 100x37 text display
[ply-terminal.c:599] ply_terminal_open:terminal /dev/tty1 is already open
[ply-device-manager.c:967] ply_device_manager_activate_renderers:activating renderers
[ply-boot-splash.c:479] ply_boot_splash_show:showing splash screen
[ply-device-manager.c:1000] ply_device_manager_activate_keyboards:activating keyboards
[ply-event-loop.c:1060] ply_event_loop_handle_disconnect_for_source:calling disconnected_handler 0x558945585dd0 for fd 10
[ply-event-loop.c:1064] ply_event_loop_handle_disconnect_for_source:done calling disconnected_handler 0x558945585dd0 for fd 10
[ply-event-loop.c:1144] ply_event_loop_free_destinations_for_source:freeing destination (1, 0x558945585f30, 0x558945585dd0) of fd 10
[ply-event-loop.c:643] ply_event_loop_remove_source_node:failed to delete fd 10 from epoll watch list: Bad file descriptor
$
$
$
$ sudo modprobe cirrus
[ply-device-manager.c:378] on_udev_event:got add event for device card0
[ply-device-manager.c:262] create_devices_for_udev_device:device subsystem is drm
[ply-device-manager.c:265] create_devices_for_udev_device:found DRM device /dev/dri/card0
[ply-device-manager.c:727] create_devices_for_terminal_and_renderer_type:creating devices for /dev/dri/card0 (renderer type: 1) (terminal: none)
[ply-renderer.c:236] ply_renderer_open_plugin:trying to open renderer plugin /usr/lib/x86_64-linux-gnu/plymouth/renderers/drm.so
[./plugin.c:609] create_backend:creating renderer backend for device /dev/dri/card0
[./plugin.c:701] load_driver:Opening '/dev/dri/card0'
[./plugin.c:705] load_driver:open failed: No such file or directory
[ply-renderer.c:243] ply_renderer_open_plugin:could not open rendering device for plugin /usr/lib/x86_64-linux-gnu/plymouth/renderers/drm.so
[ply-renderer.c:287] ply_renderer_open:could not find suitable rendering plugin
[ply-device-manager.c:734] create_devices_for_terminal_and_renderer_type:could not open renderer for /dev/dri/card0
[ply-device-manager.c:378] on_udev_event:got remove event for device card0
[ply-device-manager.c:378] on_udev_event:got remove event for device fb0
[ply-event-loop.c:759] ply_event_loop_stop_watching_fd:stopping watching fd 9
[ply-event-loop.c:775] ply_event_loop_stop_watching_fd:removing destination for fd 9
[ply-renderer.c:92] ply_renderer_free:Unloading renderer backend plugin
$
$
$
$ sudo plymouth deactivate
[ply-boot-server.c:388] print_connection_process_identity:connection is from pid 1075 (plymouth deactivate) with parent pid 1074 (sudo plymouth deactivate)
[ply-boot-server.c:494] ply_boot_connection_on_request:got deactivate request
[main.c:1358] on_deactivate:deactivating
[ply-device-manager.c:1042] ply_device_manager_pause:ply_device_manager_pause() called, stopping watching for udev events
[ply-event-loop.c:759] ply_event_loop_stop_watching_fd:stopping watching fd 7
[ply-event-loop.c:775] ply_event_loop_stop_watching_fd:removing destination for fd 7
[ply-event-loop.c:784] ply_event_loop_stop_watching_fd:no more destinations remaing for fd 7, removing source
[ply-device-manager.c:1022] ply_device_manager_deactivate_keyboards:deactivating keyboards
[ply-boot-splash.c:677] ply_boot_splash_become_idle:telling splash to become idle
[main.c:1316] on_boot_splash_idle:boot splash idle
[main.c:1333] on_boot_splash_idle:deactivating splash
[main.c:1286] deactivate_console:deactivating terminal
[ply-terminal.c:672] ply_terminal_close:restoring color palette
[ply-terminal.c:676] ply_terminal_close:stop watching tty fd
[ply-event-loop.c:759] ply_event_loop_stop_watching_fd:stopping watching fd 9
[ply-event-loop.c:775] ply_event_loop_stop_watching_fd:removing destination for fd 9
[ply-event-loop.c:784] ply_event_loop_stop_watching_fd:no more destinations remaing for fd 9, removing source
[ply-terminal.c:682] ply_terminal_close:stop watching SIGWINCH signal
[ply-terminal.c:686] ply_terminal_close:setting buffered input
[ply-boot-server.c:340] ply_boot_connection_on_deactivated:deactivated
[ply-event-loop.c:1060] ply_event_loop_handle_disconnect_for_source:calling disconnected_handler 0x558945585dd0 for fd 10
[ply-event-loop.c:1064] ply_event_loop_handle_disconnect_for_source:done calling disconnected_handler 0x558945585dd0 for fd 10
[ply-event-loop.c:1144] ply_event_loop_free_destinations_for_source:freeing destination (1, 0x558945585f30, 0x558945585dd0) of fd 10
[ply-event-loop.c:643] ply_event_loop_remove_source_node:failed to delete fd 10 from epoll watch list: Bad file descriptor
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to plymouth in Ubuntu.
https://bugs.launchpad.net/bugs/1794292
Title:
plymouthd crashed with SIGSEGV in /sbin/plymouthd:11 in
ply_renderer_set_handler_for_input_source ->
ply_keyboard_stop_watching_for_renderer_input ->
ply_keyboard_stop_watching_for_input ->
ply_device_manager_deactivate_keyboards -> on_deactivate
Status in plymouth package in Ubuntu:
Fix Released
Status in plymouth source package in Bionic:
Fix Committed
Status in plymouth source package in Cosmic:
Fix Committed
Bug description:
[Impact]
plymouth has been crashing a whole bunch and notifying users about it.
[Test Case]
We don't have a specific test case but luckily :-( there are thousands of crashes in the Error Tracker about this issue. Subsequently, it should be enough to verify that the new version of plymouth doesn't appear in the following bucket:
https://errors.ubuntu.com/problem/6aa06f1bc51946c787a01d38e58bc76114555334
[Regression Potential]
The fix has to do with keyboard handling so a possible regression would be the inability to unlock your disks.
Original Description
--------------------
A green Xubuntu splash screen with a spinning circle normally appears on boot up.
Now just a blank black screen shows until the login box appears. On
logging in, the desktop appears as normal but an error message pops up
offering to report a bug to developers.
Description: Ubuntu Cosmic Cuttlefish (development branch)
Release: 18.10
All packages up-to-date as of 25 September 2018 14:00 BST
Errors Tracker:
https://errors.ubuntu.com/problem/6aa06f1bc51946c787a01d38e58bc76114555334
ProblemType: CrashDistroRelease: Ubuntu 18.10
Package: plymouth 0.9.3-1ubuntu8
ProcVersionSignature: Ubuntu 4.18.0-7.8-generic 4.18.5
Uname: Linux 4.18.0-7-generic x86_64
ApportVersion: 2.20.10-0ubuntu11
Architecture: amd64
CrashCounter: 1
Date: Tue Sep 25 13:47:47 2018
DefaultPlymouth: /usr/share/plymouth/themes/xubuntu-logo/xubuntu-logo.plymouth
ExecutablePath: /sbin/plymouthd
MachineType: Acer Veriton N280G
ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-7-generic root=UUID=ff708f10-3fbc-4fa2-b7a5-93f0dd61eb21 ro splash quiet vt.handoff=1
ProcCmdline: @sbin/plymouthd --mode=boot --pid-file=/run/plymouth/pid --attach-to-session
ProcEnviron:
LANG=en_GB.UTF-8
PATH=(custom, no user)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.18.0-7-generic root=UUID=ff708f10-3fbc-4fa2-b7a5-93f0dd61eb21 ro splash quiet vt.handoff=1
SegvAnalysis:
Segfault happened at: 0x7f05452a07f9 <ply_renderer_set_handler_for_input_source+25>: mov 0x78(%rax),%rax
PC (0x7f05452a07f9) ok
source "0x78(%rax)" (0x00000078) not located in a known VMA region (needed readable region)!
destination "%rax" ok
SegvReason: reading NULL VMA
Signal: 11SourcePackage: plymouth
StacktraceTop:
ply_renderer_set_handler_for_input_source () from /lib/x86_64-linux-gnu/libply-splash-core.so.4
ply_keyboard_stop_watching_for_input () from /lib/x86_64-linux-gnu/libply-splash-core.so.4
ply_device_manager_deactivate_keyboards () from /lib/x86_64-linux-gnu/libply-splash-core.so.4
?? ()
?? ()
TextPlymouth: /usr/share/plymouth/themes/xubuntu-text/xubuntu-text.plymouth
Title: plymouthd crashed with SIGSEGV in ply_renderer_set_handler_for_input_source()
UpgradeStatus: Upgraded to cosmic on 2018-08-21 (34 days ago)
UserGroups:
dmi.bios.date: 01/15/2011
dmi.bios.vendor: Acer
dmi.bios.version: P01-A3
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: TPDS03
dmi.board.vendor: Acer
dmi.board.version: To be filled by O.E.M.
dmi.chassis.type: 3
dmi.chassis.vendor: Acer
dmi.chassis.version: To Be Filled By O.E.M.
dmi.modalias: dmi:bvnAcer:bvrP01-A3:bd01/15/2011:svnAcer:pnVeritonN280G:pvrToBeFilledByO.E.M.:rvnAcer:rnTPDS03:rvrTobefilledbyO.E.M.:cvnAcer:ct3:cvrToBeFilledByO.E.M.:
dmi.product.family: Acer Desktop
dmi.product.name: Veriton N280G
dmi.product.sku: To Be Filled By O.E.M.
dmi.product.version: To Be Filled By O.E.M.
dmi.sys.vendor: Acer
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plymouth/+bug/1794292/+subscriptions
More information about the foundations-bugs
mailing list