2007-06-08 06:32:41 |
Martin Pitt |
bug |
|
|
added bug |
2007-06-08 06:49:36 |
Martin Pitt |
linux-source-2.6.22: importance |
Undecided |
High |
|
2007-06-08 06:49:36 |
Martin Pitt |
linux-source-2.6.22: statusexplanation |
|
For comparison, this is how it looks like on 2.6.20:
$ ulimit -c
0
$ bash -c 'kill -SEGV $$'
Segmentation fault (core dumped)
$ ls -l /tmp/env /tmp/crash
-rw-r--r-- 1 root root 909312 2007-06-08 08:45 /tmp/crash
-rw-r--r-- 1 root root 143 2007-06-08 08:45 /tmp/env
$ grep RLIM /tmp/env
CORE_REAL_RLIM=0
So by default the entire core dump is piped and CORE_REAL_RLIM is 0.
For 'ulimit -S -c 50', CORE_REAL_RLIM is 51200. 2.6.20 does not cap the piped core dump to 50 KB as the current 2.6.22 seems to do; this is correct behaviour since we want the entire core dump for apport, we just want to clip the written core files to 50 KB. |
|
2007-06-08 07:04:03 |
Martin Pitt |
linux-source-2.6.22: status |
Unconfirmed |
Confirmed |
|
2007-06-08 07:04:03 |
Martin Pitt |
linux-source-2.6.22: statusexplanation |
For comparison, this is how it looks like on 2.6.20:
$ ulimit -c
0
$ bash -c 'kill -SEGV $$'
Segmentation fault (core dumped)
$ ls -l /tmp/env /tmp/crash
-rw-r--r-- 1 root root 909312 2007-06-08 08:45 /tmp/crash
-rw-r--r-- 1 root root 143 2007-06-08 08:45 /tmp/env
$ grep RLIM /tmp/env
CORE_REAL_RLIM=0
So by default the entire core dump is piped and CORE_REAL_RLIM is 0.
For 'ulimit -S -c 50', CORE_REAL_RLIM is 51200. 2.6.20 does not cap the piped core dump to 50 KB as the current 2.6.22 seems to do; this is correct behaviour since we want the entire core dump for apport, we just want to clip the written core files to 50 KB. |
|
|
2007-06-08 12:28:19 |
Ben Collins |
linux-source-2.6.22: status |
Confirmed |
In Progress |
|
2007-06-08 12:28:19 |
Ben Collins |
linux-source-2.6.22: assignee |
|
ben-collins |
|
2007-06-14 12:44:36 |
Ben Collins |
linux-source-2.6.22: status |
In Progress |
Fix Committed |
|
2007-06-14 12:44:36 |
Ben Collins |
linux-source-2.6.22: statusexplanation |
|
Cheers |
|
2007-06-26 07:15:15 |
Martin Pitt |
linux-source-2.6.22: status |
Fix Committed |
Fix Released |
|
2007-06-26 07:15:15 |
Martin Pitt |
linux-source-2.6.22: statusexplanation |
Cheers |
Confirming that 2.6.22-7 fixes the problem, the entire test suite passes now. Thanks! |
|