Bug#686250: vlc segfaults when opening directory containing "(" or ")"

twied twied at gmx.net
Thu Aug 30 15:04:32 UTC 2012


Package: vlc
Version: 2.0.3-1
Severity: important

Dear Maintainer,

Vlc crashes with a segfault under the following condition:
- Drag and drop an directory with "(" and ")" into the playlist
- Have vlc finish playing the last song or video before the dropped directory

If I just drop some directories (which are named $album "(" $year ")")
into the playlist, vlc will crash after finishing the first album. This does
not happen if I double click a dropped directory in the playlist. Then vlc just
opens the directories and plays the files.

The behaviour does not depend on the content of the directory, this is
reproducible with an example file (
http://en.wikipedia.org/wiki/File:Example.ogg ) in a directory named "foo(bar)"

Here is a full backtrace:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffddea5700 (LWP 4066)]
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:32
32	../sysdeps/x86_64/multiarch/../strlen.S: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:32
No locals.
#1  0x00007fffed228f07 in DVDOpen () from /usr/lib/x86_64-linux-gnu/libdvdread.so.4
No symbol table info available.
#2  0x00007fffed44dff8 in ?? () from /usr/lib/x86_64-linux-gnu/libdvdnav.so.4
No symbol table info available.
#3  0x00007fffed446a75 in dvdnav_open () from /usr/lib/x86_64-linux-gnu/libdvdnav.so.4
No symbol table info available.
#4  0x00007fffed65cd3a in Open (p_this=0x7fffd8c51308) at dvdnav.c:231
        p_demux = 0x7fffd8c51308
        p_sys = <optimized out>
        p_dvdnav = <optimized out>
        psz_file = <optimized out>
        psz_code = <optimized out>
        forced = false
        psz_path = 0xa31b30 "/home/user/temp/foo(bar)"
#5  0x00007ffff795fc61 in vlc_module_load (p_this=p_this at entry=0x7fffd8c51308, 
    psz_capability=psz_capability at entry=0x7ffff7999052 "access_demux", psz_name=<optimized out>, 
    b_strict=b_strict at entry=true, probe=probe at entry=0x7ffff795f510 <generic_start>) at modules/modules.c:347
        ap = {{gp_offset = 48, fp_offset = 48, overflow_arg_area = 0x7fffddea4a90, reg_save_area = 0x7fffddea49a0}}
        p_cand = 0x7c8b90
        ret = <optimized out>
        i = <optimized out>
        p_list = 0x9a17b0
        p_module = <optimized out>
        i_shortcuts = 1
        psz_shortcuts = 0x850a60 "file"
        psz_var = <optimized out>
        psz_alias = <optimized out>
        b_force_backup = false
        count = 3
        p_all = 0x9a7200
        args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffddea4a90, reg_save_area = 0x7fffddea49a0}}
#6  0x00007ffff79600e4 in module_need (obj=obj at entry=0x7fffd8c51308, cap=cap at entry=0x7ffff7999052 "access_demux", 
    name=<optimized out>, strict=strict at entry=true) at modules/modules.c:437
No locals.
#7  0x00007ffff791d808 in demux_New (p_obj=p_obj at entry=0x7fffe401c2f8, p_parent_input=p_parent_input at entry=0x7fffe401c2f8, 
    psz_access=0x7fffd8c51220 "file", psz_demux=psz_demux at entry=0x7ffff79a18ca "", 
    psz_location=0x7fffd8c51227 "/home/user/temp/foo(bar)", s=s at entry=0x0, out=0x8f8f90, b_quick=b_quick at entry=false)
    at input/demux.c:195
        p_demux = 0x7fffd8c51308
        psz_module = <optimized out>
        psz_ext = <optimized out>
