You are viewing a plain text version of this content. The canonical link for it is here.
Posted to pylucene-dev@lucene.apache.org by Darren Govoni <da...@ontrenet.com> on 2011/01/07 00:46:45 UTC
JVM errors
Hi,
I am getting these JVM fatal errors:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007f11dc3c093a, pid=6268, tid=139711024641792
#
# JRE version: 6.0_21-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode
linux-amd64 )
# Problematic frame:
# C [libjcc.so+0xa93a]
_ZNK6JCCEnv21getObjectArrayElementEP13_jobjectArrayi+0x2a
#
# An error report file with more information is saved as:
#
/home/darren/Gridwave/product/trunk/symphony/server/software/hs_err_pid6268.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
They seem to happen sporadically in a multithreaded situation where many
threads (attached, etc) are accessing the same index.
Is there anything I can do on my end to correct this?
thanks
Darren
Re: JVM errors
Posted by Andi Vajda <va...@apache.org>.
On Jan 7, 2011, at 16:03, darren@ontrenet.com wrote:
> Not really because each thread is a worker that stays alive and
> iterates
> over work items.
How does that prevent threads from being pooled and reused ? When a
worker is done, it goes back to the pool, ready to be reused. Anyway,
that would not fix the problem, maybe just workaround it.
> The fatality seems to happen when they all are using the
> index (lucene is supposed to be multi-read threadsafe).
>
> It does it without the detach, but when the detach is in there it
> fatals
> _on_ the detach. wierd.
Maybe you're looking at two different bugs ?
Andi..
>
>>
>> On Jan 7, 2011, at 15:36, Darren Govoni <da...@ontrenet.com> wrote:
>>
>>> That's a good thought.
>>>
>>> I just wish I knew how to interpret the JVM fatal error. I rarely
>>> ever see them working with straight java,
>>> so I'm also wondering if something else is at play. Its pretty
>>> predicatable when it happens.
>>> Like at either a vm.detachCurrentThread
>>
>> Oh. I have no confidence in detachCurrentThread(). Can you pool and
>> reuse threads instead ?
>>
>> Andi..
>>
>>> or perhaps when an object attached to the current thread
>>> goes out of scope, but in a stressed environment.
>>>
>>> On 01/07/2011 06:09 PM, Andi Vajda wrote:
>>>>
>>>> On Fri, 7 Jan 2011, Darren Govoni wrote:
>>>>
>>>>> I'll try that and report.
>>>>>
>>>>> It seems to happen when many threads are attached at once and the
>>>>> CPU throttles.
>>>>
>>>> Maybe some GC settings could also help work around this ?
>>>>
>>>> Andi..
>>>>
>>>>>
>>>>> On 01/06/2011 09:42 PM, Andi Vajda wrote:
>>>>>>
>>>>>> On Thu, 6 Jan 2011, Darren Govoni wrote:
>>>>>>
>>>>>>> Hi,
>>>>>>> I am getting these JVM fatal errors:
>>>>>>>
>>>>>>> #
>>>>>>> # A fatal error has been detected by the Java Runtime
>>>>>>> Environment:
>>>>>>> #
>>>>>>> # SIGSEGV (0xb) at pc=0x00007f11dc3c093a, pid=6268,
>>>>>>> tid=139711024641792
>>>>>>> #
>>>>>>> # JRE version: 6.0_21-b06
>>>>>>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed
>>>>>>> mode linux-amd64 )
>>>>>>> # Problematic frame:
>>>>>>> # C [libjcc.so+0xa93a]
>>>>>>> _ZNK6JCCEnv21getObjectArrayElementEP13_jobjectArrayi+0x2a
>>>>>>> #
>>>>>>> # An error report file with more information is saved as:
>>>>>>> # /home/darren/Gridwave/product/trunk/symphony/server/software/
>>>>>>> hs_err_pid6268.log
>>>>>>> #
>>>>>>> # If you would like to submit a bug report, please visit:
>>>>>>> # http://java.sun.com/webapps/bugreport/crash.jsp
>>>>>>> #
>>>>>>>
>>>>>>> They seem to happen sporadically in a multithreaded situation
>>>>>>> where many threads (attached, etc) are accessing the same index.
>>>>>>>
>>>>>>> Is there anything I can do on my end to correct this?
>>>>>>
>>>>>> I've never seen this. Maybe getting a newer JVM ?
>>>>>>
>>>>>> Andi..
>>>>>
>>
Re: JVM errors
Posted by da...@ontrenet.com.
Not really because each thread is a worker that stays alive and iterates
over work items. The fatality seems to happen when they all are using the
index (lucene is supposed to be multi-read threadsafe).
It does it without the detach, but when the detach is in there it fatals
_on_ the detach. wierd.
>
> On Jan 7, 2011, at 15:36, Darren Govoni <da...@ontrenet.com> wrote:
>
>> That's a good thought.
>>
>> I just wish I knew how to interpret the JVM fatal error. I rarely
>> ever see them working with straight java,
>> so I'm also wondering if something else is at play. Its pretty
>> predicatable when it happens.
>> Like at either a vm.detachCurrentThread
>
> Oh. I have no confidence in detachCurrentThread(). Can you pool and
> reuse threads instead ?
>
> Andi..
>
>> or perhaps when an object attached to the current thread
>> goes out of scope, but in a stressed environment.
>>
>> On 01/07/2011 06:09 PM, Andi Vajda wrote:
>>>
>>> On Fri, 7 Jan 2011, Darren Govoni wrote:
>>>
>>>> I'll try that and report.
>>>>
>>>> It seems to happen when many threads are attached at once and the
>>>> CPU throttles.
>>>
>>> Maybe some GC settings could also help work around this ?
>>>
>>> Andi..
>>>
>>>>
>>>> On 01/06/2011 09:42 PM, Andi Vajda wrote:
>>>>>
>>>>> On Thu, 6 Jan 2011, Darren Govoni wrote:
>>>>>
>>>>>> Hi,
>>>>>> I am getting these JVM fatal errors:
>>>>>>
>>>>>> #
>>>>>> # A fatal error has been detected by the Java Runtime Environment:
>>>>>> #
>>>>>> # SIGSEGV (0xb) at pc=0x00007f11dc3c093a, pid=6268,
>>>>>> tid=139711024641792
>>>>>> #
>>>>>> # JRE version: 6.0_21-b06
>>>>>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed
>>>>>> mode linux-amd64 )
>>>>>> # Problematic frame:
>>>>>> # C [libjcc.so+0xa93a]
>>>>>> _ZNK6JCCEnv21getObjectArrayElementEP13_jobjectArrayi+0x2a
>>>>>> #
>>>>>> # An error report file with more information is saved as:
>>>>>> # /home/darren/Gridwave/product/trunk/symphony/server/software/
>>>>>> hs_err_pid6268.log
>>>>>> #
>>>>>> # If you would like to submit a bug report, please visit:
>>>>>> # http://java.sun.com/webapps/bugreport/crash.jsp
>>>>>> #
>>>>>>
>>>>>> They seem to happen sporadically in a multithreaded situation
>>>>>> where many threads (attached, etc) are accessing the same index.
>>>>>>
>>>>>> Is there anything I can do on my end to correct this?
>>>>>
>>>>> I've never seen this. Maybe getting a newer JVM ?
>>>>>
>>>>> Andi..
>>>>
>
Re: JVM errors
Posted by Andi Vajda <va...@apache.org>.
On Jan 7, 2011, at 15:36, Darren Govoni <da...@ontrenet.com> wrote:
> That's a good thought.
>
> I just wish I knew how to interpret the JVM fatal error. I rarely
> ever see them working with straight java,
> so I'm also wondering if something else is at play. Its pretty
> predicatable when it happens.
> Like at either a vm.detachCurrentThread
Oh. I have no confidence in detachCurrentThread(). Can you pool and
reuse threads instead ?
Andi..
> or perhaps when an object attached to the current thread
> goes out of scope, but in a stressed environment.
>
> On 01/07/2011 06:09 PM, Andi Vajda wrote:
>>
>> On Fri, 7 Jan 2011, Darren Govoni wrote:
>>
>>> I'll try that and report.
>>>
>>> It seems to happen when many threads are attached at once and the
>>> CPU throttles.
>>
>> Maybe some GC settings could also help work around this ?
>>
>> Andi..
>>
>>>
>>> On 01/06/2011 09:42 PM, Andi Vajda wrote:
>>>>
>>>> On Thu, 6 Jan 2011, Darren Govoni wrote:
>>>>
>>>>> Hi,
>>>>> I am getting these JVM fatal errors:
>>>>>
>>>>> #
>>>>> # A fatal error has been detected by the Java Runtime Environment:
>>>>> #
>>>>> # SIGSEGV (0xb) at pc=0x00007f11dc3c093a, pid=6268, tid=139711024641792
>>>>> #
>>>>> # JRE version: 6.0_21-b06
>>>>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed
>>>>> mode linux-amd64 )
>>>>> # Problematic frame:
>>>>> # C [libjcc.so+0xa93a]
>>>>> _ZNK6JCCEnv21getObjectArrayElementEP13_jobjectArrayi+0x2a
>>>>> #
>>>>> # An error report file with more information is saved as:
>>>>> # /home/darren/Gridwave/product/trunk/symphony/server/software/
>>>>> hs_err_pid6268.log
>>>>> #
>>>>> # If you would like to submit a bug report, please visit:
>>>>> # http://java.sun.com/webapps/bugreport/crash.jsp
>>>>> #
>>>>>
>>>>> They seem to happen sporadically in a multithreaded situation
>>>>> where many threads (attached, etc) are accessing the same index.
>>>>>
>>>>> Is there anything I can do on my end to correct this?
>>>>
>>>> I've never seen this. Maybe getting a newer JVM ?
>>>>
>>>> Andi..
>>>
Re: JVM errors
Posted by Darren Govoni <da...@ontrenet.com>.
That's a good thought.
I just wish I knew how to interpret the JVM fatal error. I rarely ever
see them working with straight java,
so I'm also wondering if something else is at play. Its pretty
predicatable when it happens.
Like at either a vm.detachCurrentThread or perhaps when an object
attached to the current thread
goes out of scope, but in a stressed environment.
On 01/07/2011 06:09 PM, Andi Vajda wrote:
>
> On Fri, 7 Jan 2011, Darren Govoni wrote:
>
>> I'll try that and report.
>>
>> It seems to happen when many threads are attached at once and the CPU
>> throttles.
>
> Maybe some GC settings could also help work around this ?
>
> Andi..
>
>>
>> On 01/06/2011 09:42 PM, Andi Vajda wrote:
>>>
>>> On Thu, 6 Jan 2011, Darren Govoni wrote:
>>>
>>>> Hi,
>>>> I am getting these JVM fatal errors:
>>>>
>>>> #
>>>> # A fatal error has been detected by the Java Runtime Environment:
>>>> #
>>>> # SIGSEGV (0xb) at pc=0x00007f11dc3c093a, pid=6268,
>>>> tid=139711024641792
>>>> #
>>>> # JRE version: 6.0_21-b06
>>>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode
>>>> linux-amd64 )
>>>> # Problematic frame:
>>>> # C [libjcc.so+0xa93a]
>>>> _ZNK6JCCEnv21getObjectArrayElementEP13_jobjectArrayi+0x2a
>>>> #
>>>> # An error report file with more information is saved as:
>>>> #
>>>> /home/darren/Gridwave/product/trunk/symphony/server/software/hs_err_pid6268.log
>>>> #
>>>> # If you would like to submit a bug report, please visit:
>>>> # http://java.sun.com/webapps/bugreport/crash.jsp
>>>> #
>>>>
>>>> They seem to happen sporadically in a multithreaded situation where
>>>> many threads (attached, etc) are accessing the same index.
>>>>
>>>> Is there anything I can do on my end to correct this?
>>>
>>> I've never seen this. Maybe getting a newer JVM ?
>>>
>>> Andi..
>>
Re: JVM errors
Posted by Andi Vajda <va...@apache.org>.
On Fri, 7 Jan 2011, Darren Govoni wrote:
> I'll try that and report.
>
> It seems to happen when many threads are attached at once and the CPU
> throttles.
Maybe some GC settings could also help work around this ?
Andi..
>
> On 01/06/2011 09:42 PM, Andi Vajda wrote:
>>
>> On Thu, 6 Jan 2011, Darren Govoni wrote:
>>
>>> Hi,
>>> I am getting these JVM fatal errors:
>>>
>>> #
>>> # A fatal error has been detected by the Java Runtime Environment:
>>> #
>>> # SIGSEGV (0xb) at pc=0x00007f11dc3c093a, pid=6268, tid=139711024641792
>>> #
>>> # JRE version: 6.0_21-b06
>>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode
>>> linux-amd64 )
>>> # Problematic frame:
>>> # C [libjcc.so+0xa93a]
>>> _ZNK6JCCEnv21getObjectArrayElementEP13_jobjectArrayi+0x2a
>>> #
>>> # An error report file with more information is saved as:
>>> #
>>> /home/darren/Gridwave/product/trunk/symphony/server/software/hs_err_pid6268.log
>>> #
>>> # If you would like to submit a bug report, please visit:
>>> # http://java.sun.com/webapps/bugreport/crash.jsp
>>> #
>>>
>>> They seem to happen sporadically in a multithreaded situation where many
>>> threads (attached, etc) are accessing the same index.
>>>
>>> Is there anything I can do on my end to correct this?
>>
>> I've never seen this. Maybe getting a newer JVM ?
>>
>> Andi..
>
Re: JVM errors
Posted by Darren Govoni <da...@ontrenet.com>.
I'll try that and report.
It seems to happen when many threads are attached at once and the CPU
throttles.
On 01/06/2011 09:42 PM, Andi Vajda wrote:
>
> On Thu, 6 Jan 2011, Darren Govoni wrote:
>
>> Hi,
>> I am getting these JVM fatal errors:
>>
>> #
>> # A fatal error has been detected by the Java Runtime Environment:
>> #
>> # SIGSEGV (0xb) at pc=0x00007f11dc3c093a, pid=6268, tid=139711024641792
>> #
>> # JRE version: 6.0_21-b06
>> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode
>> linux-amd64 )
>> # Problematic frame:
>> # C [libjcc.so+0xa93a]
>> _ZNK6JCCEnv21getObjectArrayElementEP13_jobjectArrayi+0x2a
>> #
>> # An error report file with more information is saved as:
>> #
>> /home/darren/Gridwave/product/trunk/symphony/server/software/hs_err_pid6268.log
>> #
>> # If you would like to submit a bug report, please visit:
>> # http://java.sun.com/webapps/bugreport/crash.jsp
>> #
>>
>> They seem to happen sporadically in a multithreaded situation where
>> many threads (attached, etc) are accessing the same index.
>>
>> Is there anything I can do on my end to correct this?
>
> I've never seen this. Maybe getting a newer JVM ?
>
> Andi..
Re: JVM errors
Posted by Andi Vajda <va...@apache.org>.
On Thu, 6 Jan 2011, Darren Govoni wrote:
> Hi,
> I am getting these JVM fatal errors:
>
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> # SIGSEGV (0xb) at pc=0x00007f11dc3c093a, pid=6268, tid=139711024641792
> #
> # JRE version: 6.0_21-b06
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b16 mixed mode linux-amd64
> )
> # Problematic frame:
> # C [libjcc.so+0xa93a]
> _ZNK6JCCEnv21getObjectArrayElementEP13_jobjectArrayi+0x2a
> #
> # An error report file with more information is saved as:
> #
> /home/darren/Gridwave/product/trunk/symphony/server/software/hs_err_pid6268.log
> #
> # If you would like to submit a bug report, please visit:
> # http://java.sun.com/webapps/bugreport/crash.jsp
> #
>
> They seem to happen sporadically in a multithreaded situation where many
> threads (attached, etc) are accessing the same index.
>
> Is there anything I can do on my end to correct this?
I've never seen this. Maybe getting a newer JVM ?
Andi..