2011-10-19

Java 7 Update 1 released - Does it fix the Lucene index corru(m)ption and SIGSEGV bugs?

After the serious issues with the Java 7 GA release, Oracle released Update 1 of Java 7 yesterday. The first thing, of course, was to check the release notes, download the package, and finally run our Lucene test cases. When inspecting the download page and release notes on the Oracle web site, I got confused: The new release is Java 7u1, in contrast the developer preview released one week ago named Java 7u2 Developer Preview. Both builds have the same build number (b08). More strange is: The release notes of the developer preview differ from the release notes on the Update 1 release:
  • The official Update 1 release notes only list one bug of the three ones originally reported to Oracle: #7068051 (SIGSEGV in PhaseIdealLoop::build_loop_late_post on T5440). The other ones are not listed, so we cannot be sure that they are really fixed.
  • The famous SIGSEGV bug in Porter Stemmer (#7070134) is not listed at all, it also disappeared from the Oracle issue tracker. It seems like hidden to the public (maybe they declared it as confidental because it's security related???).

No matter what release notes say - I had to download the offical release package! I took some free time on the Lucene Eurocon Conference in Barcelona, downloaded the packages and installed them in parallel on my Windows 64bit Thinkpad. First I tried to run the Porter Stemmer test with 100 iterations on Java 7 GA, and verified that it crashed. Robert Muir joined and we tested the new U1 release: Test passes! This means, Hotspot issue #7070134 was fixed, but Oracle missed to put it into the release notes.

The second part of the investigations were more complicated: The index corru(m)ption bugs are more complicated to reproduce, as the virtual machine does not crash and simply produces corrupt indexes after merging segments in one of the facetting tests. We checked out the Lucene Trunk revision of the time, when the bug was first discovered (issue LUCENE-3346) and used the random seed mentioned on the issue. We were able to verify the bug with Java 7 GA (the indexes are corrupt 90% of the time), and luckily after 20 iterations of the same test and random seed in Java 7u1, we have seen no corrupt index! It seemed to us that Oracle maybe fixed Java issues #7044738 and #7068051, but missed to put both of them into the release notes. Of course, without an additional statement from Oracle, we cannot be sure, that the issues are really fixed!

Oracle also released Java 6 Update 29 yesterday. The release notes on that version doesn't mention any relation to the Lucene bugs, so we were not sure if this version is completely different to the Java 6u29 developer preview, released one week ago, which listed those bugs (unfortunately, the package is no longer available on the net), or if they also missed to mention them. A quick review as done for Java 7 showed, that Porter Stemmer no longer crashes with -XX:+AggressiveOpts, so the bug seems to be also fixed here, too. We were not able to actually discover any index corru(m)ption.

Finally, we can somehow verify that the bugs seem to be fixed for both versions, but without an official statement from Oracle (in their release notes), we cannot recommend to use Java 7u1 (and Java 6u29 with aggressive opts) with Lucene and Solr.

Once I will be back in Germany, I will try to get an updated FreeBSD package of Java 7 and install it on our Apache Jenkins server.

Update (2011-10-26)

Last night, Oracle updated the release notes of Java 7u1 and Java 6u29, stating that they fixed the three Lucene-relevant bugs (plus another one related to that). Based on this confirmation, it's now safe to use Java 7 Update 1 (and later) with Apache Lucene and Apache Solr.

Of course, there is still the recommendation not to use -XX:+AggressiveOpts on any JVM in production!

We are still waiting for updated OpenJDK packages to install this release on our build servers.

51 comments:

  1. So I was tired and irritable this morning and so I apologise for my tone in advance, you caught me on a bad day :( http://java.dzone.com/news/java-7-and-lucene-bug-saga#comment-57801 - Can't the Lucene folks work with the Oracle engineers on this via the appropriate mailing lists? It really does seem like there's 'point scoring' going on from both sides at times, it doesn't help anyone.

    ReplyDelete
  2. Martijn, its not clear oracle wants to work with us. Perhaps they prefer to hide bugs (http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7070134 <-- why is this hidden now!) rather than fix them.

    ReplyDelete
  3. Hi, I my name is Donald Smith and I work in the Java SE PM team. I'm based in Ottawa, Canada.

    Based on feedback, we've updated the release notes for 7u1 [1] to confirm:
    = = = =
    JIT and Loop Bugs

    Three bugs reported by various parties, including Apache Lucene developers, have been fixed in JDK 7 Update 1, in addition to a fourth related bug found by Oracle (7070134, 7068051, 7044738, 7077439).
    = = = =

    [1] - http://www.oracle.com/technetwork/java/javase/7u1-relnotes-507962.html

    ReplyDelete
  4. ...and 6u29, of course.

    http://www-content.oracle.com/technetwork/java/javase/6u29-relnotes-507960.html

    ReplyDelete
  5. Thank you, Donald! I'll update the blog post and add a "UPDATE" note at the end.

    ReplyDelete
  6. 1z0-1066 Exam Dumps Simply make sure your grip on the IT braindumps devised the industry’s best IT professionals and get a 100% guaranteed success in Exam.

    ReplyDelete
  7. thanks for this information i like this HD Filme

    ReplyDelete

  8. I was curious if you ever considered changing the layout of your site? Its very well written; I love what youve got to say.
    But maybe you could a little more in the way of content so people could connect with it better.
    Youve got an awful lot of text for only having one or two pictures. Maybe you could space it out bette

    My web site - 출장안마
    (jk)

    ReplyDelete
  9. I high appreciate this post. It’s hard to find the good from the bad sometimes, but I think you’ve nailed it! would you mind updating your blog with more information?


    스포츠중계
    스포츠토토티비

    ReplyDelete
  10. Great article and excellent layout. Your blog post deserves all of the positive feedback it’s been getting.


    토토
    사설토토

    ReplyDelete
  11. I thank you for this meditating content.Please update more.




    카지노사이트홈
    카지노사이트

    ReplyDelete
  12. 온라인카지노사이트
    온라인카지노



    Your post is an excellent example of why I keep coming back to read your amazing and high quality content.

    ReplyDelete
  13. Casino Near Me - MapyRO
    Casino 안성 출장샵 near 의정부 출장안마 me. The map provides a detailed, detailed list of casinos with gaming space 고양 출장안마 in 전라북도 출장마사지 the state. 부산광역 출장안마 The map is free and accurate. It includes all the

    ReplyDelete
  14. Best Casinos in Las Vegas for Real Money (2021 Update)
    The best online 광주 출장샵 casinos in Vegas for real money are Ignition Casino, an online 광주 출장안마 casino that offers both new 순천 출장샵 and veteran 의정부 출장마사지 casino games and slots 계룡 출장샵

    ReplyDelete
  15. excellent post, very informative. I wonder why the other experts of this sector don’t notice this. You should continue your writing. I am confident, you have a huge readers’ base already!
    토토사이트
    온라인경마

    ReplyDelete
  16. It is in point of fact a nice and helpful piece of info. I’m happy that you shared this helpful info with us. Please stay us up to date like this. Thank you for sharing.
    majortotositepro2
    racesitepro2
    oncasinositenet2
    totopickpro2

    ReplyDelete





  17. Werte Kundschaft, leider müssen wir aufgrund der aktuellen Geschehnisse eine Preiskorrektur vornehmen. Bis zum 28.06. haben Sie noch die Gelegenheit, alle unsere Produkte zum alten Preis zu bestellen. Mülltonnenverkleidung

    ReplyDelete





  18. Ihr mobiles und zuverlässiges Testcenter in Berlin & Umgebung | Unser mobiler Container für die geforderten To Go-Tests ist schnell aufgebaut und vermittelt Ihren Besuchern oder Mitarbeitern Sicherheit. Test to go Berlin





    ReplyDelete






  19. Visumland Konsularservice Berlin ist ein mittelständisches Dienstleis

    ReplyDelete






  20. Visumland Konsularservice Berlin ist ein mittelständisches Dienstleistungsunternehmen, das sich auf die Visabeschaffung sowie die Legalisierung von Dokumenten spezialisiert hat. Visumland

    ReplyDelete






  21. Hauptstadtgold in Berlin Tempelhof ist Ihr kompetenter Goldankäufer und Juwelier und gehört aufgrund seiner langjährigen Branchenerfahrung seit 1970 zu den etabliertesten Goldankäufern in Berlin. HauptstadtGold

    ReplyDelete





  22. Unser Restaurant Maestral gegenüber dem Rathaus Reinickendorf bietet die perfekte Location, um Ihre Veranstaltung zu feiern.Komfort und gemütliches Ambiente zeichnen unsere Räumlichkeiten aus. Maestral Berlin



    ReplyDelete

  23. Wir begrüßen Sie herzlich auf unserer Internetseite bei Albatros Umzüge Berlin. Schön, dass Sie uns besuchen. Auf unserer Internetseite finden Sie alle notwendigen Informationen und unsere Angebote rund um das Thema Umzug. Dabei sollen unsere Anfrage-Formulare Sie unterstützen und den Kontakt mit uns vereinfachen. Umzugsunternehmen

    ReplyDelete
  24. Hey There. I found your blog about Java 7 Update. This is a very well written article. I’ll be sure to bookmark it and come back to read more of your useful info. Thanks for the post. I’ll definitely return. assignment help edinburgh

    ReplyDelete
  25. Make your style more like Wednesday by purchasing this Jenna Ortega Wednesday Backpack from Jacket-Hub. High-quality materials were used to make this backpack. Visit Jacket-Hub to purchase complete outfits from the Wednesday series if you want to dress like Wednesday.

    ReplyDelete
  26. Anyone who enjoys the clothing worn by the cast of the new TV show Emily in Paris S03 should go to Jacketoria and buy this Emily In Paris Camille White And Black Jacket. Get yours now because this jacket is the best option.

    ReplyDelete
  27. floral shirt is a shirt with a floral print. It is a stylish shirt that can be worn to work or to a casual event. The shirt is made of a comfortable cloth that will keep you cool in the summer heat. The shirt is also versatile and can be worn with a variety of outfits. Glass Onion: A Knives Out Mystery Dave Bautista Floral Shirt

    ReplyDelete
  28. Thanks for this valuable knowledge, it is very helpful for me. Uncle Fester Coat

    ReplyDelete
  29. I am very excited when read your post and i really enjoy it. If you are have more post about this and please update here..Regularly i follow your blog and keep it up your good work...
    types of divorce in new jersey

    ReplyDelete
  30. Make your style look like Fast X by purchasing this Fast X Jason Momoa Jacket from Asal Vision. The materials used to make this jacket are of a high quality. If you have any desire to spruce up like Fast X, visit Asal Vision where you can get total outfits from the Fast X Movie.

    ReplyDelete
  31. I really like to read blogs and your post thanks for sharing informative information keep provide article keep it up. Fast X Dante Jacket

    ReplyDelete
  32. firsthand experience or knowledge of reputable places offering body massage in mg road, we can provide valuable insights and suggestions, so come and take our best service

    ReplyDelete
  33. Einen zuverlässigen IT-Dienstleister zu finden, auf den Sie sich verlassen können, ist keine leichte Aufgabe, aber ich empfehle Ihnen, sich diese Web-Ressource anzusehen, die Ihnen helfen kann, Spezialisten für eine Vielzahl von Fachgebieten zu finden. Klicken Sie auf diesen Link Besuchen Sie die Website und beginnen Sie Ihre fruchtbare Zusammenarbeit jetzt!

    ReplyDelete
  34. Your blog provided me with a wealth of useful information.They recognise and report cutting-edge wind data. abogado de divorcios no disputados de nueva jersey continues to share more helpful blogs. violation of protective order virginia codeContinue your fantastic effort! Keep on sharing. I invite you to visit my website.

    ReplyDelete
  35. Dumps4azure offers a great set of practice questions for AZ-120. The questions closely resembled the actual exam in terms of difficulty and format. This helped me gain confidence and get a feel for what to expect on the test day.

    https://www.dumps4azure.com/az-120-dumps.html

    ReplyDelete
  36. g79g pg เว็บไซต์ตรงสล็อตได้นำเข้าค่ายเกมสล็อตค่ายใหญ่ pg slot มาไว้ให้นักพนันได้สร้างรายได้ เพิ่มประสบการณ์สำหรับในการเล่นทุกเกมที่พวกเราได้กระทำการคัดมานั้นเป็น เกมสล็อต

    ReplyDelete
  37. pg รับฟรีเครดิตฟรี เป็นคำค้นหาที่มีแรงบันดาลใจในโลกของความบันเทิงและเกมออนไลน์ บทความนี้จะพาคุณไปสู่โลกของ PGSLOT โดยเปิดเผยความน่าตื่นเต้นและโอกาสที่น่าหลงใหล

    ReplyDelete
  38. ชุมชน สล็อต พีจีสล็อต หมายถึงแพลตฟอร์มเกมสล็อตออนไลน์ pg soft ว็บไซต์ pg slot สลากกินแบ่งออนไลน์ ปรับแก้โดยคณะทำงานจากประเทศมอลตาที่ผลิตโดยบริษัท PGSOFT PGGAME เกมออนไลน์

    ReplyDelete
  39. Java 7 Update 1 has been released, but it's important to verify whether it addresses the Lucene index corruption and SIGSEGV bugs. Users should check the release notes and updates to confirm if these specific issues have been resolved in this release. family law retainer fee

    ReplyDelete
  40. It's great to see that Oracle fixed the Lucene-related bugs in Java 7u1 and Java 6u29. Thanks for your diligent testing and sharing this valuable update!
    Abogado Violencia Doméstica Nueva Jersey Cherry Hill

    ReplyDelete
  41. The prompt "java-7-update-1-released-does-it-fix review comment" is unclear and requires more context. Possible answers include if the update fixes a specific issue mentioned in a review comment, a general overview of the fixes, or a review of the update. To provide more information, provide more context and provide specific details about the issue, the fixes, and the reviewer's interests. The response will help in finding the necessary information.
    motorcycle accident attorney

    ReplyDelete
  42. divorce center new york ny
    Java 7 Update 1, released by Oracle, primarily focuses on addressing security vulnerabilities and improving the overall stability of the Java 7 platform. While the release doesn't introduce major feature enhancements, it includes crucial bug fixes and security patches to fortify the Java Runtime Environment (JRE).

    ReplyDelete
  43. In short, working with a Fairfax County Traffic Lawyer is similar to experiencing Highway Harmony, where legal problems are faced with skill, clever maneuvering, and a network of local contacts. Their position as conductors guarantees that you navigate the complexities of traffic regulations with grace, obtaining the best possible conclusion for your case and letting you to continue your journey on the road in peace.Fairfax County Traffic Lawyer

    ReplyDelete
  44. "The Generics Policeman Blog" is an emotional expedition into the world of pharmaceuticals, where insights transform into a heartfelt dialogue. Each post is a beacon of guidance, navigating the complexities of generics with a blend of expertise and empathy. The blog doesn't merely disseminate information; it becomes a companion on the journey towards informed choices, evoking a sense of trust and assurance. As you delve into the nuanced discussions, a connection forms – not just with the content but with the shared commitment to health and understanding. "The Generics Policeman Blog" isn't just a source; it's a compassionate guide through the maze of medication, resonating with the delicate balance of science and human well-being. abogados divorcio arlington va





    ReplyDelete
  45. Java 7 Update 1 seems to address some reported bugs, but the release notes lack clarity. The Lucene test cases revealed improvements, but official confirmation from Oracle is needed for recommendations.
    New Jersey Expunge Order of Protection

    ReplyDelete
  46. "The Generics Policeman Blog" is a commendable platform providing valuable insights into the world of generic medications. The review appreciates the blog's commitment to educating readers on the complexities of generics, offering accessible information and updates. The author's expertise shines through, making the blog a reliable source for those seeking clarity on generic drugs and related regulatory issues. With a user-friendly interface and a focus on demystifying pharmaceutical jargon, "The Generics Policeman Blog" stands as a valuable resource for both professionals and consumers navigating the generics landscape. Overall, a commendable effort in promoting awareness and understanding in the pharmaceutical realm. dwi contra dui

    ReplyDelete
  47. excellent post, very informative. Thanks for sharing best python institute in bangalore, keep posting

    ReplyDelete
  48. Java 7 Update 1 has been released, aiming to address various bugs and vulnerabilities present in previous versions. This update introduces enhancements to security measures, performance optimizations, and bug fixes to improve the overall stability and reliability of Java applications.
    How long Can a Divorce Take in New York
    Cost of Divorce in New York

    ReplyDelete
  49. Java 7 Update 1 addresses security vulnerabilities and bug fixes related to JIT and looping. However, it's important to note that Java 7 reached end-of-life in April 2015. Migrating to a supported LTS version like Java 17 for long-term security and stability is recommended. Java 7u1 offers security patches, but Java 7 is no longer supported.
    pay traffic ticket va

    ReplyDelete