After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 119297 - opt seems broken...
opt seems broken...
Status: VERIFIED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other Linux
: Normal critical
: 0.7.x
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-08-06 23:20 UTC by Iain
Modified: 2009-08-15 18:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
gst-log (146.55 KB, application/octet-stream)
2003-08-06 23:21 UTC, Iain
Details
Another log (116.78 KB, application/octet-stream)
2003-08-29 17:13 UTC, Iain
Details

Description Iain 2003-08-06 23:20:22 UTC
Recent changes seem to have broken opt. When marlin tries to load an mp3,
it goes into an infinite loop and doesn't do anything.

the pipeline is 

filesrc ! mad ! one-to-n ! i2f ! marlinsink

The one-to-n is basically a no-op in my test case though, as its a mono mp3

Attached is a debug log.

Here's some comments from IRC
<BBB> LOG   ^[[00m      scheduler^[[00m(^[[334m16935^[[00m)
          ^[[00mgstoptimalscheduler.c(1020):gst_opt_scheduler_loop_wrapper:^[[0
          0m loop wrapper, putting buffer in bufpen
<BBB> this is the issue
<BBB> it's constantly queueing buffers internally (core)
<BBB> it's reffing until higher than 200
<BBB> which is insane
<BBB> ^iain^: I don't want to be an ass, but is marlinsink loopbased?
<BBB> ^iain^: I'm guessing we broke opt a few days ago... it should basically
          switch the two halves off (i.e., it wraps the loop-thing in a
          thread-sorta-way internally, that's the only way to go afaik)...
<BBB> ^iain^: problem is that it only iterates one half
<BBB> ^iain^: the marlinksink-half is never iterated
<^iain^> hmm ok
<^iain^> should I tell someone?
<BBB> ^iain^: I'd suggest to open a bug report and hope for company/wtay to
          look
<^iain^> ok
<BBB> I can see the bug, but I can't solve it :(
<BBB> I'm not good at schedulers yet
<^iain^> I'll copy this conversation into the log :)
<BBB> good :)
<^iain^> thanks
<BBB> it might be that - since it's oneton - it still needs to be threaded,
          but I don't think so
<BBB> I think we just broke opt slightly :)
Comment 1 Iain 2003-08-06 23:21:15 UTC
Created attachment 18980 [details]
gst-log
Comment 2 Benjamin Otte (Company) 2003-08-07 07:51:13 UTC
I think that bug is quite a bit older.

I've had this infinite loop for a while in Rhythmbox when using
alsasink (loopbased) instead of osssink. I only recently traced it
back to opt.

A workaround (at least for rb) is to => PAUSE => PLAY the pipeline
when this happens.
Comment 3 Iain 2003-08-10 12:24:11 UTC
Dunno what happened, but it seems fixed now...closing
Comment 4 Iain 2003-08-29 17:06:27 UTC
Reopening...an update to gstreamer broke it again...
Comment 5 Iain 2003-08-29 17:13:06 UTC
Created attachment 19604 [details]
Another log
Comment 6 Iain 2003-09-17 00:26:40 UTC
I've noticed that test8 in the testsuite/parse tests seems to be
showing the same problems
Can anyone reproduce stuff like this, or is it something funky going
on in my system?
Comment 7 Thomas Vander Stichele 2003-12-16 13:07:17 UTC
I only have parse1 and parse2 in that dir, hwich app do you want me to
run to test ?
Comment 8 Thomas Vander Stichele 2004-02-11 17:56:03 UTC
iain says fixed, closing