[Engine-devel] ovirt-engine build segfault on Fedora 20

Caution on upgrading your dev machine to Fedora 20. GWT compilation of "safari" (for Chrome) causes a segfault during the build. Strangely, the build appears to work, so I'm not sure what the net effect of the segfault is. If you only compile for gecko (Firefox) [the default], you won't see the segfault. In other words, make clean install-dev PREFIX=$HOME/ovirt-engine DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=gecko1_8,safari" causes the segfault But make install-dev PREFIX="$HOME/ovirt-engine" works just fine. I've duplicated this with with both OpenJDK and Oracle JDK. If you'd like to duplicate, simple install a fresh F20 VM, and then run these commands: 1 sudo yum install nano 2 sudo nano /etc/hostname #set the hostname 3 sudo nano /etc/hosts #set the hostname 5 sudo yum install http://ovirt.org/releases/ovirt-release-fedora.noarch.rpm 6 sudo yum install git java-devel maven openssl postgresql-server m2crypto python-psycopg2 python-cheetah python-daemon libxml2-python jboss-as unzip otopi 7 mkdir projects 8 cd projects/ 9 git clone git://gerrit.ovirt.org/ovirt-engine 10 cd ovirt-engine/ 11 make install-dev PREFIX="$HOME/ovirt-engine" Greg Sheremeta Red Hat, Inc. Sr. Software Engineer, RHEV Cell: 919-807-1086 gshereme@redhat.com

On 02/01/14 21:53 -0500, Greg Sheremeta wrote:
Caution on upgrading your dev machine to Fedora 20. GWT compilation of "safari" (for Chrome) causes a segfault during the build. Strangely, the build appears to work, so I'm not sure what the net effect of the segfault is.
If you only compile for gecko (Firefox) [the default], you won't see the segfault.
In other words, make clean install-dev PREFIX=$HOME/ovirt-engine DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=gecko1_8,safari" causes the segfault
But make install-dev PREFIX="$HOME/ovirt-engine" works just fine.
I've duplicated this with with both OpenJDK and Oracle JDK.
I can confirm this on my F20 system with OpenJDK as well. So far I have not observed any problems with the resulting build.

----- Original Message -----
From: "Adam Litke" <alitke@redhat.com> To: "Greg Sheremeta" <gshereme@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 11:37:43 AM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
On 02/01/14 21:53 -0500, Greg Sheremeta wrote:
Caution on upgrading your dev machine to Fedora 20. GWT compilation of "safari" (for Chrome) causes a segfault during the build. Strangely, the build appears to work, so I'm not sure what the net effect of the segfault is.
If you only compile for gecko (Firefox) [the default], you won't see the segfault.
In other words, make clean install-dev PREFIX=$HOME/ovirt-engine DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=gecko1_8,safari" causes the segfault
But make install-dev PREFIX="$HOME/ovirt-engine" works just fine.
I've duplicated this with with both OpenJDK and Oracle JDK.
I can confirm this on my F20 system with OpenJDK as well. So far I have not observed any problems with the resulting build.
I've since duplicated it building a different GWT project, so I'll report the bug against GWT. I also see a similar crash in Eclipse if Eclipse is using webkit (the default) AND Google Talk is installed. Either uninstalling GTalk or using -Dorg.eclipse.swt.browser.DefaultType=mozilla works around that. So the GWT bug might be a JDK bug. Thoughts? ... GWT compiling a different GWT project ---> [INFO] Compiling module com.github.gwtbootstrap.Bootstrap [INFO] Compiling 6 permutations [INFO] Compiling permutation 0... [INFO] Compiling permutation 2... [INFO] Process output [INFO] Compiling [INFO] Compiling permutation 1... [INFO] Compiling permutation 3... [INFO] Compiling permutation 4... [INFO] Compiling permutation 5... [INFO] Compile of permutations succeeded *** Error in `java': double free or corruption (out): 0x00007eff24015d60 *** ======= Backtrace: ========= /lib64/libc.so.6[0x342ce75d9f] /lib64/libc.so.6[0x342ce7d098] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x8dcc3b)[0x7eff2b9d6c3b] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x5ce967)[0x7eff2b6c8967] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(JVM_Halt+0x30)[0x7eff2b706b10] [0x7eff210135ec] ======= Memory map: ========

this is probably native code bug in openjdk. ----- Original Message -----
From: "Greg Sheremeta" <gshereme@redhat.com> To: "Adam Litke" <alitke@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 6:55:05 PM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
----- Original Message -----
From: "Adam Litke" <alitke@redhat.com> To: "Greg Sheremeta" <gshereme@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 11:37:43 AM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
On 02/01/14 21:53 -0500, Greg Sheremeta wrote:
Caution on upgrading your dev machine to Fedora 20. GWT compilation of "safari" (for Chrome) causes a segfault during the build. Strangely, the build appears to work, so I'm not sure what the net effect of the segfault is.
If you only compile for gecko (Firefox) [the default], you won't see the segfault.
In other words, make clean install-dev PREFIX=$HOME/ovirt-engine DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=gecko1_8,safari" causes the segfault
But make install-dev PREFIX="$HOME/ovirt-engine" works just fine.
I've duplicated this with with both OpenJDK and Oracle JDK.
I can confirm this on my F20 system with OpenJDK as well. So far I have not observed any problems with the resulting build.
I've since duplicated it building a different GWT project, so I'll report the bug against GWT.
I also see a similar crash in Eclipse if Eclipse is using webkit (the default) AND Google Talk is installed. Either uninstalling GTalk or using -Dorg.eclipse.swt.browser.DefaultType=mozilla works around that. So the GWT bug might be a JDK bug. Thoughts?
...
GWT compiling a different GWT project --->
[INFO] Compiling module com.github.gwtbootstrap.Bootstrap [INFO] Compiling 6 permutations [INFO] Compiling permutation 0... [INFO] Compiling permutation 2... [INFO] Process output [INFO] Compiling [INFO] Compiling permutation 1... [INFO] Compiling permutation 3... [INFO] Compiling permutation 4... [INFO] Compiling permutation 5... [INFO] Compile of permutations succeeded *** Error in `java': double free or corruption (out): 0x00007eff24015d60 *** ======= Backtrace: ========= /lib64/libc.so.6[0x342ce75d9f] /lib64/libc.so.6[0x342ce7d098] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x8dcc3b)[0x7eff2b9d6c3b] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x5ce967)[0x7eff2b6c8967] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(JVM_Halt+0x30)[0x7eff2b706b10] [0x7eff210135ec] ======= Memory map: ========
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: "Alon Bar-Lev" <alonbl@redhat.com> To: "Greg Sheremeta" <gshereme@redhat.com> Cc: "Adam Litke" <alitke@redhat.com>, "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 11:59:16 AM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
this is probably native code bug in openjdk.
But I see it in Oracle JDK too.
----- Original Message -----
From: "Greg Sheremeta" <gshereme@redhat.com> To: "Adam Litke" <alitke@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 6:55:05 PM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
----- Original Message -----
From: "Adam Litke" <alitke@redhat.com> To: "Greg Sheremeta" <gshereme@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 11:37:43 AM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
On 02/01/14 21:53 -0500, Greg Sheremeta wrote:
Caution on upgrading your dev machine to Fedora 20. GWT compilation of "safari" (for Chrome) causes a segfault during the build. Strangely, the build appears to work, so I'm not sure what the net effect of the segfault is.
If you only compile for gecko (Firefox) [the default], you won't see the segfault.
In other words, make clean install-dev PREFIX=$HOME/ovirt-engine DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=gecko1_8,safari" causes the segfault
But make install-dev PREFIX="$HOME/ovirt-engine" works just fine.
I've duplicated this with with both OpenJDK and Oracle JDK.
I can confirm this on my F20 system with OpenJDK as well. So far I have not observed any problems with the resulting build.
I've since duplicated it building a different GWT project, so I'll report the bug against GWT.
I also see a similar crash in Eclipse if Eclipse is using webkit (the default) AND Google Talk is installed. Either uninstalling GTalk or using -Dorg.eclipse.swt.browser.DefaultType=mozilla works around that. So the GWT bug might be a JDK bug. Thoughts?
...
GWT compiling a different GWT project --->
[INFO] Compiling module com.github.gwtbootstrap.Bootstrap [INFO] Compiling 6 permutations [INFO] Compiling permutation 0... [INFO] Compiling permutation 2... [INFO] Process output [INFO] Compiling [INFO] Compiling permutation 1... [INFO] Compiling permutation 3... [INFO] Compiling permutation 4... [INFO] Compiling permutation 5... [INFO] Compile of permutations succeeded *** Error in `java': double free or corruption (out): 0x00007eff24015d60 *** ======= Backtrace: ========= /lib64/libc.so.6[0x342ce75d9f] /lib64/libc.so.6[0x342ce7d098] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x8dcc3b)[0x7eff2b9d6c3b] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x5ce967)[0x7eff2b6c8967] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(JVM_Halt+0x30)[0x7eff2b706b10] [0x7eff210135ec] ======= Memory map: ========
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

I reported against GWT: https://code.google.com/p/google-web-toolkit/issues/detail?id=8513 ----- Original Message -----
From: "Greg Sheremeta" <gshereme@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 12:04:50 PM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
----- Original Message -----
From: "Alon Bar-Lev" <alonbl@redhat.com> To: "Greg Sheremeta" <gshereme@redhat.com> Cc: "Adam Litke" <alitke@redhat.com>, "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 11:59:16 AM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
this is probably native code bug in openjdk.
But I see it in Oracle JDK too.
----- Original Message -----
From: "Greg Sheremeta" <gshereme@redhat.com> To: "Adam Litke" <alitke@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 6:55:05 PM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
----- Original Message -----
From: "Adam Litke" <alitke@redhat.com> To: "Greg Sheremeta" <gshereme@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 11:37:43 AM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
On 02/01/14 21:53 -0500, Greg Sheremeta wrote:
Caution on upgrading your dev machine to Fedora 20. GWT compilation of "safari" (for Chrome) causes a segfault during the build. Strangely, the build appears to work, so I'm not sure what the net effect of the segfault is.
If you only compile for gecko (Firefox) [the default], you won't see the segfault.
In other words, make clean install-dev PREFIX=$HOME/ovirt-engine DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=gecko1_8,safari" causes the segfault
But make install-dev PREFIX="$HOME/ovirt-engine" works just fine.
I've duplicated this with with both OpenJDK and Oracle JDK.
I can confirm this on my F20 system with OpenJDK as well. So far I have not observed any problems with the resulting build.
I've since duplicated it building a different GWT project, so I'll report the bug against GWT.
I also see a similar crash in Eclipse if Eclipse is using webkit (the default) AND Google Talk is installed. Either uninstalling GTalk or using -Dorg.eclipse.swt.browser.DefaultType=mozilla works around that. So the GWT bug might be a JDK bug. Thoughts?
...
GWT compiling a different GWT project --->
[INFO] Compiling module com.github.gwtbootstrap.Bootstrap [INFO] Compiling 6 permutations [INFO] Compiling permutation 0... [INFO] Compiling permutation 2... [INFO] Process output [INFO] Compiling [INFO] Compiling permutation 1... [INFO] Compiling permutation 3... [INFO] Compiling permutation 4... [INFO] Compiling permutation 5... [INFO] Compile of permutations succeeded *** Error in `java': double free or corruption (out): 0x00007eff24015d60 *** ======= Backtrace: ========= /lib64/libc.so.6[0x342ce75d9f] /lib64/libc.so.6[0x342ce7d098] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x8dcc3b)[0x7eff2b9d6c3b] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x5ce967)[0x7eff2b6c8967] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(JVM_Halt+0x30)[0x7eff2b706b10] [0x7eff210135ec] ======= Memory map: ========
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

