[MPlayer-dev-eng] [BUG] weird error playing from NFS

gabucino at mplayerhq.hu gabucino at mplayerhq.hu
Thu Jun 5 09:26:43 CEST 2003


Preamble
========

This bug was reproduced with 2 completely different AVIs, and one MPEG1, on two
2.4.20 Linux boxes (either local NFS, or remote NFS). So it's file independant.

Case #1
=======

woodstock:/home on /mnt/2 type nfs (rw,addr=10.0.0.1)
-r--------    1 gabucino gabucino 88334296 Jun  5 07:55 /mnt/2/mp3/JB_FinalFantasy8_Silence.avi

$ mplayer /mnt/2/mp3/JB_FinalFantasy8_Silence.avi
SIG11 plus GTK/GLIB errors (due to XMMS plugins) (see attachment)
plus: AVI: Missing video stream!? Contact the author, it may be a bug :(

$ mplayer -noidx /mnt/2/mp3/JB_FinalFantasy8_Silence.avi
SIG11. Same.

$ cat /mnt/2/mp3/JB_FinalFantasy8_Silence.avi | mplayer -
Works.

NOW, again:

$ mplayer /mnt/2/mp3/JB_FinalFantasy8_Silence.avi
Works. (but MPlayer can't find the index in the file)
Cannot seek in raw AVI streams. (Index required, try with the -idx switch.)

(note, this 'cat' trick didn't work on MPEG files)

Case #2
=======

woodstock:/home on /mnt/2 type nfs (rw,addr=10.0.0.1)
----r-----    1 gabucino gabucino 88334296 Jun  5 07:55 /mnt/2/mp3/JB_FinalFantasy8_Silence.avi

(notice the permissions)

$ mplayer /mnt/2/mp3/JB_FinalFantasy8_Silence.avi
Works. Always. Bug unreproducable.

I'm out of ideas on why mplayer doesn't work with NFS, 0400 permission.
And why it works with cat, and AVIs.
NFS support sucks???

-- 
Gabucino
MPlayer Core Team
-------------- next part --------------
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i586-pc-linux-gnu"...
(gdb) run -v /mnt/2/mp3/JB*
Starting program: /home/gabucino/mplayer/src/mplayer -v /mnt/2/mp3/JB*
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer dev-CVS-030605-06:46-2.95.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Advanced Micro Devices K6-2 (Family: 5, Stepping: 12)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 0 3DNow: 1 3DNow2: 0 SSE: 0 SSE2: 0
Compiled with Runtime CPU Detection - WARNING - this is not optimal!
To get best performance, recompile MPlayer with --disable-runtime-cpudetection
Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: can't open '/root/.mplayer/codecs.conf': No such file or directory
Reading /etc/mplayer/codecs.conf: 57 audio & 145 video codecs
CommandLine: '-v' '/mnt/2/mp3/JB_FinalFantasy8_Silence.avi'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit 3DNow) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf : No such file or directory
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed : 51 binds
get_path('JB_FinalFantasy8_Silence.avi.conf') -> '/root/.mplayer/JB_FinalFantasy8_Silence.avi.conf'

Playing /mnt/2/mp3/JB_FinalFantasy8_Silence.avi
Not an URL!
[file] File size is 88334296 bytes
STREAM: [file] /mnt/2/mp3/JB_FinalFantasy8_Silence.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8539c30  
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8539c30  
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8539c30  
Checking for REAL
DEMUXER: freeing demuxer at 0x8539c30  
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8539c30  
DEMUXER: freeing demuxer at 0x855dce0  
Searching demuxer type for filename /mnt/2/mp3/JB_FinalFantasy8_Silence.avi ext: .avi
Trying demuxer 3 based on filename extension
ds_fill_buffer: EOF reached (stream: video)  
AVI: Missing video stream!? Contact the author, it may be a bug :(
Checking for MOV
DEMUXER: freeing demuxer at 0x855e548  
Checking for VIVO
DEMUXER: freeing demuxer at 0x855e548  
stream_seek: WARNING! Can't seek to 0x4 !
DEMUXER: freeing demuxer at 0x855e548  
DEMUXER: freeing demuxer at 0x855e548  
DEMUXER: freeing demuxer at 0x855e548  
DEMUXER: freeing demuxer at 0x855e548  
DEMUXER: freeing demuxer at 0x855e548  
Checking for PVA
DEMUXER: freeing demuxer at 0x855e548  
************Checking for TS************
NOT A TS FILE1
TRIED UP TO POSITION 1, FOUND 0, packet_size= 0
BUF: 00 00 00 00, PID 0, SIZE: 0 
PID 0, COMPARE CC 0 AND LAST_CC -1
BUF: 00 00 00 00, PID 0, SIZE: 0 
PID 0, COMPARE CC 0 AND LAST_CC 0
DEMUXER: freeing demuxer at 0x855e548  
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)  
MPEG packet stats: p100: 0  p101: 0 p1B6: 0 p12x: 0 sli: 0 a: 0 b: 0 c: 0 idr: 0 sps: 0 pps: 0 PES: 0  MP3: 0 
Not MPEG System Stream format... (maybe Transport Stream?)
DEMUXER: freeing demuxer at 0x855e548  
DEMUXER: freeing demuxer at 0x855e548  

XMMS: found plugin: libvorbis.so (Ogg Vorbis Player 1.2.7)
XMMS: found plugin: xmp-plugin.so (XMP Player 2.0.5-pre3)

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtktypeutils.c: line 337 (gtk_type_class): assertion `node != NULL' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkContainer::border_width" is not in the `(null)' ancestry

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkContainer::reallocate_redraws" is not in the `(null)' ancestry

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtkobject.c: line 357 (gtk_object_class_add_signals): assertion `GTK_IS_OBJECT_CLASS (class)' failed.

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::title" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::auto_shrink" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::allow_shrink" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::allow_grow" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::modal" is not in the `(null)' ancestry

Gtk-CRITICAL **: file gtkobject.c: line 939 (gtk_object_add_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::default_width" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkWindow::default_height" is not in the `(null)' ancestry

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtksignal.c: line 433 (gtk_signal_lookup): assertion `gtk_type_is_a (object_type, GTK_TYPE_OBJECT)' failed.

Gtk-CRITICAL **: file gtkobject.c: line 357 (gtk_object_class_add_signals): assertion `GTK_IS_OBJECT_CLASS (class)' failed.

Gtk-WARNING **: invalid cast from `GtkBin' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)'

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 2285 (gtk_widget_queue_resize): assertion `GTK_IS_WIDGET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 4871 (gtk_widget_ref): assertion `GTK_IS_WIDGET (widget)' failed.

Gtk-WARNING **: invalid cast from `GtkWindow' to `(unknown)'

Gtk-CRITICAL **: file gtkobject.c: line 457 (gtk_object_sink): assertion `GTK_IS_OBJECT (object)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkBox::spacing" is not in the `(null)' ancestry

Gtk-WARNING **: gtk_arg_type_new(): argument class in "GtkBox::homogeneous" is not in the `(null)' ancestry

Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAMENTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed.

Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAMENTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed.

Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAMENTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 535 (gtk_container_add_child_arg_type): assertion `arg_type > GTK_TYPE_NONE' failed.

Gtk-CRITICAL **: file gtkarg.c: line 68 (gtk_arg_type_new_static): assertion `GTK_FUNDAMENTAL_TYPE (base_class_type) == GTK_TYPE_OBJECT' failed.

Gtk-WARNING **: invalid cast from `GtkBox' to `(unknown)'

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkcontainer.c: line 714 (gtk_container_add): assertion `GTK_IS_WIDGET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show): assertion `GTK_IS_WIDGET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

Gtk-WARNING **: invalid cast from `GtkBox' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkHBox' to `(unknown)'

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 3356 (gtk_widget_set_parent): assertion `GTK_IS_WIDGET (widget)' failed.

Gtk-WARNING **: invalid cast from `GtkVBox' to `(unknown)'

Gtk-WARNING **: invalid cast from `GtkVBox' to `(unknown)'

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

Gtk-CRITICAL **: file gtkwidget.c: line 1428 (gtk_widget_show): assertion `GTK_IS_WIDGET (widget)' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

Gtk-WARNING **: gtk_type_create(): unknown parent type `21'.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 138 (g_hash_table_lookup): assertion `hash_table != NULL' failed.

GLib-CRITICAL **: file ghash.c: line 152 (g_hash_table_insert): assertion `hash_table != NULL' failed.

Gtk-WARNING **: invalid class type `GtkSeparator' in cast to `(unknown)'
[New Thread 1024 (LWP 6950)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 6950)]
gtk_hseparator_init (hseparator=0x8567030) at gtkhseparator.c:75
75	gtkhseparator.c: No such file or directory.
(gdb) bt
#0  gtk_hseparator_init (hseparator=0x8567030) at gtkhseparator.c:75
#1  0x401fcba0 in gtk_type_new (type=9986) at gtktypeutils.c:399
#2  0x40191269 in gtk_hseparator_new () at gtkhseparator.c:81
#3  0x401709a7 in gtk_dialog_init (dialog=0x8566838) at gtkdialog.c:82
#4  0x401fcba0 in gtk_type_new (type=8961) at gtktypeutils.c:399
#5  0x401709f5 in gtk_dialog_new () at gtkdialog.c:90
#6  0x40890f7e in catch_info () from /usr/lib/xmms/Input/xmp-plugin.so
#7  0x4088f31b in _init () from /usr/lib/xmms/Input/xmp-plugin.so
#8  0x81963a7 in init_plugins ()
#9  0x8196421 in demux_xmms_open ()
(gdb) q
The program is running.  Exit anyway? (y or n) 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 232 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20030605/f0b4772d/attachment.pgp>


More information about the MPlayer-dev-eng mailing list