[Gstreamer-bugs] I cannot play any mpeg videos with gst-player.

James Su suzhe at turbolinux.com.cn
Tue Jun 10 02:02:19 PDT 2003


Hi,
  I'm using gstreamer 0.6.2 and gst-player 0.5.1, when playing mpeg
videos gst-player crashes at:
(compiled with gcc 3.2.2 and glibc 2.3.2)

backtrace was generated from '/usr/bin/gst-player'

(no debugging symbols found)...[New Thread 16384 (LWP 17850)]
[New Thread 32769 (LWP 17851)]
[New Thread 16386 (LWP 17852)]
[New Thread 32771 (LWP 17853)]
[New Thread 49156 (LWP 17854)]
[New Thread 65541 (LWP 17855)]
0x4006603e in __libc_waitpid (pid=17856,
    stat_loc=0xbf7ff41c, options=0) at
../sysdeps/unix/sysv/linux/waitpid.c:32
	in ../sysdeps/unix/sysv/linux/waitpid.c
#0  0x4006603e in __libc_waitpid (pid=17856, stat_loc=0xbf7ff41c, options=0)
    at ../sysdeps/unix/sysv/linux/waitpid.c:32
#1  0x40195dae in libgnomeui_module_info_get () from
/usr/lib/libgnomeui-2.so.0
#2  0x400648dd in __pthread_sighandler (signo=11, ctx=
      {gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds =
43, __dsh = 0, edi = 136153392, esi = 3212834884, ebp = 3212834788, esp
= 3212834748, ebx = 136153392, edx = 1107619840, ecx = 137195520, eax =
0, trapno = 14, err = 4, eip = 1111929615, cs = 35, __csh = 0, eflags =
2163330, esp_at_signal = 3212834748, ss = 43, __ssh = 0, fpstate =
0xbf7ff540, oldmask = 2147483648, cr2 = 28}) at sighandler.c:38
#3  <signal handler called>
#4  0x4246b30f in avcodec_decode_video (avctx=0x81d8930, picture=0x8065ab0,
    got_picture_ptr=0xbf7ff844, buf=0x804fb78 "", buf_size=134634160)
    at utils.c:315
#5  0x428c6116 in gst_ffmpegdecall_chain (pad=0x80ecea0, inbuf=0x8065ab0)
    at gstffmpegall.c:333
#6  0x40f4e91a in gst_opt_scheduler_chain_wrapper (sinkpad=0xbf7ff41c,
buffer=0x0)
    at gstoptimalscheduler.c:1075
#7  0x4010b622 in gst_pad_push (pad=0x80ec488, buf=0x8065ab0) at
gstpad.c:2271
#8  0x4202e20e in gst_spider_identity_chain (pad=0x80ec488, buf=0x8065ab0)
    at gstspideridentity.c:193
#9  0x4202efd9 in gst_spider_identity_sink_loop_type_finding
(ident=0x82d1e78)
    at gstspideridentity.c:512
#10 0x40f4e2e8 in loop_group_schedule_function (argc=0, argv=0x80eb550)
    at gstoptimalscheduler.c:922
#11 0x40f4dd5c in schedule_group (group=0x0) at gstoptimalscheduler.c:779
#12 0x40f4ddf7 in gst_opt_scheduler_schedule_run_queue (osched=0x80e8b20)
    at gstoptimalscheduler.c:810
#13 0x40f4e027 in schedule_chain (chain=0x8081bc0) at
gstoptimalscheduler.c:851
#14 0x40f50150 in gst_opt_scheduler_iterate (sched=0x80e8b20)
    at gstoptimalscheduler.c:1825
#15 0x401160e6 in gst_scheduler_iterate (sched=0x80e8b20) at
gstscheduler.c:732
#16 0x400f58ff in gst_bin_iterate_func (bin=0x80ea4b8) at gstbin.c:902
#17 0x400f5b0a in gst_bin_iterate (bin=0x80ea4b8) at gstbin.c:947
#18 0x401196d5 in gst_thread_main_loop (arg=0x80ea4b8) at gstthread.c:723
#19 0x40bf2659 in g_thread_create_proxy (data=0x8100d68) at gthread.c:551
#20 0x4005f4a5 in pthread_start_thread (arg=0xbf7ffbe0) at manager.c:300

