[Gstreamer-bugs] [Bug 90885] New - set_state(READY) wont work on my machine

bugzilla-daemon at widget.gnome.org bugzilla-daemon at widget.gnome.org
Thu Aug 15 14:48:55 PDT 2002


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

http://bugzilla.gnome.org/show_bug.cgi?id=90885

Changed by florianbe at aec.at.

--- shadow/90885	Thu Aug 15 17:48:55 2002
+++ shadow/90885.tmp.32364	Thu Aug 15 17:48:55 2002
@@ -0,0 +1,61 @@
+Bug#: 90885
+Product: GStreamer
+Version: 0.4.0
+OS: Linux
+OS Details: SuSE 7.2 (kernel 2.4.4)
+Status: NEW   
+Resolution: 
+Severity: normal
+Priority: Normal
+Component: gstreamer (core)
+AssignedTo: gstreamer-maint at bugzilla.gnome.org                            
+ReportedBy: florianbe at aec.at               
+QAContact: gstreamer-maint at bugzilla.gnome.org
+TargetMilestone: 0.4.0
+URL: 
+Summary: set_state(READY)  wont  work on my machine
+
+i have run my program on 3 machines:
+an IPAQ (familiar-0.5.3), an Atlon1000 (Mandrake 8.1) and an Athlon 
+XP+1700 with SuSE 7.2.
+it runs correctly on the first two, however, on the last one it wont work.
+(it hangs in gst_element_set_state when setting READY state the second 
+time - the first time setting READY makes no problems)
+
+im using the gst_play-class of steveb and all my code does until hanging 
+is:
+    gst_init (&argc, &argv);
+    play = gst_play_new (GST_PLAY_PIPE_VIDEO);
+    gst_play_set_state (play, GST_STATE_READY);
+    gst_play_set_state (play, GST_STATE_READY); <-- here it hangs
+
+
+here the tail of the gst-mask=-1 output:
+
+DEBUG( 1859: 0)cothread_stackquery:552: Got new cothread stack from 
+0x40c00000 to 0x40dfffff (size 2097152)
+DEBUG( 1859: 0)gst_basic_scheduler_get_preferred_stack:958: getting 
+preferred stack size as 0x40c00000 and 2097152
+
+(process:1859): GStreamer-WARNING **: pthread_attr_setstack failed
+DEBUG( 1859: 0)gst_element_set_state:1867: [work_thread] have failed 
+change_state return
+DEBUG( 1859: 0)gst_bin_change_state:540: child 'work_thread' failed to go 
+to state 2(READY)
+DEBUG( 1859: 0)gst_element_set_state:1829: [work_thread] setting state 
+from NULL to NULL
+INFO ( 1859: 0)gst_bin_change_state:567: [main_pipeline] done changing 
+bin's state from NULL to READY, now in NULL
+DEBUG( 1859: 0)gst_element_set_state:1880: [main_pipeline] element 
+claimed state-change success, but state didn't change NULL, NONE_PENDING 
+<-> READY
+DEBUG( 1859: 0)gst_element_set_state:1829: [main_pipeline] setting state 
+from NULL to READY
+INFO ( 1859: 0)gst_bin_change_state:521: [main_pipeline] changing 
+childrens' state from NULL to READY
+DEBUG( 1859: 0)gst_element_set_state:1829: [work_thread] setting state 
+from NULL to READY
+INFO ( 1859: 0)gst_thread_change_state:258: [work_thread] sync(0): 
+changing state from NULL to READYDEBUG( 1859: 
+0)gst_thread_change_state:272: [work_thread] sync(0): creating thread 
+"work_thread"





More information about the Gstreamer-bugs mailing list