Crash with BadAlloc error when finished recording

Bug #69825 reported by Aaron Whitehouse on 2006-11-02
8
Affects Status Importance Assigned to Milestone
Istanbul
Invalid
Critical
istanbul (Ubuntu)
Medium
Unassigned

Bug Description

When I run Istanbul, it loads the tray icon. If I click it it appears to record. When I click it again, it starts to load up the save window and then crashes.

Running from a command line gives:

~$ istanbul
DEBUG: final pipeline: istximagesrc name=videosource ! video/x-raw-rgb,framerate=10/1 ! videorate ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv,width=1400,height=1050,framerate=10/1 ! theoraenc ! oggmux name=mux ! filesink location=/tmp/tmpTpt8Yp
SaveWindow with file: /tmp/tmpTpt8Yp
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 46 error_code 11 request_code 141 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.)

This could be a similar issue to Bug #58626 but --sync does not fix the problem. Please give me directions to collect a backtrace as it seems to fail when I try:
(gdb) exec-file istanbul
"/usr/bin/istanbul": not in executable format: File format not recognized

I am using an Intel 855GM with the i810 xorg driver.

I had the same, then added this below and start working. It's kind of magic and should be done by some automagic configurator :)

Section "Device"
        Identifier "Intel Corporation Intel Default Card"
        Driver "i810"
        BusID "PCI:0:2:0"
        Option "VideoRam" "65536"
        Option "CacheLines" "1980"
EndSection

Is that in the xorg.conf file? Those options look specific to a particular video card - are they likely to be correct for mine as well?

I get the pitivi bug, but am able to use istanbul. Notably, I must enable 3D support or else the video will flash black, but it works and does not crash.

Florian Boucault (fboucault) wrote :

I can reproduce this on intel 915 and 965.

Changed in istanbul:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Florian Boucault (fboucault) wrote :

This is fixed in CVS upstream and a new release of Istanbul (mostly bugfix) should appear in the next few days (tomorrow hopefully).

Changed in istanbul:
status: Unknown → Needs Info
Gustavo Narea (gnarea) wrote :

I'm using Kubuntu Feisty (fully up-to-date) and I'm still having the same problem. A workaround I've found is not to record with "Full Size".

Florian Boucault (fboucault) wrote :

Gustavo, if you are using ubuntu's version of Istanbul, that's normal because this is not the latest version. A UVF exception has been filed there: https://bugs.launchpad.net/ubuntu/+source/istanbul/+bug/88902

Changed in istanbul:
status: Needs Info → Rejected
Florian Boucault (fboucault) wrote :

Closing as backports contain the fix.

Changed in istanbul:
status: Confirmed → Fix Released
Changed in istanbul:
importance: Unknown → Critical
status: Invalid → Unknown
Changed in istanbul:
status: Unknown → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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