Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8136570

Stop changing user environment variables related to /usr/dt

    Details

    • Subcomponent:
    • Resolved In Build:
      b83
    • CPU:
      generic

      Backports

        Description

        putenv is fundamentally thread-unsafe! We have observed crashes in getenv probably caused by concurrent putenv, and the assignments to XFILESEARCHPATH and NLSPATH for /usr/dt (CDE?) are the most likely suspects. They are the only environment variables modified running HelloWorld on Linux.

        At the very least, we can avoid setting these environment variables when the relevant directory does not exist.

        (But we should try to go further and try to figure out how to never write to environment variables outside of the launcher)

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  martin Martin Buchholz
                  Reporter:
                  martin Martin Buchholz
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: