[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Problems with Java



> ok, but now I have the following problem (I use the jdk 1.3.0 from
> blackdown and woody with kernel 2.2.18pre21):
> 
> SIGSEGV   11*  segmentation violation
>     si_signo [11]: SIGSEGV   11*  segmentation violation
>     si_errno [0]: Erfolg
>     si_code [0]: SI_USER [pid: 0, uid: 0]
> 	stackpointer=0x7fffc2bc

This means the VM is crashing, not the code you are running.  Ultimately
this means a bug in the VM (or a library it is depending on), as byte code
should never be able to crash the VM.

> Full thread dump Classic VM (Blackdown-1.3.0-FCS, native threads):
>     "main" (TID:0x3198e1a0, sys_thread_t:0x1001b420, state:R, native ID:0x400) prio=5
> 	at java.lang.reflect.Method.copy(Method.java:280)
> 	at java.lang.reflect.Method.getParameterTypes(Method.java:90)
> 	at com.sun.management.jmx.MetaData.findMethod(MetaData.java:277)
> 	at com.sun.management.jmx.MetaData.findSetter(MetaData.java:229)
> 	at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1375)
> 	at com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
> 	at org.jboss.configuration.ConfigurationService.load(ConfigurationService.java:132)
> 	at org.jboss.configuration.ConfigurationService.loadConfiguration(ConfigurationService.java:295)
> 	at java.lang.reflect.Method.invoke(Native Method)
> 	at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628)
> 	at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
> 	at org.jboss.Main.<init>(Main.java:209)
> 	at org.jboss.Main$1.run(Main.java:121)
> 	at java.security.AccessController.doPrivileged(Native Method)
> 	at org.jboss.Main.main(Main.java:117)

This is the only thread that appeared to be doing anything when the crash
happened, looks like it was in the middle of some code using reflection
(Method.copy) which I'm guessing may have been a native method call.

There is probably not much you can do about this.  You might try
configuring the JVM to run using green threads rather than native threads,
in the past I've been able to dodge some VM crashing bugs this way...

-raf



Reply to: