Opened 9 years ago

Closed 9 years ago

#45496 closed defect (fixed)

Subversion with JavaHL crashes on Yosemite

Reported by: bf@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: yosemite Cc: blair (Blair Zajac), peterdorn@…
Port: subversion-javahlbindings

Description

Hi,

we have a problem with Subclipse and JavaHL since we upgraded to OS X Yosemite. When opening in Eclipse >Preferences >Team >SVN then Eclipse crashesimmediately. The error report is added. We can only open the SVN preference page when we uninstall the Subversion JavaHL Native Library Adapter. Other wise Eclipse crashes.

We have installed the following products:

  • Eclipse 4.4.1 Luna and Subclipse 1.10.5.
  • Xcode 6.1 with command line tools

Installation of MacPorts took a while but seems to be complete. We have already tried to uninstall MacPorts and do the installation a second time. No success so far.

The terminal log from the MacPorts installation is also appended.

Any ideas what the problem is?

Thank you for your help!

Berthold Firmenich

Attachments (7)

TerminalLog.txt (29.3 KB) - added by bf@… 9 years ago.
terminal log
FehlerberichtEclipse.txt (99.2 KB) - added by bf@… 9 years ago.
Error report Eclipse when opening >Preferences >Team >SVN
port -dv test subversion-javahlbindings.txt (991.5 KB) - added by bf@… 9 years ago.
main.log (48.1 KB) - added by bf@… 9 years ago.
port -dv test subversion-javahlbindings +no_bdb.txt (327.0 KB) - added by bf@… 9 years ago.
main.2.log (335.5 KB) - added by bf@… 9 years ago.
eclipse crash log.txt (109.8 KB) - added by peterdorn@… 9 years ago.
osx eclipse crash report

Download all attachments as: .zip

Change History (23)

Changed 9 years ago by bf@…

Attachment: TerminalLog.txt added

terminal log

Changed 9 years ago by bf@…

Attachment: FehlerberichtEclipse.txt added

Error report Eclipse when opening >Preferences >Team >SVN

comment:1 Changed 9 years ago by bf@…

Cc: bf@… added

Cc Me!

comment:2 Changed 9 years ago by danielluke (Daniel J. Luke)

This is probably something you'll want to troubleshoot upstream.

