NetBSD Problem Report #45879
From tih@hamartun.priv.no Fri Jan 27 10:27:40 2012
Return-Path: <tih@hamartun.priv.no>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by www.NetBSD.org (Postfix) with ESMTP id DECE863DE10
for <gnats-bugs@gnats.NetBSD.org>; Fri, 27 Jan 2012 10:27:39 +0000 (UTC)
Message-Id: <20120127102707.EFA501C932@athene.hamartun.priv.no>
Date: Fri, 27 Jan 2012 11:27:07 +0100 (CET)
From: tih@hamartun.priv.no
Reply-To: tih@hamartun.priv.no
To: gnats-bugs@gnats.NetBSD.org
Subject: openjdk7 dynamically loads X11R6 libraries instead of X11R7
X-Send-Pr-Version: 3.95
>Number: 45879
>Category: pkg
>Synopsis: openjdk7 dynamically loads X11R6 libraries instead of X11R7
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Jan 27 10:30:00 +0000 2012
>Originator: Tom Ivar Helbekkmo
>Release: NetBSD 5.99.60 (current as of 2012-01-24)
>Organization:
>Environment:
System: NetBSD athene.hamartun.priv.no 5.99.60 NetBSD 5.99.60 (ATHENE) #7: Thu Jan 26 11:07:55 CET 2012 root@athene.hamartun.priv.no:/usr/obj/sys/arch/i386/compile.i386/ATHENE i386
Architecture: i386
Machine: i386
>Description:
After updating this system to a current -current, I decided to do a
major cleanup of the packages installed from pkgsrc. I removed
everything with pkg_delete, and rebuilt, from pkgsrc, everything that
I needed. This included openjdk7, as I use JSynthLib.
Running JSynthLib after this update caused the jvm to crash. The
generated error log starts:
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x9211c911, pid=14307, tid=3103784960
#
# JRE version: 7.0
# Java VM: OpenJDK Server VM (21.0-b17 mixed mode bsd-x86 )
# Problematic frame:
# C [libX11.so.6+0x6a911] _X11TransWritev+0x9
This makes no sense, as everything should be built for X11R7, and ldd
confirms that all executables and shared libraries that reference X
indeed do want R7.
After renaming /usr/X11R6, to get it out of the way, Java loads the
correct shared libraries, and everything works nicely.
>How-To-Repeat:
Run a Java application that uses X, with R6 and R7 both present.
>Fix:
Unknown.
(Contact us)
$NetBSD: query-full-pr,v 1.36 2007/11/24 03:27:39 kano Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.