mario0alberto1 / gnome-mplayer

Automatically exported from code.google.com/p/gnome-mplayer
0 stars 0 forks source link

coredump / Trace/BPT trap #588

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. update to gnome-mplayer-1.0.5-1.fc16.x86_64
2. start gnome-mplayer

What is the expected output?
it should just plaq the video... :-)

What do you see instead?
it coredumps and says:
Gtk-Message: Failed to load module "pk-gtk-module"
GLib-GIO-ERROR **: Settings schema 'apps.gnome-mplayer.preferences' does not 
contain a key named 'vo'
Trace/BPT trap (core dumped)

What version of the product are you using? On what operating system?
1.0.5-1
fedora core 16
athlon64 X2

Please provide any additional information below.
it worked fine before the update...

Original issue reported on code.google.com by i...@wgboome.org on 9 Jan 2012 at 5:31

GoogleCodeExporter commented 8 years ago
Appears to be a gnome-mplayer packaging error. I'll have belegdol look at it. 

Original comment by kdeko...@gmail.com on 9 Jan 2012 at 5:34

GoogleCodeExporter commented 8 years ago
Hmm, interesting. I am on Fedora 16 x86_64 myself, and it definitely works here.
Can you post your mplayer, gmtk and gnome-mplayer versions?
In parallel, can you start gnome-mplayer without playing a video, set a vo in 
the preferences and see if it changes anything?

Original comment by beleg...@gmail.com on 9 Jan 2012 at 5:38

GoogleCodeExporter commented 8 years ago
Jan  9 16:52:26 vaako yum[15984]: Updated: gnome-mplayer-common-1.0.5-1.fc16.x86
_64
Jan  9 16:52:28 vaako yum[15984]: Installed: gmtk-1.0.5.0-1.fc16.x86_64
Jan  9 16:52:30 vaako yum[15984]: Updated: gnome-mplayer-1.0.5-1.fc16.x86_64
mplayer.x86_64              1.0-0.126.20110816svn.fc16

> gnome-mplayer.orig 
Gtk-Message: Failed to load module "pk-gtk-module"
GLib-GIO-ERROR **: Settings schema 'apps.gnome-mplayer.preferences' does not 
contain a key named 'vo'
Trace/BPT trap (core dumped)

Original comment by i...@wgboome.org on 9 Jan 2012 at 5:59

GoogleCodeExporter commented 8 years ago
Can you try running 

yum reinstall gnome-mplayer gnome-mplayer-common

And see if that fixes it. gsettings schema must contain all values referenced 
or they segfault (to me this is a design issue with gsettings, but that is how 
it works). Normally this schema file is installed as part of the package. That 
is why reinstalling may fix it.

Original comment by kdeko...@gmail.com on 9 Jan 2012 at 6:04

GoogleCodeExporter commented 8 years ago
reinstall didnt change anything...

Original comment by i...@wgboome.org on 9 Jan 2012 at 6:14

GoogleCodeExporter commented 8 years ago
is my dconf database corrupted?

> dconf list /apps/gnome-mplayer/preferences/
alsa-mixer
audio-channels
audio-device-name
bring-to-front
cache-size
disable-animation
disable-ass
disable-deinterlace
disable-dvx
disable-embedded-scaling
disable-embeddedfonts
disable-embedding
disable-framedrop
disable-midi
disable-pause-on-click
disable-qt
disable-real
disable-wmp
extraopts
force-cache
keep-on-top
last-dir
metadata-codepage
mouse-wheel-changes-volume
mplayer-dvd-device
osd-level
plugin-audio-cache-size
plugin-video-cache-size
pp-level
remember-loc
remember-softvol
replace-and-play
resize-on-new-media
show-details
show-notification
show-playlist
show-status-icon
show-subtitles
single-instance
softvol
subtitle-codepage
subtitle-color
subtitle-font
subtitle-margin
subtitle-outline
subtitle-scale
subtitle-shadow
use-defaultpl
use-hw-audio
use-mediakeys
use-xscrnsaver
verbose
vertical
vo
volume-gain

Original comment by i...@wgboome.org on 9 Jan 2012 at 6:15

GoogleCodeExporter commented 8 years ago
This is the latest spec:
http://cvs.rpmfusion.org/viewvc/rpms/gnome-mplayer/F-16/gnome-mplayer.spec?revis
ion=1.39&root=free&view=markup
Everything seems to be fine with gsettings, besides they were used in 1.0.4 on 
f-16 as well.

Original comment by beleg...@gmail.com on 9 Jan 2012 at 6:17

GoogleCodeExporter commented 8 years ago
It appears there may be issues with your .schema file as here are my values.

dconf list /apps/gnome-mplayer/preferences/

