[rtmpdump] Core dump in rtmpsrv
Juan Castro
jcastro at instant.com.br
Tue May 8 23:07:45 CEST 2012
Freshly checked from git.
- Run rtmpsrv;
- In other window, run "mplayer rtmp://127.0.0.1:1935"
- rtmpsrv coredumps. I compiled with debug info, and got this bt:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb75deb70 (LWP 9705)]
ServeInvoke (server=0x804d0c8, r=0xb7519d0c, packet=0xb75de258,
offset=0) at rtmpsrv.c:693
693 if (*p == '/')
(gdb) print p
$1 = 0xffffffff <Address 0xffffffff out of bounds>
(gdb) p av.av_val
$2 = 0x0
(gdb) p av
$3 = {av_val = 0x0, av_len = 0}
(gdb) bt
#0 ServeInvoke (server=0x804d0c8, r=0xb7519d0c, packet=0xb75de258,
offset=0) at rtmpsrv.c:693
#1 0x0804ac70 in ServePacket (server=0x804d0c8, r=0xb7519d0c,
packet=0xb75de258) at rtmpsrv.c:844
#2 0x0804ade7 in doServe (server=0x804d0c8, sockfd=8) at rtmpsrv.c:922
#3 0x0804af6f in serverThread (arg=0x804d0c8) at rtmpsrv.c:978
#4 0x0074ca09 in start_thread () from /lib/libpthread.so.0
#5 0x0066543e in clone () from /lib/libc.so.6
Regards,
Juan
More information about the rtmpdump
mailing list