Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* java 1.3.1 segfaulting
@ 2004-08-24 10:01 Måns Rullgård
  2004-08-24 10:38 ` Mathieu Chouquet-Stringer
  2004-08-25 19:53 ` Torsten Zirzlaff
  0 siblings, 2 replies; 6+ messages in thread
From: Måns Rullgård @ 2004-08-24 10:01 UTC (permalink / raw)


I'm trying to get java running under Gentoo on my Alpha machine.  The
problem is that anything nontrivial causes the java vm to segfault.
This appears to be caused by some sort of glibc incompatibility.  I
dug out some old libc stuff and java is running fine in a chroot with
the old libc version (2.2.5).  The Gentoo installation uses something
labeled 2.3.2, built in March this year.  Has anyone else seen
anything similar?  Is there a workaround?  I thought of building a new
java from source, but that failed since the build process requires a
working java, and it would probably have failed later on anyhow (just
a feeling I get about these things).

-- 
M�ns Rullg�rd
mru@mru.ath.cx


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: java 1.3.1 segfaulting
  2004-08-24 10:01 java 1.3.1 segfaulting Måns Rullgård
@ 2004-08-24 10:38 ` Mathieu Chouquet-Stringer
  2004-08-24 12:00   ` Måns Rullgård
  2004-08-25 19:53 ` Torsten Zirzlaff
  1 sibling, 1 reply; 6+ messages in thread
From: Mathieu Chouquet-Stringer @ 2004-08-24 10:38 UTC (permalink / raw)


M�ns Rullg�rd <mru@mru.ath.cx> writes:
> Is there a workaround?

What about LD_ASSUME_KERNEL equals to 2.2.5, 2.4.1 or 2.4.20?

-- 
Mathieu Chouquet-Stringer             
       Never attribute to malice that which can be adequately
                    explained by stupidity.
                     -- Hanlon's Razor --


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: java 1.3.1 segfaulting
  2004-08-24 10:38 ` Mathieu Chouquet-Stringer
@ 2004-08-24 12:00   ` Måns Rullgård
  0 siblings, 0 replies; 6+ messages in thread
From: Måns Rullgård @ 2004-08-24 12:00 UTC (permalink / raw)


Mathieu Chouquet-Stringer <mchouque_@_online_._fr> writes:

> M�ns Rullg�rd <mru@mru.ath.cx> writes:
>> Is there a workaround?
>
> What about LD_ASSUME_KERNEL equals to 2.2.5, 2.4.1 or 2.4.20?

2.2.5 doesn't run at all:
$ LD_ASSUME_KERNEL=2.2.5 java
/bin/sh: error while loading shared libraries: libdl.so.2.1: cannot open shared object file: No such file or directory

Specifying 2.4.x versions still crashes.

-- 
M�ns Rullg�rd
mru@mru.ath.cx


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: java 1.3.1 segfaulting
  2004-08-24 10:01 java 1.3.1 segfaulting Måns Rullgård
  2004-08-24 10:38 ` Mathieu Chouquet-Stringer
@ 2004-08-25 19:53 ` Torsten Zirzlaff
  2004-08-25 22:58   ` Måns Rullgård
  1 sibling, 1 reply; 6+ messages in thread
From: Torsten Zirzlaff @ 2004-08-25 19:53 UTC (permalink / raw)


Hi.

Måns Rullgård <mru@mru.ath.cx> writes:

> I'm trying to get java running under Gentoo on my Alpha machine.  The
> problem is that anything nontrivial causes the java vm to segfault.

  It might sound trivial, but is it really a sigsegv or just a
graceful dead (exception) from the java vm?

  I had once this particular problem and it went away, after I had
again build my kernel with the OSF/1 compatible read/write. Now my
java 1.3.1 runs fine on a debian testing with 2.4.25 Miata.

[...]

Ciao

        Torsten
-- 
s-mail: Neckarstr. 120                                         Torsten Zirzlaff
        70190 Stuttgart
        Germany                            e-mail :  zirzlaff@nienor.s.bawue.de
phone: +49 711 285 19 40                             torsten@zirzlaff.de
mobil: +49 174 857 56 77
data:  +49 711 286 40 57/9                 

+-----------------------------------------------------------------------------+
|  The shortest unit of time in the universe is the New York Second, defined  |
|  as the period of time between the traffic lights turning green and the cab |
|  behind you honking. -- Terry Pratchett 'Lords and Ladies'                  |
+-----------------------------------------------------------------------------+


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: java 1.3.1 segfaulting
  2004-08-25 19:53 ` Torsten Zirzlaff
@ 2004-08-25 22:58   ` Måns Rullgård
  2004-08-26  7:28     ` Torsten Zirzlaff
  0 siblings, 1 reply; 6+ messages in thread
From: Måns Rullgård @ 2004-08-25 22:58 UTC (permalink / raw)


Torsten Zirzlaff <zirzlaff@nienor.s.bawue.de> writes:

> Hi.
>
> M�ns Rullg�rd <mru@mru.ath.cx> writes:
>
>> I'm trying to get java running under Gentoo on my Alpha machine.  The
>> problem is that anything nontrivial causes the java vm to segfault.
>
>   It might sound trivial, but is it really a sigsegv or just a
> graceful dead (exception) from the java vm?

It's signal 11, or so the core dump tells me.

>   I had once this particular problem and it went away, after I had
> again build my kernel with the OSF/1 compatible read/write. Now my
> java 1.3.1 runs fine on a debian testing with 2.4.25 Miata.

I'm running kernel 2.6.6 with CONFIG_OSF4_COMPAT=y.  I don't think the
OSF compatibility is the problem here, since the jvm is compiled for
Linux.  It also runs with glibc 2.2.5.

-- 
M�ns Rullg�rd
mru@mru.ath.cx


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: java 1.3.1 segfaulting
  2004-08-25 22:58   ` Måns Rullgård
@ 2004-08-26  7:28     ` Torsten Zirzlaff
  0 siblings, 0 replies; 6+ messages in thread
From: Torsten Zirzlaff @ 2004-08-26  7:28 UTC (permalink / raw)


M�ns Rullg�rd <mru@mru.ath.cx> wrote in message news:<yw1xekluj04k.fsf@mru.ath.cx>...
[...]
> >   It might sound trivial, but is it really a sigsegv or just a
> > graceful dead (exception) from the java vm?
> 
> It's signal 11, or so the core dump tells me.

  Ok, that's clearly a different problem.

[...]
> 
> I'm running kernel 2.6.6 with CONFIG_OSF4_COMPAT=y.  I don't think the
> OSF compatibility is the problem here, since the jvm is compiled for
> Linux.  It also runs with glibc 2.2.5.

  Hm, strange since on 2.4.25 I have a different glibc (v2.3.2), which
encounters no problems here.  Does strae give more pointers at which
call the vm gives up?

Ciao

  Torsten


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-08-26  7:28 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-24 10:01 java 1.3.1 segfaulting Måns Rullgård
2004-08-24 10:38 ` Mathieu Chouquet-Stringer
2004-08-24 12:00   ` Måns Rullgård
2004-08-25 19:53 ` Torsten Zirzlaff
2004-08-25 22:58   ` Måns Rullgård
2004-08-26  7:28     ` Torsten Zirzlaff

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox