harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Berezhniuk (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HARMONY-6132) [drlvm][build] SSLSocketImplTest breaks in Fedora since hy.no.sig removal
Date Wed, 20 May 2009 23:58:45 GMT

     [ https://issues.apache.org/jira/browse/HARMONY-6132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Ilya Berezhniuk updated HARMONY-6132:

    Attachment: vm_sigpipe_ign.patch

Adding the patch to ignore SIGPIPE in drlvm.

I checked the patch with following command line (to use gdb for debugging):
./deploy/jdk/jre/bin/java -Xbootclasspath/p:${H}/common_resources/depends/jars/junit_4.4/junit.jar:${H}/working_classlib/build/tests:${H}/working_classlib/build/test_support:${H}/working_classlib/modules/x-net/bin/test/impl.injected:${H}/working_classlib/modules/x-net/bin/test/impl:${H}/working_classlib/modules/luni/src/test/resources/org/apache/harmony/luni/tests
junit.textui.TestRunner org.apache.harmony.xnet.provider.jsse.SSLSocketImplTest

The test passes with this patch, and crashes on SIGPIPE withot it.

Unfortunately, when started through "ant -Dtest.jre.home=....../jdk/jre/ -Dtest.case="org.apache.harmony.xnet.provider.jsse.SSLSocketImplTest"
-Dbuild.module=x-net test", the test crashes even with the patch:
Test org.apache.harmony.xnet.provider.jsse.SSLSocketImplTest FAILED (crashed)

I have not found a cause of such crash yet; there is no coredump, so it can be SIGALRM or
other non-core signal. I'll try to find out...

> [drlvm][build] SSLSocketImplTest breaks in Fedora since hy.no.sig removal
> -------------------------------------------------------------------------
>                 Key: HARMONY-6132
>                 URL: https://issues.apache.org/jira/browse/HARMONY-6132
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>    Affects Versions: 5.0M8
>         Environment: Fedora Linux32/64
>            Reporter: chunrong lai
>         Attachments: vm_sigpipe_ign.patch
>   As http://mail-archives.apache.org/mod_mbox/harmony-dev/200809.mbox/%3cf9761b910809160814s7fd8e257gd99b4a15d97008c0@mail.gmail.com%3e
mentioned,  SSLSocketImplTest in classlib test breaks in Fedora machines since r691267 which
 removes the hy.no.sig option and makes it the default. 
>  The failure can be reproduced by 
>  working_classlib]$ ant -Dtest.jre.home=....../jdk/jre/ -Dtest.case="org.apache.harmony.xnet.provider.jsse.SSLSocketImplTest"
-Dbuild.module=x-net test
>  It is also noted that the failure may be irreproducible in other Linux distributions.
So I also attach my environment here:
> [shareuse@MRObj-lnx32-07 ~]$ uname -a
> Linux MRObj-lnx32-07 2.6.21-1.3194.fc7 #1 SMP Wed May 23 22:35:01 EDT 2007 i686 i686
i386 GNU/Linux
> [shareuse@MRObj-lnx32-07 ~]$ gcc -v
> Using built-in specs.
> Target: i386-redhat-linux
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info
--enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj- --enable-libgcj-multifile
--enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --with-cpu=generic
> Thread model: posix
> gcc version 4.1.2 20070502 (Red Hat 4.1.2-12)
> [shareuse@MRObj-lnx32-07 lib]$ ls -lt libc.so.*
> lrwxrwxrwx 1 root root 11 2008-06-23 21:58 libc.so.6 -> libc-2.6.so

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message