Bug#844134: scilab-ann: FTBFS: segmentation fault

Lucas Nussbaum lucas at debian.org
Sat Nov 12 20:10:14 UTC 2016


Source: scilab-ann
Version: 0.4.2.4-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161111 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> CDBS WARNING:    simple-patchsys.mk is deprecated since 0.4.85 - please use source format 3.0 (quilt) instead
> make[1]: 'update-config' is up to date.
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
> SCI_DISABLE_TK=1 SCI_JAVA_ENABLE_HEADLESS=1 /usr/bin/scilab -nw -f builder.sce	
> Error: Impossible to define SCIHOME environment variable.
> libEGL warning: DRI3: xcb_connect failed
> libEGL warning: DRI2: xcb_connect failed
> libEGL warning: DRI2: xcb_connect failed
> Caught handled GLException: EGLGLXDrawableFactory - Could not initialize shared resources for EGLGraphicsDevice[type .egl, v0.0.0, connection nil, unitID 0, handle 0x0, owner true, ResourceToolkitLock[obj 0x65d9c875, isOwner true, <20db4aaa, 4200fc3f>[count 1, qsz 0, owner <main-SharedResourceRunner>]]] on thread main-SharedResourceRunner
>     [0]: jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createSharedResource(EGLDrawableFactory.java:518)
>     [1]: jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:353)
>     [2]: java.lang.Thread.run(Thread.java:745)
> Caused[0] by GLException: Failed to created/initialize EGL display incl. fallback default: native 0x0, error 0x3001/0x3001 on thread main-SharedResourceRunner
>     [0]: jogamp.opengl.egl.EGLDisplayUtil.eglGetDisplayAndInitialize(EGLDisplayUtil.java:297)
>     [1]: jogamp.opengl.egl.EGLDisplayUtil.access$300(EGLDisplayUtil.java:58)
>     [2]: jogamp.opengl.egl.EGLDisplayUtil$1.eglGetAndInitDisplay(EGLDisplayUtil.java:320)
>     [3]: com.jogamp.nativewindow.egl.EGLGraphicsDevice.open(EGLGraphicsDevice.java:125)
>     [4]: jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createEGLSharedResourceImpl(EGLDrawableFactory.java:532)
>     [5]: jogamp.opengl.egl.EGLDrawableFactory$SharedResourceImplementation.createSharedResource(EGLDrawableFactory.java:516)
>     [6]: jogamp.opengl.SharedResourceRunner.run(SharedResourceRunner.java:353)
>     [7]: java.lang.Thread.run(Thread.java:745)
> Building macros...
> -- Creation of [ANN_toolboxlib] (Macros) --
> genlib: Processing file: ann_FF_ConjugGrad.sci
> genlib: Processing file: ann_FF_Hess.sci
> genlib: Processing file: ann_FF_Jacobian.sci
> genlib: Processing file: ann_FF_Jacobian_BP.sci
> genlib: Processing file: ann_FF_Mom_batch.sci
> genlib: Processing file: ann_FF_Mom_batch_nb.sci
> genlib: Processing file: ann_FF_Mom_online.sci
> genlib: Processing file: ann_FF_Mom_online_nb.sci
> genlib: Processing file: ann_FF_SSAB_batch.sci
> genlib: Processing file: ann_FF_SSAB_batch_nb.sci
> genlib: Processing file: ann_FF_SSAB_online.sci
> genlib: Processing file: ann_FF_SSAB_online_nb.sci
> genlib: Processing file: ann_FF_Std_batch.sci
> genlib: Processing file: ann_FF_Std_batch_nb.sci
> genlib: Processing file: ann_FF_Std_online.sci
> genlib: Processing file: ann_FF_Std_online_nb.sci
> genlib: Processing file: ann_FF_VHess.sci
> genlib: Processing file: ann_FF_grad.sci
> genlib: Processing file: ann_FF_grad_BP.sci
> genlib: Processing file: ann_FF_grad_BP_nb.sci
> genlib: Processing file: ann_FF_grad_nb.sci
> genlib: Processing file: ann_FF_init.sci
> genlib: Processing file: ann_FF_init_nb.sci
> genlib: Processing file: ann_FF_run.sci
> genlib: Processing file: ann_FF_run_nb.sci
> genlib: Processing file: ann_d_log_activ.sci
> genlib: Processing file: ann_d_sum_of_sqr.sci
> genlib: Processing file: ann_log_activ.sci
> genlib: Processing file: ann_pat_shuffle.sci
> genlib: Processing file: ann_sum_of_sqr.sci
> genlib: Regenerate names and lib
> Building help...
> 
> Building the master document:
> 	/<<PKGBUILDDIR>>/help/en_US
> 
> Building the manual file [javaHelp] in /<<PKGBUILDDIR>>/help/en_US.
> Total files without example: 32
> Total generated html files: 36
> Generating loader.sce...
> Generating unloader.sce...
> Generating cleaner.sce...
>  
>  
>                                  !--error 42 
> A fatal error has been detected by Scilab.
> Your instance will probably quit unexpectedly soon.
> If a graphic feature has been used, this might be caused by the system graphic drivers.
> Please try to update them and run this feature again.
> You can report a bug on http://bugzilla.scilab.org/ with:
> * a sample code which reproduces the issue
> * the result of [a, b] = getdebuginfo()
> * the following information:
> [ip-172-31-0-73:45723] Signal: Segmentation fault (11)
> [ip-172-31-0-73:45723] Signal code:  (128)
> [ip-172-31-0-73:45723] Failing at address: (nil)
>  
> Call stack:
>    1: 0x8c14a9 <JVM_handle_linux_signal>        (/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so)
>    2: 0x8b5458 < >                              (/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so)
>    3: 0x11100  < >                              (/lib/x86_64-linux-gnu/libpthread.so.0)
>    4: 0x12720  < >                              (/lib/x86_64-linux-gnu/libpthread.so.0)
>    5: 0x35920  < >                              (/lib/x86_64-linux-gnu/libc.so.6)
>    6: 0x3597a  < >                              (/lib/x86_64-linux-gnu/libc.so.6)
>    7: 0x202b8  <__libc_start_main>              (/lib/x86_64-linux-gnu/libc.so.6)
>    8: 0x192a   < >                              (/usr/bin/scilab-bin)
> End of stack
> 
> 
>  
>                                  !--error 999 
> Aborting current computation
>  
> Segmentation fault
> debian/rules:8: recipe for target 'build/scilab-ann' failed
> make: *** [build/scilab-ann] Error 139

The full build log is available from:
   http://aws-logs.debian.net/2016/11/11/scilab-ann_0.4.2.4-1_unstable.log

This failure happens on a CPU with TSX extensions available, but is not
reproducible on a machine without them. For context, I recommend reading the
thread starting at https://lists.debian.org/debian-devel/2016/11/msg00210.html

The node used is an Amazon EC2 VM with 64 cores. /proc/cpuinfo says:
   model    : 79
   model name : Intel(R) Xeon(R) CPU E5-2686 v4 @ 2.30GHz
   stepping : 1

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the debian-science-maintainers mailing list