Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 912508 Details for
Bug 1112610
eu-stack: "Callback returned failure" for seemingly OK shared libraries
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Do not rely on link_map.l_addr.
l_addr.patch (text/plain), 1.34 KB, created by
Jan Kratochvil
on 2014-06-26 18:05:06 UTC
(
hide
)
Description:
Do not rely on link_map.l_addr.
Filename:
MIME Type:
Creator:
Jan Kratochvil
Created:
2014-06-26 18:05:06 UTC
Size:
1.34 KB
patch
obsolete
>diff --git a/libdwfl/link_map.c b/libdwfl/link_map.c >index 2913d9f..9ee1dc0 100644 >--- a/libdwfl/link_map.c >+++ b/libdwfl/link_map.c >@@ -321,7 +321,8 @@ report_r_debug (uint_fast8_t elfclass, uint_fast8_t elfdata, > if (read_addrs (next, 4)) > return release_buffer (-1); > >- GElf_Addr l_addr = addrs[0]; >+ // unused: >+ // GElf_Addr l_addr = addrs[0]; > GElf_Addr l_name = addrs[1]; > GElf_Addr l_ld = addrs[2]; > next = addrs[3]; >@@ -432,11 +433,14 @@ report_r_debug (uint_fast8_t elfclass, uint_fast8_t elfdata, > > if (valid) > { >+ // It is like l_addr but it handles differently prelinked >+ // files at core dumping vs. core loading time >+ GElf_Addr base = l_ld - elf_dynamic_vaddr; > if (r_debug_info_module == NULL) > { > // XXX hook for sysroot > mod = __libdwfl_report_elf (dwfl, basename (name), >- name, fd, elf, l_addr, >+ name, fd, elf, base, > true, true); > if (mod != NULL) > { >@@ -444,7 +448,7 @@ report_r_debug (uint_fast8_t elfclass, uint_fast8_t elfdata, > fd = -1; > } > } >- else if (__libdwfl_elf_address_range (elf, l_addr, true, >+ else if (__libdwfl_elf_address_range (elf, base, true, > true, NULL, NULL, > &r_debug_info_module->start, > &r_debug_info_module->end,
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1112610
: 912508