Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
PlaylistBroadcaster crash on linux
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

PlaylistBroadcaster crash on linux



Hi all,
I'm running into a seg fault on linux (kernel 2.4.18), in the PlaylistBroadcaster and the gdb info follows. I'm not creating the sdp manually, I'm doing this all through the web admin gui. The playlist only includes: /usr/local/movies/sample_100kbit.mov. I am using: PlaylistBroadcaster/4.1.2 built from source.


one other question, which may not be relevant, I'm having trouble adding some quicktime movies i've downloaded to the playlist (specifically generating .sdp files, errInvalidQuickTime), i noticed they have 'cmov' and then 'zlib' in hex in the beginning of the files ... maybe I just have something configured wrong for compressed movies?

please respond to this email address as I am not yet subscribed to the list.
thank you!

-jeff


[root@localhost DemoMovies]# cat DemoMovies.sdp v=0 o=QTSS_Play_List 4099769049 3142410552 IN IP4 10.2.226.202 s=DemoMovies c=IN IP4 127.0.0.1 b=AS:94 t=0 0 a=x-broadcastcontrol:RTSP m=audio 0 RTP/AVP 96 b=AS:10 a=rtpmap:96 X-QDM/22050/2 a=control:trackID=1 a=x-bufferdelay:5.99 m=video 0 RTP/AVP 97 b=AS:84 a=rtpmap:97 X-SV3V-ES/90000 a=control:trackID=2



[root@localhost DemoMovies]# gdb /usr/local/bin/PlaylistBroadcaster
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(gdb) run -a -d -f DemoMovies.config
Starting program: /usr/bin/PlaylistBroadcaster -a -d -f DemoMovies.config
[New Thread 1024 (LWP 5429)]


RefMovie = /usr/local/movies/sample_100kbit.mov
- PlaylistBroadcaster: Created SDP file.
 (path: /var/streaming/playlists/DemoMovies/DemoMovies.sdp)
[New Thread 2049 (LWP 5436)]
[New Thread 1026 (LWP 5437)]
[New Thread 2051 (LWP 5438)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 5429)]
0x08070367 in StringParser::ConsumeFloat() (this=0xbffff2a0) at StringParser.cpp:402
402 fStartGet++;
(gdb) bt
#0 0x08070367 in StringParser::ConsumeFloat() (this=0xbffff2a0) at StringParser.cpp:402
#1 0x08069a18 in SDPSourceInfo::Parse(char*, unsigned long) (this=0x80a8cec,
sdpData=0x80901c0 "v=0\r\no=QTSS_Play_List 4099769049 3142410552 IN IP4 10.2.226.202\r\ns=DemoMovies\r\nc=IN IP4 127.0.0.1\r\nb=AS:94\r\nt=0 0\r\na=x-broadcastcontrol:RTSP\r\nm=audio 0 RTP/AVP 96\r\nb=AS:10\r\na=rtpmap:96 X-QDM/22050/2\r\n"..., sdpLen=10000)
at APICommonCode/SDPSourceInfo.cpp:325
#2 0x08066d81 in BroadcasterSession (this=0x80a8ed8, inAddr=3221222048, inPort=554, inURL=0x80a8aa8 "DemoMovies.sdp", inClientType=0,
inDurationInSec=3221222048, inStartPlayTimeInSec=3221222048, inRTCPIntervalInSec=3221222048, inOptionsIntervalInSec=3221222048,
inHTTPCookie=1, inAppendJunkData=36288, inReadInterval=3221222048, inSockRcvBufSize=3221222048, sdpSPLPtr=0xbffff470,
namePtr=0xbffff2a0 "X\216\n\bY\216\n\b\001", passwordPtr=0xbffff2a0 "X\216\n\bY\216\n\b\001", deepDebug=0) at BroadcasterSession.cpp:92
#3 0x0804e864 in StartBroadcastRTSPSession (broadcastParms=0x80a2970) at PlaylistBroadcaster.cpp:396
#4 0x0804e8ed in AnnounceBroadcast (broadcastParms=0x80a2970, fileBroadcasterPtr=0xbffff2a0) at PlaylistBroadcaster.cpp:432
#5 0x08050141 in PreFlightOrBroadcast (bcastSetupFilePath=0x80a2958 "DemoMovies.config", preflight=false, daemonize=false,
showMovieList=false, writeCurrentMovieFile=false, destinationIP=0xbffff680 "PlaylistBroadcaster/4.1.2", writeNewSDP=true,
errorFilePath=0x0) at PlaylistBroadcaster.cpp:863
#6 0x0804e640 in main (argc=5, argv=0xbffff680) at PlaylistBroadcaster.cpp:362
#7 0x40168507 in __libc_start_main (main=0x804e050 <main>, argc=5, ubp_av=0xbffff934, init=0x804a350 <_init>, fini=0x80880a0 <_fini>,
rtld_fini=0x4000dc14 <_dl_fini>, stack_end=0xbffff92c) at ../sysdeps/generic/libc-start.c:129
(gdb)
_______________________________________________
streaming-server-developers mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/streaming-server-developers
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.