vlc 0.9 seg. fault when playing TV streaming [see backtraces

*nix specific usage questions
gibus92
Blank Cone
Blank Cone
Posts: 66
Joined: 10 Apr 2006 16:09
Location: Antony, France
Contact:

vlc 0.9 seg. fault when playing TV streaming [see backtraces

Postby gibus92 » 16 Sep 2007 23:46

vlc 0.9 at #22109. I have got a segmentation error while playing TV streaming. Here are the backtraces :

(gdb) run Desktop/TV_fbx.m3u
Starting program: /usr/bin/vlc Desktop/TV_fbx.m3u
[Thread debugging using libthread_db enabled]
[New Thread 47836641410816 (LWP 19331)]
VLC media player 0.9.0-svn Grishenko
[New Thread 1082132800 (LWP 19334)]
[New Thread 1090525504 (LWP 19335)]
[New Thread 1098918208 (LWP 19336)]
[New Thread 1107310912 (LWP 19337)]
[New Thread 1115703616 (LWP 19338)]
[New Thread 1124096320 (LWP 19339)]
[New Thread 1132489024 (LWP 19340)]
[New Thread 1140881728 (LWP 19341)]
[Thread 1140881728 (LWP 19341) exited]
[New Thread 1140881728 (LWP 19394)]
QPainter::begin: Cannot paint on a null pixmap
QPainter::setWorldTransform: Painter not active
QPainter::end: Painter not active, aborted
[New Thread 1149274432 (LWP 19398)]
[New Thread 1157667136 (LWP 19399)]
libdvbpsi error (PSI decoder): TS discontinuity (received 3, expected 0) for PID 1301
[00000682] main access error: Read error: Appel syst?me interrompu
[00000682] access_http access error: failed to read answer
[New Thread 1166059840 (LWP 19400)]
[New Thread 1174452544 (LWP 19401)]
[New Thread 1182845248 (LWP 19402)]
[00000682] main access error: Read error: Appel syst?me interrompu
[00000682] access_http access error: failed to read answer
[00000682] main access error: Read error: Connexion r?-initialis?e par le correspondant
[00000682] access_mms access error: failed to read answer
[00000332] main playlist error: no suitable access module for `http://images.google.com/images?q=Europe 2 TV'

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1098918208 (LWP 19336)]
0x00002b81d489d9f2 in stream_Read (s=0x0, p_read=0xbe2620, i_read=65653)
at input/stream.c:1825
1825 return s->pf_read( s, p_read, i_read );
(gdb) bt full
#0 0x00002b81d489d9f2 in stream_Read (s=0x0, p_read=0xbe2620, i_read=65653)
at input/stream.c:1825
No locals.
#1 0x00002aaab678f271 in vlclua_stream_read (p_state=0x936aa0) at vlclua.c:106
i = 2
p_stream = (stream_t *) 0x0
n = 65653
p_read = (byte_t *) 0xbe2620 "@A\216Õ\201+"
i_read = 0
#2 0x00002aaab69d2a51 in luaD_precall () from /usr/lib64/liblua.so.5.1
No symbol table info available.
#3 0x00002aaab69dc03f in luaV_execute () from /usr/lib64/liblua.so.5.1
No symbol table info available.
#4 0x00002aaab69d2e9e in luaD_call () from /usr/lib64/liblua.so.5.1
No symbol table info available.
#5 0x00002aaab69d2607 in luaD_rawrunprotected () from /usr/lib64/liblua.so.5.1
No symbol table info available.
#6 0x00002aaab69d2685 in luaD_pcall () from /usr/lib64/liblua.so.5.1
No symbol table info available.
#7 0x00002aaab69ce745 in lua_pcall () from /usr/lib64/liblua.so.5.1
No symbol table info available.
#8 0x00002aaab678e36b in fetch_art (p_this=0x8135d0,
psz_filename=0x981470 "/usr/share/vlc/luameta/googleimage.lua",
---Type <return> to continue, or q <return> to quit---
p_state=0x936aa0, user_data=0x8ed9f0) at luameta.c:158
i_ret = -666
p_input = (input_item_t *) 0x8ed9f0
s = 0
#9 0x00002aaab678fa7c in vlclua_scripts_batch_execute (p_this=0x8135d0,
luadirname=0x2aaab67910a6 "luameta", func=0x2aaab678e208 <fetch_art>,
p_state=0x936aa0, user_data=0x8ed9f0) at vlclua.c:314
psz_filename = 0x981470 "/usr/share/vlc/luameta/googleimage.lua"
i_files = 1
i_ret = -666
dir = (DIR *) 0xa1b6b0
ppsz_filelist = (char **) 0x95e560
ppsz_fileend = (char **) 0x95e568
ppsz_file = (char **) 0x95e560
ppsz_dir_list = {0x981440 "/home/gilles/.local/share/vlc/luameta",
0x883de0 "/usr/share/vlc/luameta", 0x0, 0x0}
ppsz_dir = (char **) 0x41801dd8
#10 0x00002aaab678ea3d in FindArt__0_9_0b (p_this=0x8135d0) at luameta.c:286
p_playlist = (playlist_t *) 0x8135d0
p_item = (input_item_t *) 0x8ed9f0
p_state = (lua_State *) 0x936aa0
i_ret = 0
#11 0x00002b81d48dc9e8 in __module_Need (p_this=0x8135d0,
---Type <return> to continue, or q <return> to quit---
psz_capability=0x2b81d49153ef "art finder", psz_name=0x0, b_strict=0)
at modules/modules.c:634
p_module = (module_t *) 0x67aed0
p_list = (module_list_t *) 0xa19830
p_first = (module_list_t *) 0xa19848
p_tmp = (module_list_t *) 0xa19830
p_all = (vlc_list_t *) 0x883de0
i_which_module = 325
i_index = 2
b_intf = 0
p_module = (module_t *) 0x809620
i_shortcuts = 0
psz_shortcuts = 0x0
psz_var = 0x0
psz_alias = 0x0
b_force_backup = 0
i_cpu = 2147483883
#12 0x00002b81d4897fc3 in input_ArtFind (p_playlist=0x8135d0, p_item=0x8ed9f0)
at input/meta.c:194
i_ret = -666
p_module = (module_t *) 0x41802080
psz_title = 0x883de0 "/usr/share/vlc/luameta"
psz_artist = 0x0
---Type <return> to continue, or q <return> to quit---
psz_album = 0x0
psz_arturl = 0x0
__PRETTY_FUNCTION__ = "input_ArtFind"
#13 0x00002b81d4876184 in playlist_FetcherLoop (p_obj=0x81b870)
at playlist/engine.c:654
i_ret = 7
p_playlist = (playlist_t *) 0x8135d0
b_fetch_art = 1
p_item = (input_item_t *) 0x8ed9f0
i_activity = 1
#14 0x00002b81d487165d in RunFetcher (p_obj=0x81b870) at playlist/thread.c:224
No locals.
#15 0x00002b81d518c09e in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#16 0x00002b81d56674cd in clone () from /lib64/libc.so.6
No symbol table info available.
#17 0x0000000000000000 in ?? ()
No symbol table info available.

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: vlc 0.9 seg. fault when playing TV streaming [see backtraces

Postby funman » 19 Sep 2007 16:55

that's a bug, lua code doesn't check some function return values, stream_Read, stream_UrlNew etc.

i will tell the lua module developer, and let you know when this is fixed.

you should consider using the mailing lists for backtraces since it's more read than the forum ;)

merci

funman
Developer
Developer
Posts: 1159
Joined: 03 Sep 2006 04:03
VLC version: master
Operating System: All of them
Location: Lost, please help me

Re: vlc 0.9 seg. fault when playing TV streaming [see backtraces

Postby funman » 19 Sep 2007 18:22

that should be fixed in revision 22167

i had to learn a bit lua, that looks interesting ;)

thanks again for the report


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 10 guests