Closed Harry-W-Haines-III closed 4 months ago
My packages aren't fully updated. As of right now I do get a pause in step 4. But no crash when opening an user/account settings.
Looking at the cause of the pause, it appears to be caused by the w
application (as your own log message suggested). The application calls w -sh $USER
. It appears that w -s
results now in a SIGSEGV.
This seems to be a known problem on the Ubuntu 24.04 base.
https://bugs.launchpad.net/ubuntu/+source/procps/+bug/2067250 https://gitlab.com/procps-ng/procps/-/issues/301
Having now updated my Mint22-Cinnamon system to the latest packages, repeating steps 1 through 8 does indeed cause the crash and errors you mentioned previously. So this issue is likely related to a recent update.
(I have a snapshot and can fetch my before/after package versions if and when requested.)
Fixed by 86c071cde5ec8325f278ae4341810c969d4eb88e
What was 86c071cde5ec8325f278ae4341810c969d4eb88e?
Sorry, forgot this wasn't the cinnamon repo.
Thanks!
How to reproduce:
Do a an install to a hard drive and update everything (making sure all the latest changes are applied).
Go to System Settings.
Go to Users and Groups.
Click on the current account (notice while doing this, there a small segfault going on in the background).
Right after [COMMAND=/usr/share/cinnamon/cinnamon-settings-users/cinnamon-settings-users.py] in the syslog but not logged in System Reports | Crash Reports. Jul 07 15:56:15 powerbar systemd-coredump[4875]: [🡕] Process 4873 (w) of user 0 dumped core.
Change the account picture to something else from the black & white default.
In this case used chess pieces.
Close the window.
In a terminal window type "cinnamon-settings user"
Observe the Python error messages.
Using PAM module (python3-pam) /usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py:458: DeprecationWarning: Gtk.Window.set_wmclass is deprecated self.window.set_wmclass(wm_class, wm_class) Loading User module Traceback (most recent call last): File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 811, in
window = MainWindow()
^^^^^^^^^^^^
File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 330, in init
if self.load_sidepage_as_standalone():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 464, in load_sidepage_as_standalone
self.go_to_sidepage(sp_data.sp, user_action=False)
File "/usr/share/cinnamon/cinnamon-settings/cinnamon-settings.py", line 185, in go_to_sidepage
sidePage.build()
File "/usr/share/cinnamon/cinnamon-settings/bin/SettingsWidgets.py", line 212, in build
self.module.on_module_selected()
File "/usr/share/cinnamon/cinnamon-settings/modules/cs_user.py", line 56, in on_module_selected
self.face_button = PictureChooserButton(num_cols=4, button_picture_width=64, menu_picture_width=64*self.scale, keep_square=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: PictureChooserButton.init() got an unexpected keyword argument 'button_picture_width'
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 228, in partial_apport_excepthook
return apport_excepthook(binary, exc_type, exc_obj, exc_tb)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 144, in apport_excepthook
os.open(pr_filename, os.O_WRONLY | os.O_CREAT | os.O_EXCL, 0o640), "wb"
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
PermissionError: [Errno 13] Permission denied: '/var/crash/_usr_share_cinnamon_cinnamon-settings_cinnamon-settings.py.1000.crash'
-- Could this be caused by something as simple as an apparmor issue?