[Bug 2120247] Re: stack smashing detected

Simon Johnsson 2120247 at bugs.launchpad.net
Fri Sep 26 14:02:33 UTC 2025


Hi Shehab! Thank you for your bug report and helping to make Ubuntu
better. In order to help us better work out what has happened here,
could you attach the files located in "/var/log/dist-upgrade/" to this
bug report?

All the best,
Simon

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2120247

Title:
  stack smashing detected

Status in ubuntu-release-upgrader package in Ubuntu:
  Incomplete

Bug description:
  Progress: [ 50%]
  *** stack smashing detected ***: terminated
  dpkg: error: error executing hook 'if { test "$DPKG_HOOK_ACTION" = add-architecture || test "$DPKG_HOOK_ACTION" = remove-architecture; } && test -x /usr/share/pkg-config-dpkghook; then /usr/share/pkg-config-dpkghook update; fi', exit code 6
  *** stack smashing detected ***: terminated
  Exception during pm.DoInstall():  E:Sub-process /usr/bin/dpkg returned an error code (2), E:Problem executing scripts DPkg::Post-Invoke 'test -x /usr/lib/needrestart/apt-pinvoke && /usr/lib/needrestart/apt-pinvoke || true', E:Sub-process returned an error code

  Could not install the upgrades

  The upgrade has aborted. Your system could be in an unusable state. A
  recovery will run now (dpkg --configure -a).

  Please report this bug in a browser at
  http://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+filebug
  and attach the files in /var/log/dist-upgrade/ to the bug report.
  E:Sub-process /usr/bin/dpkg returned an error code (2), E:Problem
  executing scripts DPkg::Post-Invoke 'test -x
  /usr/lib/needrestart/apt-pinvoke && /usr/lib/needrestart/apt-pinvoke
  || true', E:Sub-process returned an error code

  
  Upgrade incomplete

  The upgrade has partially completed but there were errors during the
  upgrade process.

  
  ========================================================
  I am trying to upgrade ubuntu 22.04 to ubuntu 24.04 with
  command do-release-upgrade.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2120247/+subscriptions




More information about the foundations-bugs mailing list