Thread 6 (Thread 65541 (LWP 17855)):
#0  0x40062d4f in __pthread_alt_lock (lock=0x80f17b0, self=0x0)
    at ../linuxthreads/sysdeps/i386/pt-machine.h:67
	oldstatus = 0
	newstatus = 1
	wait_node = {next = 0x0, thr = 0x80f5b68, abandoned = 0}
#1  0x4005fa35 in __pthread_mutex_lock (mutex=0x80f17a0) at mutex.c:123
	self = (struct _pthread_descr_struct *) 0x1
#2  0x401197fe in gst_thread_main_loop (arg=0x80f5b68) at gstthread.c:732
	thread = (struct _GstThread *) 0x80f5b68
	stateset = 0
	page_size = 0
	stack_pointer = (void *) 0xbf1ffab4
	stack_offset = 1086459816
#3  0x40bf2659 in g_thread_create_proxy (data=0x8102e88) at gthread.c:551
No locals.
#4  0x4005f4a5 in pthread_start_thread (arg=0xbf1ffbe0) at manager.c:300
	request = {req_thread = 0x0, req_kind = REQ_CREATE, req_args = {create = {
      attr = 0x0, fn = 0, arg = 0x0, mask = {__val = {0 <repeats 32
times>}}},
    free = {thread_id = 0}, exit = {code = 0}, post = 0x0, for_each =
{fn = 0,
      arg = 0x0}}}
	outcome = (void *) 0x0

Thread 5 (Thread 49156 (LWP 17854)):
#0  0x40c4c61c in do_sigsuspend (set=0xbf3ff9ac)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:50
No locals.
#1  0x40c4c5cb in __sigsuspend (set=0xbf3ff9ac)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:87
	oldtype = 0
	result = -1086326356
#2  0x40060e0f in __pthread_wait_for_restart_signal (self=0xbf3ffbe0)
    at pthread.c:1141
	mask = {__val = {0, 0, 1, 0, 135190528, 134217728, 0, 1074146574,
    135190528, 134585424, 1, 4294967295, 0, 1, 0, 1074147278,
1075087872, 1, 1,
    1074147278, 137307896, 1087675520, 3208641076, 1074175020, 1087675520,
    1087675520, 3208641076, 1074175020, 134755160, 0, 3208641092,
1074134002}}
#3  0x4005dd6e in __pthread_cond_wait (cond=0x0, mutex=0x8083358) at
restart.h:36
	self = (struct _pthread_descr_struct * volatile) 0xbf3ffbe0
	extr = {pu_object = 0x8083568,
  pu_extricate_func = 0x4005e040 <cond_extricate_func>}
	already_canceled = 0
	spurious_wakeup_count = 0
#4  0x4011985d in gst_thread_main_loop (arg=0x80ea6d0) at gstthread.c:722
	thread = (struct _GstThread *) 0x80ea6d0
	stateset = -4
	page_size = -4
	stack_pointer = (void *) 0xbf3ffab4
	stack_offset = 8
#5  0x40bf2659 in g_thread_create_proxy (data=0x8102f38) at gthread.c:551
No locals.
#6  0x4005f4a5 in pthread_start_thread (arg=0xbf3ffbe0) at manager.c:300
	request = {req_thread = 0x0, req_kind = REQ_CREATE, req_args = {create = {
      attr = 0x0, fn = 0, arg = 0x0, mask = {__val = {0 <repeats 32
times>}}},
    free = {thread_id = 0}, exit = {code = 0}, post = 0x0, for_each =
{fn = 0,
      arg = 0x0}}}
	outcome = (void *) 0xfffffffc

Thread 4 (Thread 32771 (LWP 17853)):
#0  0x40c4c61c in do_sigsuspend (set=0xbf5ff9ac)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:50
No locals.
#1  0x40c4c5cb in __sigsuspend (set=0xbf5ff9ac)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:87
	oldtype = 0
	result = -1084229204
#2  0x40060e0f in __pthread_wait_for_restart_signal (self=0xbf5ffbe0)
    at pthread.c:1141
	mask = {__val = {0, 0, 1, 0, 135228120, 134217728, 0, 1074146574,
    135228120, 134585424, 1, 4294967295, 0, 1075087580, 0, 1074147278,
1075087872,
    1, 1, 1074147278, 137309616, 1087675520, 3210738228, 1074175020,
1087675520,
    1087675520, 3210738228, 1074175020, 135188912, 0, 3210738244,
1074134002}}
#3  0x4005dd6e in __pthread_cond_wait (cond=0x0, mutex=0x80ed1b0) at
restart.h:36
	self = (struct _pthread_descr_struct * volatile) 0xbf5ffbe0
	extr = {pu_object = 0x80ed1d0,
  pu_extricate_func = 0x4005e040 <cond_extricate_func>}
	already_canceled = 0
	spurious_wakeup_count = 0
