[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:06 UTC 2019
bionic-updates
--------------
$ dpkg -s plymouth | grep ^Version:
Version: 0.9.3-1ubuntu7.18.04.1
$ sudo plymouthd --no-daemon --debug --kernel-command-line=splash &
[1] 1092
$ [main.c:2063] initialize_environment:initializing minimal work environment
[main.c:2077] initialize_environment:checking if '/dev/tty1' exists
[main.c:1925] check_verbosity:checking if tracing should be enabled
[main.c:1990] check_verbosity:tracing shouldn't be enabled!
[main.c:2009] check_logging:checking if console messages should be redirected and logged
[main.c:2018] check_logging:logging will be enabled!
[main.c:2090] initialize_environment:source built on Sep 11 2018
[main.c:2101] initialize_environment:Making sure /run/plymouth exists
[ply-utils.c:728] ply_create_directory:directory '/run/plymouth' already exists
[main.c:2105] 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:766] create_devices_from_terminals:checking for consoles
[ply-device-manager.c:544] add_consoles_from_file:opening /sys/class/tty/console/active
[ply-device-manager.c:552] add_consoles_from_file:reading file
[ply-device-manager.c:590] add_consoles_from_file:console /dev/tty1 found!
[ply-device-manager.c:378] watch_for_udev_events:watching for udev graphics device add and remove events
[ply-device-manager.c:282] create_devices_for_subsystem:creating objects for drm devices
[main.c:2397] main:entering event loop
$
$
$ [ply-device-manager.c:795] create_devices_from_udev:Timeout elapsed, looking for devices from udev
[ply-device-manager.c:282] create_devices_for_subsystem:creating objects for drm devices
[ply-device-manager.c:282] create_devices_for_subsystem:creating objects for frame buffer devices
[ply-device-manager.c:299] create_devices_for_subsystem:found device /sys/devices/platform/efi-framebuffer.0/graphics/fb0
[ply-device-manager.c:306] create_devices_for_subsystem:device is initialized
[ply-device-manager.c:315] create_devices_for_subsystem:found node /dev/fb0
[ply-device-manager.c:229] create_devices_for_udev_device:device subsystem is graphics
[ply-device-manager.c:235] create_devices_for_udev_device:found frame buffer device /dev/fb0
[ply-device-manager.c:185] fb_device_has_drm_device:trying to find associated drm node for fb device (path: platform-efi-framebuffer.0)
[ply-device-manager.c:208] fb_device_has_drm_device:no card entry!
[ply-device-manager.c:679] 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:616] 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:652] create_text_displays_for_terminal:adding text display for terminal /dev/tty1
[ply-device-manager.c:299] create_devices_for_subsystem:found device /sys/devices/virtual/graphics/fbcon
[ply-device-manager.c:322] 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 1095 (plymouth --show-splash) with parent pid 1094 (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:1755] 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:1755] 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:1770] load_theme:attaching plugin to event loop
[main.c:1773] 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:912] ply_device_manager_activate_renderers:activating renderers
[ply-boot-splash.c:479] ply_boot_splash_show:showing splash screen
[ply-device-manager.c:945] ply_device_manager_activate_keyboards:activating keyboards
[ply-event-loop.c:1060] ply_event_loop_handle_disconnect_for_source:calling disconnected_handler 0x5636e92ccd20 for fd 10
[ply-event-loop.c:1064] ply_event_loop_handle_disconnect_for_source:done calling disconnected_handler 0x5636e92ccd20 for fd 10
[ply-event-loop.c:1144] ply_event_loop_free_destinations_for_source:freeing destination (1, 0x5636e92cce80, 0x5636e92ccd20) 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:345] on_udev_event:got remove event for device fb0
[ply-renderer.c:92] ply_renderer_free:Unloading renderer backend plugin
$ [ply-device-manager.c:345] on_udev_event:got add event for device card0
[ply-device-manager.c:229] create_devices_for_udev_device:device subsystem is drm
[ply-device-manager.c:232] create_devices_for_udev_device:found DRM device /dev/dri/card0
[ply-device-manager.c:679] 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:686] create_devices_for_terminal_and_renderer_type:could not open renderer for /dev/dri/card0
[ply-device-manager.c:345] on_udev_event:got remove event for device card0
$
$
$ sudo plymouth deactivate
[ply-boot-server.c:388] print_connection_process_identity:connection is from pid 1112 (plymouth deactivate) with parent pid 1111 (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:967] ply_device_manager_deactivate_keyboards:deactivating keyboards
error: unexpectedly disconnected from boot status daemon
[1]+ Segmentation fault sudo plymouthd --no-daemon --debug --kernel-command-line=splash
$ ls /var/crash/
_sbin_plymouthd.0.crash
$ sudo apport-unpack /var/crash/_sbin_plymouthd.0.crash temp
$ wget http://ddebs.ubuntu.com/pool/main/p/plymouth/{plymouth,libplymouth4}-dbgsym_0.9.3-1ubuntu7.18.04.1_amd64.ddeb
$ sudo dpkg -i {plymouth,libplymouth4}-dbgsym_0.9.3-1ubuntu7.18.04.1_amd64.ddeb
$ sudo apt-get -y install gdb
$ gdb -q -ex 'bt' -ex 'quit' /sbin/plymouthd temp/CoreDump
Reading symbols from /sbin/plymouthd...Reading symbols from /usr/lib/debug/.build-id/79/6fb042e1cd21dc805bb47f9ba706fbd9796296.debug...done.
done.
[New LWP 1093]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `@lymouthd --no-daemon --debug --kernel-command-line=splash'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007fdf0ef68f09 in ply_renderer_set_handler_for_input_source (renderer=<optimized out>, input_source=0x5636eaefc2a0, handler=0x0, user_data=0x0) at ply-renderer.c:406
406 ply-renderer.c: No such file or directory.
#0 0x00007fdf0ef68f09 in ply_renderer_set_handler_for_input_source (renderer=<optimized out>, input_source=0x5636eaefc2a0, handler=0x0, user_data=0x0) at ply-renderer.c:406
#1 0x00007fdf0ef62cbf in ply_keyboard_stop_watching_for_renderer_input (keyboard=0x5636eaefc6a0) at ply-keyboard.c:319
#2 ply_keyboard_stop_watching_for_input (keyboard=keyboard at entry=0x5636eaefc6a0) at ply-keyboard.c:406
#3 0x00007fdf0ef6221b in ply_device_manager_deactivate_keyboards (manager=0x5636eaeff6d0) at ply-device-manager.c:976
#4 0x00005636e92d3ec3 in on_deactivate (state=0x7fff1c458390, deactivate_trigger=<optimized out>) at main.c:1361
#5 0x00005636e92cdb9b in ply_boot_connection_on_request (connection=0x5636eaf12360) at ply-boot-server.c:504
#6 0x00007fdf0f177fbe in ply_event_loop_handle_met_status_for_source (status=<optimized out>, source=0x5636eaf11970, loop=0x5636eaefa3a0) at ply-event-loop.c:1034
#7 ply_event_loop_process_pending_events (loop=loop at entry=0x5636eaefa3a0) at ply-event-loop.c:1279
#8 0x00007fdf0f178480 in ply_event_loop_run (loop=0x5636eaefa3a0) at ply-event-loop.c:1310
#9 0x00005636e92cb514 in main (argc=4, argv=0x7fff1c459588) at main.c:2398
--
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