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 362228 - Istanbul craches when clicking to stop the recorder
Istanbul craches when clicking to stop the recorder
Status: RESOLVED DUPLICATE of bug 354698
Product: istanbul
Classification: Other
Component: general
HEAD CVS
Other All
: Normal critical
: ---
Assigned To: Istanbul maintainers
Istanbul QA maintainers
Depends on:
Blocks:
 
 
Reported: 2006-10-14 21:39 UTC by jose
Modified: 2007-04-16 16:33 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jose 2006-10-14 21:39:37 UTC
Steps to reproduce:
1. It starts well, the settings work, it starts to record, but when i click to stop is craches (as user or root). 
It says that it "could not link videorate0 to ffmpegcsp0" 
Please see the console output.


Stack trace:
[root@p3x ~]# istanbul
DEBUG: final pipeline: istximagesrc name=videosource show-pointer=false ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=1280,height=800,framerate=10/1 ! theoraenc ! oggmux name=mux ! filesink location=/tmp/tmpqP81_f
Traceback (most recent call last):
  • File "/usr/lib/python2.4/site-packages/istanbul/main/tray_icon.py", line 56 in _trayicon_clicked
    self.current_screencast.start_recording()
  • File "/usr/lib/python2.4/site-packages/istanbul/main/screencast.py", line 109 in start_recording
    self._pipeline = gst.parse_launch(final_pipeline)
gobject.GError: could not link videorate0 to ffmpegcsp0
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/istanbul/main/tray_icon.py", line 62, in _trayicon_clicked
    self.current_screencast.stop_recording()
  File "/usr/lib/python2.4/site-packages/istanbul/main/screencast.py", line 136, in stop_recording
    self._vsource.set_state(gst.STATE_NULL)
AttributeError: Screencast instance has no attribute '_vsource'
Traceback (most recent call last):
  File "/usr/bin/istanbul", line 40, in ?
    sys.exit(main.main(sys.argv))
  File "/usr/lib/python2.4/site-packages/istanbul/main/main.py", line 86, in main
    gtk.main()
KeyboardInterrupt
[root@p3x ~]#

Other information:
I'm using FC6
Comment 1 Wouter Bolsterlee (uws) 2006-10-27 18:05:33 UTC
I guess this is a gstreamer problem.
Comment 2 Wouter Bolsterlee (uws) 2006-10-27 20:00:45 UTC
The _vsource property is set in start_recording, so it should be there in stop_recording as well. Could you provide the versions of all relevant packages you're using, as well as the output of gst-inspect (please attach it since it's likely to be quite large).
Comment 3 jose 2006-10-28 04:29:44 UTC
This is the gst-inspect:

