** Description changed: + First, I apply iptables redirection : iptables -t nat -A OUTPUT -p tcp + --dport 1935 -j REDIRECT + In terminal : rtmpsrv (main program) sniffs RTMP port, displays rtmpdump command for downloading video when getting rtmp stream, then calls automatically rtmpdump with this displayed command for downloading video. When calling automatically displayed rtmpdump command for downloading video, rtmpdump had time to load itself (displaying rtmpdump version), but there was a "segmentation fault (Core dumped)" error displayed, crashing, likely, rtmpsrv (main program) before rtmpdump command for downloading video is executed. - But when we copy manually the displayed rtmpdump command for downloading video, then enter it manually (in terminal), there's no problem (rtmpdump works well and downloads video) + + Then I remove the iptables filter/redirection. + But when I copy manually the displayed rtmpdump command for downloading video, then enter it manually (in terminal), there's no problem (rtmpdump works well and downloads video). Even if I keep iptables filter enabled, the application doesn't crash. + This bug happens in all websites I used with rtmpsrv : - - + http://vtele.ca/videos/operation-seduction/andree-active-et-energique_36563.php + http://vtele.ca/videos/operation-seduction/lyska-rencontre-jean-philippe-les-tatouages-pour-lyska-et-jp-une-passion-commune_42986_42987.php Description: Ubuntu 10.10 Release: 10.10 rtmpdump: Installed : 2.3-2 Table of version : *** 2.3-2 0 ProblemType: Crash DistroRelease: Ubuntu 10.10 Package: rtmpdump 2.3-2 ProcVersionSignature: Ubuntu 2.6.35-32.67-generic 2.6.35.14 Uname: Linux 2.6.35-32-generic i686 Architecture: i386 Date: Fri May 25 01:36:13 2012 ExecutablePath: /usr/sbin/rtmpsrv InstallationMedia: Xubuntu 10.04 "Lucid Lynx" - Release i386 (20100429) ProcCmdline: rtmpsrv ProcCwd: /home/test ProcEnviron: SHELL=/bin/bash LANG=fr_CA.UTF-8 LANGUAGE=fr_CA:en SegvAnalysis: Segfault happened at: 0xca73b2 <AMF_EncodeInt16+18>: mov %cl,0x1(%edx) PC (0x00ca73b2) ok source "%cl" ok destination "0x1(%edx)" (0x00000001) not located in a known VMA region (needed writable region)! Stack memory exhausted (SP below stack segment) SegvReason: writing NULL VMA Signal: 11 SourcePackage: rtmpdump StacktraceTop: AMF_EncodeInt16 () from /usr/lib/librtmp.so.0 AMF_EncodeNamedString () from /usr/lib/librtmp.so.0 ?? () ?? () ?? () Title: rtmpsrv crashed with SIGSEGV in AMF_EncodeInt16() UserGroups: adm admin cdrom dialout lp lpadmin plugdev sambashare video
** Description changed: First, I apply iptables redirection : iptables -t nat -A OUTPUT -p tcp --dport 1935 -j REDIRECT In terminal : rtmpsrv (main program) sniffs RTMP port, displays rtmpdump command for downloading video when getting rtmp stream, then calls automatically rtmpdump with this displayed command for downloading video. When calling automatically displayed rtmpdump command for downloading video, rtmpdump had time to load itself (displaying rtmpdump version), but there was a "segmentation fault (Core dumped)" error displayed, crashing, likely, rtmpsrv (main program) before rtmpdump command for downloading video is executed. Then I remove the iptables filter/redirection. But when I copy manually the displayed rtmpdump command for downloading video, then enter it manually (in terminal), there's no problem (rtmpdump works well and downloads video). Even if I keep iptables filter enabled, the application doesn't crash. - This bug happens in all websites I used with rtmpsrv : + This bug happens in following websites I used with rtmpsrv : http://vtele.ca/videos/operation-seduction/andree-active-et-energique_36563.php http://vtele.ca/videos/operation-seduction/lyska-rencontre-jean-philippe-les-tatouages-pour-lyska-et-jp-une-passion-commune_42986_42987.php Description: Ubuntu 10.10 Release: 10.10 rtmpdump: Installed : 2.3-2 Table of version : *** 2.3-2 0 ProblemType: Crash DistroRelease: Ubuntu 10.10 Package: rtmpdump 2.3-2 ProcVersionSignature: Ubuntu 2.6.35-32.67-generic 2.6.35.14 Uname: Linux 2.6.35-32-generic i686 Architecture: i386 Date: Fri May 25 01:36:13 2012 ExecutablePath: /usr/sbin/rtmpsrv InstallationMedia: Xubuntu 10.04 "Lucid Lynx" - Release i386 (20100429) ProcCmdline: rtmpsrv ProcCwd: /home/test ProcEnviron: SHELL=/bin/bash LANG=fr_CA.UTF-8 LANGUAGE=fr_CA:en SegvAnalysis: Segfault happened at: 0xca73b2 <AMF_EncodeInt16+18>: mov %cl,0x1(%edx) PC (0x00ca73b2) ok source "%cl" ok destination "0x1(%edx)" (0x00000001) not located in a known VMA region (needed writable region)! Stack memory exhausted (SP below stack segment) SegvReason: writing NULL VMA Signal: 11 SourcePackage: rtmpdump StacktraceTop: AMF_EncodeInt16 () from /usr/lib/librtmp.so.0 AMF_EncodeNamedString () from /usr/lib/librtmp.so.0 ?? () ?? () ?? () Title: rtmpsrv crashed with SIGSEGV in AMF_EncodeInt16() UserGroups: adm admin cdrom dialout lp lpadmin plugdev sambashare video ** Visibility changed to: Public -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1004323 Title: rtmpsrv crashed with SIGSEGV in AMF_EncodeInt16() To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/rtmpdump/+bug/1004323/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs