[MPlayer-users] Major regression in r36452, sig 11 demux_open

Josh joshf87 at live.com
Tue Sep 24 05:49:39 CEST 2013


On 9/22/2013 03:34, Reimar Döffinger wrote:
> On Sun, Sep 22, 2013 at 12:29:05AM -0400, Josh wrote:
>> I thought this was an FFmpeg regression but reverting to a known
>> good FFmpeg revision didn't fix the regression. Basically, in every
>> single h264/webm file I am getting a "Signal 11: demux_open" error.
>> I have traced this to r36452. There might be other formats affected.
>
> Should be fixed.
> It only happened "randomly", depending on your system, compilation
> options, configuration etc.
> The backtrace was completely misleading though.
> I don't know if you care about these things, but
> http://www.drmemory.org/ is a great tool for Windows that like
> valgrind on Linux/OSX makes tracking down these things much simpler.
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
>
>

Is this easier to decipher? Do you care about the 'leak' errors?

Dr. Memory version 1.6.0 build 2 built on Sep  7 2013 03:37:07
Dr. Memory results for pid 2100: "mplayer.exe"
Application cmdline: 
"E:\Buildsys\projects\mplayer\mpl-bin-r36452-d\mplayer.exe 
"F:\Videos\TV\Anime\[UTW] Fate Zero - 01-13 
[h264-720p]\[UTW]_Fate_Zero_-_01_[h264-720p][D770ECA6].mkv""
Recorded 97 suppression(s) from default 
E:\Programs\DrMemory\bin\suppress-default.txt

Error #1: UNINITIALIZED READ: reading register eax
# 0 av_dict_get                       [libavutil/dict.c:43]
# 1 av_dict_copy                      [libavutil/dict.c:180]
# 2 avformat_open_input               [libavformat/utils.c:481]
# 3 demux_open_lavf                   [libmpdemux/demux_lavf.c:567]
# 4 demux_open_stream                 [libmpdemux/demuxer.c:1100]
# 5 demux_open                        [libmpdemux/demuxer.c:1274]
# 6 main 
[E:\Buildsys\mpsrc\mpl-svn/mplayer.c:3367]
Note: @0:00:01.310 in thread 2844
Note: instruction: test   %eax %eax

Error #2: UNADDRESSABLE ACCESS: reading 0x00000000-0x00000004 4 byte(s)
# 0 av_dict_get                       [libavutil/dict.c:50]
# 1 av_dict_copy                      [libavutil/dict.c:180]
# 2 avformat_open_input               [libavformat/utils.c:481]
# 3 demux_open_lavf                   [libmpdemux/demux_lavf.c:567]
# 4 demux_open_stream                 [libmpdemux/demuxer.c:1100]
# 5 demux_open                        [libmpdemux/demuxer.c:1274]
# 6 main 
[E:\Buildsys\mpsrc\mpl-svn/mplayer.c:3367]
Note: @0:00:01.317 in thread 2844
Note: instruction: mov    (%eax) -> %esi

Error #3: UNADDRESSABLE ACCESS: reading 0xfffdde80-0xfffdde84 4 byte(s)
# 0 KERNELBASE.dll!TlsGetValue                   +0x17     (0x749e3c24 
<KERNELBASE.dll+0x13c24>)
# 1 __mingwthr_run_key_dtors.part.0 
[/home/ruben/mingw-w64/src/mingw-w64/mingw-w64-crt/crt/tlsthrd.c:108]
# 2 __mingw_TLScallback 
[/home/ruben/mingw-w64/src/mingw-w64/mingw-w64-crt/crt/tlsthrd.c:102]
# 3 ntdll.dll!RtlUlonglongByteSwap               +0x7a8    (0x76f8dc49 
<ntdll.dll+0x7dc49>)
# 4 ntdll.dll!wcscspn                            +0x251    (0x76f80a91 
<ntdll.dll+0x70a91>)
# 5 ntdll.dll!RtlExitUserProcess                 +0x73     (0x76f5d5a4 
<ntdll.dll+0x4d5a4>)
# 6 KERNEL32.dll!ExitProcess                     +0x14     (0x752e7a0d 
<KERNEL32.dll+0x17a0d>)
# 7 msvcrt.dll!__crtExitProcess
# 8 msvcrt.dll!_cinit
# 9 msvcrt.dll!exit
#10 exit_sighandler 
[E:\Buildsys\mpsrc\mpl-svn/mplayer.c:856]
#11 ntdll.dll!RtlKnownExceptionFilter            +0xb6     (0x76f874ff 
<ntdll.dll+0x774ff>)
Note: @0:00:01.539 in thread 2844
Note: instruction: mov    0x00000e10(%eax,%ecx,4) -> %eax

Error #4: POSSIBLE LEAK 660 direct bytes 0x140e00f8-0x140e038c + 0 
indirect bytes
# 0 replace_malloc 
[d:\drmemory_package\common\alloc_replace.c:2292]
# 1 msvcrt.dll!_malloc_crt
# 2 msvcrt.dll!__setargv
# 3 msvcrt.dll!__getmainargs
# 4 pre_cpp_init 
[/home/ruben/mingw-w64/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:143]
# 5 __tmainCRTStartup 
[/home/ruben/mingw-w64/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:251]
# 6 KERNEL32.dll!BaseThreadInitThunk +0x11     (0x752e33aa 
<KERNEL32.dll+0x133aa>)

