You are not logged in.

#1 2009-08-01 14:59:47

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

jalbum package in AUR installs but doesn't run... anyone else confirm

I've been using BlackEagle's jalbum package in the AUR for a while now.  For no apparent reason, I can no longer run the java app.  The splash screen loads but then disappears after about 2 sec.  If I run it from a shell, I get the following:

$ jalbum
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fef47b9ac71, pid=24913, tid=140663184853264
#
# JRE version: 6.0-b16
# Java VM: OpenJDK 64-Bit Server VM (14.0-b15 mixed mode linux-amd64 )
# Distribution: Custom build (Thu Jul 2 04:39:46 UTC 2009)
# Problematic frame:
# C [ld-linux-x86-64.so.2+0x12c71]
#
# An error report file with more information is saved as:
# /home/stuff/builds/jalbum/hs_err_pid24913.log
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
# http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/usr/bin/jalbum: line 2: 24913 Aborted java -jar /usr/share/java/Jalbum/JAlbum.jar

I can post the output of that hs_err_pid log (file is 31 kB), but most of it looks like this:

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f373565ec71, pid=9636, tid=139872603367696
#
# JRE version: 6.0-b16
# Java VM: OpenJDK 64-Bit Server VM (14.0-b15 mixed mode linux-amd64 )
# Distribution: Custom build (Thu Jul  2 04:39:46 UTC 2009)
# Problematic frame:
# C  [ld-linux-x86-64.so.2+0x12c71]
#
# If you would like to submit a bug report, please include
# instructions how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x00007f36a41cf000):  JavaThread "Image Fetcher 0" daemon [_thread_in_native, id=9652, stack(0x00007f36a0c66000,0x00007f36a0d67000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000000000003d4

Registers:
RAX=0x00007f3735868ba0, RBX=0x0000000000000000, RCX=0x00007f3734e14fb0, RDX=0x00007f36a0d66908
RSP=0x00007f36a0d65180, RBP=0x00007f3734e14fb0, RSI=0x0000000000000000, RDI=0x0000000000000000
R8 =0x0000000000000000, R9 =0x00007f3734e15090, R10=0x0000000000000000, R11=0x00007f373565ec70
R12=0x0000000000000000, R13=0x00007f36a0d65388, R14=0x0000000000000000, R15=0x00007f36a41cf000
RIP=0x00007f373565ec71, EFL=0x0000000000010246, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
  TRAPNO=0x000000000000000e

Top of Stack: (sp=0x00007f36a0d65180)
0x00007f36a0d65180:   0000000000000000 00007f3735658f66
0x00007f36a0d65190:   00007f36a0d66908 0000000001a7f1d0

... snip ...

Is this a problem with openjdk6-1.5-4-x86_64 or..?

Last edited by graysky (2009-08-01 15:08:47)

Offline

#2 2009-08-02 13:07:10

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: jalbum package in AUR installs but doesn't run... anyone else confirm

It compiles and runs using Sun's jre (community/jre 6u14-1).  I did comment out depends=('java-environment') in the PKGBUILD.

Offline

#3 2009-08-03 08:19:13

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: jalbum package in AUR installs but doesn't run... anyone else confirm

thisoldman wrote:

It compiles and runs using Sun's jre (community/jre 6u14-1).  I did comment out depends=('java-environment') in the PKGBUILD.

jre provides java-runtime, so commenting out that dependency should not be needed. BTW, I can confirm that jalbum does not work on x86_64 with openjdk6.

Offline

#4 2009-08-03 10:07:05

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: jalbum package in AUR installs but doesn't run... anyone else confirm

It failed  when that line was included.  I don't know why.

Offline

#5 2009-08-03 11:20:31

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: jalbum package in AUR installs but doesn't run... anyone else confirm

Do you remeber or can you reproduce the error message?

Offline

#6 2009-08-03 16:56:55

thisoldman
Member
From: Pittsburgh
Registered: 2009-04-25
Posts: 1,172

Re: jalbum package in AUR installs but doesn't run... anyone else confirm

I'm on an x86-64, just as you are. I got as far as:

    resolving dependencies...
    looking for inter-conflicts...
    :: openjdk6 conflicts with jre. Remove jre? [Y/n] n
    error: unresolvable package conflicts detected
    error: failed to prepare transaction (conflicting dependencies)
    :: openjdk6: conflicts with jre
    ==> ERROR: Pacman failed to install missing dependencies.

So I commented out the dependency line. I knew I had community/jre 6u14-1 installed and that it would most likely work. It did work.

The current openjdk PKGBUILD in AUR, openjdk 1.7.0_37-3, seems to be giving people trouble and has also been flagged as out of date.

I don't know where you should go from here; perhaps contact BlackEagle?

Offline

#7 2009-08-03 20:42:11

Stefan Husmann
Member
From: Germany
Registered: 2007-08-07
Posts: 1,391

Re: jalbum package in AUR installs but doesn't run... anyone else confirm

Stefan Husmann wrote:
thisoldman wrote:

It compiles and runs using Sun's jre (community/jre 6u14-1).  I did comment out depends=('java-environment') in the PKGBUILD.

jre provides java-runtime, so commenting out that dependency should not be needed. BTW, I can confirm that jalbum does not work on x86_64 with openjdk6.

Sorry I should read things more carefully! java-environment should be replaced by java-runtime. Only that is needed to run jalbum. And in fact it must be sun's jre, because with openjdk6 ther are  the before mentioned problems

Without the change in PKGBUILD you would have to install jdk too.

This is what is happening: jre provides only java-runtime. jalbum with depends=('java-environment') in its PKGBUILD forces you to have either jdk or openjdk6 installed, since these are the packages that provide java-environment. So pacman searches for that. Most if not people have [extra] before [community] in their pacman.conf, so the first thing that pacman finds and that provides java-environment is openjdk6.

Also installing jdk before installing jalbum would do the trick. But jalbum does not really need it.

Last edited by Stefan Husmann (2009-08-03 20:54:13)

Offline

#8 2009-10-12 18:05:28

bdillahu
Member
Registered: 2009-10-12
Posts: 2

Re: jalbum package in AUR installs but doesn't run... anyone else confirm

Just FYI, and I don't understand why, but I suddenly started having this same issue. Found out that if I run it as root (sudo jalbum) it works fine. So its some kind of permissions thing for me. It had been working, but now doesn't. Can't swear to what I broke, but thought I would mention it if somebody else sees it.

Offline

Board footer

Powered by FluxBB