[RTEMS Project] #3741: libdl loading ELF objects from libbsd NFS file system ends in a deadlock

RTEMS trac trac at rtems.org
Sat May 4 02:22:01 UTC 2019


#3741: libdl loading ELF objects from libbsd NFS file system ends in a deadlock
-----------------------------------+--------------------------
 Reporter:  dufault                |       Owner:  Chris Johns
     Type:  defect                 |      Status:  closed
 Priority:  normal                 |   Milestone:  5.1
Component:  lib/dl                 |     Version:  5
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  run-time-loader libdl  |  Blocked By:
 Blocking:                         |
-----------------------------------+--------------------------
Changes (by Chris Johns <chrisj@…>):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [changeset:"b36c52097f52012f9a52dff6fc8393d63805158b/rtems"
 b36c5209/rtems]:
 {{{
 #!CommitTicketReference repository="rtems"
 revision="b36c52097f52012f9a52dff6fc8393d63805158b"
 libdl: Do not access the ELF file while the allocator is locked.

 - Load symbols before allocation.
 - Parse reloc records and place any reloc recs in a cache to use
   while the allocator is locked.
 - Relocate symbols after section allocation.
 - Split section loading into allocation/locating and loading.
 - Update all arch back-ends with a new reloc interface to control
   tramp handling.
 - Add `-a` and `-t` to the object list shell command.

 Closes #3741
 }}}

--
Ticket URL: <http://devel.rtems.org/ticket/3741#comment:7>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list