[jboss-jira] [JBoss JIRA] (ELY-283) Investigate Elytron and gssproxy interoperability

Jan Kalina (JIRA) issues at jboss.org
Thu Dec 14 12:38:00 EST 2017


    [ https://issues.jboss.org/browse/ELY-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13505630#comment-13505630 ] 

Jan Kalina commented on ELY-283:
--------------------------------

Even after patching openjdk to fix issue above (patch in attachement openjdk-patch-native-mechs.patch), the JVM crash in native acceptContext():
{code}
Current thread (0x00007f8bbc3c8000):  JavaThread "management task-1" [_thread_in_native, id=10598, stack(0x00007f8b9b73b000,0x00007f8b9b83c000)]

Stack: [0x00007f8b9b73b000,0x00007f8b9b83c000],  sp=0x00007f8b9b839a20,  free space=1018k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0x932b2]  cfree+0x32

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  sun.security.jgss.wrapper.GSSLibStub.acceptContext(JLorg/ietf/jgss/ChannelBinding;[BLsun/security/jgss/wrapper/NativeGSSContext;)[B+0 java.security.jgss at 9-internal
j  sun.security.jgss.wrapper.NativeGSSContext.acceptSecContext(Ljava/io/InputStream;I)[B+68 java.security.jgss at 9-internal
j  sun.security.jgss.GSSContextImpl.acceptSecContext(Ljava/io/InputStream;Ljava/io/OutputStream;)V+233 java.security.jgss at 9-internal
j  sun.security.jgss.GSSContextImpl.acceptSecContext([BII)[B+24 java.security.jgss at 9-internal
j  org.wildfly.security.sasl.gs2.Gs2SaslServer.evaluateMessage(I[B)[B+586
{code}
Looks like this will need some more JDK fixes... I think this issue should be postponed for now, until this will be resolved in JDK...
[~dlofthouse] Do we have contact to OpenJDK developers, to forwared them this issue? (openjdk jira is not public)

> Investigate Elytron and gssproxy interoperability
> -------------------------------------------------
>
>                 Key: ELY-283
>                 URL: https://issues.jboss.org/browse/ELY-283
>             Project: WildFly Elytron
>          Issue Type: Task
>          Components: SASL
>            Reporter: Peter Skopek
>            Assignee: Jan Kalina
>             Fix For: 2.0.0.Alpha1
>
>         Attachments: openjdk-patch-native-mechs.patch
>
>
> Investigate Elytron and gssproxy interoperability.
> https://fedorahosted.org/gss-proxy/



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list