accelerator-keys
alsa-mixer
audio-channels
audio-device-name
audio-lang
bring-to-front
cache-size
disable-animation
disable-ass
disable-deinterlace
disable-dvx
disable-embedded-scaling
disable-embeddedfonts
disable-embedding
disable-framedrop
disable-midi
disable-pause-on-click
disable-qt
disable-real
disable-wmp
enable-nautilus-plugin
extraopts
force-cache
keep-on-top
last-dir
metadata-codepage
mouse-wheel-changes-volume
mplayer-dvd-device
osd-level
panel-position
plugin-audio-cache-size
plugin-video-cache-size
pp-level
remember-loc
remember-softvol
replace-and-play
resize-on-new-media
show-details
show-notification
show-playlist
show-status-icon
show-subtitles
single-instance
softvol
subtitle-codepage
subtitle-color
subtitle-font
subtitle-lang
subtitle-margin
subtitle-outline
subtitle-scale
subtitle-shadow
use-crystalhd-codecs
use-defaultpl
use-hardware-codecs
use-hw-audio
use-mediakeys
use-xscrnsaver
verbose
vertical
vo
volume-gain
window-height
window-width
window-x
window-y

Original comment by kdeko...@gmail.com on 9 Jan 2012 at 6:27

GoogleCodeExporter commented 8 years ago
how can i (re-)initialize the dconf database? :-)

Original comment by i...@wgboome.org on 9 Jan 2012 at 6:44

GoogleCodeExporter commented 8 years ago
$ gsettings --reset-recursively apps.gnome-mplayer.preferences
You will lose all your settings.

Original comment by beleg...@gmail.com on 9 Jan 2012 at 6:52

GoogleCodeExporter commented 8 years ago
i just downloaded the 1.0.5 source tar ball and
installed it manually...

now it starts and looks darker than before... :-)
but: the preferences dialog is totally unresponsive
(can it be that the `gsettings reset-recursively` call caused that?)

Original comment by i...@wgboome.org on 9 Jan 2012 at 7:46

GoogleCodeExporter commented 8 years ago
You should only see the darker version when you have gnome 3.2 or higher, which 
is not present in F15. Do you have some hybrid setup running?

Please run gnome-mplayer -v from a terminal and see if any error messages come 
out.

Original comment by kdeko...@gmail.com on 9 Jan 2012 at 8:17

GoogleCodeExporter commented 8 years ago
i use F16...

that is what `gnome-mplayer -v` says:
Gtk-Message: Failed to load module "pk-gtk-module"
GNOME MPlayer v1.0.5
gmtk v1.0.5
Running with GIO support
Using audio device: Default
(gnome-mplayer:7502): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to 
allocate widget with width -23 and height 29
The volume on 'Default' is 1.000000
Using match: type='signal',interface='com.gnome.mplayer'
Using match: type='signal',interface='org.gnome.SettingsDaemon'
Using match: type='signal',interface='org.gnome.SettingsDaemon.MediaKeys'
Proxy connections and Command connected

and then when i open the preferences window and press CTRL+c twice in the 
gnome-terminal window:
^C^C
(gnome-mplayer:7502): GLib-CRITICAL **: g_async_queue_length: assertion `queue' 
failed
(gnome-mplayer:7502): GLib-CRITICAL **: g_async_queue_lock: assertion `queue' 
failed

