Public bug reported:

Steps to reproduce: Settings->Interface->Use custom skin

vlc version: 2.1.6-0ubuntu14.04.1
xubuntu 14.04

$ vlc
VLC media player 2.1.6 Rincewind (revision 2.1.6-0-gea01d28)
[0x1d36f48] skins2 interface: skin: subX  author: Martin Poehlmann
vlc: malloc.c:2372: sysmalloc: Assertion `(old_top == (((mbinptr) (((char *) 
&((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) 
&& old_size == 0) || ((unsigned long) (old_size) >= (unsigned 
long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 
*(sizeof(size_t))) - 1)) & ~((2 *(sizeof(size_t))) - 1))) && ((old_top)->size & 
0x1) && ((unsigned long) old_end & pagemask) == 0)' failed.

dpkg-source: info: extracting vlc in vlc-2.1.6
dpkg-source: info: unpacking vlc_2.1.6.orig.tar.xz
dpkg-source: info: unpacking vlc_2.1.6-0ubuntu14.04.1.debian.tar.gz
dpkg-source: info: applying pnap-grammar.patch
--- stack trace ---
#0  0x00007f897ea6ecc9 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
        resultvar = 0
        pid = 8080
        selftid = 8084
#1  0x00007f897ea720d8 in __GI_abort () at abort.c:89
        save_stage = 2
        act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, 
sa_mask = {__val = {140228512273031, 0, 206158430224, 140228306047792, 
140228306047600, 0, 0, 140228306047680, 18446603845403503937, 140228306047679, 
140227863642144, 36, 140228306047992, 0, 140228306048744, 140227878959168}}, 
sa_flags = 1476395040, sa_restorer = 0x7f897edf71c0 <_IO_2_1_stderr_>}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007f897eab57fd in __malloc_assert 
(assertion=assertion@entry=0x7f897ebba060 "(old_top == (((mbinptr) (((char *) 
&((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) 
&& old_size == 0) || ((unsigned long) (old_size) >= (unsigned 
long)((((__builtin_offs"..., file=file@entry=0x7f897ebb5b80 "malloc.c", 
line=line@entry=2372, function=function@entry=0x7f897ebb5efe <__func__.11292> 
"sysmalloc") at malloc.c:293
No locals.
#3  0x00007f897eab8c68 in sysmalloc (av=0x7f8958000020, nb=3904) at 
malloc.c:2369
        old_top = 0x7f8959404970
        snd_brk = 0x0
        front_misalign = <optimized out>
        remainder = <optimized out>
        tried_mmap = <optimized out>
        old_size = 0
        size = <optimized out>
        old_end = 0x7f8959404970 ""
        brk = 0x0
        correction = <optimized out>
        end_misalign = <optimized out>
        aligned_brk = <optimized out>
        p = <optimized out>
        remainder_size = <optimized out>
        pagemask = 4095
#4  _int_malloc (av=0x7f8958000020, bytes=3896) at malloc.c:3800
        iters = <optimized out>
        nb = 3904
        idx = <optimized out>
        bin = <optimized out>
        victim = <optimized out>
        size = <optimized out>
        victim_index = <optimized out>
        remainder = <optimized out>
        remainder_size = <optimized out>
        block = <optimized out>
        bit = <optimized out>
        map = <optimized out>
        fwd = <optimized out>
        bck = <optimized out>
        errstr = 0x0
        __func__ = "_int_malloc"
#5  0x00007f897eaba7b0 in __GI___libc_malloc (bytes=3896) at malloc.c:2891
        ar_ptr = 0x7f8958000020
        victim = 0x6
        __func__ = "__libc_malloc"
#6  0x00007f8979eb5b7d in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
No symbol table info available.
#7  0x00007f8979eb3dd7 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
No symbol table info available.
#8  0x00007f8979eb53ff in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
No symbol table info available.
#9  0x00007f8979eb5512 in xcb_wait_for_reply () from 
/usr/lib/x86_64-linux-gnu/libxcb.so.1
No symbol table info available.
#10 0x00007f897bd4848f in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
No symbol table info available.
#11 0x00007f897bd2e8dd in XGetImage () from 
/usr/lib/x86_64-linux-gnu/libX11.so.6
No symbol table info available.
#12 0x00007f8967dce3cf in X11Graphics::drawBitmap (this=0x7f8959389790, 
rBitmap=..., xSrc=xSrc@entry=0, ySrc=ySrc@entry=0, xDest=xDest@entry=10, 
yDest=yDest@entry=14, width=69, height=height@entry=14, blend=blend@entry=true) 
at x11/x11_graphics.cpp:189
        pad = <optimized out>
        mask = <optimized out>
        pBmpData = 0x7f8959403a60 ""
        pImage = <optimized out>
        pData = <optimized out>
        shift = <optimized out>
        makePixelFunc = <optimized out>
        newMask = <optimized out>
#13 0x00007f8967d5f60c in CtrlTree::makeImage (this=0x7f89593895e0) at 
controls/ctrl_tree.cpp:685
        color = <optimized out>
        depth = 1
        pText = 0x7f8959401a40
        ySrc = 0
        lineHeight = 14
        m_pCurBitmap = <optimized out>
        pStr = <optimized out>
        yPos = 14
        pPos = <optimized out>
        i_itemHeight = 14
        pOsFactory = <optimized out>
        bitmapWidth = 10
        width = 469
        height = 262
        it = {<std::_List_iterator<VarTree>> = {_M_node = 0x7f8958024950}, 
m_pRootTree = 0x7f89580244c0}
#14 0x00007f8967d9c14e in GenericLayout::addControl (this=0x7f8958ea78b0, 
pControl=0x7f89593895e0, rPosition=..., layer=8) at src/generic_layout.cpp:112
        it = <optimized out>
#15 0x00007f8967d7318f in Builder::addTree (this=this@entry=0x7f89725e9b40, 
rData=...) at parser/builder.cpp:1061
        pBgBmp = 0x7f895912a0b0
        pFlat = <optimized out>
        bgColor2 = <optimized out>
        pClosedBmp = 0x7f8958e9ab90
        fgColor = <optimized out>
        selColor = <optimized out>
        pTree = 0x7f89593895e0
        pItemBmp = 0x7f8958e9af10
        pFont = <optimized out>
        pInterpreter = <optimized out>
        pVisible = <optimized out>
        playColor = <optimized out>
        pOpenBmp = 0x7f8958e9ad50
        pVar = 0x7f89580244c0
        bgColor1 = <optimized out>
        pRect = <optimized out>
        pos = {<GenericRect> = {<Box> = {_vptr.Box = 0x7f8967ffced0}, <No data 
fields>}, m_left = 5, m_top = 3, m_right = 474, m_bottom = 265, m_rRect = 
@0x7f8958ea8c80, m_refLeftTop = Position::kLeftTop, m_refRighBottom = 
Position::kRightBottom, m_xKeepRatio = false, m_yKeepRatio = false, m_xRatio = 
6,9281776487233936e-310, m_yRatio = 0}
#16 0x00007f8967d7404d in add_objects<BuilderData::Tree> (addfn=(void 
(Builder::*)(Builder * const, const BuilderData::Tree &)) 0x7f8967d72d40 
<Builder::addTree(BuilderData::Tree const&)>, list=..., this=0x7f89725e9b40) at 
parser/builder.cpp:87
        i = {_M_node = 0x7f8958c6fc80}
#17 Builder::build (this=0x7f89725e9b40) at parser/builder.cpp:120
No locals.
#18 0x00007f8967da3be9 in ThemeLoader::parse (this=this@entry=0x7f8958010480, 
path=..., xmlFile=...) at src/theme_loader.cpp:348
        parser = {<XMLParser> = {<SkinObject> = {_vptr.SkinObject = 
0x7f8967ffbd10, m_pIntf = 0x1d36f48}, m_errors = false, m_pXML = 
0x7f89580342c8, m_pReader = 0x7f8958032838, m_pStream = 0x7f8958032228}, m_path 
= {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = 
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p 
= 0x7f8958034208 "/tmp/vltsAnLRZ/default"}}, m_pData = 0x7f8958032f30, 
m_ownData = true, m_curBitmapId = {static npos = <optimized out>, _M_dataplus = 
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data 
fields>}, <No data fields>}, _M_p = 0x7f8958c5bf98 "plglyphs"}}, m_curWindowId 
= {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = 
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p 
= 0x7f8958c6a138 "fullscreenController"}}, m_curLayoutId = {static npos = 
<optimized out>, _M_dataplus = {<std::allocator<char>> = 
{<__gnu_cxx::new_allocator<char>> = {<No dat
 a fields>}, <No data fields>}, _M_p = 0x7f8958c79318 "fsc_normal"}}, 
m_curPopupId = {static npos = <optimized out>, _M_dataplus = 
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data 
fields>}, <No data fields>}, _M_p = 0x7f897cde73d8 
<std::string::_Rep::_S_empty_rep_storage+24> ""}}, m_curListId = {static npos = 
<optimized out>, _M_dataplus = {<std::allocator<char>> = 
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p 
= 0x7f897cde73d8 <std::string::_Rep::_S_empty_rep_storage+24> ""}}, m_curTreeId 
= {static npos = <optimized out>, _M_dataplus = {<std::allocator<char>> = 
{<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p 
= 0x7f8958c75308 ""}}, m_popupPosList = {<std::_List_base<int, 
std::allocator<int> >> = {_M_impl = {<std::allocator<std::_List_node<int> >> = 
{<__gnu_cxx::new_allocator<std::_List_node<int> >> = {<No data fields>}, <No 
data fields>}, _M_node = {_M_next = 0x7f89725e9be8, _M_prev = 0x7f89725e9b
 e8}}}, <No data fields>}, m_xOffset = 0, m_yOffset = 0, m_xOffsetList = 
{<std::_List_base<int, std::allocator<int> >> = {_M_impl = 
{<std::allocator<std::_List_node<int> >> = 
{<__gnu_cxx::new_allocator<std::_List_node<int> >> = {<No data fields>}, <No 
data fields>}, _M_node = {_M_next = 0x7f89725e9c00, _M_prev = 
0x7f89725e9c00}}}, <No data fields>}, m_yOffsetList = {<std::_List_base<int, 
std::allocator<int> >> = {_M_impl = {<std::allocator<std::_List_node<int> >> = 
{<__gnu_cxx::new_allocator<std::_List_node<int> >> = {<No data fields>}, <No 
data fields>}, _M_node = {_M_next = 0x7f89725e9c10, _M_prev = 
0x7f89725e9c10}}}, <No data fields>}, m_panelStack = 
{<std::_List_base<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> >, std::allocator<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > > >> = {_M_impl = 
{<std::allocator<std::_List_node<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > > >> = 
{<__gnu_cxx::new_allocator<std:
 :_List_node<std::basic_string<char, std::char_traits<char>, 
std::allocator<char> > > >> = {<No data fields>}, <No data fields>}, _M_node = 
{_M_next = 0x7f8958033100, _M_prev = 0x7f8958033100}}}, <No data fields>}, 
m_curLayer = 44, m_idSet = {_M_t = {_M_impl = 
{<std::allocator<std::_Rb_tree_node<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > > >> = 
{<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> > > >> = {<No data fields>}, <No 
data fields>}, _M_key_compare = {<std::binary_function<std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, std::basic_string<char, 
std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, 
<No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 
0x7f8958c4e8c0, _M_left = 0x7f8958c70ab0, _M_right = 0x7f8958c658e0}, 
_M_node_count = 361}}}}
        builder = {<SkinObject> = {_vptr.SkinObject = 0x7f8967ffb6b0, m_pIntf = 
0x1d36f48}, m_rData = @0x7f8958032f30, m_path = {static npos = <optimized out>, 
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = 
{<No data fields>}, <No data fields>}, _M_p = 0x7f8958034208 
"/tmp/vltsAnLRZ/default"}}, m_pTheme = 0x7f8958c74f10, m_pImageHandler = 
0x7f8958c74740}
#19 0x00007f8967da3dae in ThemeLoader::extract (this=this@entry=0x7f8958010480, 
fileName=...) at src/theme_loader.cpp:311
        tmpdir = <optimized out>
        xmlFile = {static npos = <optimized out>, _M_dataplus = 
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data 
fields>}, <No data fields>}, _M_p = 0x7f8958034388 
"/tmp/vltsAnLRZ/default/theme.xml"}}
        pOsFactory = <optimized out>
        result = true
        tempPath = {static npos = <optimized out>, _M_dataplus = 
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data 
fields>}, <No data fields>}, _M_p = 0x7f8958030af8 "/tmp/vltsAnLRZ"}}
        path = {static npos = <optimized out>, _M_dataplus = 
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data 
fields>}, <No data fields>}, _M_p = 0x7f8958034208 "/tmp/vltsAnLRZ/default"}}
#20 0x00007f8967da445b in ThemeLoader::load (this=0x7f8958010480, fileName=...) 
at src/theme_loader.cpp:83
        path = {static npos = <optimized out>, _M_dataplus = 
{<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data 
fields>}, <No data fields>}, _M_p = 0x7f89580309b8 "/usr/share/vlc/skins2"}}
        p_stat = {st_dev = 2055, st_ino = 1724473, st_nlink = 1, st_mode = 
33188, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 163651, 
st_blksize = 4096, st_blocks = 320, st_atim = {tv_sec = 1445933310, tv_nsec = 
282406953}, st_mtim = {tv_sec = 1427337593, tv_nsec = 0}, st_ctim = {tv_sec = 
1445848338, tv_nsec = 802399369}, __glibc_reserved = {0, 0, 0}}
        pNewTheme = <optimized out>
#21 0x00007f8967d9f8c4 in Run (p_obj=0x1d36f48) at src/skin_main.cpp:256
        p_intf = 0x1d36f48
        b_error = false
        pLoader = 0x7f8958010480
        loop = 0x0
        canc = 0
        skin_last = 0x7f8958015c00 "/usr/share/vlc/skins2/default.vlt"
#22 0x00007f897f009182 in start_thread (arg=0x7f89725ea700) at 
pthread_create.c:312
        __res = <optimized out>
        pd = 0x7f89725ea700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140228306052864, 
-5860851200119951428, 0, 0, 140228306053568, 140228306052864, 
5888727402970722236, 5888716975004692412}, mask_was_saved = 0}}, priv = {pad = 
{0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#23 0x00007f897eb3247d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
--- source code stack trace ---
#0  0x00007f897ea6ecc9 in __GI_raise (sig=sig@entry=6) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:56
  [Error: ../nptl/sysdeps/unix/sysv/linux/raise.c was not found in source tree]
#1  0x00007f897ea720d8 in __GI_abort () at abort.c:89
  [Error: abort.c was not found in source tree]
#2  0x00007f897eab57fd in __malloc_assert 
(assertion=assertion@entry=0x7f897ebba060 "(old_top == (((mbinptr) (((char *) 
&((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) 
&& old_size == 0) || ((unsigned long) (old_size) >= (unsigned 
long)((((__builtin_offs"..., file=file@entry=0x7f897ebb5b80 "malloc.c", 
line=line@entry=2372, function=function@entry=0x7f897ebb5efe <__func__.11292> 
"sysmalloc") at malloc.c:293
  [Error: malloc.c was not found in source tree]
#3  0x00007f897eab8c68 in sysmalloc (av=0x7f8958000020, nb=3904) at 
malloc.c:2369
  [Error: malloc.c was not found in source tree]
#4  _int_malloc (av=0x7f8958000020, bytes=3896) at malloc.c:3800
  [Error: malloc.c was not found in source tree]
#5  0x00007f897eaba7b0 in __GI___libc_malloc (bytes=3896) at malloc.c:2891
  [Error: malloc.c was not found in source tree]
#6  0x00007f8979eb5b7d in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#7  0x00007f8979eb3dd7 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#8  0x00007f8979eb53ff in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#9  0x00007f8979eb5512 in xcb_wait_for_reply () from 
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#10 0x00007f897bd4848f in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#11 0x00007f897bd2e8dd in XGetImage () from 
/usr/lib/x86_64-linux-gnu/libX11.so.6
#12 0x00007f8967dce3cf in X11Graphics::drawBitmap (this=0x7f8959389790, 
rBitmap=..., xSrc=xSrc@entry=0, ySrc=ySrc@entry=0, xDest=xDest@entry=10, 
yDest=yDest@entry=14, width=69, height=height@entry=14, blend=blend@entry=true) 
at x11/x11_graphics.cpp:189
  [Error: x11/x11_graphics.cpp was not found in source tree]
#13 0x00007f8967d5f60c in CtrlTree::makeImage (this=0x7f89593895e0) at 
controls/ctrl_tree.cpp:685
  [Error: controls/ctrl_tree.cpp was not found in source tree]
#14 0x00007f8967d9c14e in GenericLayout::addControl (this=0x7f8958ea78b0, 
pControl=0x7f89593895e0, rPosition=..., layer=8) at src/generic_layout.cpp:112
  [Error: src/generic_layout.cpp was not found in source tree]
#15 0x00007f8967d7318f in Builder::addTree (this=this@entry=0x7f89725e9b40, 
rData=...) at parser/builder.cpp:1061
  [Error: parser/builder.cpp was not found in source tree]
#16 0x00007f8967d7404d in add_objects<BuilderData::Tree> (addfn=(void 
(Builder::*)(Builder * const, const BuilderData::Tree &)) 0x7f8967d72d40 
<Builder::addTree(BuilderData::Tree const&)>, list=..., this=0x7f89725e9b40) at 
parser/builder.cpp:87
  [Error: parser/builder.cpp was not found in source tree]
#17 Builder::build (this=0x7f89725e9b40) at parser/builder.cpp:120
  [Error: parser/builder.cpp was not found in source tree]
#18 0x00007f8967da3be9 in ThemeLoader::parse (this=this@entry=0x7f8958010480, 
path=..., xmlFile=...) at src/theme_loader.cpp:348
  [Error: src/theme_loader.cpp was not found in source tree]
#19 0x00007f8967da3dae in ThemeLoader::extract (this=this@entry=0x7f8958010480, 
fileName=...) at src/theme_loader.cpp:311
  [Error: src/theme_loader.cpp was not found in source tree]
#20 0x00007f8967da445b in ThemeLoader::load (this=0x7f8958010480, fileName=...) 
at src/theme_loader.cpp:83
  [Error: src/theme_loader.cpp was not found in source tree]
#21 0x00007f8967d9f8c4 in Run (p_obj=0x1d36f48) at src/skin_main.cpp:256
  [Error: src/skin_main.cpp was not found in source tree]
#22 0x00007f897f009182 in start_thread (arg=0x7f89725ea700) at 
pthread_create.c:312
  [Error: pthread_create.c was not found in source tree]
#23 0x00007f897eb3247d in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:111
  [Error: ../sysdeps/unix/sysv/linux/x86_64/clone.S was not found in source 
tree]

** Affects: vlc (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: crash

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1510420

Title:
  VLC crashes with custom skin

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/1510420/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to