Bug 3556

Summary: Smplayer crashes on GNOME notification
Product: Fedora Reporter: Alexander P <alexpl>
Component: smplayerAssignee: Sérgio Basto <sergio>
Status: RESOLVED FIXED    
Severity: major CC: fedora
Priority: P5    
Version: 21   
Hardware: x86_64   
OS: GNU/Linux   
namespace:
Attachments: journalctl entries up to the crash

Description Alexander P 2015-03-05 01:01:08 CET
Created attachment 1410 [details]
journalctl entries up to the crash

I've been having these issues with (s)mplayer for the whole lifetime of F21 and I think they have become more frequent with the latest updates. When I'm watching something in full screen and a GNOME notification pops up (e.g. new mail, AVC denial, etc.), smplayer hangs (though I can get out of full screen mode) the control buttons are not responsive and when I press the "X" button to close it, I get a little pop up about something that went wrong in mplayer.

By the way, does mplayer save any logs someplace?

Other ways to get the same error would be to seek forwards or backwards and then toggle full screen or windowed mode, or causing a GNOME OSD element to appear, for example when I use my keyboard buttons to raise or lower the volume.

I currently have:
mplayer-1.1-32.20150123svn.fc21
smplayer-14.9.0-1.fc21
Comment 1 Alexander P 2015-03-05 01:12:48 CET
It just crashed again, only by switching from full screen to windowed mode. Here is the mplayer log from the "something went wrong" window:

/usr/bin/mplayer -noquiet -nofs -nomouseinput -vc ffh264vdpau,ffmpeg12vdpau,ffwmv3vdpau,ffvc1vdpau, -lavdopts threads=2 -sub-fuzziness 1 -identify -slave -vo vdpau -ao pulse -nokeepaspect -dr -double -input nodefault-bindings:conf=/dev/null -stop-xscreensaver -wid 67108901 -monitorpixelaspect 1 -ass -embeddedfonts -ass-line-spacing 0 -ass-font-scale 1 -noflip-hebrew -ass-styles /home/<user>/.config/smplayer/styles.ass -subfont-autoscale 0 -subfont-osd-scale 20 -subfont-text-scale 20 -subcp enca:el:UTF-8 -vid 0 -aid 0 -sub /path/to/video/file_en.srt -subpos 100 -volume 100 -cache 2048 -ss 724 -osdlevel 0 -noslices -channels 6 -af scaletempo,equalizer=0:0:0:0:0:0:0:0:0:0 -softvol -softvol-max 140 -channels 6 /path/to/video/file.mp4

MPlayer SVN-r37363-4.9.2 (C) 2000-2015 MPlayer Team
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /path/to/video/file.mp4.

Cache fill:  0.00% (0 bytes)   

libavformat version 56.4.101 (external)
libavformat file format detected.
ID_CHAPTER_ID=0
ID_CHAPTER_0_START=18446744073709551536
ID_CHAPTER_0_END=294840
ID_CHAPTER_0_NAME=Chapter 1
ID_CHAPTER_ID=1
ID_CHAPTER_1_START=294840
ID_CHAPTER_1_END=941920
ID_CHAPTER_1_NAME=Chapter 2
ID_CHAPTER_ID=2
ID_CHAPTER_2_START=941920
ID_CHAPTER_2_END=1424680
ID_CHAPTER_2_NAME=Chapter 3
ID_CHAPTER_ID=3
ID_CHAPTER_3_START=1424680
ID_CHAPTER_3_END=1707120
ID_CHAPTER_3_NAME=Chapter 4
ID_CHAPTER_ID=4
ID_CHAPTER_4_START=1707120
ID_CHAPTER_4_END=2172440
ID_CHAPTER_4_NAME=Chapter 5
ID_CHAPTER_ID=5
ID_CHAPTER_5_START=2172440
ID_CHAPTER_5_END=2543640
ID_CHAPTER_5_NAME=Chapter 6
ID_CHAPTER_ID=6
ID_CHAPTER_6_START=2543640
ID_CHAPTER_6_END=3256040
ID_CHAPTER_6_NAME=Chapter 7
ID_CHAPTER_ID=7
ID_CHAPTER_7_START=3256040
ID_CHAPTER_7_END=3503880
ID_CHAPTER_7_NAME=Chapter 8
ID_VIDEO_ID=0
[lavf] stream 0: video (h264), -vid 0
ID_AUDIO_ID=0
ID_AID_0_LANG=eng
[lavf] stream 1: audio (aac), -aid 0, -alang eng
ID_SUBTITLE_ID=0
[lavf] stream 2: subtitle (mov_text), -sid 0, -slang und
VIDEO:  [H264]  720x576  24bpp  25.000 fps  900.1 kbps (109.9 kbyte/s)
[ass] ENCA detection failed: fallback to UTF-8
Clip info:
 major_brand: mp42
