[dvblast-devel] dvblast: svn commit r160 (massiot)

Thomas Kernen tkernen at deckpoint.ch
Tue Nov 2 09:32:39 CET 2010


On 11/2/10 9:26 AM, Thomas Kernen wrote:
> On 10/12/10 7:38 PM, Subversion daemon wrote:
>> r160 | massiot | 2010-10-12 19:38:24 +0200 (Tue, 12 Oct 2010) | 9 lines
>> Changed paths:
>> M /trunk/Makefile
>> M /trunk/NEWS
>> M /trunk/README
>> M /trunk/demux.c
>> M /trunk/dvblast.c
>> M /trunk/dvblast.h
>> M /trunk/output.c
>> M /trunk/udp.c
>> M /trunk/util.c
>>
>> * ALL: Move the config-specific stuff to a substructure, with dedicated
>> functions.
>> * dvblast.c: Factorize the IP-parsing stuff.
>> * output.c: Add support for a configurable MTU and a variable number
>> of TS
>> per packet.
>> * dvblast.c: Add new options /ifindex= /mtu= /tos= /ssrc=.
>> * output.c: Use biTStream instead of custom RTP functions.
>> * udp.c: Implement IPv6 support and add options /mtu= /ifaddr= /ifindex=.
>
> Just tried upgrading one of my setups from 159 to latest (167). Turns
> out that any build I compile from 160 onwards will crash when launched.
>
> *** glibc detected *** ./dvblast: double free or corruption (fasttop):
> 0x0000000002064060 ***
> ======= Backtrace: =========
> /lib/libc.so.6(+0x775b6)[0x7fdd6cc895b6]
> /lib/libc.so.6(cfree+0x73)[0x7fdd6cc8fe53]
> ./dvblast[0x40264e]
> ./dvblast[0x402ced]
> /lib/libc.so.6(__libc_start_main+0xfd)[0x7fdd6cc30c4d]
> ./dvblast[0x401c79]
> ======= Memory map: ========
> 00400000-0041b000 r-xp 00000000 08:01 1023512
> /home/tkernen/downloads/DVBlast/dvblast-test/dvblast-160/dvblast
> 0061a000-0061b000 r--p 0001a000 08:01 1023512
> /home/tkernen/downloads/DVBlast/dvblast-test/dvblast-160/dvblast
> 0061b000-0061c000 rw-p 0001b000 08:01 1023512
> /home/tkernen/downloads/DVBlast/dvblast-test/dvblast-160/dvblast
> 0061c000-00680000 rw-p 00000000 00:00 0
> 02064000-02085000 rw-p 00000000 00:00 0 [heap]
> 7fdd68000000-7fdd68021000 rw-p 00000000 00:00 0
> 7fdd68021000-7fdd6c000000 ---p 00000000 00:00 0
> 7fdd6c7f8000-7fdd6c80e000 r-xp 00000000 08:01 457996 /lib/libgcc_s.so.1
> 7fdd6c80e000-7fdd6ca0d000 ---p 00016000 08:01 457996 /lib/libgcc_s.so.1
> 7fdd6ca0d000-7fdd6ca0e000 r--p 00015000 08:01 457996 /lib/libgcc_s.so.1
> 7fdd6ca0e000-7fdd6ca0f000 rw-p 00016000 08:01 457996 /lib/libgcc_s.so.1
> 7fdd6ca0f000-7fdd6ca11000 r-xp 00000000 08:01 1723387
> /usr/lib/gconv/ISO8859-1.so
> 7fdd6ca11000-7fdd6cc10000 ---p 00002000 08:01 1723387
> /usr/lib/gconv/ISO8859-1.so
> 7fdd6cc10000-7fdd6cc11000 r--p 00001000 08:01 1723387
> /usr/lib/gconv/ISO8859-1.so
> 7fdd6cc11000-7fdd6cc12000 rw-p 00002000 08:01 1723387
> /usr/lib/gconv/ISO8859-1.so
> 7fdd6cc12000-7fdd6cd8c000 r-xp 00000000 08:01 458125 /lib/libc-2.11.1.so
> 7fdd6cd8c000-7fdd6cf8b000 ---p 0017a000 08:01 458125 /lib/libc-2.11.1.so
> 7fdd6cf8b000-7fdd6cf8f000 r--p 00179000 08:01 458125 /lib/libc-2.11.1.so
> 7fdd6cf8f000-7fdd6cf90000 rw-p 0017d000 08:01 458125 /lib/libc-2.11.1.so
> 7fdd6cf90000-7fdd6cf95000 rw-p 00000000 00:00 0
> 7fdd6cf95000-7fdd6cf9c000 r-xp 00000000 08:01 459527 /lib/librt-2.11.1.so
> 7fdd6cf9c000-7fdd6d19b000 ---p 00007000 08:01 459527 /lib/librt-2.11.1.so
> 7fdd6d19b000-7fdd6d19c000 r--p 00006000 08:01 459527 /lib/librt-2.11.1.so
> 7fdd6d19c000-7fdd6d19d000 rw-p 00007000 08:01 459527 /lib/librt-2.11.1.so
> 7fdd6d19d000-7fdd6d1b5000 r-xp 00000000 08:01 459525
> /lib/libpthread-2.11.1.so
> 7fdd6d1b5000-7fdd6d3b4000 ---p 00018000 08:01 459525
> /lib/libpthread-2.11.1.so
> 7fdd6d3b4000-7fdd6d3b5000 r--p 00017000 08:01 459525
> /lib/libpthread-2.11.1.so
> 7fdd6d3b5000-7fdd6d3b6000 rw-p 00018000 08:01 459525
> /lib/libpthread-2.11.1.so
> 7fdd6d3b6000-7fdd6d3ba000 rw-p 00000000 00:00 0
> 7fdd6d3ba000-7fdd6d3da000 r-xp 00000000 08:01 458122 /lib/ld-2.11.1.so
> 7fdd6d5c9000-7fdd6d5d0000 r--s 00000000 08:01 1722928
> /usr/lib/gconv/gconv-modules.cache
> 7fdd6d5d0000-7fdd6d5d3000 rw-p 00000000 00:00 0
> 7fdd6d5d7000-7fdd6d5da000 rw-p 00000000 00:00 0
> 7fdd6d5da000-7fdd6d5db000 r--p 00020000 08:01 458122 /lib/ld-2.11.1.so
> 7fdd6d5db000-7fdd6d5dc000 rw-p 00021000 08:01 458122 /lib/ld-2.11.1.so
> 7fdd6d5dc000-7fdd6d5dd000 rw-p 00000000 00:00 0
> 7fffaad40000-7fffaad55000 rw-p 00000000 00:00 0 [stack]
> 7fffaadff000-7fffaae00000 r-xp 00000000 00:00 0 [vdso]
> ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
> Aborted
>
> Has anyone else encountered such a behaviour with revision 160 onwards?
> I specifically tried 160, 161, 163 and 167. All crash upon launch.
>
> Thomas

I forgot to include the output of the GDB backtrace (against rev 160):

(gdb) backtrace
#0  0x00007ffff7667a75 in raise () from /lib/libc.so.6
#1  0x00007ffff766b5c0 in abort () from /lib/libc.so.6
#2  0x00007ffff76a14fb in ?? () from /lib/libc.so.6
#3  0x00007ffff76ab5b6 in ?? () from /lib/libc.so.6
#4  0x00007ffff76b1e53 in free () from /lib/libc.so.6
#5  0x000000000040264e in config_Free (psz_file=<value optimized out>) 
at dvblast.c:117
#6  config_ReadFile (psz_file=<value optimized out>) at dvblast.c:329
#7  0x0000000000402ced in main (i_argc=<value optimized out>, pp_argv=0x1)
     at dvblast.c:770
(gdb)

Thomas



More information about the dvblast-devel mailing list