[lucid] breaks apport: core dumps get aborted even if core_pattern is a pipe
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
High
|
Andy Whitcroft | ||
Lucid |
Fix Released
|
High
|
Andy Whitcroft |
Bug Description
Current lucid kernel does not work with apport crash detection any more. Previous kernels ignored RLIMIT_CORE if /proc/sys/
Now this does not seem to work any more.
$ bash -c 'kill -SEGV $$'
Segmentation fault
Notice no "(core dumped)", and dmesg says:
Dec 19 16:02:45 tick kernel: [54640.971006] Process 19685(bash) has RLIMIT_CORE set to 0
Dec 19 16:02:45 tick kernel: [54640.971013] Aborting core
An alternative reproducer is calling the kernel core dump crash detection part of apport's test suite:
$ /usr/share/
* empty core dumps do not generate a report
* check test process creation/killing with apport
Traceback (most recent call last):
File "/usr/share/
check_crash()
File "/usr/share/
assert os.WCOREDUMP(
AssertionError: result: 0x0B should include WCOREDUMP
ProblemType: Bug
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Architecture: amd64
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: STAC92xx Analog [STAC92xx Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xefebc000 irq 21'
Mixer name : 'SigmaTel STAC9200'
Components : 'HDA:83847690,
Controls : 7
Simple ctrls : 5
Date: Sat Dec 19 16:04:20 2009
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Alpha amd64 (20091209)
MachineType: Dell Inc. Latitude D430
Package: linux-image-
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
ProcVersionSign
Regression: Yes
RelatedPackageV
Reproducible: Yes
SourcePackage: linux
Tags: lucid needs-upstream-
TestedUpstream: No
Uname: Linux 2.6.32-8-generic x86_64
dmi.bios.date: 05/21/2007
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A00
dmi.board.name: 0HU754
dmi.board.vendor: Dell Inc.
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.
dmi.product.name: Latitude D430
dmi.sys.vendor: Dell Inc.
Related branches
Changed in linux (Ubuntu Lucid): | |
status: | New → Triaged |
Changed in linux (Ubuntu Lucid): | |
assignee: | Canonical Kernel Team (canonical-kernel-team) → Andy Whitcroft (apw) |
Changed in linux (Ubuntu Lucid): | |
status: | Triaged → In Progress |
Changed in linux (Ubuntu Lucid): | |
status: | In Progress → Fix Committed |
Changed in linux (Ubuntu Lucid): | |
status: | Fix Committed → In Progress |
I take the liberty to bump priority on this, since it stops us from getting important crash notifications throughout the distro.