Error #5: LEAK 6 direct bytes 0x140e0648-0x140e064e + 0 indirect bytes
# 0 replace_malloc 
[d:\drmemory_package\common\alloc_replace.c:2292]
# 1 msvcrt.dll!_strdup
# 2 get_term_charset               [osdep/getch2-win.c:216]
# 3 mp_msg_init                    [E:\Buildsys\mpsrc\mpl-svn/mp_msg.c:90]
# 4 common_preinit 
[E:\Buildsys\mpsrc\mpl-svn/mpcommon.c:565]
# 5 main 
[E:\Buildsys\mpsrc\mpl-svn/mplayer.c:2778]

Error #6: LEAK 7 direct bytes 0x140e8778-0x140e877f + 0 indirect bytes
# 0 replace_malloc 
[d:\drmemory_package\common\alloc_replace.c:2292]
# 1 msvcrt.dll!_strdup
# 2 copy_str 
[E:\Buildsys\mpsrc\mpl-svn/m_option.c:422]
# 3 m_config_add_option 
[E:\Buildsys\mpsrc\mpl-svn/m_option.h:518]
# 4 m_config_register_options 
[E:\Buildsys\mpsrc\mpl-svn/m_config.c:380]
# 5 __tmainCRTStartup 
[/home/ruben/mingw-w64/src/mingw-w64/mingw-w64-crt/crt/crtexe.c:313]
# 6 KERNEL32.dll!BaseThreadInitThunk       +0x11     (0x752e33aa 
<KERNEL32.dll+0x133aa>)

Error #7: POSSIBLE LEAK 1320 direct bytes 0x14189228-0x14189750 + 0 
indirect bytes
# 0 replace_malloc 
[d:\drmemory_package\common\alloc_replace.c:2292]
# 1 av_malloc                            [libavutil/mem.c:85]
# 2 avformat_alloc_context               [libavformat/options.c:109]
# 3 demux_open_lavf                      [libmpdemux/demux_lavf.c:520]
# 4 demux_open_stream                    [libmpdemux/demuxer.c:1100]
# 5 demux_open                           [libmpdemux/demuxer.c:1274]
# 6 main 
[E:\Buildsys\mpsrc\mpl-svn/mplayer.c:3367]

Error #8: POSSIBLE LEAK 32800 direct bytes 0x14189770-0x14191790 + 0 
indirect bytes
# 0 replace_malloc 
[d:\drmemory_package\common\alloc_replace.c:2292]
# 1 av_malloc                       [libavutil/mem.c:85]
# 2 av_mallocz                      [libavutil/mem.c:243]
# 3 demux_open_lavf                 [libmpdemux/demux_lavf.c:558]
# 4 demux_open_stream               [libmpdemux/demuxer.c:1100]
# 5 demux_open                      [libmpdemux/demuxer.c:1274]
# 6 main 
[E:\Buildsys\mpsrc\mpl-svn/mplayer.c:3367]

Error #9: POSSIBLE LEAK 160 direct bytes 0x141917b0-0x14191850 + 0 
indirect bytes
# 0 replace_malloc 
[d:\drmemory_package\common\alloc_replace.c:2292]
# 1 av_malloc                        [libavutil/mem.c:85]
# 2 av_mallocz                       [libavutil/mem.c:243]
# 3 avio_alloc_context               [libavformat/aviobuf.c:118]
# 4 demux_open_lavf                  [libmpdemux/demux_lavf.c:559]
# 5 demux_open_stream                [libmpdemux/demuxer.c:1100]
# 6 demux_open                       [libmpdemux/demuxer.c:1274]
# 7 main 
[E:\Buildsys\mpsrc\mpl-svn/mplayer.c:3367]

===========================================================================
FINAL SUMMARY:

DUPLICATE ERROR COUNTS:

SUPPRESSIONS USED:

ERRORS FOUND:
       2 unique,     2 total unaddressable access(es)
       1 unique,     1 total uninitialized access(es)
       0 unique,     0 total invalid heap argument(s)
       0 unique,     0 total GDI usage error(s)
       0 unique,     0 total warning(s)
       2 unique,     2 total,     13 byte(s) of leak(s)
       4 unique,     4 total,  34940 byte(s) of possible leak(s)
ERRORS IGNORED:
      13 potential leak(s) (suspected false positives)
          (details: 
E:\Programs\DrMemory\drmemory\logs\DrMemory-mplayer.exe.2100.000\potential_errors.txt)
      69 unique,  2418 total, 123531 byte(s) of still-reachable 
allocation(s)
          (re-run with "-show_reachable" for details)
Details: 
E:\Programs\DrMemory\drmemory\logs\DrMemory-mplayer.exe.2100.000\results.txt



More information about the MPlayer-users mailing list