----- Original Message -----
From: "Greg Sheremeta" <gshereme@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 7:22:54 PM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
I reported against GWT: https://code.google.com/p/google-web-toolkit/issues/detail?id=8513
As long as gwt does not contain native code, it cannot cause libc free directly. So either heap corruption which is by native code, or something in java reference count misbehaves. Very difficult for byte code within jvm to cause this without native code cooperation.
----- Original Message -----
From: "Greg Sheremeta" <gshereme@redhat.com> To: "Alon Bar-Lev" <alonbl@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 12:04:50 PM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
----- Original Message -----
From: "Alon Bar-Lev" <alonbl@redhat.com> To: "Greg Sheremeta" <gshereme@redhat.com> Cc: "Adam Litke" <alitke@redhat.com>, "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 11:59:16 AM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
this is probably native code bug in openjdk.
But I see it in Oracle JDK too.
----- Original Message -----
From: "Greg Sheremeta" <gshereme@redhat.com> To: "Adam Litke" <alitke@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 6:55:05 PM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
----- Original Message -----
From: "Adam Litke" <alitke@redhat.com> To: "Greg Sheremeta" <gshereme@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 11:37:43 AM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
On 02/01/14 21:53 -0500, Greg Sheremeta wrote:
Caution on upgrading your dev machine to Fedora 20. GWT compilation of "safari" (for Chrome) causes a segfault during the build. Strangely, the build appears to work, so I'm not sure what the net effect of the segfault is.
If you only compile for gecko (Firefox) [the default], you won't see the segfault.
In other words, make clean install-dev PREFIX=$HOME/ovirt-engine DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=gecko1_8,safari" causes the segfault
But make install-dev PREFIX="$HOME/ovirt-engine" works just fine.
I've duplicated this with with both OpenJDK and Oracle JDK.
I can confirm this on my F20 system with OpenJDK as well. So far I have not observed any problems with the resulting build.
I've since duplicated it building a different GWT project, so I'll report the bug against GWT.
I also see a similar crash in Eclipse if Eclipse is using webkit (the default) AND Google Talk is installed. Either uninstalling GTalk or using -Dorg.eclipse.swt.browser.DefaultType=mozilla works around that. So the GWT bug might be a JDK bug. Thoughts?
...
GWT compiling a different GWT project --->
[INFO] Compiling module com.github.gwtbootstrap.Bootstrap [INFO] Compiling 6 permutations [INFO] Compiling permutation 0... [INFO] Compiling permutation 2... [INFO] Process output [INFO] Compiling [INFO] Compiling permutation 1... [INFO] Compiling permutation 3... [INFO] Compiling permutation 4... [INFO] Compiling permutation 5... [INFO] Compile of permutations succeeded *** Error in `java': double free or corruption (out): 0x00007eff24015d60 *** ======= Backtrace: ========= /lib64/libc.so.6[0x342ce75d9f] /lib64/libc.so.6[0x342ce7d098] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x8dcc3b)[0x7eff2b9d6c3b] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x5ce967)[0x7eff2b6c8967] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(JVM_Halt+0x30)[0x7eff2b706b10] [0x7eff210135ec] ======= Memory map: ========
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

GWT team asked me to report against Fedora. So I did. https://bugzilla.redhat.com/show_bug.cgi?id=1049011 [GWT compiler crash on Fedora 20] I've had a few instances where the GWT compile did NOT finish and thus the oVirt build failed. But simply re-running it works. Greg ----- Original Message -----
From: "Alon Bar-Lev" <alonbl@redhat.com> To: "Greg Sheremeta" <gshereme@redhat.com> Cc: "Adam Litke" <alitke@redhat.com>, "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 11:59:16 AM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
this is probably native code bug in openjdk.
----- Original Message -----
From: "Greg Sheremeta" <gshereme@redhat.com> To: "Adam Litke" <alitke@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 6:55:05 PM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
----- Original Message -----
From: "Adam Litke" <alitke@redhat.com> To: "Greg Sheremeta" <gshereme@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 11:37:43 AM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
On 02/01/14 21:53 -0500, Greg Sheremeta wrote:
Caution on upgrading your dev machine to Fedora 20. GWT compilation of "safari" (for Chrome) causes a segfault during the build. Strangely, the build appears to work, so I'm not sure what the net effect of the segfault is.
If you only compile for gecko (Firefox) [the default], you won't see the segfault.
In other words, make clean install-dev PREFIX=$HOME/ovirt-engine DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=gecko1_8,safari" causes the segfault
But make install-dev PREFIX="$HOME/ovirt-engine" works just fine.
I've duplicated this with with both OpenJDK and Oracle JDK.
I can confirm this on my F20 system with OpenJDK as well. So far I have not observed any problems with the resulting build.
I've since duplicated it building a different GWT project, so I'll report the bug against GWT.
I also see a similar crash in Eclipse if Eclipse is using webkit (the default) AND Google Talk is installed. Either uninstalling GTalk or using -Dorg.eclipse.swt.browser.DefaultType=mozilla works around that. So the GWT bug might be a JDK bug. Thoughts?
...
GWT compiling a different GWT project --->
[INFO] Compiling module com.github.gwtbootstrap.Bootstrap [INFO] Compiling 6 permutations [INFO] Compiling permutation 0... [INFO] Compiling permutation 2... [INFO] Process output [INFO] Compiling [INFO] Compiling permutation 1... [INFO] Compiling permutation 3... [INFO] Compiling permutation 4... [INFO] Compiling permutation 5... [INFO] Compile of permutations succeeded *** Error in `java': double free or corruption (out): 0x00007eff24015d60 *** ======= Backtrace: ========= /lib64/libc.so.6[0x342ce75d9f] /lib64/libc.so.6[0x342ce7d098] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x8dcc3b)[0x7eff2b9d6c3b] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x5ce967)[0x7eff2b6c8967] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(JVM_Halt+0x30)[0x7eff2b706b10] [0x7eff210135ec] ======= Memory map: ========
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel

