[ 
http://opencast.jira.com/browse/MH-8756?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=30665#comment-30665
 ] 

Benjamin Wulff edited comment on MH-8756 at 5/11/12 4:30 PM:
-------------------------------------------------------------

A while ago I had a problem with another native library (libOpenCL via JavaCL) 
resulting in JVM crash with SIGSEGV. The problem was that the JVM was 
'stealing' OS signals that where intended for the library code. The workaround 
was to let the JVM load libjsig.so by setting LD_PRELOAD in the startup script

export LD_PRELOAD=<path_to_jdk>/jre/lib/amd64/libjsig.so 

With libjsig loaded, the JVM passes OS signals that it doesn't want to handle 
on to handlers in native code (a little more explanation at [1]).

...don't know if that helps here.

[1] 
http://publib.boulder.ibm.com/infocenter/realtime/v1r0/index.jsp?topic=%2Fcom.ibm.rt.doc.10%2Fuser%2Fnative_signals.html
                
      was (Author: bwulff):
    A while ago I had a problem with another native library (libOpenCL via 
JavaCL) resulting in JVM crash with SIGSEGV. The problem was that the JVM was 
'stealing' OS signals that where intended for the library code. The workaround 
was to let the JVM load libjsig.so by setting LD_PRELOAD in the startup script

export LD_PRELOAD=<path_to_jdk>/jre/lib/amd64/libjsig.so 

With libjsig loaded, the JVM passes OS signals that is doen't want to handle on 
to handlers in native code (a little more explanation at [1]).

...don't know if that helps here.

[1] 
http://publib.boulder.ibm.com/infocenter/realtime/v1r0/index.jsp?topic=%2Fcom.ibm.rt.doc.10%2Fuser%2Fnative_signals.html
                  
> Matterhorn Capture Agent JVM Crashes - libavcodec.so.52
> -------------------------------------------------------
>
>                 Key: MH-8756
>                 URL: http://opencast.jira.com/browse/MH-8756
>             Project: Matterhorn Project
>          Issue Type: Bug
>          Components: Capture (Devices and Software)
>    Affects Versions: 1.3, 1.2.1
>            Reporter: Jonathan Felder
>            Assignee: Adam McKenzie
>         Attachments: hs_err_pid1347.log, hs_err_pid26145.log, 
> hs_err_pid4252.log
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
http://opencast.jira.com/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
Matterhorn mailing list
[email protected]
http://lists.opencastproject.org/mailman/listinfo/matterhorn


To unsubscribe please email
[email protected]
_______________________________________________

Reply via email to