Hello community, here is the log from the commit of package lkcdutils checked in at Fri Jun 2 02:05:39 CEST 2006. -------- --- lkcdutils/lkcdutils.changes 2006-05-04 12:57:39.000000000 +0200 +++ lkcdutils/lkcdutils.changes 2006-06-01 16:12:21.000000000 +0200 @@ -1,0 +2,5 @@ +Thu Jun 1 16:11:49 CEST 2006 - hare@suse.de + +- lcrash produces incompete stack traces (#179253) + +------------------------------------------------------------------- New: ---- lkcdutils-incomplete-stack-traces ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ lkcdutils.spec ++++++ --- /var/tmp/diff_new_pack.1vwWU6/_old 2006-06-02 02:05:13.000000000 +0200 +++ /var/tmp/diff_new_pack.1vwWU6/_new 2006-06-02 02:05:13.000000000 +0200 @@ -14,7 +14,7 @@ BuildRequires: glib2-devel libelf popt-devel Summary: Linux Kernel Crash Dump (LKCD) Utilities Version: 7.0.1 -Release: 21 +Release: 22 License: GPL Group: System/Kernel # Original source is from Sourceforge CVS: @@ -43,6 +43,7 @@ Patch17: lkcdutils-4level-pgtable.patch Patch18: lkcdutils-anon-structs.patch Patch19: lkcdutils-fix-page-cmd.patch +Patch20: lkcdutils-incomplete-stack-traces Patch71: lkcdutils-netdump-secure_mode.patch Patch75: lkcdutils-netdump-doc.patch Patch76: lkcdutils-savedump.patch @@ -93,6 +94,7 @@ %patch17 -p0 %patch18 -p1 %patch19 -p1 +%patch20 -p4 cp %{S:4} PATCHES %build @@ -174,6 +176,8 @@ #/usr/sbin/netdump-login-client %changelog -n lkcdutils +* Thu Jun 01 2006 - hare@suse.de +- lcrash produces incompete stack traces (#179253) * Thu May 04 2006 - hare@suse.de - Use the correct config file (#164964) * Fri Apr 28 2006 - hare@suse.de ++++++ lkcdutils-incomplete-stack-traces ++++++ diff -Naur -x .svn -x '*.gz' -Naur LKCD2/lkcd/trunk/lkcdutils/lcrash/unwind.c LKCD/lkcd/trunk/lkcdutils/lcrash/unwind.c --- LKCD2/lkcd/trunk/lkcdutils/lcrash/unwind.c 2006-05-25 12:19:44.415881135 -0700 +++ LKCD/lkcd/trunk/lkcdutils/lcrash/unwind.c 2006-05-24 11:22:57.268583651 -0700 @@ -2290,6 +2290,7 @@ } extern kaddr_t KERN_START, KERN_END; +extern kaddr_t VMALLOC_START, VMALLOC_END; /* * ia64_unwind() @@ -2297,9 +2298,25 @@ int ia64_unwind(struct unw_frame_info *info) { - int ret; + int good = 0, ret; - if ((info->ip < KERN_START) || (info->ip > KERN_END)) { + /* Make sure we have an IP address + */ + if (!info->ip) { + return(1); + } + + /* Make sure our IP address is a valid kernel address + */ + if ((info->ip >= KERN_START) && (info->ip <= KERN_END)) { + good = 1; + } + if (!good) { + if ((info->ip >= VMALLOC_START) && (info->ip <= VMALLOC_END)) { + good = 1; + } + } + if (!good) { return(1); } ret = unwind(info); ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit-help@opensuse.org