makedumpfile fails with segfault

Bug #1441042 reported by Louis Bouchard on 2015-04-07
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
makedumpfile (Ubuntu)
Medium
Unassigned
Trusty
Medium
Louis Bouchard

Bug Description

[SRU justification]
Makedumpfile execution fails with segmentation fault when used on systems using UEFI

[Impact]
Impossible to capture kernel dump

[Fix]
Cherry-pick upstream fixes that address the issue

[Test Case]
Run a kernel crash test un a system using UEFI. Without this fix, execution of makedumpfile will fails with segmentation fault

[Regression]
Those fixes are already in use in Utopic and Vivid

[Original description of the problem]

System: Ubuntu 14.04 LTS
Kernel: 3.16.0-31.43
kexec-tools: 2.0.7-1ubuntu2 (amd64)
makedumpfile: 1.5.5-2ubuntu1.1

This problem has been fixed by following patches on makedumpfile V1.5.6.

[PATCH] memset() in cyclic bitmap initialization introduce segment fault.
http://sourceforge.net/p/makedumpfile/code/ci/4404368a0860e3b6c845eb41782e97a9bf7593b8/

[PATCH v3] Fix a segment fault in dumping not aligned ELF segment.
http://sourceforge.net/p/makedumpfile/code/ci/3961a4440dd04931ce980ef7d6b9b18b88dd8fe3/

Louis Bouchard (louis) wrote :

Fixed in Utopic and onward. Needs a fix for trusty though

Changed in makedumpfile (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → Invalid
Changed in makedumpfile (Ubuntu Trusty):
status: New → Confirmed
importance: Undecided → Medium
assignee: nobody → Louis Bouchard (louis-bouchard)
Louis Bouchard (louis) wrote :

Both fixes are now in Utopic & Vivid. The fix is only required for Trusty

Changed in makedumpfile (Ubuntu Trusty):
status: Confirmed → In Progress
Louis Bouchard (louis) on 2015-04-13
description: updated

Hello Louis, or anyone else affected,

Accepted makedumpfile into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/makedumpfile/1.5.5-2ubuntu1.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in makedumpfile (Ubuntu Trusty):
status: In Progress → Fix Committed
tags: added: verification-needed
Louis Bouchard (louis) wrote :

Tested on the hardware from where the bug originated

tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package makedumpfile - 1.5.5-2ubuntu1.2

---------------
makedumpfile (1.5.5-2ubuntu1.2) trusty-proposed; urgency=medium

  * debian/patches/0003-fix-memset-in-cyclic-bitmap-initialization-segfault.patch
    debian/patches/0004-Fix-a-segment-fault-in-dumping-not-aligned.patch
    - Fix segmentation fault when small PT_LOAD is generated (LP: #1441042)
 -- Louis Bouchard <email address hidden> Tue, 07 Apr 2015 11:04:39 +0200

Changed in makedumpfile (Ubuntu Trusty):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for makedumpfile has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers