Correct Error handling with filesrc "Resource not found" and demux

hobbesc7 hobbesc7 at gmail.com
Mon Aug 18 09:58:32 PDT 2014


Looks like one thread is stuck here:

(gdb) bt
#0  0xb7736424 in __kernel_vsyscall ()
#1  0x4f7aa25b in read () at ../sysdeps/unix/syscall-template.S:81
#2  0xb66b6d48 in read (__nbytes=4096, __buf=<optimized out>, 
    __fd=<optimized out>) at /usr/include/bits/unistd.h:44
#3  gst_file_src_create_read (buffer=0xb4efe28c, length=4096,
offset=1142784, 
    src=0xb57260a0 [GstFileSrc]) at gstfilesrc.c:831
#4  gst_file_src_create (basesrc=0xb57260a0 [GstFileSrc], offset=1142784, 
    length=4096, buffer=0xb4efe28c) at gstfilesrc.c:892
#5  0x4f50e236 in gst_base_src_get_range (
    src=src at entry=0xb57260a0 [GstFileSrc], offset=1142784, 
    length=length at entry=4096, buf=buf at entry=0xb4efe28c) at gstbasesrc.c:2188
#6  0x4f5100b6 in gst_base_src_loop (pad=0xb5725008 [GstPad])

And another thread is stuck here:

#0  0xb7736424 in __kernel_vsyscall ()
#1  0x4f7a9ed2 in __lll_lock_wait ()
    at ../nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S:144
#2  0x4f7a5b2f in _L_lock_926 () from /lib/libpthread.so.0
#3  0x4f7a5af4 in __GI___pthread_mutex_lock (mutex=0xb571f778)
    at pthread_mutex_lock.c:104
#4  0x4e0a52b1 in g_mutex_lock (mutex=0xb5724930) at gthread-posix.c:210
#5  0x4f50aaa6 in gst_base_src_set_flushing (
    basesrc=basesrc at entry=0xb57260a0 [GstFileSrc],
flushing=flushing at entry=1, 
    live_play=live_play at entry=0, unlock=unlock at entry=1, 
    playing=playing at entry=0x0) at gstbasesrc.c:2886
#6  0x4f50d388 in gst_base_src_activate_push (pad=0xb5725008 [GstPad], 
    active=0) at gstbasesrc.c:3022



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Correct-Error-handling-with-filesrc-Resource-not-found-and-demux-tp4663414p4668335.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list