Crash when trying to play a movie

Bug #64882 reported by gaegu
54
Affects Status Importance Assigned to Milestone
democracyplayer (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

I have download a movie to see and when a I choose to see it has closed suddenly

Revision history for this message
Andrew Conkling (andrewski) wrote :

I'm taking over this bug to add more info. Since there's not much here, let's call it the same bug. :P

Attached is my crash report. I suspect some sort of codec problem; Democracy Player worked when playing MPEGs, but crashed for an AVI and WMV.

Revision history for this message
arobar (alex-robar) wrote :

I'll add my (huge) crash report as well. I tried to play a .mov movie. CPU usage shot up to 100% for 20 seconds or so, and then I received the message that Democracy had crashed.

Revision history for this message
PreytoGod (gregforpresident) wrote :

same problem. application crashed during a movie

Revision history for this message
forteller (ubuntu-hei) wrote :

I had the same problem as the others (crashing when trying to play a movie, not during a movie as PreytoGod)
I'm on Edgy x64 (in case you don't know already, I'm new to bug reporting om Ubuntu)

Revision history for this message
Mathieu Avoine (avoinemt-gmail) wrote :

I seem to have the same issue. Attached a crash report, hope it helps.

Revision history for this message
gmiket (thomas-g-mike) wrote :

cannot play movies. Crash on attempt

Revision history for this message
Luca Falavigna (dktrkranz) wrote :

Thank you for your bug report.
Could you please open democracy on a terminal and report its output?

Changed in democracyplayer:
status: Unconfirmed → Needs Info
Revision history for this message
Mathieu Avoine (avoinemt-gmail) wrote : Re: [Bug 64882] Re: Crash when trying to play a movie

Hi Luca,

Here's the ouput when running democracyplayer from a console:

math@ubuntu:~$ democracyplayer
/usr/lib/python2.4/site-packages/democracy/frontend_implementation/Application.py:30:
GtkDeprecationWarning: gtk.threads_init is deprecated, use
gtk.gdk.threads_init instead
  gtk.threads_init()
DTV: Starting up Democracy Player
DTV: Version: 0.8.4.1
DTV: Revision: unknown
DTV: Loading preferences...
DTV: Restoring database...
DTV: Recomputing filters...
DTV: Spawning auto downloader...
DTV: Spawning idle notifier
DTV: idle notifier running
DTV: Displaying main frame...
DTV: Starting event loop thread
/usr/lib/python2.4/site-packages/democracy/frontend_implementation/gtk_queue.py:103:
GtkDeprecationWarning: gtk.threads_enter is deprecated, use
gtk.gdk.threads_enter instead
  gtk.threads_enter()
DTV: updating the Guide
/usr/lib/python2.4/site-packages/democracy/frontend_implementation/gtk_queue.py:119:
GtkDeprecationWarning: gtk.threads_leave is deprecated, use
gtk.gdk.threads_leave instead
  gtk.threads_leave()
*** Launching Democracy Downloader Daemon ****
*** Daemon ready ***
WARNING: feed update for: http://some-pig.net/videos/rss.php?i=2 too slow (
0.292 secs)
WARNING: feed update for: http://www.channelfrederator.com/rss too slow (
0.216 secs)
/usr/lib/python2.4/site-packages/democracy/frontend_implementation/gtk_queue.py:110:
GtkDeprecationWarning: gtk.threads_leave is deprecated, use
gtk.gdk.threads_leave instead
  gtk.threads_leave()
WARNING: HTMLDisplay ignoring baseURL '
https://channelguide.participatoryculture.org/'
WARNING: feed update for:
http://www.rocketboom.com/vlog/quicktime_daily_enclosures.xml too slow (
0.149 secs)
wine/module: Win32 LoadLibrary failed to load: qtmlClient.dll,
/usr/lib/codecs/qtmlClient.dll
downloader: connection closed -- quitting
Shutting down downloaders...
Floating point exception (core dumped)

On 12/26/06, Luca Falavigna <email address hidden> wrote:
>
> Thank you for your bug report.
> Could you please open democracy on a terminal and report its output?
>
> ** Changed in: democracyplayer (Ubuntu)
> Status: Unconfirmed => Needs Info
>
> --
> Crash when trying to play a movie
> https://launchpad.net/bugs/64882
>

Revision history for this message
Béné (bene-d) wrote :

I guess I am having the same problem. Downloading videos works just fine, but once I click on "play" in order to start them democracyplayer hangs. To close it, I have to kill python.
Attached my automatically generated crashlog...

Revision history for this message
Béné (bene-d) wrote :

Okay, sorry.
Downgrading to the democracyplayer version that's in the edgy sources fixed the problem for me...

