VLC crash with new libEGL.so.1 from 355.11

VLC crashes immediately on startup when using libEGL.so.1 from the 355.11 version of the drivers on Debian Jessie 64bit.

If I swap the symlink to the older libEGL_nvidia.so.0 the crash doesn’t happen anymore.

nvidia-bugreport output and Debian’s reportbug --template nvidia-driver output attached.

Backtrace:

Starting program: /usr/bin/vlc 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
VLC media player 2.2.0-rc2 Weatherwax (revision 2.2.0-rc1-118-g22fda39)

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6362be1 in __eglTeardownVendor () from /usr/lib/x86_64-linux-gnu/libEGL.so.1
(gdb) bt full
#0  0x00007ffff6362be1 in __eglTeardownVendor () from /usr/lib/x86_64-linux-gnu/libEGL.so.1
No symbol table info available.
#1  0x00007ffff7def7d9 in _dl_close_worker (map=map@entry=0x6e7960) at dl-close.c:277
        imap = 0x6e7e30
        i = 13
        dl_close_state = pending
        nsid = <optimized out>
        any_tls = false
        nloaded = <optimized out>
        used = <optimized out>
        done = <optimized out>
        maps = 0x7fffffffd640
        idx = <optimized out>
        __PRETTY_FUNCTION__ = "_dl_close_worker"
        done_index = <optimized out>
        do_audit = <optimized out>
        unload_any = <optimized out>
        scope_mem_left = false
        unload_global = 0
        first_loaded = 12
        r = <optimized out>
        tls_free_start = <optimized out>
        tls_free_end = <optimized out>
#2  0x00007ffff7df029c in _dl_close (_map=0x6e7960) at dl-close.c:773
        map = 0x6e7960
        __PRETTY_FUNCTION__ = "_dl_close"
#3  0x00007ffff7dea8b4 in _dl_catch_error (objname=0x604020, errstring=0x604028, mallocedp=0x604018, 
    operate=0x7ffff779b0e0 <dlclose_doit>, args=0x6e7960) at dl-error.c:187
        errcode = -1018512306
        c = {objname = 0x604020, errstring = 0x604028, malloced = 0x604018, errcode = 0x7fffffffd864, env = {{
              __jmpbuf = {0, -4374476276053861275, 7240032, 140737488345544, 140737488345536, 7238944, 
                -4374494919709975451, -4374477041355088795}, __mask_was_saved = 0, __saved_mask = {__val = {
                  140733193388156, 140737488345536, 7238944, 140737345308192, 55, 6312216, 140737488345544, 
                  140737488345536, 7238944, 140737342001264, 7238944, 7238944, 55, 140737342024154, 7258560, 
                  7258560}}}}}
        catchp = 0x7ffff7fb86f8
        old = <optimized out>
#4  0x00007ffff779b5dd in _dlerror_run (operate=operate@entry=0x7ffff779b0e0 <dlclose_doit>, args=0x6e7960)
    at dlerror.c:163
        result = 0x604010
#5  0x00007ffff779b10f in __dlclose (handle=<optimized out>) at dlclose.c:46
No locals.
#6  0x00007ffff71988b5 in module_Unload (handle=<optimized out>) at posix/plugin.c:85
No locals.
#7  0x00007ffff717da4e in AllocatePluginFile (st=0x7fffffffd9d0, relpath=<optimized out>, 
    abspath=0x6e7520 "/usr/lib/vlc/plugins/video_output/libegl_x11_plugin.so", bank=0x7fffffffdbe0)
    at modules/bank.c:536
        module = 0x6ec1c0
#8  AllocatePluginDir (bank=bank@entry=0x7fffffffdbe0, maxdepth=3, maxdepth@entry=4, absdir=<optimized out>, 
    reldir=0x6ce010 "video_output") at modules/bank.c:488
        prefix = "lib"
        suffix = "_plugin.so"
        len = <optimized out>
        file = <optimized out>
        relpath = 0x6cc050 "video_output/libegl_x11_plugin.so"
        abspath = 0x6e7520 "/usr/lib/vlc/plugins/video_output/libegl_x11_plugin.so"
        st = {st_dev = 2050, st_ino = 819546, st_nlink = 1, st_mode = 33188, st_uid = 0, st_gid = 0, __pad0 = 0, 
          st_rdev = 0, st_size = 14520, st_blksize = 4096, st_blocks = 32, st_atim = {tv_sec = 1444427663, 
            tv_nsec = 125156112}, st_mtim = {tv_sec = 1439995483, tv_nsec = 0}, st_ctim = {tv_sec = 1440335637, 
            tv_nsec = 91193544}, __glibc_reserved = {0, 0, 0}}
        dh = 0x6d97e0