[p3x@p3x ~]$ gst-inspect
istximagesrc:  istximagesrc: Ximage video source
1394:  dv1394src: Firewire (1394) DV video source
jpeg:  jpegenc: JPEG image encoder
jpeg:  jpegdec: JPEG image decoder
jpeg:  smokeenc: Smoke video encoder
jpeg:  smokedec: Smoke video decoder
rtsp:  rtspsrc: RTSP packet receiver
rtsp:  rtpdec: RTP Decoder
flac:  flacenc: FLAC audio encoder
flac:  flacdec: FLAC audio decoder
smpte:  smpte: SMPTE transitions
speex:  speexenc: Speex audio encoder
speex:  speexdec: Speex audio decoder
wavparse:  wavparse: WAV audio demuxer
ossaudio:  ossmixer: OSS Mixer
ossaudio:  osssrc: Audio Source (OSS)
ossaudio:  osssink: Audio Sink (OSS)
alpha:  alpha: Alpha filter
rtp:  rtpdepay: RTP payloader
rtp:  rtpgsmdepay: RTP packet parser
rtp:  rtpgsmpay: RTP GSM audio payloader
rtp:  rtpamrdepay: RTP packet parser
rtp:  rtpamrpay: RTP packet parser
rtp:  rtppcmadepay: RTP packet parser
rtp:  rtppcmudepay: RTP packet parser
rtp:  rtppcmupay: RTP packet parser
rtp:  rtppcmapay: RTP packet parser
rtp:  rtpmpadepay: RTP packet parser
rtp:  rtpmpapay: RTP packet parser
rtp:  rtph263ppay: RTP packet parser
rtp:  rtph263pdepay: RTP packet parser
rtp:  rtph263pay: RTP packet parser
rtp:  asteriskh263: RTP packet parser
rtp:  rtpmp2tdepay: RTP packet parser
rtp:  rtpmp4vpay: RTP packet parser
rtp:  rtpmp4vdepay: RTP packet parser
rtp:  rtpmp4gdepay: RTP packet parser
rtp:  rtpmp4gpay: RTP packet parser
rtp:  rtpspeexpay: RTP packet parser
rtp:  rtpspeexdepay: RTP packet parser
gconfelements:  gconfvideosink: GConf video sink
gconfelements:  gconfvideosrc: GConf video source
gconfelements:  gconfaudiosink: GConf audio sink
gconfelements:  gconfaudiosrc: GConf audio source
apetag:  apedemux: APE tag demuxer
effectv:  edgetv: EdgeTV effect
effectv:  agingtv: AgingTV effect
effectv:  dicetv: DiceTV effect
effectv:  warptv: WarpTV effect
effectv:  shagadelictv: ShagadelicTV
effectv:  vertigotv: VertigoTV effect
effectv:  revtv: RevTV effect
effectv:  quarktv: QuarkTV effect
videobalance:  videobalance: Video balance
multipart:  multipartdemux: Multipart demuxer
multipart:  multipartmux: Multipart muxer
efence:  efence: Electric Fence
flxdec:  flxdec: FLX audio decoder
alphacolor:  alphacolor: Alpha color filter
annodex:  cmmlenc: CMML streams encoder
annodex:  cmmldec: CMML stream decoder
wavenc:  wavenc: WAV audio muxer
mulaw:  mulawenc: Mu Law audio encoder
mulaw:  mulawdec: Mu Law audio decoder
debug:  breakmydata: Break my data
debug:  navseek: Seek based on left-right arrows
debug:  progressreport: Progress report
debug:  testsink: Test plugin
videomixer:  videomixer: Video mixer
navigationtest:  navigationtest: Video navigation test
id3demux:  id3demux: ID3 tag demuxer
ximagesrc:  ximagesrc: Ximage video source
icydemux:  icydemux: ICY tag demuxer
udp:  udpsink: UDP packet sender
udp:  multiudpsink: UDP packet sender
udp:  dynudpsink: UDP packet sender
udp:  udpsrc: UDP packet receiver
dv:  dvdemux: DV system stream demuxer
dv:  dvdec: DV video decoder
videoflip:  videoflip: Video flipper
level:  level: Level
auparse:  auparse: AU audio demuxer
cairo:  cairotextoverlay: Text overlay
cairo:  cairotimeoverlay: Time overlay
autodetect:  autovideosink: Auto video sink
autodetect:  autoaudiosink: Auto audio sink
matroska:  matroskademux: Matroska demuxer
matroska:  matroskamux: Matroska muxer
videobox:  videobox: Video box filter
goom:  goom: GOOM: what a GOOM!
esdsink:  esdsink: Esound audio sink
alaw:  alawenc: A Law audio encoder
alaw:  alawdec: A Law audio decoder
avi:  avidemux: Avi demuxer
avi:  avimux: Avi muxer
halelements:  halaudiosink: HAL audio sink
halelements:  halaudiosrc: HAL audio source
cutter:  cutter: Audio cutter
png:  pngdec: PNG image decoder
png:  pngenc: PNG image encoder
cdparanoia:  cdparanoiasrc: CD Audio (cdda) Source, Paranoia IV
audiotestsrc:  audiotestsrc: Audio test source
xvimagesink:  xvimagesink: Video sink
audioresample:  audioresample: Audio scaler
gnomevfs:  gnomevfssink: GnomeVFS Sink
gnomevfs:  gnomevfssrc: GnomeVFS Source
ffmpegcolorspace:  ffmpegcolorspace: FFMPEG Colorspace converter
alsa:  alsasink: Audio sink (ALSA)
alsa:  alsasrc: Audio source (ALSA)
alsa:  alsamixer: Alsa mixer
playbin:  playbin: Player Bin
ogg:  oggparse: Ogg parser
ogg:  ogmtextparse: OGM text stream parser
ogg:  ogmvideoparse: OGM video stream parser
ogg:  ogmaudioparse: OGM audio stream parser
ogg:  oggmux: Ogg muxer
ogg:  oggdemux: Ogg demuxer
vorbis:  vorbisparse: VorbisParse
vorbis:  vorbisdec: Vorbis audio decoder
vorbis:  vorbisenc: Vorbis audio encoder
adder:  adder: Adder
subparse:  ssaparse: SSA Subtitle Parser
subparse:  subparse: Subtitle parser
subparse: subparse_typefind: srt, sub, mpsub, mdvd, smi
volume:  volume: Volume
videotestsrc:  videotestsrc: Video test source
coreelements:  typefind: TypeFind
coreelements:  tee: Tee pipe fitting
coreelements:  filesink: File Sink
coreelements:  queue: Queue
coreelements:  identity: Identity
coreelements:  filesrc: File Source
coreelements:  fdsink: Filedescriptor Sink
coreelements:  fdsrc: Disk Source
coreelements:  fakesink: Fake Sink
coreelements:  fakesrc: Fake Source
coreelements:  capsfilter: CapsFilter
pango:  textrender: Text renderer
pango:  clockoverlay: Clock overlay
pango:  timeoverlay: Time overlay
pango:  textoverlay: Text overlay
tcp:  multifdsink: Multi filedescriptor sink
tcp:  tcpserversrc: TCP server source
tcp:  tcpserversink: TCP server sink
tcp:  tcpclientsrc: TCP client source
tcp:  tcpclientsink: TCP client sink
videoscale:  videoscale: Video scaler
typefindfunctions: video/x-dirac: no extensions
typefindfunctions: application/x-ms-dos-executable: dll, exe, ocx, sys, scr, msstyles, cpl
typefindfunctions: application/x-ar: a
typefindfunctions: application/x-tar: tar
typefindfunctions: application/x-rar: rar
typefindfunctions: audio/x-wavpack-correction: wvc
typefindfunctions: audio/x-wavpack: wv, wvp
typefindfunctions: audio/x-spc: spc
typefindfunctions: adts_mpeg_stream: aac
typefindfunctions: application/x-executable: no extensions
typefindfunctions: text/x-cmml: no extensions
typefindfunctions: application/x-ogg-skeleton: no extensions
typefindfunctions: audio/x-speex: no extensions
typefindfunctions: application/x-ogm-text: no extensions
typefindfunctions: application/x-ogm-audio: no extensions
typefindfunctions: application/x-ogm-video: no extensions
typefindfunctions: video/x-theora: no extensions
typefindfunctions: audio/x-vorbis: no extensions
typefindfunctions: application/x-compress: Z
typefindfunctions: application/zip: zip
typefindfunctions: application/x-gzip: gz
typefindfunctions: application/x-bzip: bz2
typefindfunctions: image/x-sun-raster: ras
typefindfunctions: image/x-xpixmap: xpm
typefindfunctions: image/x-jng: jng
typefindfunctions: video/x-mng: mng
typefindfunctions: image/x-xcf: xcf
typefindfunctions: audio/x-sid: sid
typefindfunctions: audio/iLBC-sh: ilbc
typefindfunctions: audio/x-amr-wb-sh: amr
typefindfunctions: audio/x-amr-nb-sh: amr
typefindfunctions: video/x-dv: dv, dif
typefindfunctions: video/x-matroska: mkv, mka
typefindfunctions: image/tiff: tif, tiff
typefindfunctions: image/bmp: bmp
typefindfunctions: image/png: png
typefindfunctions: image/gif: gif
typefindfunctions: image/jpeg: jpg, jpe, jpeg
typefindfunctions: application/x-ape: ape
typefindfunctions: audio/x-shorten: shn
typefindfunctions: audio/x-w64: w64
typefindfunctions: audio/x-ircam: sf
typefindfunctions: audio/x-sds: sds
typefindfunctions: audio/x-voc: voc
typefindfunctions: audio/x-nist: nist
typefindfunctions: audio/x-paris: paf
typefindfunctions: audio/x-svx: iff, svx
typefindfunctions: audio/x-aiff: aiff, aif, aifc
typefindfunctions: audio/x-wav: wav
typefindfunctions: application/xml: xml
typefindfunctions: application/smil: smil
typefindfunctions: text/uri-list: ram
typefindfunctions: text/plain: txt
typefindfunctions: video/x-flv: flv
typefindfunctions: application/x-shockwave-flash: swf, swfl
typefindfunctions: application/vnd.rn-realmedia: ra, ram, rm, rmvb
typefindfunctions: text/html: htm, html
typefindfunctions: video/quicktime: mov
typefindfunctions: application/x-3gp: 3gp
typefindfunctions: audio/x-m4a: m4a
typefindfunctions: video/mpeg4: m4v
typefindfunctions: video/mpeg-stream: mpv, mpeg, mpg
typefindfunctions: video/mpeg: mpv, mpeg, mpg
typefindfunctions: application/ogg: anx, ogg, ogm
typefindfunctions: video/mpegts: ts
typefindfunctions: video/mpeg2: mpe, mpeg, mpg
typefindfunctions: video/mpeg1: mpe, mpeg, mpg
typefindfunctions: audio/x-ac3: ac3
typefindfunctions: audio/mpeg: mp3, mp2, mp1, mpga
typefindfunctions: audio/x-mod: 669, amf, dsm, gdm, far, imf, it, med, mod, mtm, okt, sam, s3m, stm, stx, ult, xm
typefindfunctions: audio/x-ttafile: tta
typefindfunctions: application/x-apetag: ape, mpc, wv
typefindfunctions: application/x-id3v1: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: application/x-id3v2: mp3, mp2, mp1, mpga, ogg, flac, tta
typefindfunctions: video/x-fli: flc, fli
typefindfunctions: audio/x-flac: flac
typefindfunctions: video/x-vcd: dat
typefindfunctions: video/x-cdxa: dat
typefindfunctions: video/x-msvideo: avi
typefindfunctions: audio/x-au: au, snd
typefindfunctions: audio/x-musepack: mpc
typefindfunctions: video/x-ms-asf: asf, wm, wma, wmv
audiorate:  audiorate: Audio rate adjuster
video4linux:  v4lsrc: Video (video4linux/raw) Source
ximagesink:  ximagesink: Video sink
videorate:  videorate: Video rate adjuster
audioconvert:  audioconvert: Audio converter
decodebin:  decodebin: Decoder Bin
coreindexers:  fileindex: A index that stores entries in file
coreindexers:  memindex: A index that stores entries in memory
theora:  theoraparse: TheoraParse
theora:  theoraenc: Theora video encoder
theora:  theoradec: Theora video decoder
staticelements:  bin: Generic bin
staticelements:  pipeline: Pipeline object

