Opened 7 years ago

Closed 7 years ago

#2108 closed defect (fixed)

Svn commit 35382 breaks -cookies -cookies-file

Reported by: lorefice2@… Owned by: reimar
Priority: normal Component: streaming
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:


Step to reproduce:
Use mplayer from svn with a revision >=35382 (the last i tested is 35413)

# mplayer -cookies -cookies-file /path/to/cookies http://some/media/file.ext

Actual results:
mplayer crashes.

revert commit 35382 by commenting free(ptr) in stream/cookies.c:184

Attached gdb output.

System information:
# uname -a
Linux Gozer 3.6.6-1-pae #1 SMP PREEMPT Tue Nov 6 11:35:26 EST 2012 i686 GNU/Linux

# ls -l /lib/libc[.-]*
-rwxr-xr-x 1 root root 1988871 24 ott 23.03 /lib/
-rw-r--r-- 1 root root 3639366 24 ott 23.03 /lib/libc.a
-rw-r--r-- 1 root root 246 24 ott 23.03 /lib/
lrwxrwxrwx 1 root root 12 24 ott 23.03 /lib/ ->

# gcc -v && ld -v
Using built-in specs.
Target: i686-pc-linux-gnu
Configured with: /build/src/gcc-4.7.2/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl= --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --disable-ppl-version-check --disable-cloog-version-check --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-linker-hash-style=gnu --disable-multilib --disable-libssp --disable-build-with-cxx --disable-build-poststage1-with-cxx --enable-checking=release
Thread model: posix
gcc version 4.7.2 (GCC)
ld di GNU (GNU Binutils) 2.23.1

# as --version
GNU assembler (GNU Binutils) 2.23.1
Copyright 2012 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or later.
This program has absolutely no warranty.
This assembler was configured for a target of `i686-pc-linux-gnu'.

Attachments (1)

file_2108.txt (30.6 KB) - added by lorefice2@… 7 years ago.
gdb output

Download all attachments as: .zip

Change History (2)

Changed 7 years ago by lorefice2@…

gdb output

comment:1 Changed 7 years ago by reimar

  • Resolution set to fixed
  • Status changed from new to closed

Thanks for the report and sorry for the breakage.
Fixed in r35462, together with another memleak in the revision thereafter.

Note: See TracTickets for help on using tickets.