Hi,
The test case x86_64-cs will fail in utrace-patched kernel(2.6.26/x86),
also vanilla kernel.
[tests]$ ./x86_64-cs
./x86_64-cs: WIFSTOPPED - WSTOPSIG = 4
x86_64-cs: x86_64-cs.c:160: main: Assertion `0' failed.
Aborted
Related piece of the testcase:
# ifdef __i386__
/* Resuming with
Hi,
On Thu, 24 Jul 2008 08:38:16 +0200, Wenji Huang wrote:
[tests]$ ./x86_64-cs
./x86_64-cs: WIFSTOPPED - WSTOPSIG = 4
x86_64-cs: x86_64-cs.c:160: main: Assertion `0' failed.
Thanks, committed (and also that unexpected values are a PASS now - a problem
would be just a kernel crash).
To test out the new utrace interface (I was using kernel
2.6.26-138.fc10.x86_64), I ported the crash-suspend.c example from the
old interface to the new interface. It is attached to this email.
Thanks, David. I'd been meaning to get around to updating that example.
I'll take a stab at
I also reproduced likely same error as David in simple PTRACE test.
That does not look related to David's crash at all.
I will look into your case.
Thanks,
Roland
2008/07/25 - 06:49:31
山鉧科技網頁設計
我們的宗旨:客戶的每ㄧ件小事情,都是山鉧的大事情
我們在推出企業形象網站包含前台網頁美工+後台管理程式
~~
PS: 線上購物網站我們還可提供刷卡機制,
與線上列印帳單全省超商+郵局繳費..等金流服務機制
~~
http://twsam.zz.tc/
限時限量專案價 只要$29,900
(在送ㄧ年100MB不限流量網站空間)
我們做的不只是網站,而是您企業的入口
ㄧ個好的企業網站資料即時更新的速度是很重要的
Fixed in the latest code.
Thanks,
Roland
I fixed the bug David found and also implemented UTRACE_SIGNAL_HOLD,
which I had forgotten about. I then updated crash-suspend.c to work
in the new interface, and it's even a bit less kludgey than the old one.
Now it works! (You'll need the very latest utrace patch.)
Note that recent Fedora gdb