cacaxine totally broken in terminals

Bug #1322329 reported by Egmont Koblinger
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
xine-ui (Ubuntu)
New
Undecided
Unassigned

Bug Description

cacaxine works fine when it opens its own window, but is totally broken if it's asked to run inside a terminal.

To reproduce, execute:
$ unset DISPLAY
$ cacaxine any_movie_file

Expected: should work in the terminal just as when it does in its own window if you don't unset the DISPLAY.

Actual: Works for about a second, then the screen contents start falling apart. Tons of string that look like ANSI escape sequences (like "38;5;8" or similar) are printed on the screen. It even might cause the terminal to resize, move or iconify itself (it accidentally emits such escape sequences).

Usually, cacaxine segfaults a bit later.

Reproducible under any terminal emulator. (Note, however, that the incorrect sequences it prints might cause gnome-terminal to segfault: https://bugzilla.gnome.org/show_bug.cgi?id=647466)

Running under "script" and looking at the typescript file reveals it prints tons of "\e[\e[40m.34m" or similar sequences which is obviously incorrect. Apparently two escape sequences interleave each other. (Maybe it uses multiple threads without proper locking? Maybe xine is a multithreaded app and libcaca is not prepared for this?)

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: xine-console 0.99.7-1
ProcVersionSignature: Ubuntu 3.13.0-24.47-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.1
Architecture: amd64
CurrentDesktop: Unity
Date: Thu May 22 21:52:51 2014
InstallationDate: Installed on 2012-05-30 (722 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: xine-ui
UpgradeStatus: Upgraded to trusty on 2014-03-25 (58 days ago)

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :
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.