istanbul crash when area selected from bottom left or top right

Bug #206063 reported by hiukkanen
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Istanbul
Fix Released
Medium
istanbul (Ubuntu)
Triaged
Medium
Unassigned

Bug Description

Binary package hint: istanbul

1) Ubuntu 7.10
2) istanbul: Installed: 0.2.2-1
3) I tried to record selected area
4) Saving to disk icon stays because an error below. Istanbul process goes to sleep state.

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/istanbul/main/tray_icon.py", line 65, in _trayicon_clicked
    self.current_screencast.start_recording()
  File "/var/lib/python-support/python2.5/istanbul/main/screencast.py", line 118, in start_recording
    self._pipeline = gst.parse_launch(final_pipeline)
gobject.GError: could not link videoscale2 to theoraenc1
Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/istanbul/main/tray_icon.py", line 73, in _trayicon_clicked
    self.current_screencast.stop_recording()
  File "/var/lib/python-support/python2.5/istanbul/main/screencast.py", line 145, in stop_recording
    self._vsource.set_state(gst.STATE_NULL)
AttributeError: Screencast instance has no attribute '_vsource'

Revision history for this message
Hew (hew) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. This particular bug has already been reported and is a duplicate of bug #132130, so it is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Feel free to continue to report any other bugs you may find.

Revision history for this message
Michal Hruby (mhr3) wrote :

I don't think this is duplicate of the bug #132130 - I'm running Interpid with all updates and I'm getting this error as well.

The problem appears only when using area selection and selecting the area from non-topleft side - ie. if I select the area from top-left everything works OK, if I select it from top-right to bottom-left it doesn't work. Looking at the debug line >

DEBUG: final pipeline: istximagesrc name=videosource display-name=:0.0 screen-num=0 startx=948 starty=568 endx=1022 endy=416 use-damage=false show-pointer=false ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=75,height=-151,framerate=10/1 ! theoraenc ! oggmux name=mux ! filesink location=/tmp/tmp1rnY5h

You can see that starty > endy, and that's why it fails.

Revision history for this message
Hew (hew) wrote :

You're right. Selecting an area from the top right or bottom left causes a crash when attempting to record. starty and endy values should be swapped.

Traceback (most recent call last):
  File "/var/lib/python-support/python2.5/istanbul/main/tray_icon.py", line 65, in _trayicon_clicked
    self.current_screencast.start_recording()
  File "/var/lib/python-support/python2.5/istanbul/main/screencast.py", line 118, in start_recording
    self._pipeline = gst.parse_launch(final_pipeline)
glib.GError: could not link videoscale0 to theoraenc0

Changed in istanbul:
importance: Undecided → Medium
status: New → Confirmed
Hew (hew)
Changed in istanbul:
status: Confirmed → Triaged
Changed in istanbul:
status: Unknown → New
Changed in istanbul:
importance: Unknown → Medium
status: New → Fix Released
Revision history for this message
Eric Fournie (ef-adressebidon) wrote :

Problem persists in 12.04. Selection from top left works, from top right doesn't. Tested on google earth with 3D capture on and mouse cursor capture off. Bug should be reopened.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.