Revision history for this message
David Baucum (maxolasersquad) wrote :

Here's my crash report for the same problem. I just reinstalled Ubuntu and was having the same exact problem before my reinstall. I was hoping it would work now, but no love.

Revision history for this message
David Baucum (maxolasersquad) wrote :

Here's my CLI output, if that helps:
/var/lib/python-support/python2.4/democracy/frontend_implementation/Application.py:26: GtkDeprecationWarning: gtk.threads_init is deprecated, use gtk.gdk.threads_init instead
  gtk.threads_init()
DTV: Starting up Democracy Player
DTV: Version: 0.9.2.1
DTV: Revision: unknown
DTV: Loading preferences...
DTV: Restoring database...
Database load slow: 2.344
DTV: Recomputing filters...
DTV: Spawning auto downloader...
DTV: Displaying main frame...
Setting VolumeLevel to 1.0
Icon clear: 0.045
DTV: Starting event loop thread
DTV: Finished startup sequence
/var/lib/python-support/python2.4/democracy/frontend_implementation/gtk_queue.py:109: GtkDeprecationWarning: gtk.threads_enter is deprecated, use gtk.gdk.threads_enter instead
  gtk.threads_enter()
*** Launching Democracy Downloader Daemon ****
['/home/david/.democracy/Movies']
/var/lib/python-support/python2.4/democracy/frontend_implementation/gtk_queue.py:129: GtkDeprecationWarning: gtk.threads_leave is deprecated, use gtk.gdk.threads_leave instead
  gtk.threads_leave()
Fontconfig error: "~/.fonts.conf", line 1: XML declaration not well-formed
WARNING: timeout (Feed update (Feedless Videos)) too slow (0.955 secs)
DTV: updating the Guide
Setting VolumeLevel to 1.0
gtkAsyncMethod: <function _gtkInit at 0xb615a25c> took too long: 1.146
*** Daemon ready ***
loaded renderer 'gstrenderer'
WARNING: Running: <dl_daemon.command.UpdateDownloadStatus instance at 0xb1dfb02c> too slow (4.776 secs)
loaded renderer 'xinerenderer'
gtkAsyncMethod: <function initRenderers at 0xb64d4224> took too long: 5.721
gtkAsyncMethod: <function selectDisplay at 0xb615a3ac> took too long: 2.882
WARNING: feed update for: http://videobomb.com/rss/posts/list too slow (0.139 secs)
/var/lib/python-support/python2.4/democracy/frontend_implementation/gtk_queue.py:116: GtkDeprecationWarning: gtk.threads_leave is deprecated, use gtk.gdk.threads_leave instead
  gtk.threads_leave()
WARNING: feed update for: http://www.channelfrederator.com/rss too slow (0.269 secs)
WARNING: feed update for: http://www.mediarights.org/bm/rss.php?i=1 too slow (0.162 secs)
WARNING: feed update for: http://www.videobomb.com/rss/posts/front too slow (0.161 secs)
True
WARNING: dispatch action playViewNamed too slow (1.277 secs)
WARNING: idle (dispatchAction() (using asUrgent)) too slow (1.277 secs)
downloader: connection closed -- quitting
Shutting down downloaders...
Segmentation fault (core dumped)

Revision history for this message
Michael Stucky (mike-stucky) wrote :

Downloads movies but always crashes when ever I try to play a movie. Totem and Mplayer don't have any trouble playing any of the movies.

Revision history for this message
Haggai Eran (haggai-eran) wrote :

I have a similar problem.
I downloaded some movies and when I play them I get a crash.
I've attached the problem report, and the output to the console. I use edgy on amd64, with sun java5.
For some reason I can't upload the crash report. launchpad says its an empty file, but it isn't. Hope it helps anyway.

/usr/lib/python2.4/site-packages/democracy/frontend_implementation/Application.py:30: GtkDeprecationWarning: gtk.threads_init is deprecated, use gtk.gdk.threads_init instead
  gtk.threads_init()
DTV: Starting up Democracy Player
DTV: Version: 0.8.4.1
DTV: Revision: unknown
DTV: Loading preferences...
DTV: Restoring database...
DTV: Recomputing filters...
DTV: Spawning auto downloader...
DTV: Spawning idle notifier
DTV: idle notifier running
DTV: Displaying main frame...
DTV: Starting event loop thread
/usr/lib/python2.4/site-packages/democracy/frontend_implementation/gtk_queue.py:103: GtkDeprecationWarning: gtk.threads_enter is deprecated, use gtk.gdk.threads_enter instead
  gtk.threads_enter()
*** Launching Democracy Downloader Daemon ****
*** Daemon ready ***
/usr/lib/python2.4/site-packages/democracy/frontend_implementation/gtk_queue.py:119: GtkDeprecationWarning: gtk.threads_leave is deprecated, use gtk.gdk.threads_leave instead
  gtk.threads_leave()
