Hello community, here is the log from the commit of package strace checked in at Wed Aug 6 01:58:10 CEST 2008. -------- --- strace/strace.changes 2008-07-22 09:48:24.000000000 +0200 +++ /mounts/work_src_done/STABLE/strace/strace.changes 2008-08-05 15:09:21.000000000 +0200 @@ -1,0 +2,5 @@ +Tue Aug 5 15:09:10 CEST 2008 - schwab@suse.de + +- Add fix for vfork handling. + +------------------------------------------------------------------- New: ---- vfork.diff ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ strace.spec ++++++ --- /var/tmp/diff_new_pack.Q11308/_old 2008-08-06 01:57:54.000000000 +0200 +++ /var/tmp/diff_new_pack.Q11308/_new 2008-08-06 01:57:54.000000000 +0200 @@ -2,9 +2,16 @@ # spec file for package strace (Version 4.5.17) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. -# This file and all modifications and additions to the pristine -# package are under the same license as the package itself. # +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + # Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -16,10 +23,11 @@ Group: Development/Tools/Debuggers AutoReqProv: on Version: 4.5.17 -Release: 1 +Release: 9 Summary: A utility to trace the system calls of a program Source: strace-%{version}.tar.bz2 Patch: strace-%{version}.diff +Patch1: vfork.diff Url: http://sourceforge.net/projects/strace/ BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -39,6 +47,7 @@ %prep %setup -q %patch +%patch1 %build export CFLAGS="$RPM_OPT_FLAGS" @@ -62,6 +71,8 @@ %doc %{_mandir}/man1/strace.1.gz %changelog +* Tue Aug 05 2008 schwab@suse.de +- Add fix for vfork handling. * Tue Jul 22 2008 schwab@suse.de - Update to strace 4.5.16. * Many bug fixes. ++++++ vfork.diff ++++++
From nobody Tue Aug 5 14:41:39 2008 From: Jan Kratochvil
Subject: [patch] ia64 vfork() fix #2 To: strace-devel@lists.sourceforge.net Date: Tue, 5 Aug 2008 13:51:18 +0200
--gatW/ieO32f1wygP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi,
the original fix of a hang of vfork() tracing with -f was posted here:
http://sourceforge.net/mailarchive/message.php?msg_name=20080630132558.GA434...
Unfortunately it did convert vfork() into (+/-) pthread_create() instead of
intended fork(). It brought no regressions but the fix was incomplete as
there was a race possibly causing a crash when the child waited too long:
clone(Process 944 attached (waiting for parent)
Process 944 resumed (parent 942 ready)
child_stack=0, flags=CLONE_VM|CLONE_VFORK|SIGCHLD) = 944
[pid 942] exit_group(0) = ?
--- SIGSEGV (Segmentation fault) @ 200000000010ccb1 (58) ---
Process 944 detached
Fixed by this patch. I hope the fix commit is OK when the original patch was
already accepted.
Sorry,
Jan
--gatW/ieO32f1wygP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline; filename="strace-4.5.16-ia64-vfork-vm.patch"
2008-08-05 Jan Kratochvil
participants (1)
-
root@Hilbert.suse.de