Bug#640333: vlc segfaults when playing a http stream
reassign 640333 libproxy0 thanks Le dimanche 4 septembre 2011 16:21:01 richard lucassen, vous avez écrit : gdb: http://www.xaq.nl/gdb-vlc.txt Crash in the Webkit GTK Javascript interpreter from within libproxy. This is most certainly either a bug in libproxy and in webkitgtk. -- Rémi Denis-Courmont http://www.remlab.net/ http://fi.linkedin.com/in/remidenis -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#640333: vlc segfaults when playing a http stream]
On Wed, 7 Sep 2011 13:11:10 +0200 richard lucassen spamt...@xaq.nl wrote: Removing the var statements resolves the problem, this proxy.pac works fine: function FindProxyForURL(url, host) { ipaddr = dnsResolve(host); if ( (shExpMatch(ipaddr, *:*)) || (isInNet(host, 127.0.0.0, 255.0.0.0)) || (isInNet(host, 10.0.0.0, 255.0.0.0)) || (isInNet(host, 172.16.0.0, 255.240.0.0)) || (isInNet(host, 192.168.0.0, 255.255.0.0)) || (isInNet(host, 62.112.236.0, 255.255.252.0)) ) { return DIRECT; } else { return PROXY 192.168.64.1:3128; } } No, this is not a workaround, the line: { return PROXY 192.168.64.1:3128; } is wrong, this must be: { return PROXY 192.168.64.1:3128; } Then the problem reappears unfortunately. R. -- ___ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +--+ | Richard Lucassen, Utrecht| | Public key and email address:| | http://www.lucassen.org/mail-pubkey.html | +--+ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#640333: [spamt...@xaq.nl: Re: Bug#640333: vlc segfaults when playing a http stream]
On Tue, 6 Sep 2011 23:27:03 +0200 Christophe Mutricy xto...@chewa.net wrote: reassign 640333 libproxy0 0.3.1-3 thanks Downgrading libproxy0 to version libproxy0_0.3.1-2 resolves the problem. R. -- ___ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +--+ | Richard Lucassen, Utrecht| | Public key and email address:| | http://www.lucassen.org/mail-pubkey.html | +--+ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#640333: vlc segfaults when playing a http stream]
On Tue, 6 Sep 2011 23:27:03 +0200 Christophe Mutricy xto...@chewa.net wrote: reassign 640333 libproxy0 0.3.1-3 thanks Downgrading libproxy0 to version libproxy0_0.3.1-2 resolves the problem. Additional info: The problem apparently is related to a wpad config. I have a wpad config here: $ wget http://wpad/wpad.dat --2011-09-07 12:16:35-- http://wpad/wpad.dat Resolving wpad (wpad)... 192.168.64.1 Connecting to wpad (wpad)|192.168.64.1|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 494 [application/x-ns-proxy-autoconfig] Saving to: `wpad.dat' 100%[==] 494 --.-K/s in 0s 2011-09-07 12:16:35 (28.3 MB/s) - `wpad.dat' saved [494/494] $ cat wpad.dat function FindProxyForURL(url, host) { var proxy_yes = PROXY 192.168.64.1:3128; var proxy_no = DIRECT; ipaddr = dnsResolve(host); if ( (shExpMatch(ipaddr, *:*)) || (isInNet(host, 127.0.0.0, 255.0.0.0)) || (isInNet(host, 10.0.0.0, 255.0.0.0)) || (isInNet(host, 172.16.0.0, 255.240.0.0)) || (isInNet(host, 192.168.0.0, 255.255.0.0)) || (isInNet(host, 62.112.236.0, 255.255.252.0)) ) { return proxy_no; } else { return proxy_yes; } } When setting the firewall to REJECT the wpad, the problem disappears. It has something to do with the wpad script (the wpad.dat is linked to proxy.pac) VLC is segfaulting on an internal Dreambox (which is on a 192.168 network and thus uses proxy_no), as well as on an external host on the internet (proxy_yes). That's why Christophe Mutricy was not able to reproduce the problem I think. R. -- ___ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +--+ | Richard Lucassen, Utrecht| | Public key and email address:| | http://www.lucassen.org/mail-pubkey.html | +--+ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#640333: vlc segfaults when playing a http stream]
On Tue, 6 Sep 2011 23:27:03 +0200 Christophe Mutricy xto...@chewa.net wrote: reassign 640333 libproxy0 0.3.1-3 thanks Removing the var statements resolves the problem, this proxy.pac works fine: function FindProxyForURL(url, host) { ipaddr = dnsResolve(host); if ( (shExpMatch(ipaddr, *:*)) || (isInNet(host, 127.0.0.0, 255.0.0.0)) || (isInNet(host, 10.0.0.0, 255.0.0.0)) || (isInNet(host, 172.16.0.0, 255.240.0.0)) || (isInNet(host, 192.168.0.0, 255.255.0.0)) || (isInNet(host, 62.112.236.0, 255.255.252.0)) ) { return DIRECT; } else { return PROXY 192.168.64.1:3128; } } R. -- ___ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +--+ | Richard Lucassen, Utrecht| | Public key and email address:| | http://www.lucassen.org/mail-pubkey.html | +--+ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#640333: vlc segfaults when playing a http stream
On Sun, 4 Sep 2011 18:15:59 +0200 Christophe Mutricy xto...@chewa.net wrote: it would help if you install vlc-dbg with apt-get. then run in gdb as you did before and do bt after it crash Ok, thnx for the hint. here it is: My mailer makes a mess of it. Here it is as attachment. -- ___ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +--+ | Richard Lucassen, Utrecht| | Public key and email address:| | http://www.lucassen.org/mail-pubkey.html | +--+ [0x86deb0] access_http access debug: libproxy suggest to use 'direct://' Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7485b700 (LWP 5571)] 0x7fffe37984d8 in JSGarbageCollect () from /usr/lib/libwebkitgtk-1.0.so.0 (gdb) bt #0 0x7fffe37984d8 in JSGarbageCollect () from /usr/lib/libwebkitgtk-1.0.so.0 #1 0x7fffe97a11b1 in ?? () from /usr/lib/libproxy/0.3.1/modules/pacrunner_webkit.so #2 0x7fffe97a11ed in ?? () from /usr/lib/libproxy/0.3.1/modules/pacrunner_webkit.so #3 0x7fffebcd2758 in ?? () from /usr/lib/libproxy.so.0 #4 0x7fffebcd1d72 in px_array_free () from /usr/lib/libproxy.so.0 #5 0x7fffebcd3efb in ?? () from /usr/lib/libproxy.so.0 #6 0x7fffebcd1d72 in px_array_free () from /usr/lib/libproxy.so.0 #7 0x7fffebcd4122 in px_strdict_free () from /usr/lib/libproxy.so.0 #8 0x7fffebcd28d6 in px_module_manager_free () from /usr/lib/libproxy.so.0 #9 0x7fffebcd3d37 in px_proxy_factory_free () from /usr/lib/libproxy.so.0 #10 0x7fffebedbab8 in OpenWithCookies (p_this=optimized out, psz_access=optimized out, i_nb_redirect=0, i_max_redirect=5, cookies=optimized out) at http.c:392 #11 0x7fffebedc5a9 in Open (p_this=optimized out) at http.c:250 #12 0x77965d55 in module_need (p_this=optimized out, psz_capability=0x779940a7 access, psz_name=optimized out, b_strict=true) at modules/modules.c:559 #13 0x7791a520 in __access_New (p_obj=0x70fb00, p_parent_input= 0x70fb00, psz_access=0x83c340 http, psz_demux=0x779a6371 , psz_path=0x83c347 wmscr2.dr.dk/e02ch06m?wmcontentbitrate=30) at input/access.c:65 #14 0x7792ede7 in InputSourceInit (p_input=0x70fb00, in=0x70fbf8, psz_mrl=0x6ee1a0 http://wmscr2.dr.dk/e02ch06m?wmcontentbitrate=30;, psz_forced_demux=optimized out, b_in_can_fail=false) at input/input.c:2488 #15 0x77930108 in Init (p_input=0x70fb00) at input/input.c:1244 #16 0x77933735 in Run (p_this=optimized out) at input/input.c:543 #17 0x7796b0d4 in thread_entry (data=optimized out) at misc/threads.c:58 #18 0x776c5b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #19 0x7720c36d in clone () from /lib/x86_64-linux-gnu/libc.so.6 #20 0x in ?? () (gdb)
Bug#640333: vlc segfaults when playing a http stream
tags 640333 + moreinfo thanks Hello, Le dimanche 4 septembre 2011 19:42:38 richard lucassen, vous avez écrit : Christophe Mutricy xto...@chewa.net wrote: it would help if you install vlc-dbg with apt-get. then run in gdb as you did before and do bt after it crash Ok, thnx for the hint. here it is: My mailer makes a mess of it. Here it is as attachment. Looks to me like a bug in libproxy, or possibly in an underlying library thereof (QtWebKit?). Could you please try tracing the bug under valgrind? -- Rémi Denis-Courmont http://www.remlab.net/ http://fi.linkedin.com/in/remidenis -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#640333: [spamt...@xaq.nl: Re: Bug#640333: vlc segfaults when playing a http stream]
reassign 640333 libproxy0 0.3.1-3 thanks Hello, Richard, please remember to include 640...@bugs.debian.org when you reply to bug report Libproxy maints, Attached backtrace suggests segfault is deep into libproxy. The appearance of the bug on 3rd of september on the reporter's testing ox suggests 0.3.1-3 is the culprit. -- Xtophe - Forwarded message from richard lucassen spamt...@xaq.nl - Date: Sun, 4 Sep 2011 18:42:38 +0200 From: richard lucassen spamt...@xaq.nl Subject: Re: Bug#640333: vlc segfaults when playing a http stream To: Christophe Mutricy xto...@chewa.net Reply-To: rep...@xaq.nl X-Mailer: Sylpheed 3.2.0beta2 (GTK+ 2.24.4; x86_64-pc-linux-gnu) On Sun, 4 Sep 2011 18:15:59 +0200 Christophe Mutricy xto...@chewa.net wrote: it would help if you install vlc-dbg with apt-get. then run in gdb as you did before and do bt after it crash Ok, thnx for the hint. here it is: My mailer makes a mess of it. Here it is as attachment. -- ___ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +--+ | Richard Lucassen, Utrecht| | Public key and email address:| | http://www.lucassen.org/mail-pubkey.html | +--+ [0x86deb0] access_http access debug: libproxy suggest to use 'direct://' Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7485b700 (LWP 5571)] 0x7fffe37984d8 in JSGarbageCollect () from /usr/lib/libwebkitgtk-1.0.so.0 (gdb) bt #0 0x7fffe37984d8 in JSGarbageCollect () from /usr/lib/libwebkitgtk-1.0.so.0 #1 0x7fffe97a11b1 in ?? () from /usr/lib/libproxy/0.3.1/modules/pacrunner_webkit.so #2 0x7fffe97a11ed in ?? () from /usr/lib/libproxy/0.3.1/modules/pacrunner_webkit.so #3 0x7fffebcd2758 in ?? () from /usr/lib/libproxy.so.0 #4 0x7fffebcd1d72 in px_array_free () from /usr/lib/libproxy.so.0 #5 0x7fffebcd3efb in ?? () from /usr/lib/libproxy.so.0 #6 0x7fffebcd1d72 in px_array_free () from /usr/lib/libproxy.so.0 #7 0x7fffebcd4122 in px_strdict_free () from /usr/lib/libproxy.so.0 #8 0x7fffebcd28d6 in px_module_manager_free () from /usr/lib/libproxy.so.0 #9 0x7fffebcd3d37 in px_proxy_factory_free () from /usr/lib/libproxy.so.0 #10 0x7fffebedbab8 in OpenWithCookies (p_this=optimized out, psz_access=optimized out, i_nb_redirect=0, i_max_redirect=5, cookies=optimized out) at http.c:392 #11 0x7fffebedc5a9 in Open (p_this=optimized out) at http.c:250 #12 0x77965d55 in module_need (p_this=optimized out, psz_capability=0x779940a7 access, psz_name=optimized out, b_strict=true) at modules/modules.c:559 #13 0x7791a520 in __access_New (p_obj=0x70fb00, p_parent_input= 0x70fb00, psz_access=0x83c340 http, psz_demux=0x779a6371 , psz_path=0x83c347 wmscr2.dr.dk/e02ch06m?wmcontentbitrate=30) at input/access.c:65 #14 0x7792ede7 in InputSourceInit (p_input=0x70fb00, in=0x70fbf8, psz_mrl=0x6ee1a0 http://wmscr2.dr.dk/e02ch06m?wmcontentbitrate=30;, psz_forced_demux=optimized out, b_in_can_fail=false) at input/input.c:2488 #15 0x77930108 in Init (p_input=0x70fb00) at input/input.c:1244 #16 0x77933735 in Run (p_this=optimized out) at input/input.c:543 #17 0x7796b0d4 in thread_entry (data=optimized out) at misc/threads.c:58 #18 0x776c5b40 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #19 0x7720c36d in clone () from /lib/x86_64-linux-gnu/libc.so.6 #20 0x in ?? () (gdb) - End forwarded message - -- Xtophe -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#640333: vlc segfaults when playing a http stream
Package: vlc Version: 1.1.11-2+b2 Severity: important When vlc is invoked to run an http stream, vlc segfaults (same happens with two other laptops, of which one is an i386), e.g.: $ vlc http://wmscr2.dr.dk/e02ch06m?wmcontentbitrate=30 VLC media player 1.1.11 The Luggage (revision exported) Blocked: call to unsetenv(DBUS_ACTIVATION_ADDRESS) Blocked: call to unsetenv(DBUS_ACTIVATION_BUS_TYPE) [0x1590120] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. Blocked: call to setlocale(6, ) Blocked: call to setenv(_PX_CONFIG_ORDER, , 1) Blocked: call to setlocale(6, ) Segmentation fault This occurs since an update of debian testing today or yesterday. vlc -vvv http://wmscr2.dr.dk/e02ch06m?wmcontentbitrate=30 VLC media player 1.1.11 The Luggage (revision exported) [0x1b05120] main libvlc debug: VLC media player - 1.1.11 The Luggage [0x1b05120] main libvlc debug: Copyright © 1996-2011 the VideoLAN team [0x1b05120] main libvlc debug: revision exported [0x1b05120] main libvlc debug: configured with ./configure '--enable-static' '--build=x86_64-linux-gnu' '--config-cache' '--disable-maintainer-mode' '--disable-silent-rules' '--disable-update-check' '--enable-fast-install' '--prefix=/usr' '--docdir=/usr/share/doc/vlc-nox' '--sysconfdir=/etc' '--with-binary-version=2+b2' '--enable-a52' '--enable-aa' '--enable-bonjour' '--enable-caca' '--enable-dca' '--enable-dirac' '--enable-dvb' '--enable-dvbpsi' '--enable-dvdnav' '--enable-faad' '--enable-flac' '--enable-fluidsynth' '--enable-freetype' '--enable-fribidi' '--enable-ggi' '--enable-gnutls' '--enable-jack' '--enable-kate' '--enable-libass' '--enable-libmpeg2' '--enable-libproxy' '--enable-libxml2' '--enable-lirc' '--enable-live555' '--enable-mad' '--enable-mkv' '--enable-mod' '--enable-mozilla' '--enable-mpc' '--enable-mtp' '--enable-mux_ogg' '--enable-ncurses' '--enable-notify' '--enable-ogg' '--enable-pulse' '--enable-qt4' '--enable-realrtsp' '--enable-schroedinger' '--enable-sdl' '--enable-shout' '--enable-skins2' '--enable-smb' '--enable-speex' '--enable-svg' '--enable-taglib' '--enable-theora' '--enable-twolame' '--enable-upnp' '--enable-vcd' '--enable-vcdx' '--enable-vorbis' '--enable-x264' '--enable-zvbi' '--with-kde-solid=/usr/share/kde4/apps/solid/actions/' '--with-mozilla-pkg=mozilla-plugin' '--disable-dxva2' '--disable-gnomevfs' '--disable-goom' '--disable-osso_screensaver' '--disable-portaudio' '--disable-projectm' '--disable-sqlite' '--disable-telx' '--enable-alsa' '--enable-atmo' '--enable-dc1394' '--enable-dv' '--enable-libva' '--enable-pvr' '--enable-udev' '--enable-v4l2' '--enable-svgalib' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' [0x1b05120] main libvlc debug: translation test: code is C [0x1b05120] main libvlc debug: checking plugin modules [0x1b05120] main libvlc debug: loading plugins cache file /usr/lib/vlc/plugins/plugins-04081e-1f8.dat [0x1b05120] main libvlc debug: recursively browsing `/usr/lib/vlc/plugins' [0x1b05120] main libvlc debug: saving plugins cache /usr/lib/vlc/plugins/plugins-04081e-1f8.dat [0x1b05120] main libvlc debug: module bank initialized (394 modules) [0x1b05120] main libvlc debug: opening config file (/home/richard/.config/vlc/vlcrc) [0x1b05120] main libvlc debug: CPU has capabilities MMX 3DNow! MMXEXT SSE SSE2 SSE3 FPU [0x1b05120] main libvlc debug: looking for memcpy module: 4 candidates [0x1b05120] main libvlc debug: using memcpy module memcpymmxext [0x1bf5cc0] main input debug: Creating an input for 'Media Library' [0x1bf5cc0] main input debug: Input is a meta file: disabling unneeded options [0x1bf5cc0] main input debug: using timeshift granularity of 50 MiB [0x1bf5cc0] main input debug: using timeshift path '/tmp' [0x1bf5cc0] main input debug: `file/xspf-open:///home/richard/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/richard/.local/share/vlc/ml.xspf' [0x1bf5cc0] main input debug: creating demux: access='file' demux='xspf-open' path='/home/richard/.local/share/vlc/ml.xspf' [0x1bf0520] main demux debug: looking for access_demux module: 2 candidates [0x1bf0520] main demux debug: no access_demux module matching file could be loaded [0x1bf0520] main demux debug: TIMER module_need() : 1.514 ms - Total 1.514 ms / 1 intvls (Avg 1.514 ms) [0x1bf5cc0] main input debug: creating access 'file' path='/home/richard/.local/share/vlc/ml.xspf' [0x1bf1290] main access debug: looking for access module: 2 candidates [0x1bf1290] filesystem access debug: opening file `/home/richard/.local/share/vlc/ml.xspf' [0x1bf1290] main access debug: using access module filesystem [0x1bf1290] main access debug: TIMER module_need() : 0.877 ms - Total 0.877 ms / 1 intvls (Avg 0.877 ms) [0x1c06ff0] main stream debug: Using AStream*Stream [0x1c06ff0] main stream debug: pre buffering [0x1c06ff0] main stream debug: received first data after 0 ms [0x1c06ff0] main stream
Bug#640333: vlc segfaults when playing a http stream
An strace -f: http://www.xaq.nl/strace-f-vlc.txt R. -- ___ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +--+ | Richard Lucassen, Utrecht| | Public key and email address:| | http://www.lucassen.org/mail-pubkey.html | +--+ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#640333: vlc segfaults when playing a http stream
gdb: http://www.xaq.nl/gdb-vlc.txt R. -- ___ It is better to remain silent and be thought a fool, than to speak aloud and remove all doubt. +--+ | Richard Lucassen, Utrecht| | Public key and email address:| | http://www.lucassen.org/mail-pubkey.html | +--+ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#640333: vlc segfaults when playing a http stream
Le Sun 04 Sep 11 à 15:21 +0200, richard lucassen a écrit : gdb: http://www.xaq.nl/gdb-vlc.txt There is a +b3 which should be in your mirror or on its way to it. I don't think it would make any difference but can you check. Also, it's very good to provide gdb logs but it's missing the most interresting which is the full backtrace (bt or even thread apply all bt) The crash in libwebkitgtk-1.0.so.0 is quite strange -- Xtophe -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#640333: vlc segfaults when playing a http stream
Le Sun 04 Sep 11 à 16:27 +0200, richard lucassen a écrit : On Sun, 4 Sep 2011 15:43:13 +0200 Christophe Mutricy xto...@chewa.net wrote: There is a +b3 which should be in your mirror or on its way to it. I don't think it would make any difference but can you check. The +b3 needs this lib, which is only available in unstable: ah ok no problem to keep +b2 and debug with that -- Xtophe -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org