totem crashes with command line options

Bug #884811 reported by Alex Cornejo
54
This bug affects 8 people
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Fix Released
High
Unassigned

Bug Description

I am using ubuntu oneiric (11.10) with the latest updates (i.e. totem 3.0.1-0ubuntu7.1)

It seems totem crashes with almost any command line option. Unfortunately the --debug flag does not give much insight (still I am including it)

[strix:pres]$ totem --fullscreen video.mpg
Segmentation fault
[strix:pres]$ totem --toggle-controls video.mpg
Segmentation fault
[strix:pres]$ totem --debug --fullscreen video.mpg
Segmentation fault
[strix:pres]$ totem --debug --toggle-controls video.mpg

(totem:30347): GLib-GIO-CRITICAL **: Settings schema 'org.gnome.totem' is not installed

(totem:30347): GLib-GIO-CRITICAL **: Settings schema 'org.gnome.totem' is not installed

(totem:30347): GLib-GIO-CRITICAL **: Settings schema 'org.gnome.desktop.lockdown' is not installed

(totem:30347): GLib-GIO-CRITICAL **: g_settings_get_key_info: assertion `settings->priv->schema != NULL' failed

(totem:30347): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed

(totem:30347): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed

(totem:30347): GLib-CRITICAL **: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed

(totem:30347): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed

(totem:30347): GLib-GIO-CRITICAL **: g_settings_get_key_info: assertion `settings->priv->schema != NULL' failed

(totem:30347): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed

(totem:30347): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed

(totem:30347): GLib-CRITICAL **: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed

(totem:30347): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed

(totem:30347): GLib-GIO-CRITICAL **: g_settings_get_key_info: assertion `settings->priv->schema != NULL' failed

(totem:30347): GLib-CRITICAL **: g_variant_get_type: assertion `value != NULL' failed

(totem:30347): GLib-CRITICAL **: g_variant_type_is_subtype_of: assertion `g_variant_type_check (type)' failed

(totem:30347): GLib-CRITICAL **: g_variant_get_boolean: assertion `g_variant_is_of_type (value, G_VARIANT_TYPE_BOOLEAN)' failed

(totem:30347): GLib-CRITICAL **: g_variant_unref: assertion `value != NULL' failed

(process:30347): GLib-GIO-CRITICAL (recursed) **: g_settings_get_key_info: assertion `settings->priv->schema != NULL' failedAborted

Related branches

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in totem (Ubuntu):
status: New → Confirmed
Revision history for this message
Ales Novy (alesny) wrote :

The same problem when starting without fullscreen mode and then trying to switch to the fullscreen from the command line. Fullscreen from UI works without problem.

ales@starej:~$ totem video.mpg &

ales@starej:~$ totem --fullscreen
GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message did not receive a reply (timeout by message bus)
[1]+ Segmentation fault

Revision history for this message
alex_osborn (alex-osborn0) wrote :

bump

Revision history for this message
Trujillo (psymole) wrote :

This is the bug filling in totem's bugzilla https://bugzilla.gnome.org/show_bug.cgi?id=666431

A patch has been committed

commit 71408a90d504b666c74e81260e8761387dc64ce5
Author: Estêvão Samuel Procópio <email address hidden>
Date: Sun Dec 18 19:29:41 2011 -0200

    totem-options: Should not free commands list data.

    In totem_options_process_for_server the commands GList holds
    integers and freeing those integers leads to a segfault.
    Only the GList needs to be freed.

    Closes: bgo#666431

that thread suggest Ubuntu packagers to apply the patch and push and Update any ideas on how to contact the packagers??

Revision history for this message
Lorenzo Zoffoli (lorenzo-zoffoli) wrote :

@psymole

That patch has been merged in gnome3team's PPA but problem still there.

Revision history for this message
Lorenzo Zoffoli (lorenzo-zoffoli) wrote :

I have to correct myself.
Patch is working, totem now crashes only if already opened and using --help option.

Not perfect but nice!

Revision history for this message
Trujillo (psymole) wrote :

@Lorenzo Zoffoli

Any idea if its going to be added to default ubuntu instalations??

Perhaps you should make this observations "crashes only if already opened and using --help option." here

https://bugzilla.gnome.org/show_bug.cgi?id=666431

it might help fix those issues you found

Revision history for this message
Trujillo (psymole) wrote :

bump!!

Changed in totem (Ubuntu):
importance: Undecided → High
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package totem - 3.0.1-0ubuntu17

---------------
totem (3.0.1-0ubuntu17) precise; urgency=low

  * debian/control.in:
    - don't Build-Depends on libxtst-dev so the codepath generating fake key
      events is disabled, those events lead to weird behaviours with
      some applications or the unity hud (lp: #923644)
    - drop the Build-Depends on individual girs, the libs depends on those
  * debian/patches/git_commandfix_incorrect_free.patch:
    - fix segfault with on line options use (lp: #860079, #884811, #917241)

  [ Jeremy Bicha ]
  * Drop coherence plugin description since the plugin has been
    removed by GNOME. (LP: #827382)
 -- Sebastien Bacher <email address hidden> Mon, 06 Feb 2012 11:48:10 +0100

Changed in totem (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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