← Back to team overview

openjdk team mailing list archive

[Bug 1510445] Re: OpenJDK segfaults when trying to get a fully-qualified hostname longer than 65 characters

 

Thank you for taking the time to report this bug and helping to make
Ubuntu better.

The bug report linked is a duplicate of
http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7112670, which has
been fixed on OpenJDK 8. Although there does not seems to be a specific
backport of it to OpenJDK 7, a source code comparison between OpenJDK 7
and 8 seems to indicate that it to be fixed on 7 as well.

Here is one bug report that seems to relate to the issue you described:
https://github.com/travis-ci/travis-ci/issues/1484

The fix there is to add a "127.0.0.1 <hostname>" entry to /etc/hosts,
could you please check if that would fix your issue?

Otherwise could you please state what specific steps should we take to
recreate this bug? This will help us to find and resolve the problem.

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-7 in Ubuntu.
https://bugs.launchpad.net/bugs/1510445

Title:
  OpenJDK segfaults when trying to get a fully-qualified hostname longer
  than 65 characters

Status in openjdk-7 package in Ubuntu:
  New

Bug description:
  You can see it happening twice in the jenkins.log at
  http://paste.ubuntu.com/12978388/

  I believe this is
  http://bugs.java.com/bugdatabase/view_bug.do?bug_id=7089443 upstream.

  I ran in to this problem when trying to run a Java application
  (Jenkins) in Juju on GCE because, due to the host naming conventions
  in the Juju GCE provider, the fully-qualified hostname is guaranteed
  to be over the limit.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: openjdk-7-jre-headless 7u79-2.5.6-0ubuntu1.14.04.1
  ProcVersionSignature: User Name 3.19.0-28.30~14.04.1-generic 3.19.8-ckt5
  Uname: Linux 3.19.0-28-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.16
  Architecture: amd64
  Date: Tue Oct 27 09:44:01 2015
  SourcePackage: openjdk-7
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/1510445/+subscriptions


References