The stacktrace in errors.ubuntu.com is great, it gives us some better
context to this issue:

The debconf-helper failed to copy this string to the debconf socket:
"10 Template type already set\n\0"

The stacktrace also gives us some stale memory contents:
"ered is not valid. The password used must be \nbetween 8 and 16 
characters.\n\n\0"

That presumably comes from the MOK enrollment when installing Nvidia
drivers. I'm not familiar with the process, but I've found resources
online saying that when installing the nvidia drivers on an secure-boot
system debconf will prompt the user asking to configure a password.

Knowing that the debconf helper in pkcon is broken on Wayland (bug
2086773), my guess would be that after failing to request a password
from the user, the other side of the socket closed communication which
resulted in EOF when the debconf helper tried to write some more, and
thus this crash.

If that's the case, fixing bug 2086773 would also fix the underlying
issue which triggered this bug.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to packagekit in Ubuntu.
https://bugs.launchpad.net/bugs/2081604

Title:
  pk-debconf-helper crashed with SIGSEGV in
  pk_client_helper_copy_stdout_cb()

Status in packagekit package in Ubuntu:
  New

Bug description:
  random crash after installing Ubuntu 24.10 Beta

  ProblemType: Crash
  DistroRelease: Ubuntu 24.10
  Package: packagekit 1.3.0-1
  ProcVersionSignature: Ubuntu 6.11.0-7.7-generic 6.11.0-rc7
  Uname: Linux 6.11.0-7-generic x86_64
  ApportVersion: 2.30.0-0ubuntu2
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: ubuntu:GNOME
  Date: Sat Sep 21 21:56:45 2024
  ExecutablePath: /usr/libexec/pk-debconf-helper
  InstallationDate: Installed on 2024-09-21 (0 days ago)
  InstallationMedia: Ubuntu 24.10 "Oracular Oriole" - Beta amd64 (20240919)
  JournalErrors:
   sept. 21 21:56:41 hostname xdg-desktop-por[3252]: Could not find 
WebExtensions backend: Could not find native messaging host
   sept. 21 21:56:46 hostname systemd[2292]: pk-debconf-helper.service: Main 
process exited, code=dumped, status=11/SEGV
   sept. 21 21:56:46 hostname systemd[2292]: pk-debconf-helper.service: Failed 
with result 'core-dump'.
  ProcCmdline: /usr/libexec/pk-debconf-helper
  ProcEnviron:
   LANG=fr_FR.UTF-8
   PATH=(custom, no user)
   SHELL=/bin/bash
   XDG_RUNTIME_DIR=<set>
  SegvAnalysis:
   Segfault happened at: 0x77e2f8a5b318:        mov    0x8(%rax),%rcx
   PC (0x77e2f8a5b318) ok
   source "0x8(%rax)" (0x00000008) not located in a known VMA region (needed 
readable region)!
   destination "%rcx" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SignalName: SIGSEGV
  SourcePackage: packagekit
  StacktraceTop:
   ?? () from /lib/x86_64-linux-gnu/libpackagekit-glib2.so.18
   ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   ?? ()
  Title: pk-debconf-helper crashed with SIGSEGV in g_main_loop_run()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sudo users
  modified.conffile..etc.dbus-1.system.d.org.freedesktop.PackageKit.conf: 
[deleted]
  separator:

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/packagekit/+bug/2081604/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to