[gst-devel] [ gstreamer-Bugs-428190 ] Playing mpeg2 video caused segfault

noreply at sourceforge.net noreply at sourceforge.net
Tue May 29 05:05:23 CEST 2001


Bugs item #428190, was updated on 2001-05-28 20:05
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=101936&aid=428190&group_id=1936

Category: gstplay
Group: segfault
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew Mitchell (ajmitch)
Assigned to: Nobody/Anonymous (nobody)
Summary: Playing mpeg2 video caused segfault

Initial Comment:
Seems like it doesn't like it when there is no hardware
support for Xv. If it could fail gracefully, it'd be
great ;)


DEBUG(32591: 1)gst_pad_renegotiate_func:1185: caps
compatibility check ok
DEBUG(32591: 1)gst_pad_renegotiate_func:1189: checking
if other pad show:sink can negotiate data:0xbf607d7c
DEBUG(32591: 1)gst_pad_renegotiate_func:1194: switching
pad for next phase
DEBUG(32591: 1)gst_pad_renegotiate_func:1222: calling
negotiate function on pad show:sink data: 0xbf607d7c
DEBUG(32591: 1)gst_xvideosink_negotiate:298:
xvideosink: negotiate 0xbf607d7c 0x80886b0
DEBUG(32591: 1)gst_xvideosink_negotiate:355:
xvideosink: got 20424752 (RGB )
DEBUG(32591: 1)gst_pad_renegotiate_func:1230:
negotiation succeeded
DEBUG(32591: 1)gst_pad_renegotiate:1304: pads aggreed
on caps :)

** CRITICAL **: file gstpad.c: line 1307
(gst_pad_renegotiate): assertion `newcaps != NULL' failed.
DEBUG(32591: 1)gst_pad_renegotiate_func:1227:
negotiation failed
DEBUG(32591: 1)gst_pad_renegotiate:1294: firing
caps_nego_failed signal on mpeg2dec:src and
colorspace:sink to give it a chance to succeed
DEBUG(32591: 1)gst_pad_get_bufferpool:1033:
(mpeg2dec:src): entering
DEBUG(32591: 1)gst_pad_get_bufferpool:1037: calling
bufferpoolfunc &(null) (@0x80bf620) of peer pad
colorspace:sink
DEBUG(32591: 1)gst_pad_get_bufferpool:1033:
(colorspace:src): entering
DEBUG(32591: 1)gst_pad_get_bufferpool:1037: calling
bufferpoolfunc &(null) (@0x80bc820) of peer pad show:sink
DEBUG(32591: 1)gst_xvideosink_get_bufferpool:237:
xvideosink: creating YUV XvImage bufferpool
DEBUG(32591: 1)gst_buffer_pool_new:42: BUF: allocating
new buffer pool 0x80fcca0
INFO (32591: 1)gst_mpeg2dec_vo_setup:242: got pool
0x80fcca0

INFO (32591: 1)gst_mpeg2dec_vo_get_frame:269: VO: get_frame

INFO (32591: 1)gst_xvimage_new:225: Xv: no usable hw
scaler port found
INFO (32591: 1)gst_buffer_new:62: creating new buffer
0x8147f90
[New Thread 1024 (LWP 32578)]
[New Thread 2049 (LWP 32590)]
[New Thread 1026 (LWP 32591)]
[New Thread 2051 (LWP 32592)]
[New Thread 3076 (LWP 32593)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1026 (LWP 32591)]
gst_xvideosink_buffer_create (pool=0x80fcca0,
user_data=0x80bc6f8)
    at xvideosink.c:194
194           GST_BUFFER_DATA (buffer) =
GST_XVIMAGE_DATA (xvimage);
(gdb) bt
#0  gst_xvideosink_buffer_create (pool=0x80fcca0,
user_data=0x80bc6f8)
    at xvideosink.c:194
#1  0x400220f6 in gst_buffer_pool_new_buffer
(pool=0x80fcca0)
    at gstbufferpool.c:119
#2  0x40021e2e in gst_buffer_new_from_pool
(pool=0x80fcca0) at gstbuffer.c:96
#3  0x45761b9a in gst_mpeg2dec_vo_get_frame
(instance=0x80e3650, flags=7)
    at gstmpeg2dec.c:290
#4  0x4576285e in mpeg2_decode_data (mpeg2dec=0x45761a90, 
    current=0x80e34a8 "04\016\b\n", end=0x0) at
../include/video_out.h:74
#5  0x80fbd20 in ?? ()
#6  0x457624d0 in gst_mpeg2dec_vo_close
(instance=0xe853) at gstmpeg2dec.c:160
#7  0x56570cec in ?? ()
Cannot access memory at address 0x83e58955
(gdb) 






----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=101936&aid=428190&group_id=1936




More information about the gstreamer-devel mailing list