Interrupted system call handling
Bug #615974 reported by Ulrich Weigand
This bug affects 2 people
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| Linaro GDB | Fix Released | Medium | Ulrich Weigand | ||
| Linaro Linux | Fix Released | Medium | Arnd Bergmann | ||
Bug Description
GDB does not handle debugging during interrupted system calls correctly.
Related testsuite failured include:
FAIL: gdb.base/
FAIL: gdb.base/
FAIL: gdb.base/
FAIL: gdb.base/
FAIL: gdb.base/
FAIL: gdb.base/
Fixing this will likely involve kernel changes as well. It seems the kernel in some cases returns to userspace with a -512 ERESTARTSYS return value -- this should never happen.
| affects: | gdb-linaro → linux-linaro |
| Changed in linux-linaro: | |
| importance: | Undecided → Medium |
| Changed in gdb-linaro: | |
| importance: | Undecided → Medium |
| tags: | added: testsuite |
| Changed in gdb-linaro: | |
| status: | Invalid → Fix Released |
| Changed in linux-linaro: | |
| status: | In Progress → Fix Released |
To post a comment you must log in.
This problem also causes failures in gdb.threads/ hand-call- in-threads. exp:
FAIL: gdb.threads/ hand-call- in-threads. exp: hand call, thread 2 hand-call- in-threads. exp: hand call, thread 3 hand-call- in-threads. exp: hand call, thread 4 hand-call- in-threads. exp: hand call, thread 5
FAIL: gdb.threads/
FAIL: gdb.threads/
FAIL: gdb.threads/
call hand_call()^M
^M
Program received signal SIGSEGV, Segmentation fault.^M
0x00000000 in ?? ()^M