ID_CLIP_INFO_NAME0=major_brand
ID_CLIP_INFO_VALUE0=mp42
 minor_version: 0
ID_CLIP_INFO_NAME1=minor_version
ID_CLIP_INFO_VALUE1=0
 compatible_brands: mp42isomavc1
ID_CLIP_INFO_NAME2=compatible_brands
ID_CLIP_INFO_VALUE2=mp42isomavc1
 creation_time: 2014-09-08 13:58:18
ID_CLIP_INFO_NAME3=creation_time
ID_CLIP_INFO_VALUE3=2014-09-08 13:58:18
 encoder: HandBrake 0.9.8 2012071700
ID_CLIP_INFO_NAME4=encoder
ID_CLIP_INFO_VALUE4=HandBrake 0.9.8 2012071700
ID_CLIP_INFO_N=5
ENCA detection failed: fallback to UTF-8
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
[ass] ENCA detection failed: fallback to UTF-8
[ass] Error recoding file
[ass] ENCA detection failed: fallback to UTF-8
ID_FILE_SUB_ID=0
ID_FILE_SUB_FILENAME=/path/to/video/file_en.srt
SUB: Added subtitle file (1): /path/to/video/file_en.srt
Load subtitles in /path/to/video/
ENCA detection failed: fallback to UTF-8
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
SUB: error recoding line.
[ass] ENCA detection failed: fallback to UTF-8
[ass] Error recoding file
[ass] ENCA detection failed: fallback to UTF-8
ID_FILE_SUB_ID=1
ID_FILE_SUB_FILENAME=/path/to/video/file_en.srt
SUB: Added subtitle file (2): /path/to/video/file_en.srt
ID_FILENAME=/path/to/video/file.mp4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=900120
ID_VIDEO_WIDTH=720
ID_VIDEO_HEIGHT=576
ID_VIDEO_FPS=25.000
ID_VIDEO_ASPECT=0.0000
ID_AUDIO_FORMAT=MP4A
ID_AUDIO_BITRATE=96008
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
ID_START_TIME=0.00
ID_LENGTH=3503.88
ID_SEEKABLE=1
ID_CHAPTERS=8
Opening video filter: [ass auto=1]
Couldn't open video filter 'ass'.
ASS: cannot add video filter
==========================================================================
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.1.100 (external)
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
ID_VIDEO_CODEC=ffh264vdpau
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 48000 Hz, 2 ch, floatle, 96.0 kbit/3.13% (ratio: 12001->384000)
ID_AUDIO_BITRATE=96008
ID_AUDIO_RATE=48000
ID_AUDIO_NCH=2
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
AO: [pulse] 48000Hz 2ch floatle (4 bytes per sample)
ID_AUDIO_CODEC=ffaac
[Mixer] No hardware mixing, inserting volume filter.
Starting playback...
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
VO: [vdpau] 720x576 => 1024x576 H.264 VDPAU acceleration 
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.7778
VO: [vdpau] 720x576 => 1024x576 H.264 VDPAU acceleration 
[ass] PlayResX undefined, setting to 384
Comment 2 Sérgio Basto 2015-03-31 12:37:11 CEST
smplayer was updated , but looks like more a problem with video card , 
you got log option of smplayer .

[vdpau] 720x576 => 1024x576 H.264 VDPAU acceleration aren't you using custom video options ?
Comment 3 Alexander P 2015-03-31 18:15:12 CEST
(In reply to comment #2)
> smplayer was updated , but looks like more a problem with video card , 
> you got log option of smplayer .
> 
> [vdpau] 720x576 => 1024x576 H.264 VDPAU acceleration aren't you using custom
> video options ?

I have had smplayer configured with these options since F16 or F17, but perhaps gnome-shell managed to mess with vdpau output.
Anyway, I've been using 14.9.0.6690-1 for the past four days and I haven't had any problems yet, so perhaps the bug that was introduced somewhere in the last three versions has now been fixed.
Comment 4 Sérgio Basto 2015-03-31 18:21:14 CEST
(In reply to comment #3)
> so perhaps the bug that was introduced somewhere in the last
> three versions has now been fixed.

OK so marked as Fixed and close , reopen if any news happens
Comment 5 Alexander P 2015-03-31 18:22:29 CEST
Thanks, will do.