#9  0x00007ffff717d6d4 in AllocatePluginDir (bank=bank@entry=0x7fffffffdbe0, maxdepth=4, maxdepth@entry=5, 
    absdir=absdir@entry=0x631d90 "/usr/lib/vlc/plugins", reldir=reldir@entry=0x0) at modules/bank.c:492
        file = 0x6d17fb "video_output"
        relpath = 0x6ce010 "video_output"
        abspath = 0x619f40 "/usr/lib/vlc/plugins/video_output"
        st = {st_dev = 2050, st_ino = 828172, st_nlink = 2, st_mode = 16877, st_uid = 0, st_gid = 0, __pad0 = 0, 
          st_rdev = 0, st_size = 4096, st_blksize = 4096, st_blocks = 8, st_atim = {tv_sec = 1444427663, 
            tv_nsec = 113155999}, st_mtim = {tv_sec = 1440335638, tv_nsec = 791218023}, st_ctim = {
            tv_sec = 1440335638, tv_nsec = 791218023}, __glibc_reserved = {0, 0, 0}}
        dh = 0x6d17a0
#10 0x00007ffff717dc54 in AllocatePluginPath (p_this=p_this@entry=0x605118, path=0x631d90 "/usr/lib/vlc/plugins", 
    mode=mode@entry=CACHE_USE) at modules/bank.c:401
        bank = {obj = 0x605118, base = 0x631d90 "/usr/lib/vlc/plugins", mode = CACHE_USE, i_cache = 15, 
          cache = 0x6e64c0, i_loaded_cache = 345, loaded_cache = 0x6cec70}
        cache = 0x6cec70
        count = 345
#11 0x00007ffff717e221 in AllocateAllPlugins (p_this=0x605118) at modules/bank.c:328
        paths = 0x631d90 "/usr/lib/vlc/plugins"
        mode = CACHE_USE
        vlcpath = 0x631db0 "/usr/lib/vlc"
#12 module_LoadPlugins (obj=0x605118) at modules/bank.c:184
        count = 6495632
        list = <optimized out>
#13 0x00007ffff71040cd in libvlc_InternalInit (p_libvlc=0x605118, i_argc=1, i_argc@entry=4, ppsz_argv=0x7fffffffdd50)
    at libvlc.c:151
        module_count = 4
        vlc_optind = 1
#14 0x00007ffff7bc2a8b in libvlc_new (argc=argc@entry=3, argv=argv@entry=0x7fffffffddb0) at core.c:59
        p_new = 0x605010
        my_argv = 0x7fffffffdd50
        p_libvlc_int = 0x605118
#15 0x0000000000401272 in main (i_argc=<optimized out>, ppsz_argv=0x7fffffffe020) at vlc.c:229
        set = {__val = {86023, 0 <repeats 15 times>}}
        self = 140737353844480
        argv = 0x7fffffffddb0
        argc = 3
        vlc = <optimized out>
        ret = <optimized out>
        signum = 32767

nvidia-bug-report.log.gz (267 KB)
debian-reportbug.tar.gz (21.3 KB)

Same here:

[ 2125.237868] vlc[15864]: segfault at 8 ip 00007f553f11bbe1 sp 00007ffe5f0753e0 error 4 in libEGL.so.1[7f553f119000+4000]

(gdb) run
Starting program: /usr/bin/vlc
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib/x86_64-linux-gnu/libthread_db.so.1”.
VLC media player 2.2.2 Weatherwax (revision 2.2.2-0-g6259d80)

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5627be1 in __eglTeardownVendor () from /usr/lib/x86_64-linux-gnu/libEGL.so.1

Not 4me /
using 355.11 on kernel-4.3.0-rc1

output /usr/bin/vlc .
/usr/bin/vlc
VLC media player 2.2.0 Weatherwax (revision 2.2.0-0-g1349ef2)
[0000000000c5e148] core libvlc: VLC wird mit dem Standard-Interface ausgeführt

Downgrade vlc to 2.2.0

What vlc version affected by this issue? Please provide nvidia bug report. Is any earlier or latest nvidia driver don’t have this issue?