Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1045187
Summary: | test_gdb tests on aarch64 | |||
---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Peter Robinson <pbrobinson> | |
Component: | kernel | Assignee: | Kyle McMartin <kmcmartin> | |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | rawhide | CC: | bkabrda, dmalcolm, gansalmon, gbenson, itamar, ivazqueznet, jan.kratochvil, jonathan, jonathansteffan, kernel-maint, kmcmartin, madhu.chinakonda, mstuchli, palves, peterm, pmuldoon, sergiodj, tomspur, tradej, tromey | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1058548 (view as bug list) | Environment: | ||
Last Closed: | 2014-07-25 14:05:40 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 922257, 1045193 |
Description
Peter Robinson
2013-12-19 20:03:20 UTC
blc gave me access to the chroot. Manually invoking gdb shows the error message: Failed to read a valid object file image from memory. on startup, and it's this unexpected message that's making test_gdb.py fail. Other than that, the pretty-printing functionality appears to be working fine. We could simply add that message to the whitelist in test_gdb.py, but I'm wondering *why* that message is occurring. Grepping through the gdb sources [1] shows that message is emitted in: gdb's src/gdb/symfile-mem.c: symbol_file_add_from_memory if bfd_elf_bfd_from_remote_memory fails: 98 nbfd = bfd_elf_bfd_from_remote_memory (templ, addr, &loadbase, 99 target_read_memory_bfd); 100 if (nbfd == NULL) 101 error (_("Failed to read a valid object file image from memory.")); 102 [1] not the most recent, just an old checkout I had handy. reassigning to gdb for investigation. Latest f21 aarch64 gdb build is gdb-7.6.50.20130731-15.fc21 (same as mainline) http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=177997 https://git.kernel.org/cgit/linux/kernel/git/will/linux.git/commit/?h=aarch64&id=fa2f2b7e274ebb56bf502692219601877f6bd776 this turns out to be an issue with gdb enforcing segment alignment on PT_LOAD when the kernel has only mapped the vdso with page alignment (which can be less than the maxpagesize, obviously.) should be heading upstream and into stable RSN. Kyle is this now fixed upstream? |