Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] JVM Crash during Tycho build

I've seen exactly this stack trace once while building a project with tycho 0.23.0, maven 3.3.3, java8u51 on 64bit RHEL6. I was really surprized by the crash but since it was not reproducible I didn't waste time investigating it. I am quite sure that the maven repo was private but don't recall if I was running on ext4 or nfs3 file system (nfs is more likely). I don't think that I have the crashdump left lying around, but we run ~100 multi-project builds per day and I haven't seen this failure more during the last month, so it seems to be pretty rare.

Btw, comments to the linked JDK issue indicate that memory mapping is disabled by default since java 6u45. So, I'm not sure what is affected by the mentioned workaround.

Kind regards,
Mikhail Kalkov

2015-09-30 14:05 GMT+02:00 Aurélien Pupier <aurelien.pupier@xxxxxxxxxxxxxx>:
Hi Jan,

thanks for the answer.
We are using a shared maven repository but we manage locks at job level which should prevent concurrent jobs on the same Maven repo for Tycho artefacts.

regards,

2015-09-30 9:42 GMT+02:00 Sievers, Jan <jan.sievers@xxxxxxx>:
any chance you have concurrent build jobs using the same local maven repo?
use a private local maven repo per job

Jan

On 30/09/15 09:29, "tycho-user-bounces@xxxxxxxxxxx on behalf of Aurélien
Pupier" <tycho-user-bounces@xxxxxxxxxxx on behalf of
aurelien.pupier@xxxxxxxxxxxxxx> wrote:

>Hi,
>
>I would like to know if others encounter a JVM crash during Tycho build.
>It is a
>JVM bug <http://bugs.java.com/view_bug.do?bug_id=4425695> when a jar is
>read and write simultaneously. It seems that it exists a workaround only
>on Oracle VM (-Dsun.zip.disableMemoryMapping=true) In our CI, the
> crash occurs 3 to 10 times per month.
>
>Does someone else encounter this issue?
>If several people are concerned, it might worth to modify algorithm on
>Tycho side to avoid the issue.
>
>Regards,
>
>
>just an extract of some lines of the crash report:
>
>
>Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
>J 2199  java.util.zip.ZipFile.getNextEntry(JI)J (0 bytes) @
>0x00007f6e5d43af64 [0x00007f6e5d43af20+0x44]
>J 2196 C2 java.util.zip.ZipFile$1.nextElement()Ljava/lang/Object; (5
>bytes) @ 0x00007f6e5d5f8840 [0x00007f6e5d5f8760+0xe0]
>J 2872 C2
>org.eclipse.jdt.internal.compiler.batch.ClasspathJar.isPackage(Ljava/lang/
>String;)Z (146 bytes) @ 0x00007f6e5d679064 [0x00007f6e5d678b80+0x4e4]
>
>--
>Aurelien Pupier  <https://fr.linkedin.com/in/aurelienpupier>
>R&D Engineer, BonitaBPM Studio Development
>Leaderaurelien.pupier@xxxxxxxxxxxxxx
>apupier <http://twitter.com/apupier>
>32, rue Gustave Eiffel - 38000 Grenoble, France
>Download
> Bonita BPM
><http://www.bonitasoft.com/landing/lp/direct-download?utm_source=bonitasof
>t_email_signature&utm_medium=email&utm_content=email_signature&utm_campaig
>n=email_signature> | Access
> BPM Quick Start Center
><http://www.bonitasoft.com/landing/lp/quick-start-center?utm_source=bonita
>soft_email_signature&utm_medium=email&utm_content=email_signature&utm_camp
>aign=email_signature>   <http://www.bonitasoft.com/>
><http://twitter.com/bonitasoft> <https://www.facebook.com/bonitasoftbpm>
><http://www.linkedin.com/groups?gid=3182097>
><http://www.slideshare.net/BonitaSoft>
><http://www.youtube.com/bonitasoft>
><http://www.bonitasoft.com/bos_redirect.php?bos_redirect_id=128> This
>message and any attachment (the "message") is intended solely for the
>addressees and is confidential. If you receive this message by mistake,
>please delete it
> and notify the sender immediately. Any use not in accordance with its
>purpose, any out-spread or disclosure, either as a whole or partially, is
>prohibited except with formal approval. Internet cannot guarantee the
>integrity of this message, therefore Bonitasoft
> will not be liable for the message if modified.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>

_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user



--
Aurelien Pupier 
R&D Engineer, BonitaBPM Studio Development Leader
aurelien.pupier@xxxxxxxxxxxxxx
apupier
32, rue Gustave Eiffel - 38000 Grenoble, France
Download Bonita BPM | Access BPM Quick Start Center
 
 
 
This message and any attachment (the "message") is intended solely for the addressees and is confidential. If you receive this message by mistake, please delete it and notify the sender immediately. Any use not in accordance with its purpose, any out-spread or disclosure, either as a whole or partially, is prohibited except with formal approval. Internet cannot guarantee the integrity of this message, therefore Bonitasoft will not be liable for the message if modified.
 











_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top