Hello community, here is the log from the commit of package crash for openSUSE:Factory checked in at 2013-11-22 17:38:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/crash (Old) and /work/SRC/openSUSE:Factory/.crash.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "crash" Changes: -------- --- /work/SRC/openSUSE:Factory/crash/crash.changes 2013-09-13 14:45:42.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.crash.new/crash.changes 2013-11-22 17:38:17.000000000 +0100 @@ -1,0 +2,168 @@ +Thu Nov 21 19:47:54 UTC 2013 - [email protected] + +- Implementation of 7.0.3 from upstream and patch refresh. + +- Fix for the ARM architecture if the backtrace unwind information + cannot be gathered during session initialization. Without the patch, + the two unwind-related warning messages indicating "WARNING: UNWIND: + failed to gather unwind_table list" and "WARNING: UNWIND: failed to + initialize module unwind tables" are followed by the fatal error + message "crash: cannot hash task_struct entries". + ([email protected]) + +- Fix for the "help -[Dn]" dumpfile information display of the GUID EFI + table in the header of SADUMP dumpfiles. Without the patch, only 33 + of the 36 bytes in the table are translated. + ([email protected]) + +- Fix for the determination of the kernel NR_CPUS configurable for + Linux 3.8 and later kernels that are configured with CONFIG_SLAB. + Without the patch, the kernel's compiled-in NR_CPUS value was + incorrectly calculated to be the sum of the kernel's NR_CPUS and + MAX_NUMNODES configurables. + ([email protected]) + +- In the next release of makedumpfile, the status field of the + dumpfile header of compressed kdumps will show the compression + type that was utilized. The "help -[Dn]" output has been updated + to display that information. + ([email protected]) + +- For kernels configured with CONFIG_SLAB in which an array_cache + pointer referenced by a kmem_cache structure is invalid, the + individual cache(s) will be marked as invalid. During session + initialization, the message "crash: kmem_cache: <cache-address>: + invalid array_cache pointer" will be displayed, and during runtime, + attempts to access the cache(s) will result in a message indicating + that the cache is "[INVALID/CORRPUTED]". Without the patch, the + message "crash: unable to initialize kmem slab cache subsystem" is + displayed during session initialization, and run-time commands that + attempt to access the kmem slab cache subsystem fail with the error + message "kmem cache slab subsystem not available". + ([email protected]) + +- Fix for the "kmem -[sS] <slab-object-address>" option in Linux 3.6 + and later kernels configured with CONFIG_SLAB. Without the patch, + the command fails with the message "kmem: address is not allocated in + slab subsystem: <slab-object-address>. This also causes the + "kmem <slab-object-address>" command to (quietly) fail to determine + that the address is a slab object. + ([email protected]) + +- Fix for the "bt" command if a kernel __init text address is + encountered. Without the patch, and depending upon the reallocation + of the __init text memory, a bogus framesize may be calculated, or + more likely, in a compressed kdump, a warning message indicating + "bt: page excluded: kernel virtual address: <address> type: + gdb_readmem_callback" will be displayed following the frame data. + ([email protected]) + +- Update for determining whether an S390X PTE contains a swap entry + in Linux 3.12 and later kernels. + ([email protected]) + +- Resurrected the translation and display of the page.flags bits by the + "kmem -p" command on Linux 2.6.26 and later kernels whose vmlinux + debuginfo data contains either the "pageflags" enumerator or the + "pageflag_names" array of trace_print_flags structures. If they are + not available, just the page.flags value is printed in hexadecimal, + as has been done since Linux 2.4.9. + ([email protected]) + +- Fix for the "bt" command when used with vmcore files that were + created with the recently-introduced "virsh dump --memory-only", + which dumps KVM guests into an ELF vmcore similar to those created + by the kdump facility. Without the patch, a faulty backtrace for the + panic task may be generated due to the use of incorrect starting + RSP/RIP registers; this happens because (unlike kdump) the + non-panicking cpus are offlined prior to the dumpfile being created, + which in turn leads to the use of the wrong NT_PRSTATUS note. + ([email protected]) + +- Fix for the CPU number display on systems with 255 or more cpus + during the initial banner, by the "set" command, the "ps" command, + and by all commands that display the per-task header consisting of + the task address, pid, cpu and command name. Without the patch, for + cpu 255, the "sys" command displays "NO_PROC_ID", and the other + commands would show a "-" for the cpu number; for cpu numbers greater + than 255, garbage values would be displayed in the cpu number field. + ([email protected]) + +- Implemented support for compressed kdump header version 6, in which + makedumpfile(8) adds new fields in the kdump_sub_header to support + large memory systems with pfn values that are larger than 32-bits. + Without the patch, if the system contains physical memory located + in high memory such that its maximum pfn value is overflows the + 32-bit "max_mapnr" field in the header, the crash session will fail + with the error message "crash: vmlinux and vmcore do not match!". + ([email protected]) + +- Fix for the "net -s" command on Linux 3.8 and later kernels. Without + the patch, the command fails with the message "net: invalid structure + member offset: inet_opt_daddr". + ([email protected]) + +- Fix a build failure in a native ARM64 environment due to obsolete + LKCD dumpfile headers. + ([email protected]) + +- Implementation of a new "per-cpu object" as an argument format that + can be passed to the "p", "struct", "union" or "*" commands. The + format is expressed as either <per-cpu symbol>:<cpu-specifier> or + as <per-cpu offset>:<cpu-specifier>, where the per-cpu symbol or + per-cpu offset must precede a colon, and where the <cpu-identifier> + follows the colon. The cpu-identifier may be expressed in any of + the following manners: + : CPU of the currently selected task. + :a[ll] all CPUs. + :#[-#][,...] CPU list(s), e.g. "1,3,5", "1-3", + or "1,3,5-7,10". + Without the patch, per-cpu symbols are only accepted by the "p" + command, and the data type and the resolved kernel virtual address + for each per-cpu instance are displayed shown. With this patch, a + colon and a cpu-specifier may be appended to the symbol name, and the + the contents of the symbol on each cpu that is specified will be + displayed by the "p" command. For the "struct/union/*" commands, an + argument may be specified using either a per-cpu offset value or + per-cpu symbol name followed by a colon and cpu-specifier, and the + contents of each structure/union on each specified cpu will be + displayed. + ([email protected]) + + Fixed several minor flaws that were detected by a Coverity Scan: + + tools.c: + 992:warning[invalidScanfArgType_int] – %d in format string + (no. 1) requires 'int *' but the argument type is 'unsigned + int *'. + memory.c: + 7461:error[uninitvar] – Uninitialized variable: page_cache_size + filesys.c: + 731:error[resourceLeak] – Resource leak: version + kernel.c: + 5675:error[uninitvar] – Uninitialized variable: action + 7799:error[memleakOnRealloc] – Common realloc mistake: + 'ikconfig_all' nulled but not freed upon failure + configure.c: + 793:error[mismatchAllocDealloc] – Mismatching allocation and + deallocation: fp + remote.c: + 1120:error[resourceLeak] – Resource leak: pipe + va_server.c: + 316:error[memleak] – Memory leak: disk_hdr + va_server_v1.c: + 311:error[memleak] – Memory leak: disk_hdr + makedumpfile.c: + 80:error[memleakOnRealloc] – Common realloc mistake: 'ptr' nulled + but not freed upon failure + sadump.c: + 231:error[memleakOnRealloc] – Common realloc mistake: 'sdh' + nulled but not freed upon failure + extensions/snap.c: + 550:error[uninitvar] – Uninitialized variable: prstatus_len + 541:error[uninitvar] – Uninitialized variable: l_offset + extensions/trace.c: + 1477:error[resourceLeak] – Resource leak: file + ([email protected]) + +------------------------------------------------------------------- Old: ---- crash-7.0.2.tar.gz New: ---- crash-7.0.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ crash.spec ++++++ --- /var/tmp/diff_new_pack.BC8G48/_old 2013-11-22 17:38:18.000000000 +0100 +++ /var/tmp/diff_new_pack.BC8G48/_new 2013-11-22 17:38:18.000000000 +0100 @@ -16,7 +16,7 @@ # -%define crash_version 7.0.2 +%define crash_version 7.0.3 %define whitepaper_version 2003 %define scripts_version 2008-02-08 %define gcore_version 2011-09-22 ++++++ crash-7.0.2.tar.gz -> crash-7.0.3.tar.gz ++++++ /work/SRC/openSUSE:Factory/crash/crash-7.0.2.tar.gz /work/SRC/openSUSE:Factory/.crash.new/crash-7.0.3.tar.gz differ: char 5, line 1 ++++++ crash-compressed-booted-kernel.patch ++++++ --- /var/tmp/diff_new_pack.BC8G48/_old 2013-11-22 17:38:19.000000000 +0100 +++ /var/tmp/diff_new_pack.BC8G48/_new 2013-11-22 17:38:19.000000000 +0100 @@ -2,9 +2,11 @@ filesys.c | 37 ++++++++++++++++++++++++++++--------- 1 file changed, 28 insertions(+), 9 deletions(-) ---- a/filesys.c -+++ b/filesys.c -@@ -530,6 +530,8 @@ static int +Index: crash-7.0.3/filesys.c +=================================================================== +--- crash-7.0.3.orig/filesys.c ++++ crash-7.0.3/filesys.c +@@ -529,6 +529,8 @@ static int find_booted_kernel(void) { char kernel[BUFSIZE]; @@ -13,7 +15,7 @@ char buffer[BUFSIZE]; char **searchdirs; int i, preferred, wrapped; -@@ -579,16 +581,25 @@ find_booted_kernel(void) +@@ -578,16 +580,25 @@ find_booted_kernel(void) sprintf(kernel, "%s%s", searchdirs[i], dp->d_name); if (mount_point(kernel) || @@ -43,7 +45,7 @@ if (found) break; } -@@ -599,17 +610,25 @@ find_booted_kernel(void) +@@ -598,17 +609,25 @@ find_booted_kernel(void) build_searchdirs(DESTROY, NULL); if (found) { ++++++ crash-debuginfo-compressed.patch ++++++ --- /var/tmp/diff_new_pack.BC8G48/_old 2013-11-22 17:38:19.000000000 +0100 +++ /var/tmp/diff_new_pack.BC8G48/_new 2013-11-22 17:38:19.000000000 +0100 @@ -12,9 +12,11 @@ symbols.c | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) ---- a/symbols.c -+++ b/symbols.c -@@ -183,9 +183,9 @@ symtab_init(void) +Index: crash-7.0.3/symbols.c +=================================================================== +--- crash-7.0.3.orig/symbols.c ++++ crash-7.0.3/symbols.c +@@ -193,9 +193,9 @@ symtab_init(void) * Pull a bait-and-switch on st->bfd if we've got a separate * .gnu_debuglink file that matches the CRC. Not done for kerntypes. */ @@ -27,7 +29,7 @@ no_debugging_data(FATAL); } -@@ -244,13 +244,16 @@ check_gnu_debuglink(bfd *bfd) +@@ -254,13 +254,16 @@ check_gnu_debuglink(bfd *bfd) char *contents; int crc_offset; unsigned long crc32; @@ -45,7 +47,7 @@ return FALSE; } -@@ -271,14 +274,14 @@ check_gnu_debuglink(bfd *bfd) +@@ -281,14 +284,14 @@ check_gnu_debuglink(bfd *bfd) contents, crc32); if ((pc->debuginfo_file = (char *) ++++++ crash-make-emacs-default.diff ++++++ --- /var/tmp/diff_new_pack.BC8G48/_old 2013-11-22 17:38:19.000000000 +0100 +++ /var/tmp/diff_new_pack.BC8G48/_new 2013-11-22 17:38:19.000000000 +0100 @@ -2,9 +2,11 @@ main.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) ---- a/main.c -+++ b/main.c -@@ -1048,12 +1048,6 @@ setup_environment(int argc, char **argv) +Index: crash-7.0.3/main.c +=================================================================== +--- crash-7.0.3.orig/main.c ++++ crash-7.0.3/main.c +@@ -1037,12 +1037,6 @@ setup_environment(int argc, char **argv) pc->flags |= READLINE; pc->editing_mode = "no_mode"; @@ -17,7 +19,7 @@ /* * Resolve $HOME .rc file first, then the one in the local directory. -@@ -1103,7 +1097,7 @@ setup_environment(int argc, char **argv) +@@ -1092,7 +1086,7 @@ setup_environment(int argc, char **argv) } if (STREQ(pc->editing_mode, "no_mode")) ++++++ crash-missing-declarations.patch ++++++ --- /var/tmp/diff_new_pack.BC8G48/_old 2013-11-22 17:38:19.000000000 +0100 +++ /var/tmp/diff_new_pack.BC8G48/_new 2013-11-22 17:38:19.000000000 +0100 @@ -7,8 +7,10 @@ gdb-7.6.patch | 10 ++++++++++ 1 file changed, 10 insertions(+) ---- a/gdb-7.6.patch -+++ b/gdb-7.6.patch +Index: crash-7.0.3/gdb-7.6.patch +=================================================================== +--- crash-7.0.3.orig/gdb-7.6.patch ++++ crash-7.0.3/gdb-7.6.patch @@ -17,6 +17,16 @@ ./pex-djgpp.$(objext) ./pex-msdos.$(objext) \ ./pex-unix.$(objext) ./pex-win32.$(objext) \ ++++++ crash-sles9-quirk.patch ++++++ --- /var/tmp/diff_new_pack.BC8G48/_old 2013-11-22 17:38:19.000000000 +0100 +++ /var/tmp/diff_new_pack.BC8G48/_new 2013-11-22 17:38:19.000000000 +0100 @@ -53,8 +53,10 @@ lkcd_v8.c | 11 +++++++++++ 1 file changed, 11 insertions(+) ---- a/lkcd_v8.c -+++ b/lkcd_v8.c +Index: crash-7.0.3/lkcd_v8.c +=================================================================== +--- crash-7.0.3.orig/lkcd_v8.c ++++ crash-7.0.3/lkcd_v8.c @@ -130,6 +130,17 @@ lkcd_dump_init_v8_arch(dump_header_t *dh goto err; } ++++++ crash-sles9-time.patch ++++++ --- /var/tmp/diff_new_pack.BC8G48/_old 2013-11-22 17:38:19.000000000 +0100 +++ /var/tmp/diff_new_pack.BC8G48/_new 2013-11-22 17:38:19.000000000 +0100 @@ -14,9 +14,11 @@ task.c | 11 +++++++++++ 3 files changed, 27 insertions(+), 1 deletion(-) ---- a/defs.h -+++ b/defs.h -@@ -682,6 +682,7 @@ struct kernel_table { +Index: crash-7.0.3/defs.h +=================================================================== +--- crash-7.0.3.orig/defs.h ++++ crash-7.0.3/defs.h +@@ -683,6 +683,7 @@ struct kernel_table { ulong p2m_missing; } pvops_xen; int highest_irq; @@ -24,7 +26,7 @@ #define IKCONFIG_AVAIL 0x1 /* kernel contains ikconfig data */ #define IKCONFIG_LOADED 0x2 /* ikconfig data is currently loaded */ int ikconfig_flags; -@@ -5536,6 +5537,13 @@ extern struct lkcd_environment *lkcd; +@@ -5814,6 +5815,13 @@ extern struct lkcd_environment *lkcd; #endif /* LKCD_COMMON */ @@ -38,9 +40,11 @@ /* * gdb_interface.c */ ---- a/kernel.c -+++ b/kernel.c -@@ -237,6 +237,12 @@ kernel_init() +Index: crash-7.0.3/kernel.c +=================================================================== +--- crash-7.0.3.orig/kernel.c ++++ crash-7.0.3/kernel.c +@@ -252,6 +252,12 @@ kernel_init() verify_version(); @@ -53,7 +57,7 @@ if (symbol_exists("__per_cpu_offset")) { if (LKCD_KERNTYPES()) i = get_cpus_possible(); -@@ -4558,7 +4564,7 @@ get_uptime(char *buf, ulonglong *j64p) +@@ -4792,7 +4798,7 @@ get_uptime(char *buf, ulonglong *j64p) if (symbol_exists("jiffies_64")) { get_symbol_data("jiffies_64", sizeof(ulonglong), &jiffies_64); @@ -62,7 +66,7 @@ wrapped = (jiffies_64 & 0xffffffff00000000ULL); if (wrapped) { wrapped -= 0x100000000ULL; -@@ -5110,6 +5116,7 @@ no_cpu_flags: +@@ -5344,6 +5350,7 @@ no_cpu_flags: if (symbol_exists("p2m_mid_missing")) fprintf(fp, " p2m_mid_missing: %lx\n", kt->pvops_xen.p2m_mid_missing); fprintf(fp, " p2m_missing: %lx\n", kt->pvops_xen.p2m_missing); @@ -70,9 +74,11 @@ } /* ---- a/task.c -+++ b/task.c -@@ -3669,6 +3669,12 @@ start_time_timespec(void) +Index: crash-7.0.3/task.c +=================================================================== +--- crash-7.0.3.orig/task.c ++++ crash-7.0.3/task.c +@@ -3664,6 +3664,12 @@ start_time_timespec(void) default: break; } @@ -85,7 +91,7 @@ tt->flags |= NO_TIMESPEC; -@@ -3700,6 +3706,11 @@ convert_start_time(ulonglong start_time, +@@ -3695,6 +3701,11 @@ convert_start_time(ulonglong start_time, ulong tmp1, tmp2; ulonglong wrapped; ++++++ crash_enable_lzo_support.patch ++++++ --- /var/tmp/diff_new_pack.BC8G48/_old 2013-11-22 17:38:19.000000000 +0100 +++ /var/tmp/diff_new_pack.BC8G48/_new 2013-11-22 17:38:19.000000000 +0100 @@ -3,11 +3,15 @@ LDFLAGS.extra | 1 + 2 files changed, 2 insertions(+) +Index: crash-7.0.3/CFLAGS.extra +=================================================================== --- /dev/null -+++ b/CFLAGS.extra ++++ crash-7.0.3/CFLAGS.extra @@ -0,0 +1 @@ +-DLZO +Index: crash-7.0.3/LDFLAGS.extra +=================================================================== --- /dev/null -+++ b/LDFLAGS.extra ++++ crash-7.0.3/LDFLAGS.extra @@ -0,0 +1 @@ +-llzo2 ++++++ eppic-switch-to-system-lib.patch ++++++ --- /var/tmp/diff_new_pack.BC8G48/_old 2013-11-22 17:38:19.000000000 +0100 +++ /var/tmp/diff_new_pack.BC8G48/_new 2013-11-22 17:38:19.000000000 +0100 @@ -3,8 +3,10 @@ extensions/eppic.mk | 26 2 files changed, 1112 insertions(+), 24 deletions(-) ---- a/extensions/eppic.mk -+++ b/extensions/eppic.mk +Index: crash-7.0.3/extensions/eppic.mk +=================================================================== +--- crash-7.0.3.orig/extensions/eppic.mk ++++ crash-7.0.3/extensions/eppic.mk @@ -28,29 +28,7 @@ all: @if [ -f /usr/bin/flex ] && [ -f /usr/bin/bison ]; then \ if [ -f ../$(GDB)/crash.target ]; \ @@ -46,8 +48,10 @@ clean: if [ -d eppic/libeppic ]; \ +Index: crash-7.0.3/extensions/eppic/applications/crash/eppic.c +=================================================================== --- /dev/null -+++ b/extensions/eppic/applications/crash/eppic.c ++++ crash-7.0.3/extensions/eppic/applications/crash/eppic.c @@ -0,0 +1,1110 @@ +/* + * $Id: eppic.c,v 1.15 2012/01/04 14:46:57 anderson Exp $ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