Total count: 72 plugins, 242 features
[p3x@p3x ~]$


Can u please tell me how/where can I see the versions of all relevant packages
you're using?
Thanks 
Comment 4 André Klapper 2006-11-27 10:52:43 UTC
reopening as per last comment - wouter?
Comment 5 David Andersson 2006-12-05 03:57:44 UTC
This happens if you try to record with a depth other than 24 bit.
Does setting your xorg-server to 24-bit solve it? If so this is the same as bug http://bugzilla.gnome.org/show_bug.cgi?id=349633
Comment 6 Jim 2007-01-04 19:33:08 UTC
$ istanbul --gst-debug-level=1
DEBUG: final pipeline: istximagesrc name=videosource use-damage=false ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=1024,height=768,framerate=10/1 ! theoraenc ! oggmux name=mux ! filesink location=/tmp/tmpXemq6M
SaveWindow with file: /tmp/tmpXemq6M
The program 'istanbul' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 45 error_code 11 request_code 140 minor_code 19)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
Comment 7 Jim 2007-02-08 00:17:46 UTC
No movement on this bug? 
Comment 8 Zaheer Abbas Merali 2007-02-23 11:31:17 UTC
Jim, your bug is fixed already in svn.

Jose's I am not sure, if possible can you attach a bzip2'd log while running istanbul with environment variable GST_DEBUG=3.
Comment 9 Zaheer Abbas Merali 2007-04-16 16:33:14 UTC

*** This bug has been marked as a duplicate of 354698 ***