ovirt-engine build segfaulting on Fedora 20 during GWT compilation was caused by an abrt-java-connector bug. See [1] for details. Fix will soon be available for Fedora 20 [2], so once that posts, it should be safe to upgrade your dev machine to F20. If you don't want to wait, you can localinstall the RPMs linked in [1]. I have done that, and verified that it's fixed. [1] https://bugzilla.redhat.com/show_bug.cgi?id=1049011 [2] https://admin.fedoraproject.org/updates/abrt-java-connector-1.0.8-2.fc20 Greg ----- Forwarded Message -----
From: "Greg Sheremeta" <gshereme@redhat.com> To: "engine-devel" <engine-devel@ovirt.org> Sent: Monday, January 6, 2014 2:49:37 PM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
GWT team asked me to report against Fedora. So I did.
https://bugzilla.redhat.com/show_bug.cgi?id=1049011 [GWT compiler crash on Fedora 20]
I've had a few instances where the GWT compile did NOT finish and thus the oVirt build failed. But simply re-running it works.
Greg
----- Original Message -----
From: "Alon Bar-Lev" <alonbl@redhat.com> To: "Greg Sheremeta" <gshereme@redhat.com> Cc: "Adam Litke" <alitke@redhat.com>, "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 11:59:16 AM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
this is probably native code bug in openjdk.
----- Original Message -----
From: "Greg Sheremeta" <gshereme@redhat.com> To: "Adam Litke" <alitke@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 6:55:05 PM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
----- Original Message -----
From: "Adam Litke" <alitke@redhat.com> To: "Greg Sheremeta" <gshereme@redhat.com> Cc: "engine-devel" <engine-devel@ovirt.org> Sent: Friday, January 3, 2014 11:37:43 AM Subject: Re: [Engine-devel] ovirt-engine build segfault on Fedora 20
On 02/01/14 21:53 -0500, Greg Sheremeta wrote:
Caution on upgrading your dev machine to Fedora 20. GWT compilation of "safari" (for Chrome) causes a segfault during the build. Strangely, the build appears to work, so I'm not sure what the net effect of the segfault is.
If you only compile for gecko (Firefox) [the default], you won't see the segfault.
In other words, make clean install-dev PREFIX=$HOME/ovirt-engine DEV_EXTRA_BUILD_FLAGS_GWT_DEFAULTS="-Dgwt.userAgent=gecko1_8,safari" causes the segfault
But make install-dev PREFIX="$HOME/ovirt-engine" works just fine.
I've duplicated this with with both OpenJDK and Oracle JDK.
I can confirm this on my F20 system with OpenJDK as well. So far I have not observed any problems with the resulting build.
I've since duplicated it building a different GWT project, so I'll report the bug against GWT.
I also see a similar crash in Eclipse if Eclipse is using webkit (the default) AND Google Talk is installed. Either uninstalling GTalk or using -Dorg.eclipse.swt.browser.DefaultType=mozilla works around that. So the GWT bug might be a JDK bug. Thoughts?
...
GWT compiling a different GWT project --->
[INFO] Compiling module com.github.gwtbootstrap.Bootstrap [INFO] Compiling 6 permutations [INFO] Compiling permutation 0... [INFO] Compiling permutation 2... [INFO] Process output [INFO] Compiling [INFO] Compiling permutation 1... [INFO] Compiling permutation 3... [INFO] Compiling permutation 4... [INFO] Compiling permutation 5... [INFO] Compile of permutations succeeded *** Error in `java': double free or corruption (out): 0x00007eff24015d60 *** ======= Backtrace: ========= /lib64/libc.so.6[0x342ce75d9f] /lib64/libc.so.6[0x342ce7d098] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x8dcc3b)[0x7eff2b9d6c3b] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(+0x5ce967)[0x7eff2b6c8967] /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.60-2.4.3.0.fc20.x86_64/jre-abrt/lib/amd64/server/libjvm.so(JVM_Halt+0x30)[0x7eff2b706b10] [0x7eff210135ec] ======= Memory map: ========
_______________________________________________ Engine-devel mailing list Engine-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-devel
participants (3)
-
Adam Litke
-
Alon Bar-Lev
-
Greg Sheremeta