#4  0x4011985d in gst_thread_main_loop (arg=0x80ea5c4) at gstthread.c:722
	thread = (struct _GstThread *) 0x80ea5c4
	stateset = -4
	page_size = -4
	stack_pointer = (void *) 0xbf5ffab4
	stack_offset = 8
#5  0x40bf2659 in g_thread_create_proxy (data=0x8102de0) at gthread.c:551
No locals.
#6  0x4005f4a5 in pthread_start_thread (arg=0xbf5ffbe0) at manager.c:300
	request = {req_thread = 0x0, req_kind = REQ_CREATE, req_args = {create = {
      attr = 0x0, fn = 0, arg = 0x0, mask = {__val = {0 <repeats 32
times>}}},
    free = {thread_id = 0}, exit = {code = 0}, post = 0x0, for_each =
{fn = 0,
      arg = 0x0}}}
	outcome = (void *) 0xfffffffc

Thread 3 (Thread 16386 (LWP 17852)):
#0  0x4006603e in __libc_waitpid (pid=17856, stat_loc=0xbf7ff41c, options=0)
    at ../sysdeps/unix/sysv/linux/waitpid.c:32
	oldtype = 0
#1  0x40195dae in libgnomeui_module_info_get () from
/usr/lib/libgnomeui-2.so.0
No symbol table info available.
#2  0x400648dd in __pthread_sighandler (signo=11, ctx=
      {gs = 0, __gsh = 0, fs = 0, __fsh = 0, es = 43, __esh = 0, ds =
43, __dsh = 0, edi = 136153392, esi = 3212834884, ebp = 3212834788, esp
= 3212834748, ebx = 136153392, edx = 1107619840, ecx = 137195520, eax =
0, trapno = 14, err = 4, eip = 1111929615, cs = 35, __csh = 0, eflags =
2163330, esp_at_signal = 3212834748, ss = 43, __ssh = 0, fpstate =
0xbf7ff540, oldmask = 2147483648, cr2 = 28}) at sighandler.c:38
	__tmp1 = -1082133184
	__tmp2 = 0
	__tmp3 = -1082133184
	__tmp4 = -1082133476
	self = (struct _pthread_descr_struct *) 0xbf7ffbe0
	in_sighandler = 0x0
#3  <signal handler called>
	__libc_missing_rt_sigs = 0
#4  0x4246b30f in avcodec_decode_video (avctx=0x81d8930, picture=0x8065ab0,
    got_picture_ptr=0xbf7ff844, buf=0x804fb78 "", buf_size=134634160)
    at utils.c:315
	ret = -1082133184
#5  0x428c6116 in gst_ffmpegdecall_chain (pad=0x80ecea0, inbuf=0x8065ab0)
    at gstffmpegall.c:333
	outbuf = (struct _GstBuffer *) 0x40009ccd
	ffmpegdec = (struct _GstFFMpegDecAll *) 0x82d6f78
	data = (guchar *) 0x4204f000 ""
	size = 4096
	frame_size = 1073822656
	len = 2048
	have_picture = 137169196
#6  0x40f4e91a in gst_opt_scheduler_chain_wrapper (sinkpad=0xbf7ff41c,
buffer=0x0)
    at gstoptimalscheduler.c:1075
No locals.
#7  0x4010b622 in gst_pad_push (pad=0x80ec488, buf=0x8065ab0) at
gstpad.c:2271
	peer = (struct _GstRealPad *) 0x80ecea0
#8  0x4202e20e in gst_spider_identity_chain (pad=0x80ec488, buf=0x8065ab0)
    at gstspideridentity.c:193
	ident = (struct _GstSpiderIdentity *) 0x82d1e78
#9  0x4202efd9 in gst_spider_identity_sink_loop_type_finding
(ident=0x82d1e78)
    at gstspideridentity.c:512
	buf = (struct _GstBuffer *) 0x8065ab0
	typefindbuf = (struct _GstBuffer *) 0x82d1e78
	getmorebuf = 134634160
	type_list = (struct _GList *) 0x8071090
	restart_spider = 1
	caps = (struct _GstCaps *) 0x82d1e78
