Summary: | [i386] Segmentation fault in reloc_non_plt. | ||
---|---|---|---|
Product: | Base System | Reporter: | Vasanth Rao Naik <vasanth.raonaik> |
Component: | i386 | Assignee: | freebsd-i386 (Nobody) <i386> |
Status: | Open --- | ||
Severity: | Affects Only Me | ||
Priority: | Normal | ||
Version: | Unspecified | ||
Hardware: | Any | ||
OS: | Any |
Description
Vasanth Rao Naik
2007-11-27 14:40:00 UTC
Hello Vasanth, You mention that this happends on 4.11, does this also happen on -supported- freebsd releases? If not, I'll need to close the ticket since we are no longer supporting the 4.x branch nor do we intend to (there are individuals who are looking into this, but that is outside the scope of the official FreeBSD team). Thanks, remko -- /"\ Best regards, | remko@FreeBSD.org \ / Remko Lodder | remko@EFnet X http://www.evilcoder.org/ | / \ ASCII Ribbon Campaign | Against HTML Mail and News Hello Remko, This issue which i am talking has been actually seen in freeBSD 6.1 release. There has been not much difference in find_symdef() code so i assumed it is happening from 4.11. Could you take a look at the issue. Thanks, Vasanth Responsible Changed From-To: freebsd-i386->jhb Hello John, would you like to have a look at this please? The submitter mentionst hat the following line causes a segfault when defobj is NULL. *where = (Elf_Addr) (defobj->relocbase + def->st_value); Could we add something liket the following to see whether we hit a NULL and stop processing the bits and get back to the previous loop? if(defobj->relocbase == NULL) break; I've cc'd kan@ and kib@ who are probably more familiar with the kernel linker bits than I am. -- John Baldwin I do not remember such issue, and do not remember a commit that could be related to it. If you can reproduce the problem at will, add assertions to rtld code, checking that defobj is not NULL when def is not NULL. After you find the suspect, look how it could happen, possibly inserting similar assertions to the function that was called immediately before assert, and so on. Responsible Changed From-To: jhb->freebsd-bugs Toss this back into the public pool. For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped |