i4tv / gstreamill

encoder with hls output based on gstreamer.
GNU General Public License v3.0
247 stars 84 forks source link

流访问端口挂住不能访问 #90

Closed zhangping closed 7 years ago

zhangping commented 7 years ago
(gdb) bt
#0  0x00007f51feb093bd in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x000000000040ee11 in read (__nbytes=1024, __buf=0x7f51e17f9330, __fd=158) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  close_socket_gracefully (sock=sock@entry=158) at httpserver.c:435
#3  0x000000000040fddb in accept_socket (http_server=0x2308d00) at httpserver.c:507
#4  listen_thread (data=0x2308d00) at httpserver.c:663
#5  0x00007f51fef8df05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f51feb02182 in start_thread (arg=0x7f51e17fa700) at pthread_create.c:312
#7  0x00007f51fe15447d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

close_socket_gracefully函数中调用read的时候挂住