From: SourceForge.net <no...@so...> - 2005-12-05 18:54:54
|
Bugs item #1371407, was opened at 2005-12-02 02:30 Message generated for change (Settings changed) made by robcsmajor You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1371407&group_id=9655 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: xine Group: v1.1.1 Status: Open Resolution: None Priority: 5 Submitted By: Robert Hailey (robcsmajor) Assigned to: Nobody/Anonymous (nobody) >Summary: fifo remains open after play file request; blocks xine Initial Comment: using xine-ui v.0.99.4 modified in to not kill itself on the first mrl command. hack in network.c:<do_mrl>: Most likely improper... if (gGui->playlist.mmk) //Cheap gaurd against SEGFAULT gui_set_current_mmk(gGui->playlist.mmk[gGui->playlist.num -1]); Note: <comment> To Reproduce... With xine running with network listening (-n/--network), -> telnet localhost 6789 stop mrl play fifo:/dev/favorite-video-fifo stop mrl play file:/favorite-show.ts --- The fifo plays as expected, the file never plays. I am not sure what these commands exactly relate to in the gui. The gui shows the file name, pressing the gui 'play' button freezes the gui hard too, (i.e. xine needs a kill -9), submitting a play request over the network is ineffective. >Quite possibly related to bug 1282504: mrl open command w/o playlist entries SEGFAULTs; or perhaps how i did not fix it. >Switching using two entries in the gui playlist do not bring about the crash. >In addition to the above hack, I tried allocating some memory to it, and it fails too... if (!gGui->playlist.mmk) { gGui->playlist.mmk=(mediamark_t**) malloc( sizeof(mediamark_t*) * 2); gGui->playlist[gGui->playlist.num] = 0; //always is [0]... gGui->playlist++; //so that gGui->playlist.num -1 is not negative. } Any help would be appreciated, as well as verification that this is an issue in the stock version, note that the stock ui also segfaults if you give it a mrl on the command line, and I am not sure how to get around this. Especially the internal api command to create an empty playlist to fix bug 1282504. Attached are some back traces, if that may help. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=109655&aid=1371407&group_id=9655 |