On Thu, Jul 25, 2013 at 02:32:26PM +0200, Jan Kratochvil wrote:
I see a number of test failures:
FAIL: run-elf_cntl_gelf_getshdr.sh
==================================
--- test-elf_cntl_gelf_getshdr.out 2013-07-28
13:04:52.000000000 +0000
+++ - 2013-07-28 13:04:52.819974815 +0000
@@ -1,2 +1,36 @@
-test-elf_cntl_gelf_getshdr: elf_readall.c:73: __libelf_readall:
Unexpected error: Resource deadlock avoided.
-Aborted
+Section at offset 0x238
+Section at offset 0x254
+Section at offset 0x274
[...]
I seem to be getting the deadlock in case of FDREAD.
And:
FAIL: run-readelf-mixed-corenote.sh
===================================
--- readelf.out 2013-07-28 13:08:54.000000000 +0000
+++ - 2013-07-28 13:08:54.528724475 +0000
@@ -8,11 +8,12 @@
pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063
utime: 0.000000, stime: 0.010000, cutime: 0.000000, cstime: 0.000000
orig_r0: -1, fpvalid: 1
- r0: 1 r1: -1091672508 r2: -1091672500 r3: 0
- r4: 0 r5: 0 r6: 33728 r7: 0
- r8: 0 r9: 0 r10: -1225703496 r11: -1091672844
- r12: 0x00000000 sp: 0xbeee64f4 lr: 0xb6dc3f48 pc: 0x00008500
- spsr: 0x60000010
+ r0: 1 r1: -1091672508 r2: -1091672500
+ r3: 0 r4: 0 r5: 0
+ r6: 33728 r7: 0 r8: 0
+ r9: 0 r10: -1225703496 r11: -1091672844
+ r12: 0 sp: 0xbeee64f4 lr: 0xb6dc3f48
+ pc: 0x00008500 spsr: 0x60000010
CORE 124 PRPSINFO
state: 0, sname: R, zomb: 0, nice: 0, flag: 0x00400500
uid: 0, gid: 0, pid: 11087, ppid: 11063, pgrp: 11087, sid: 11063
I seem to be getting a difference of a space, and then get wrapped around
at a different position because of it?
I also get the kernel complaining this to me during the testrun:
ptrace of pid 13602 was attempted by: funcretval (pid 13616)
ptrace of pid 13610 was attempted by: funcretval (pid 13617)
But that doesn't seem to have an effect on the result.
Kurt