#10 0x40f4e2e8 in loop_group_schedule_function (argc=0, argv=0x80eb550)
    at gstoptimalscheduler.c:922
	entry = (struct _GstElement *) 0x82d1e78
#11 0x40f4dd5c in schedule_group (group=0x0) at gstoptimalscheduler.c:779
No locals.
#12 0x40f4ddf7 in gst_opt_scheduler_schedule_run_queue (osched=0x80e8b20)
    at gstoptimalscheduler.c:810
No locals.
#13 0x40f4e027 in schedule_chain (chain=0x8081bc0) at
gstoptimalscheduler.c:851
	groups = (struct _GSList *) 0x401488dc
	osched = (struct _GstOptScheduler *) 0x80e8b20
#14 0x40f50150 in gst_opt_scheduler_iterate (sched=0x80e8b20)
    at gstoptimalscheduler.c:1825
	state = 1075087580
	iterations = 1
#15 0x401160e6 in gst_scheduler_iterate (sched=0x80e8b20) at
gstscheduler.c:732
	sclass = (struct _GstSchedulerClass *) 0x401488dc
#16 0x400f58ff in gst_bin_iterate_func (bin=0x80ea4b8) at gstbin.c:902
	state = GST_SCHEDULER_STATE_NONE
#17 0x400f5b0a in gst_bin_iterate (bin=0x80ea4b8) at gstbin.c:947
	oclass = (struct _GstBinClass *) 0x80e9ff0
	running = 1
#18 0x401196d5 in gst_thread_main_loop (arg=0x80ea4b8) at gstthread.c:723
	thread = (struct _GstThread *) 0x80ea4b8
	stateset = 1075087580
	page_size = 1075087580
	stack_pointer = (void *) 0xbf7ffab4
	stack_offset = 3212833820
#19 0x40bf2659 in g_thread_create_proxy (data=0x8100d68) at gthread.c:551
No locals.
#20 0x4005f4a5 in pthread_start_thread (arg=0xbf7ffbe0) at manager.c:300
	request = {req_thread = 0x0, req_kind = REQ_CREATE, req_args = {create = {
      attr = 0x0, fn = 0, arg = 0x0, mask = {__val = {0 <repeats 32
times>}}},
    free = {thread_id = 0}, exit = {code = 0}, post = 0x0, for_each =
{fn = 0,
      arg = 0x0}}}
	outcome = (void *) 0x401488dc

Thread 2 (Thread 32769 (LWP 17851)):
#0  0x40cf4172 in loser_poll (fds=0x8102c24, nfds=1, timeout=2000)
    at ../sysdeps/unix/sysv/linux/poll.c:51
	must_emulate = 0
#1  0x40cf3a8b in __poll (fds=0x8102c24, nfds=1, timeout=2000)
    at ../sysdeps/unix/sysv/linux/poll.c:78
	oldtype = 0
	result = 2000
#2  0x4005ea54 in __pthread_manager (arg=0xc9) at manager.c:145
	reqfd = 14
	ufd = {fd = 14, events = 1, revents = 0}
	manager_mask = {__val = {4294967279, 4294967294,
    4294967295 <repeats 30 times>}}
	n = -1
	request = {req_thread = 0xbf7ffbe0, req_kind = REQ_CREATE, req_args = {
    create = {attr = 0xbf7ff90c, fn = 0x40bf25a0 <g_thread_create_proxy>,
      arg = 0x8102e88, mask = {__val = {2147483648, 0, 1086935143,
1087675520,
          135278088, 0, 0, 0, 3212834972, 3212835156, 1087669916,
135278088, 31,
          3212835156, 1086902441, 135278088, 135278088, 30, 3212835192,
          3212835020, 3212835020, 3212834996, 30, 4222451712, 135278088,
          135278088, 135278088, 135278088, 135278118, 135278188,
1074123741, 0}}},
    free = {thread_id = 3212835084}, exit = {code = -1082132212},
    post = 0xbf7ff90c, for_each = {fn = 0xbf7ff90c, arg = 0x40bf25a0}}}

Thread 1 (Thread 16384 (LWP 17850)):
#0  0x40c4c61c in do_sigsuspend (set=0xbffff590)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:50
No locals.
#1  0x40c4c5cb in __sigsuspend (set=0xbffff590)
    at ../sysdeps/unix/sysv/linux/sigsuspend.c:87
	oldtype = 16
	result = -1073744496
