[MPlayer-users] Crash when using drag and drop - filename "\ " parsing problem

A C Hurst A.Hurst at sheffield.ac.uk
Wed Aug 15 13:39:30 CEST 2007


Hello all,
mplayer-20070814 (SVN-r24056)
when using drag and drop from ROX-filer, I can cause mplayer to crash without fail, by dragging and
dropping a file with one or more spaces "\ " in its name or path.

mplayer -v output:
-------------------------------------------------------------------------------------

~ $ gmplayer -v
MPlayer SVN-r24056 (C) 2000-2007 MPlayer Team
CPU: AMD Duron(tm) processor (Family: 6, Model: 7, Stepping: 0)
3DNowExt supported but disabled
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow SSE
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports ABOVE state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
xscreensaver_disable: xscreensaver wid=4194314.
get_path('codecs.conf') -> '/home/ahurst/.mplayer/codecs.conf'
Reading /home/ahurst/.mplayer/codecs.conf: Can't open '/home/ahurst/.mplayer/codecs.conf': No such
file or directory
Reading /etc/mplayer/codecs.conf: Can't open '/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --cc=i686-pc-linux-gnu-gcc --host-cc=i686-pc-linux-gnu-gcc --prefix=/usr
--confdir=/etc/mplayer --datadir=/usr/share/mplayer --libdir=/usr/lib --enable-largefiles
--enable-menu --enable-network --disable-tv-bsdbt848 --disable-faad-external --disable-fribidi
--disable-enca --disable-ftp --disable-vstream --disable-libcdio --disable-cdparanoia
--disable-cddb --disable-libdv --disable-x264 --disable-ass --charset=UTF-8 --disable-lirc
--disable-lircc --disable-joystick --disable-unrarlib --disable-rtc --disable-tv --disable-tv-v4l1
--disable-tv-v4l2 --disable-radio --disable-radio-v4l2 --disable-radio-bsdbt848 --disable-dvb
--disable-dvbhead --disable-tv-teletext --disable-pvr --disable-live --disable-pnm --disable-speex
--disable-tga --disable-theora --disable-xanim --disable-xvid --disable-libamr_wb --disable-libdca
--disable-liblzo --disable-twolame --disable-toolame --disable-real --enable-win32dll
--disable-directfb --disable-ivtv --disable-ggi --disable-md5sum --disable-xinerama --disable-aa
--disable-fbdev --disable-caca --disable-mga --disable-xmga --disable-vidix-internal
--disable-vidix-external --disable-zr --enable-gui --disable-xvmc --disable-3dfx --disable-tdfxvid
--disable-tdfxfb --disable-arts --disable-esd --disable-jack --disable-nas --disable-openal
--disable-3dnowext --disable-mmxext --disable-sse2 --disable-ssse3 --disable-altivec
CommandLine: '-v'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/ahurst/.mplayer/input.conf'
Can't open input config file /home/ahurst/.mplayer/input.conf: No such file or directory
Can't open input config file /etc/mplayer/input.conf: No such file or directory
Falling back on default (hardcoded) input config
vo: X11 truecolor visual 0x21, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x27, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x28, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x29, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x80, depth 32, R:FF0000 G:FF00 B:FF
get_path('skins') -> '/home/ahurst/.mplayer/skins'
get_path('Skin') -> '/home/ahurst/.mplayer/Skin'
SKIN dir 1: '/home/ahurst/.mplayer/skins'
SKIN dir 1 (obsolete): '/home/ahurst/.mplayer/Skin'
SKIN dir 2: '/usr/share/mplayer/skins'
SKIN dir 2 (obsolete): '/usr/share/mplayer/Skin'
vo: X11 truecolor visual 0x21, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x27, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x28, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x29, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x80, depth 32, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x21, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x27, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x28, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x29, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x80, depth 32, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x21, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x27, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x28, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x29, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x80, depth 32, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x21, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x23, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x24, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x25, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x26, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x27, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x28, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x29, depth 24, R:FF0000 G:FF00 B:FF
vo: X11 truecolor visual 0x80, depth 32, R:FF0000 G:FF00 B:FF
Unicode font: 255 glyphs.
*** glibc detected *** gmplayer: munmap_chunk(): invalid pointer: 0x08a80264 ***
======= Backtrace: =========
/lib/libc.so.6[0xb72aed62]
gmplayer[0x80a56d3]
======= Memory map: ========
08048000-0875a000 r-xp 00000000 03:03 6104206    /usr/bin/mplayer
0875a000-087b4000 rw-p 00711000 03:03 6104206    /usr/bin/mplayer
087b4000-08ba2000 rw-p 087b4000 00:00 0          [heap]
b6339000-b6343000 r-xp 00000000 03:03 5608619    /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b6343000-b6344000 rw-p 00009000 03:03 5608619    /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
b6350000-b6361000 r--p 00000000 03:03 1717469    /usr/share/fonts/ttf-bitstream-vera/Vera.ttf
b6361000-b654f000 rw-p b6361000 00:00 0 
b6553000-b6555000 r--s 00000000 03:03 5269960   
/var/cache/fontconfig/76fa4b957c916922374347f144bde9da-x86.cache-2
b6555000-b6563000 r--s 00000000 03:03 5269959   
/var/cache/fontconfig/8d4af663993b81a124ee82e610bb31f9-x86.cache-2
b6563000-b6585000 r--s 00000000 03:03 5269946   
/var/cache/fontconfig/17090aa38d5c6f09fb8c5c354938f1d7-x86.cache-2
b6585000-b65a7000 r--s 00000000 03:03 5269945   
/var/cache/fontconfig/df311e82a1a24c41a75c2c930223552e-x86.cache-2
b65a7000-b65db000 rw-s 00000000 00:08 16842757   /SYSV00000000 (deleted)
b65db000-b6602000 rw-s 00000000 00:08 16809988   /SYSV00000000 (deleted)
b6602000-b672e000 rw-s 00000000 00:08 16744450   /SYSV00000000 (deleted)
b672e000-b6762000 rw-p b672e000 00:00 0 
b6766000-b676c000 r--s 00000000 03:03 5269954   
/var/cache/fontconfig/87f5e051180a7a75f16eb6fe7dbd3749-x86.cache-2
b676c000-b6779000 r--s 00000000 03:03 5275555   
/var/cache/fontconfig/221fd1126b80b777db535aea535e87ba-x86.cache-2
b6779000-b6785000 r--s 00000000 03:03 5269951   
/var/cache/fontconfig/4b5cf4386f1cde02a336ba961b4ac82d-x86.cache-2
b6785000-b67a6000 rw-s 00000000 00:08 16777219   /SYSV00000000 (deleted)
b67a6000-b67aa000 rw-p b67a6000 00:00 0 
b67aa000-b680a000 rw-s 00000000 00:08 16678913   /SYSV00000000 (deleted)
b680a000-b6810000 r-xp 00000000 03:03 5888138   
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b6810000-b6811000 rw-p 00005000 03:03 5888138   
/usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-xpm.so
b6811000-b6819000 r-xp 00000000 03:03 5828806    /lib/libnss_files-2.5.so
b6819000-b681b000 rw-p 00007000 03:03 5828806    /lib/libnss_files-2.5.so
b681b000-b6823000 r-xp 00000000 03:03 5830097    /lib/libnss_nis-2.5.so
b6823000-b6825000 rw-p 00007000 03:03 5830097    /lib/libnss_nis-2.5.so
b6826000-b6829000 r--s 00000000 03:03 5269950   
/var/cache/fontconfig/d62e99ef547d1d24cdb1bd22ec1a2976-x86.cache-2
b6829000-b6830000 r-xp 00000000 03:03 5886081    /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
b6830000-b6831000 rw-p 00007000 03:03 5886081    /usr/lib/gtk-2.0/2.10.0/engines/libpixmap.so
b6831000-b6832000 r-xp 00000000 03:03 5828997    /usr/lib/gconv/ISO8859-1.so
b6832000-b6834000 rw-p 00001000 03:03 5828997    /usr/lib/gconv/ISO8859-1.so
b6834000-b683b000 r--s 00000000 03:03 4832015    /usr/lib/gconv/gconv-modules.cache
b683b000-b686e000 r--p 00000000 03:03 5625902    /usr/lib/locale/en_GB/LC_CTYPE
b686e000-b6909000 rw-p b686e000 00:00 0 
b6909000-b6a21000 r-xp 00000000 03:03 5668614    /usr/lib/libxml2.so.2.6.28
b6a21000-b6a26000 rw-p 00117000 03:03 5668614    /usr/lib/libxml2.so.2.6.28
b6a26000-b6a27000 rw-p b6a26000 00:00 0 
b6a27000-b6a3b000 r-xp 00000000 03:03 5274801    /usr/lib/libICE.so.6.3.0
b6a3b000-b6a3c000 rw-p 00014000 03:03 5274801    /usr/lib/libICE.so.6.3.0
b6a3c000-b6a3e000 rw-p b6a3c000 00:00 0 
b6a3e000-b6a46000 r-xp 00000000 03:03 3455463    /usr/lib/libSM.so.6.0.0
b6a46000-b6a47000 rw-p 00007000 03:03 3455463    /usr/lib/libSM.so.6.0.0
b6a47000-b6a59000 r-xp 00000000 03:03 5830096    /lib/libnsl-2.5.so
b6a59000-b6a5b000 rw-p 00011000 03:03 5830096    /lib/libnsl-2.5.so
b6a5b000-b6a5d000 rw-p b6a5b000 00:00 0 
b6a5d000-b6a6b000 r-xp 00000000 03:03 5829644    /lib/libresolv-2.5.so
b6a6b000-b6a6d000 rw-p 0000d000 03:03 5829644    /lib/libresolv-2.5.so
b6a6d000-b6a70000 rw-p b6a6d000 00:00 0 
b6a70000-b6a75000 r-xp 00000000 03:03 5830221    /lib/libcrypt-2.5.so
b6a75000-b6a77000 rw-p 00004000 0[x11] NET style stay on top (layer 0). Using state
_NET_WM_STATE_ABOVE.


MPlayer interrupted by signal 6 in module: unknown
[x11] NET style stay on top (layer 0). Using state _NET_WM_STATE_ABOVE.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.
[GUI] done.
get_path('gui.conf') -> '/home/ahurst/.mplayer/gui.conf'
get_path('gui.pl') -> '/home/ahurst/.mplayer/gui.pl'
get_path('gui.url') -> '/home/ahurst/.mplayer/gui.url'
get_path('gui.history') -> '/home/ahurst/.mplayer/gui.history'

-------------------------------------------------------------------------------------------------



More information about the MPlayer-users mailing list