[FFmpeg-trac] #4507(undetermined:new): smbclient cause ffmpeg crash
FFmpeg
trac at avcodec.org
Thu Apr 23 04:01:10 CEST 2015
#4507: smbclient cause ffmpeg crash
-------------------------------------+-------------------------------------
Reporter: chuan | Type: defect
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug:
I enable smbclient.
When read system hidden file, ffmpeg crash.
As command, "AlbumArtSmall.jpg" is windows system hidden file,
if set it as input file, then ffmpeg crashed
How to reproduce:
{{{
% gdb --args ./ffmpeg_g -i smb://Samba:123456@mi-
20141201vdpk/users/Administrator/Music//AlbumArtSmall.jpg -f ffmetas
stacks:
#0 0x00007ffff40d4841 in ?? () from /usr/lib/x86_64-linux-
gnu/libsmbclient.so.0
#1 0x00007ffff74d054f in ?? () from /usr/local/lib/libavformat.so.56
#2 0x00007ffff74ebb59 in ?? () from /usr/local/lib/libavformat.so.56
#3 0x00007ffff74ebb93 in ffurl_close () from
/usr/local/lib/libavformat.so.56
#4 0x00007ffff75ee6af in avformat_close_input () from
/usr/local/lib/libavformat.so.56
#5 0x0000000000423110 in ffmpeg_cleanup (ret=1) at ffmpeg.c:498
#6 0x000000000040aae1 in exit_program (ret=1) at cmdutils.c:124
#7 0x000000000040875f in main (argc=5, argv=0x7fffffffe098) at
ffmpeg.c:4055
version:
ffmpeg version N-43282-gc4b2017 Copyright (c) 2000-2015 the FFmpeg
developers
built with gcc 4.9.1 (Ubuntu 4.9.1-16ubuntu6)
configuration: --enable-shared --enable-gpl --enable-libsmbclient
--enable-version3
libavutil 54. 22.100 / 54. 22.100
libavcodec 56. 34.100 / 56. 34.100
libavformat 56. 29.100 / 56. 29.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 13.101 / 5. 13.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
built on:
built with gcc 4.9.1 (Ubuntu 4.9.1-16ubuntu6)
}}}
thanks
--
Ticket URL: <https://trac.ffmpeg.org/ticket/4507>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list