#2  0x40060e0f in __pthread_wait_for_restart_signal (self=0x400670a0)
    at pthread.c:1141
	mask = {__val = {0, 0, 1, 0, 17855, 0, 0, 1074146574, 1074174680,
    1074175020, 3221222904, 4294967295, 0, 135213048, 0, 1074147278,
1074175712,
    1074175716, 0, 1074147278, 136930912, 1087675520, 3221222936,
1074175020,
    1087675520, 1087675520, 3221222936, 1074175020, 135171008, 0,
3221222952,
    1074134002}}
#3  0x4005dd6e in __pthread_cond_wait (cond=0x0, mutex=0x80e8bc0) at
restart.h:36
	self = (struct _pthread_descr_struct * volatile) 0x400670a0
	extr = {pu_object = 0x80e8c18,
  pu_extricate_func = 0x4005e040 <cond_extricate_func>}
	already_canceled = 0
	spurious_wakeup_count = 0
#4  0x40118636 in gst_thread_change_state (element=0x80ea4b8) at
gstthread.c:543
	elements = (const struct _GList *) 0x0
	thread = (struct _GstThread *) 0x80ea4b8
	transition = 137011896
	self = (struct _GThread *) 0x8053510
	error = (struct _GError *) 0x0
#5  0x400ffa16 in gst_element_set_state (element=0x80ea4b8,
state=GST_STATE_PAUSED)
    at gstelement.c:2136
	oclass = (struct _GstElementClass *) 0xfffffffc
	curpending = GST_STATE_PAUSED
	return_val = GST_STATE_SUCCESS
#6  0x400f4cdf in gst_bin_change_state (element=0x80e8e10) at gstbin.c:657
	bin = (struct _GstBin *) 0x80e8e10
	children = (struct _GList *) 0x0
	child = (struct _GstElement *) 0x80ea4b8
	ret = 4294967292
	old_state = GST_STATE_PLAYING
	pending = GST_STATE_PAUSED
	have_async = 0
#7  0x4010d312 in gst_pipeline_change_state (element=0x80e8e10)
    at gstpipeline.c:167
No locals.
#8  0x400ffa16 in gst_element_set_state (element=0x80e8e10,
state=GST_STATE_READY)
    at gstelement.c:2136
	oclass = (struct _GstElementClass *) 0xfffffffc
	curpending = GST_STATE_PAUSED
	return_val = GST_STATE_SUCCESS
#9  0x400c9fe1 in gst_play_idle_signal (play=0x80e83d0) at play.c:346
	signal = (struct _GstPlaySignal *) 0x80c96d0
	queue_length = -4
#10 0x400c9cad in gst_play_default_idle (idle_data=0x811aa78) at play.c:266
No locals.
#11 0x40bdf561 in g_idle_dispatch (source=0x82d5268, callback=0xfffffffc,
    user_data=0x811aa78) at gmain.c:3241
No locals.
#12 0x40bdcbb9 in g_main_dispatch (context=0x80bc730) at gmain.c:1720
	i = 2
#13 0x40bddbb9 in g_main_context_dispatch (context=0x80bc730) at
gmain.c:2268
No locals.
#14 0x40bdded3 in g_main_context_iterate (context=0x80bc730, block=1,
dispatch=1,
    self=0x8053510) at gmain.c:2349
	max_priority = 200
	timeout = 0
	some_ready = 1
	nfds = 7
	allocated_nfds = 200
	fds = (struct _GPollFD *) 0x824b698
#15 0x40bde577 in g_main_loop_run (loop=0x824b688) at gmain.c:2569
	self = (struct _GThread *) 0x8053510
#16 0x4068cbd0 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#17 0x0804b3f7 in main ()
No symbol table info available.
#18 0x40c39f2c in __libc_start_main (main=0x804b000 <main>, argc=1,
    ubp_av=0x80535b8, init=0x804b4b0 <__libc_csu_init>,
    fini=0x804b4e0 <__libc_csu_fini>, rtld_fini=0x80c8600,
stack_end=0x40d4869c)
    at ../sysdeps/generic/libc-start.c:152
	ubp_ev = (char **) 0x40d4869c
	result = 1074568336
0x4006603e	32	in ../sysdeps/unix/sysv/linux/waitpid.c





More information about the Gstreamer-bugs mailing list