tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat dies suddenly
Date Tue, 16 Feb 2010 21:55:07 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

André,

On 2/16/2010 4:41 PM, André Warnier wrote:
> So what now ? I leave this list for 3 days to go earn my keep, and when
> I come back this silly crash issue is /still/ not resolved ?

Well, we've been waiting for you to bring your expertise to bear on this
issue, André :)

> still on my trip about the SegFaults caused by some native non-kosher
> executable module..

I'd be surprised if this was the problem: Carl is installing Sun's JRE,
which should have everything it needs. He says he's not playing around
with any native code, so I wouldn't expect anything to be incompatible.
I'm not saying it's impossible... just that I'd be surprised if it's the
case.

I'd think you'd get something other than a SIGSEGV anyway... attempting
to load an incompatible library ought to get you some other error...
though I'm not sure which. You could probably try to force that to
happen with something like this (in Java, of course):

System.loadLibrary("my-bad-arch.so");

...and see what happens. I don't have a library of the wrong
architecture laying around right now. I tried to load some random file,
and I got an UnsatisfiedLinkError, but that's at the Java level. I have
no idea what would happen if the native X11 graphics library was being
loaded by the JVM and wasn't compatible...

> Appeal to the experts : considering the lenghtily expounded symptoms,
> would it be possible that one obscure corner of the SSL code or data is
> being used only occasionally, and that such occasional usage could cause
> the symptoms here observed ?

It's possible. If SSL is in use, consider "downgrading" to the pure Java
connectors (i.e. no APR... enjoy re-configuring Tomcat to use the
different-style SSL configuration) to see if that clears things up.

strace would indicate that this was the problem if you had multiple
runs: the openssl libraries would always be in the mix of the stack trace.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt7FDsACgkQ9CaO5/Lv0PC1cgCfRf9qHNkMJEs54I/CCAxuzBc8
zroAnRLGS53mv6V/T1sxur1vEekbd3Ym
=XaqE
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message