[ 
https://issues.apache.org/jira/browse/LUCENE-6725?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14659774#comment-14659774
 ] 

Jan Eerdekens commented on LUCENE-6725:
---------------------------------------

Currently reproducing this behaviour is difficult as we're seeing the following:

- the problem seemed to occur consistently on our production environment (but 
we can't tried it a lot there for obvious reasons)
  - after installing a monitoring tool today (a Java agent) the next reindex 
didn't crash the JVM
- the problem (at first) didn't happen on our pre-production environment (which 
is the most similar with regards to CPU/memory/... to production)
  - in the weeks after discovering the problem, it also happened once on the 
pre-production environment, but on retrying the reindex afterwards it didn't 
happen again
- the problem isn't reproducible on our test environment or local machines 
(Apple MacBook Pro's) 

We also created a small standalone Java tool that is also able to do the 
IndexWriter.deleteAll() call on a copy of the index, but that doesn't trigger 
the same JVM crash on our production and pre-production environments (using in 
the same JVM version).

> Reindex crashes the JVM
> -----------------------
>
>                 Key: LUCENE-6725
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6725
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: core/index
>    Affects Versions: 3.5
>         Environment: Solaris 10 1/13 (Update 11) Patchset applied.
> Oracle Solaris 10 8/11 s10s_u10wos_17b SPARC
> CPU:total 64 v9, popc, vis1, vis2, vis3, blk_init, cbcond, sun4v, niagara_plus
> Memory: 8k page, physical 25165824k(3240848k free)
> vm_info: Java HotSpot(TM) 64-Bit Server VM (24.75-b04) for solaris-sparc JRE 
> (1.7.0_75-b13)
>            Reporter: Jan Eerdekens
>            Priority: Minor
>         Attachments: hs_err_pid18938.log
>
>
> We're using Liferay which uses Lucene behind the screens to index things like 
> documents, web content, users, etc... . When we trigger a full reindex via 
> the Liferay Control Panel, which uses IndexWriter.deleteAll(), the JVM 
> crashes and generates a dump with the following message: 
> #
> # A fatal error has been detected by the Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0xffffffff78de94a8, pid=18938, tid=2478
> #
> # JRE version: Java(TM) SE Runtime Environment (7.0_75-b13) (build 
> 1.7.0_75-b13)
> # Java VM: Java HotSpot(TM) 64-Bit Server VM (24.75-b04 mixed mode 
> solaris-sparc compressed oops)
> # Problematic frame:
> # J 5227 C2 
> org.apache.lucene.index.IndexFileNames.segmentFileName(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
>  (44 bytes) @ 0xffffffff78de94a8 [0xffffffff78de9480+0x28]



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to