This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] gdb.base/siginfo-thread.exp: Increase timeout for 'gcore' command


Yao Qi wrote:
Weimin Pan <weimin.pan@oracle.com> writes:

The following failed lines from running test case siginfo-thread:

FAIL: gdb.base/siginfo-thread.exp: save a core file (timeout)
FAIL: gdb.base/siginfo-thread.exp: extract si_addr
FAIL: gdb.base/siginfo-thread.exp: p ssi_addr

indicate the testsuite timed out when gdb was instructed to write the
core file. The patch below fixes the problem by simply increasing the
timeout by a factor of 2 to give gdb more time to generate core files.

Tested in sparc64-linux-gnu. No regressions.

Did you see timeout fails in all gcore related tests?  gdb_gcore_cmd is
used in many places in gdb testsuite.  Did you investigate why it is so
slow to generate coredump in gdb?

No, only this test failed with timeout and did so consistently. The generated core file was fine.
We suspect the slow disk performance was the culprit.

Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]