[vlc-devel] vlc: svn commit r24363 (pdherbemont)

Antoine Cellerier dionoea at videolan.org
Thu Jan 17 23:35:27 CET 2008


On Thu, Jan 17, 2008, Subversion daemon wrote:
> r24363 | pdherbemont | 2008-01-17 22:53:12 +0100 (Thu, 17 Jan 2008) | 2 lines
> Changed paths:
>    M /trunk/modules/access/http.c
> 
> access/http.c: Support Set-Cookie, and forward them appropriately accross redirections.

Causes a segfault here:
(Command line is: gdb --args .libs/vlc -V sdl -I qt -vvv "http://www.youtube.com/watch?v=l6NF_6c-ujs" )

[00000683] access_http access debug: protocol 'HTTP' answer code 303
[00000683] access_http access debug: Server: Apache
[00000683] access_http access debug: Accepting Cookie: use_hitbox=72c46ff6cbcdb7c5585c36411b6b334edAEAAAAw; path=/; domain=.youtube.com
[00000683] access_http access debug: Accepting Cookie: VISITOR_INFO1_LIVE=K39ZsZM6fEk; path=/; domain=.youtube.com; expires=Sun, 14-Jan-2018 22:31:44 GMT
[00000683] access_http access debug: Accepting Cookie: GEO=edb6abf9277a2d343f26300c70c21191cxYAAABGUixqLGNvdXJiZXZvaWUsLCwsLC0x; path=/; domain=.youtube.com; expires=Sat, 19-Jan-2008 22:31:44 GMT
[00000683] access_http access debug: Accepting Cookie: LOCALE_PREFERENCE=86d1d09eefe6b79b4068000ce05518a4dAUAAABlbl9VUw==; path=/; domain=.youtube.com; expires=Sun, 14-Jan-2018 22:31:44 GMT
[00000683] access_http access debug: Transfer-Encoding: chunked
[00000683] access_http access debug: Content-Type: text/html; charset=utf-8
[00000683] access_http access debug: redirection to http://lax-v215.lax.youtube.com/get_video?video_id=l6NF_6c-ujs
[00000683] access_http access debug: http: server='lax-v215.lax.youtube.com' port=80 file='/get_video?video_id=l6NF_6c-ujs
[00000683] main access debug: net: connecting to lax-v215.lax.youtube.com port 80
[00000683] main access debug: connection: Operation now in progress
[00000683] main access debug: connection succeeded (socket = 15)

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb0641b90 (LWP 682)]
0xb4c2c626 in Request (p_access=0x83d0b6c, i_tell=0) at http.c:952
952         for( i = 0; i < vlc_array_count( p_sys->cookies ); i++ )
(gdb) bt
#0  0xb4c2c626 in Request (p_access=0x83d0b6c, i_tell=0) at http.c:952
#1  0xb4c2d80e in Connect (p_access=0x83d0b6c, i_tell=0) at http.c:892
#2  0xb4c2f32c in OpenWithRedirectionStatus (p_this=0x83d0b6c, 
    b_is_from_redirection=<value optimized out>) at http.c:284
#3  0xb4c2ff2d in OpenWithRedirectionStatus (p_this=0x83d0b6c, 
    b_is_from_redirection=<value optimized out>) at http.c:364
#4  0xb7f72669 in __module_Need (p_this=0x83d0b6c, 
    psz_capability=0xb7fa1327 "access2", psz_name=0x8389838 "http",
b_strict=1)
    at modules/modules.c:589
#5  0xb7f09815 in access2_InternalNew (p_obj=0x83b5d54, 
    psz_access=0xb0641050 "http", psz_demux=0xb7fb0fc6 "", 
    psz_path=0xb0641057 "youtube.com/get_video?video_id=l6NF_6c-ujs&t=OEgsToPDskIU4z-QNng4F9waT-r9miHN", p_source=0x0, b_quick=0) at input/access.c:96
#6  0xb7f1e4b5 in InputSourceInit (p_input=0x83b5d54, in=0x842acbc, 
    psz_mrl=0x83be158 "http://youtube.com/get_video?video_id=l6NF_6c-ujs&t=OEgsToPDskIU4z-QNng4F9waT-r9miHN", psz_forced_demux=0x0) at input/input.c:2284
#7  0xb7f23d44 in Init (p_input=0xb0) at input/input.c:879
#8  0xb7f27aec in Run (p_input=0x83b5d54) at input/input.c:489
#9  0xb7d63383 in start_thread () from /lib/libpthread.so.0
#10 0xb7e4c77e in clone () from /lib/libc.so.6

-- 
Antoine Cellerier
dionoea



More information about the vlc-devel mailing list