A couple of things to think about:

  • Did you follow the Migration Instructions ?
  • What version of java do you have installed? (Oracle's site says you must run Java 8 on Yosemite)
  • do the subversion-javahiblidngs port's tests pass if you try to run them? (port -dv test subversion-javahlbindings)

comment:3 Changed 9 years ago by mf2k (Frank Schima)

Cc: blair@… added; bf@… removed
Keywords: yosemite added; JavaHL SVN Eclipse Yosemite removed
Milestone: MacPorts 2.3.2
Owner: changed from macports-tickets@… to dluke@…
Port: subversion-javahlbindings added; JavaHL removed
Priority: HighNormal

The Priority and Milestone fields are for use by Macports team members only. In the future, please fill in the Port field with the correct port name and Cc the port maintainers (port info --maintainers subversion-javahlbindings).

As reporter, you do not need to Cc yourself.

comment:4 in reply to:  2 Changed 9 years ago by bf@…

Replying to dluke@…:

This is probably something you'll want to troubleshoot upstream.

A couple of things to think about:

Yes, I followed the instructions. Did it a second time -- no success.

  • What version of java do you have installed? (Oracle's site says you must run Java 8 on Yosemite)

I use the following Java version: java version "1.8.0_25" Java(TM) SE Runtime Environment (build 1.8.0_25-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.25-b02, mixed mode)

  • do the subversion-javahiblidngs port's tests pass if you try to run them? (port -dv test subversion-javahlbindings)

The test reports an error. I will upload the test log as well as the log file itself stored at /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_subversion-javahlbindings/subversion-javahlbindings/main.log

Changed 9 years ago by bf@…

Changed 9 years ago by bf@…

Attachment: main.log added

comment:5 Changed 9 years ago by danielluke (Daniel J. Luke)

that test failure is because you normally install +no_bdb +universal and so things are broken when you tried to test without +no_bdb

try again please: port -dv test subversion-javahlbindings +no_bdb

comment:6 in reply to:  5 Changed 9 years ago by bf@…

Replying to dluke@…:

that test failure is because you normally install +no_bdb +universal and so things are broken when you tried to test without +no_bdb

try again please: port -dv test subversion-javahlbindings +no_bdb

Tried again as indicated. No luck. Will upload the terminal log and the main.log from /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_subversion-javahlbindings/subversion-javahlbindings/main.log

Changed 9 years ago by bf@…

Attachment: main.2.log added

comment:7 Changed 9 years ago by danielluke (Daniel J. Luke)

yep, it looks broken - have you reported this upstream?

comment:8 in reply to:  7 Changed 9 years ago by bf@…

Replying to dluke@…:

yep, it looks broken - have you reported this upstream?

To whom exactly do I have to report the problem? Sorry if this sounds stupid to you.

comment:9 Changed 9 years ago by danielluke (Daniel J. Luke)

The subversion developers (maybe start with the subversion users mailing list? - http://subversion.apache.org/mailing-lists.html)

I don't think this is a MacPorts-specific issue.

comment:10 Changed 9 years ago by danielluke (Daniel J. Luke)

So, the test suite looks like it runs fine if I

./configure --prefix=/opt/local --with-berkeley-db=:/opt/local/include/db46:/opt/local/lib/db46:db-4.6 --with-apr=/opt/local/bin/apr-1-config --with-apr-util=/opt/local/bin/apu-1-config --without-apxs --mandir=/opt/local/share/man --with-serf=/opt/local --with-sasl=/opt/local --with-libmagic=/opt/local --without-gnome-keyring --enable-javahl --without-jikes --with-junit=/opt/local/share/java/junit.jar --enable-debug && make javahl && make check-javahl

outside of macports.

so, I guess this may be a macports build issue and I'll need to look into it further (unless anyone else, maybe someone who actually uses the java bindings, has ideas :) ).

comment:11 Changed 9 years ago by danielluke (Daniel J. Luke)

From DYLD_PRINT_LIBRARIES the same libraries are loaded for the Macports build and my outside of macports build. I didn't see anything unusual when I tried testing under trace mode (and it failed the same way). dtruss output from my non-macports build vs my macports build didn't point me to anything either.

comment:12 Changed 9 years ago by danielluke (Daniel J. Luke)

The following also works outside of macports:

%sudo -u macports ./configure --prefix=/opt/local --with-berkeley-db=:/opt/local/include/db46:/opt/local/lib/db46:db-4.6 --with-apr=/opt/local/bin/apr-1-config --with-apr-util=/opt/local/bin/apu-1-config --without-apxs --mandir=/opt/local/share/man --with-serf=/opt/local --with-sasl=/opt/local --with-libmagic=/opt/local --without-gnome-keyring --enable-javahl --without-jikes --with-junit=/opt/local/share/java/junit.jar

% sudo -u macports make javahl

% sudo -u macports make check-javahl  

comment:13 Changed 9 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: newclosed

MACOSX_DEPLOYMENT_TARGET plus old libtool m4 macro is the culprit. See also #44596

Fixing for now with just a quick patch to configure in r127553.

Changed 9 years ago by peterdorn@…

Attachment: eclipse crash log.txt added

osx eclipse crash report

comment:14 Changed 9 years ago by peterdorn@…

Resolution: fixed
Status: closedreopened

I am having the exact same issue as the original problem. Updated all ports, even started with a fresh install an only installed minimal requirements.

The problem: When opening in Eclipse > Preferences >Team > SVN then Eclipse crashes immediately. See attached logfile with crash report. What is going wrong?

comment:15 Changed 9 years ago by peterdorn@…

Cc: peterdorn@… added

Cc Me!

comment:16 in reply to:  14 Changed 9 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: reopenedclosed

Replying to peterdorn@…:

I am having the exact same issue as the original problem. Updated all ports, even started with a fresh install an only installed minimal requirements.

nope, the original problem was fixed, and your backtrace is different.

The problem: When opening in Eclipse > Preferences >Team > SVN then Eclipse crashes immediately. See attached logfile with crash report. What is going wrong?

please open a new ticket for this issue.

Note: See TracTickets for help on using tickets.