DTV: updating the Guide
DTV: Warning: Can't process cookie expiration: Wed, 21-Feb-07 15:12:19 GMT
/usr/lib/python2.4/site-packages/democracy/frontend_implementation/gtk_queue.py:110: GtkDeprecationWarning: gtk.threads_leave is deprecated, use gtk.gdk.threads_leave instead
  gtk.threads_leave()
DTV: *** WARNING *** loading a stale copy of the channel guide from cache
WARNING: HTMLDisplay ignoring baseURL 'https://channelguide.participatoryculture.org/'
DTV: Warning: Can't process cookie expiration: Fri, 16 Mar 2007 18:42:46 GMT
downloader: connection closed -- quitting
Shutting down downloaders...
Segmentation fault (core dumped)

Revision history for this message
Haggai Eran (haggai-eran) wrote :

Hi
Just noticed that democracy tv here doesn't crash on all movies. In fact, it only crashed playing one of 'Happy tree friends' clips which is supposed to be an mpeg4 file (.m4v). It was downloaded from here:
http://www.podtrac.com/pts/redirect.m4v?http://go.adinfuse.com/is/31714/htf_flippin.m4v

Regards,
Haggai Eran

PS.
This clip is quite disgusting, so don't watch this unless you have too :)

Revision history for this message
Sanchola (sanchola) wrote :

I have also been affected by this bug

Revision history for this message
Mathieu Avoine (avoinemt-gmail) wrote :

The issue is fixed for me. It looks like it was crashing because of the ATI driver (other applications were affected also). I changed to the open source radeon driver and it didn't crash since. Hope this helps!

Revision history for this message
eZoulou (florent-ezoulou) wrote :

Same graphic driver for me. Could be [part of] the solution...
g'day evryb'dy :)

Le jeudi 21 juin 2007 à 20:37 +0000, Mathieu Avoine a écrit :
> The issue is fixed for me. It looks like it was crashing because of the
> ATI driver (other applications were affected also). I changed to the
> open source radeon driver and it didn't crash since. Hope this helps!
>
florent Claude | eZoulou.be | open web creative

Revision history for this message
Bruno Santos (bsantos) wrote :
Revision history for this message
Bruno Santos (bsantos) wrote :
Revision history for this message
Bruno Santos (bsantos) wrote :
Revision history for this message
Bruno Santos (bsantos) wrote :

I tried to make a debdiff but failed miserably. For some reason callbackhandler from source differs from the one packaged, so this patch is for the one packaged.

These 3 lame patches switch gst for xine for playing videos, add seeking to gstreamer and permit to seek while paused by removing a check for playing state on the scale handler. If there is something wrong please let me know, I know few Python and gst, so this is just me trying to learn something...

Revision history for this message
Bruno Santos (bsantos) wrote :

Oh damn it.

I made the diff with the source python files and so they don't work with the packaged files... I don't know why they differ...

This has all the modifications I did...

Revision history for this message
Bruno Santos (bsantos) wrote :

Sorry.

Revision history for this message
Chris Halse Rogers (raof) wrote :

Thank you for your work. However, it is not obvious to me that these patches will fix the bug you have attached them to (which is almost certainly fixed in Gutsy anyway).

If you want them to be applied, could you please file a "Use the gstreamer engine" bug, attach the (preferably separate) patches to it, and most importantly provide an argument for switching backends - particularly you should explain why gstreamer isn't the upstream default, and why that doesn't matter for us.

Revision history for this message
Bruno Santos (bsantos) wrote :

Hi Chris. This is for the version on Gutsy, however these files in the
source package differ from the packaged files. I tried to build it from
source and the resulting package had several other issues.

Is the packaged version using other files instead of the ones in the
source package? A sync with upstream not documented or something like
that?

Using gst reduces the probability of crashing while playing a video a
lot.

The last patch I attached had indentation issues.

I'll try to clean it up and will attach it to a more related bug and add
the explanations I find for the engine choice.

Thanks. :-)

On Sat, 2007-07-07 at 08:45 +0000, Chris Halse Rogers wrote:
> Thank you for your work. However, it is not obvious to me that these
> patches will fix the bug you have attached them to (which is almost
> certainly fixed in Gutsy anyway).
>
> If you want them to be applied, could you please file a "Use the
> gstreamer engine" bug, attach the (preferably separate) patches to it,
> and most importantly provide an argument for switching backends -
> particularly you should explain why gstreamer isn't the upstream
> default, and why that doesn't matter for us.
>

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for democracyplayer (Ubuntu) because there has been no activity for 60 days.]

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.