#8  0x00007ffff792a2a1 in InputSourceInit (p_input=p_input at entry=0x7fffe401c2f8, in=0x9e3d40, 
    psz_mrl=0xa7fcd0 "file:///home/user/temp/foo(bar)", psz_forced_demux=psz_forced_demux at entry=0x0, 
    b_in_can_fail=b_in_can_fail at entry=false) at input/input.c:2400
        psz_access = 0x7fffd8c51220 "file"
        psz_demux = 0x7ffff79a18ca ""
        psz_path = 0x7fffd8c51227 "/home/user/temp/foo(bar)"
---Type <return> to continue, or q <return> to quit---
        psz_anchor = 0x7ffff79a18ca ""
        psz_var_demux = 0x0
        f_fps = <optimized out>
        psz_dup = 0x7fffd8c51220 "file"
#9  0x00007ffff792b26e in Init (p_input=p_input at entry=0x7fffe401c2f8) at input/input.c:1258
        p_meta = <optimized out>
        i = <optimized out>
        i_length = <optimized out>
#10 0x00007ffff792e9e5 in Run (obj=0x7fffe401c2f8) at input/input.c:550
        p_input = 0x7fffe401c2f8
        canc = 0
        b_abort = <optimized out>
#11 0x00007ffff76c2b50 in start_thread (arg=<optimized out>) at pthread_create.c:304
        __res = <optimized out>
        pd = 0x7fffddea5700
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736916510464, -4099118628186960498, 140737321008544, 140736916511168, 
                140737354125376, 3, 4099043704123870606, 4099101992022363534}, mask_was_saved = 0}}, priv = {pad = {0x0, 
              0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#12 0x00007ffff6a6a70d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
No locals.
#13 0x0000000000000000 in ?? ()
No symbol table info available.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages vlc depends on:
ii  fonts-freefont-ttf [ttf-freefont]  20120503-1
ii  libaa1                             1.4p5-40
ii  libavcodec53                       6:0.8.3-6
ii  libavutil51                        6:0.8.3-6
ii  libc6                              2.13-35
ii  libcaca0                           0.99.beta18-1
ii  libfreetype6                       2.4.9-1
ii  libfribidi0                        0.19.2-3
ii  libgcc1                            1:4.7.1-2
ii  libgl1-mesa-glx [libgl1]           8.0.4-2
ii  libice6                            2:1.0.8-2
ii  libqtcore4                         4:4.8.2-2+b1
ii  libqtgui4                          4:4.8.2-2+b1
ii  libsdl-image1.2                    1.2.12-2
ii  libsdl1.2debian                    1.2.15-5
ii  libsm6                             2:1.2.1-2
ii  libstdc++6                         4.7.1-2
ii  libtar0                            1.2.16-1
ii  libva-x11-1                        1.0.15-4
ii  libva1                             1.0.15-4
ii  libvlccore5                        2.0.3-1
ii  libx11-6                           2:1.5.0-1
ii  libxcb-composite0                  1.8.1-1
ii  libxcb-keysyms1                    0.3.9-1
ii  libxcb-randr0                      1.8.1-1
ii  libxcb-render0                     1.8.1-1
ii  libxcb-shape0                      1.8.1-1
ii  libxcb-shm0                        1.8.1-1
ii  libxcb-xfixes0                     1.8.1-1
ii  libxcb-xv0                         1.8.1-1
ii  libxcb1                            1.8.1-1
ii  libxext6                           2:1.3.1-2
ii  libxinerama1                       2:1.1.2-1
ii  libxpm4                            1:3.5.10-1
ii  ttf-freefont                       20120503-1
ii  vlc-nox                            2.0.3-1
ii  zlib1g                             1:1.2.7.dfsg-13

Versions of packages vlc recommends:
pn  vlc-plugin-notify  <none>
pn  vlc-plugin-pulse   <none>
ii  xdg-utils          1.1.0~rc1+git20111210-6

Versions of packages vlc suggests:
pn  videolan-doc  <none>

-- no debconf information



More information about the pkg-multimedia-maintainers mailing list