(gnome-mplayer:7502): GLib-CRITICAL **: g_async_queue_length_unlocked: 
assertion `queue' failed
(gnome-mplayer:7502): GLib-CRITICAL **: g_async_queue_unlock: assertion `queue' 
failed
(gnome-mplayer:7502): GLib-CRITICAL **: g_async_queue_unref: assertion `queue' 
failed
*** glibc detected *** gnome-mplayer: double free or corruption (!prev): 
0x00000000029d03f0 ***
======= Backtrace: =========
/lib64/libc.so.6[0x353887c2d6]
[...]

Original comment by i...@wgboome.org on 9 Jan 2012 at 8:46

GoogleCodeExporter commented 8 years ago
https://bugzilla.rpmfusion.org/show_bug.cgi?id=1433

Original comment by beleg...@gmail.com on 9 Jan 2012 at 8:51

GoogleCodeExporter commented 8 years ago
atk-2.2.0-2.fc16.x86_64 is what I have on my system. Sorry about the F15 
confusion, doing too many things today at the same time.

Original comment by kdeko...@gmail.com on 9 Jan 2012 at 9:09

GoogleCodeExporter commented 8 years ago
alright... no problem... thanks for ur prompt assistance...

it works fine again...
i can change the prefs via dconf-editor... *w00t* :-)

Original comment by i...@wgboome.org on 9 Jan 2012 at 9:23

GoogleCodeExporter commented 8 years ago
Can you do the following

Run gnome-mplayer under gdb

gdb gnome-mplayer
(gdb) run

when program crashes or hangs, press ctrl-C til you get a (gdb) prompt and then 
type bt

and then send that information?

Original comment by kdeko...@gmail.com on 9 Jan 2012 at 10:37

GoogleCodeExporter commented 8 years ago
> gdb /usr/bin/gnome-mplayer
GNU gdb (GDB) Fedora (7.3.50.20110722-10.fc16)
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/gnome-mplayer...done.
(gdb) run
Starting program: /usr/bin/gnome-mplayer 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Gtk-Message: Failed to load module "pk-gtk-module"
[New Thread 0x7fffefbab700 (LWP 31149)]
GNOME MPlayer v1.0.5
gmtk v1.0.5
Running with GIO support
Using audio device: Default
[New Thread 0x7fffef3aa700 (LWP 31150)]
[New Thread 0x7fffedf0b700 (LWP 31151)]
[New Thread 0x7fffed70a700 (LWP 31152)]
[New Thread 0x7fffecf09700 (LWP 31153)]
[New Thread 0x7fffdffff700 (LWP 31154)]
[New Thread 0x7fffdf7fe700 (LWP 31155)]
[New Thread 0x7fffdeffd700 (LWP 31156)]
[New Thread 0x7fffde7fc700 (LWP 31157)]
[New Thread 0x7fffddffb700 (LWP 31158)]
[New Thread 0x7fffdd7fa700 (LWP 31159)]
[New Thread 0x7fffdcff9700 (LWP 31160)]

(gnome-mplayer:31133): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to 
allocate widget with width -23 and height 29
The volume on 'Default' is 1.000000
Detaching after fork from child process 31161.
Using match: type='signal',interface='com.gnome.mplayer'
Using match: type='signal',interface='org.gnome.SettingsDaemon'
Using match: type='signal',interface='org.gnome.SettingsDaemon.MediaKeys'
Proxy connections and Command connected
[New Thread 0x7fffcfffd700 (LWP 31169)]
[New Thread 0x7fffcf7fc700 (LWP 31170)]
[New Thread 0x7fffceffb700 (LWP 31171)]
[Thread 0x7fffcfffd700 (LWP 31169) exited]
[Thread 0x7fffcf7fc700 (LWP 31170) exited]
^C
Program received signal SIGINT, Interrupt.
0x000000353900c920 in pthread_getspecific () from /lib64/libpthread.so.0
Missing separate debuginfos, use: debuginfo-install 
gnome-mplayer-1.0.5-1.fc16.x86_64
(gdb) bt
#0  0x000000353900c920 in pthread_getspecific () from /lib64/libpthread.so.0
#1  0x000000353a86002d in g_slice_alloc () from /lib64/libglib-2.0.so.0
#2  0x000000353a83f53e in g_list_prepend () from /lib64/libglib-2.0.so.0
#3  0x00007ffff7a559af in ?? () from /usr/lib64/libgtk-3.so.0
#4  0x00007ffff7af29cd in ?? () from /usr/lib64/libgtk-3.so.0
#5  0x00007ffff7a5a53e in gtk_container_get_children ()
   from /usr/lib64/libgtk-3.so.0
#6  0x00007ffff7c5236a in ?? () from /usr/lib64/libgtk-3.so.0
#7  0x00007ffff7c66a4a in ?? () from /usr/lib64/libgtk-3.so.0
#8  0x000000354300e135 in ?? () from /usr/lib64/libatk-1.0.so.0
#9  0x00007ffff7c66b18 in ?? () from /usr/lib64/libgtk-3.so.0
#10 0x00007ffff7c57c73 in ?? () from /usr/lib64/libgtk-3.so.0
#11 0x00007fffefde173d in ?? ()
   from /usr/lib64/gtk-3.0/modules/libatk-bridge.so
#12 0x000000353a844a7d in g_main_context_dispatch ()
   from /lib64/libglib-2.0.so.0
#13 0x000000353a845278 in ?? () from /lib64/libglib-2.0.so.0
#14 0x000000353a8457c5 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#15 0x00007ffff7ade6ed in gtk_main () from /usr/lib64/libgtk-3.so.0
#16 0x000000000040e81c in main (argc=1, argv=0x7fffffffe0a8) at main.c:1318
(gdb)

Original comment by i...@wgboome.org on 10 Jan 2012 at 7:13

GoogleCodeExporter commented 8 years ago
Some debuginfo packages are missing, this should solve it:
# yum 
--enablerepo=fedora-debuginfo,updates-debuginfo,rpmfusion-free-updates-debuginfo
 install gtk3-debuginfo glibc-debuginfo glib2-debuginfo atk-debuginfo 
gnome-mplayer-debuginfo
Please repeat the procedure afterwards.

Original comment by beleg...@gmail.com on 10 Jan 2012 at 9:31

GoogleCodeExporter commented 8 years ago
okilidokili: :-)
(gdb) bt
#0  0x00007ffff7ffea56 in gettimeofday ()
#1  0x000000353a843507 in g_get_current_time (result=0x7fffffffdab0)
    at gmain.c:1967
#2  0x000000353a85f5ba in magazine_cache_update_stamp () at gslice.c:553
#3  magazine_cache_update_stamp () at gslice.c:640
#4  magazine_cache_push_magazine (ix=1, magazine_chunks=<optimized out>, 
    count=<optimized out>) at gslice.c:659
#5  0x000000353a860c53 in thread_memory_magazine2_unload (ix=1, 
    tmem=<optimized out>) at gslice.c:762
#6  g_slice_free_chain_with_offset (mem_size=24, mem_chain=<optimized out>, 
    next_offset=8) at gslice.c:950
#7  0x00007ffff7c52390 in gtk_container_accessible_ref_child (
    obj=<optimized out>, i=97) at gtkcontaineraccessible.c:67
#8  0x00007ffff7c66a4a in gtk_widget_accessible_get_index_in_parent (
    accessible=0x17998b0 [GtkMenuItemAccessible]) at gtkwidgetaccessible.c:436
#9  0x000000354300e135 in atk_object_real_ref_state_set (accessible=
    0x17998b0 [GtkMenuItemAccessible]) at atkobject.c:1399
#10 0x00007ffff7c66b18 in gtk_widget_accessible_ref_state_set (accessible=
    0x17998b0 [GtkMenuItemAccessible]) at gtkwidgetaccessible.c:337
#11 0x00007ffff7c57c73 in gtk_menu_item_accessible_ref_state_set (obj=
    0x17998b0 [GtkMenuItemAccessible]) at gtkmenuitemaccessible.c:145
#12 0x00007fffefde173d in ?? ()
   from /usr/lib64/gtk-3.0/modules/libatk-bridge.so
#13 0x000000353a844a7d in g_main_dispatch (context=0x69c0f0) at gmain.c:2425
#14 g_main_context_dispatch (context=0x69c0f0) at gmain.c:2995
#15 0x000000353a845278 in g_main_context_iterate (context=0x69c0f0, 
    block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#16 0x000000353a8457c5 in g_main_loop_run (loop=0xc5e810) at gmain.c:3281
#17 0x00007ffff7ade6ed in gtk_main () at gtkmain.c:1362
#18 0x000000000040e81c in main (argc=1, argv=0x7fffffffe0b8) at main.c:1318

Original comment by i...@wgboome.org on 10 Jan 2012 at 1:53

GoogleCodeExporter commented 8 years ago
Was this a fresh install of Fedora 16 or did you upgrade, and if it was what 
method did you use? After reading the debug output it really doesn't look like 
a gnome-mplayer issue at this point.

Original comment by kdeko...@gmail.com on 10 Jan 2012 at 1:58

GoogleCodeExporter commented 8 years ago
i used preupgrade since my migration from  FC14 to FC15 or even earlier...
my home directory (and consequently (i liked The Architect in The Matrix) the 
gnome config) is even older, i think... :-)

i think i damaged something with the
gsettings reset-recursive [...]
yesterday...

i will use dconf-editior as a workaround...
it gives nice explanations for the variables, 2...

Original comment by i...@wgboome.org on 10 Jan 2012 at 2:44

GoogleCodeExporter commented 8 years ago
Since you have used preupgrade (which I have also done) you might want to think 
about doing the following.

yum groupupdate Base

and then

yum groupupdate "GNOME Desktop Environment"

And see if that pulls in any packages, if it does try gnome-mplayer again and 
see if the issue is fixed. You may need to reboot after running yum.

Original comment by kdeko...@gmail.com on 10 Jan 2012 at 3:32

GoogleCodeExporter commented 8 years ago
ohoh
the 1st command wasnt so bad (just 20MB or so),
but the 2nd command wants me to install 49MB of packages that i erased, because 
i didnt know if i need them... :-)
so i didnt say "y"...

is there r a way to undo that "gsettings reset-recursive" command?

we can close this bug report,
because: i can use gconf-editor... it's really good, 2, because i almost never 
change the prefs...

Original comment by i...@wgboome.org on 10 Jan 2012 at 4:02

GoogleCodeExporter commented 8 years ago
sorry, i mean: _d_conf-editor...

Original comment by i...@wgboome.org on 10 Jan 2012 at 4:03

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 10 Jan 2012 at 4:13