LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-26-2016, 12:02 AM   #1
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Rep: Reputation: 7
Unhappy Slackware 14.2 - Exmplayer - segmentation fault


Hello there,

yesterday i decided to try out the extended version of MPlayer. When i started it, i got the following error:
Code:
bash-4.3$ exmplayer &
[1] 28491
bash-4.3$ Debug: Checking for MPlayer binary... 
Debug: Starting mplayer process... 
Warning: QMetaObject::connectSlotsByName: No matching signal for on_sliderSeekFullSc_actionTriggered(int)
Debug: "/tmp" 
Debug: Config path : "/home/user/.config/exmplayer" 
Debug: Checking for user short cut bindings... false 
Debug: Loading shortcut file : "/etc/exmplayer/sc_default.xml" 
Debug: Checking for deault short cut bindings... true 
Debug: KDE detected 
Debug: playerHeight :0
Debug: playerHeight :0
Debug: playerHeight :0
Debug: w_width: 600, w_height: 413
Debug: w: 600, h: 413
Does anybody have an idea what could that be?
 
Old 10-26-2016, 08:48 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,147

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
It's apparently compiled with debug enabled, so you get a lot of noise and log spam. There is not a fatal error in your snippet. grep the log for "error:" and try and find where it notes the segfault. Look out for a patch fixing the code wherever you downloaded exmplayer.
 
Old 10-28-2016, 12:04 AM   #3
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
Hello business_kid,

i got the exmplayer from the SlackBuilds repository. Do you know in which log should i search? I am sorry i could not understand where to look for.
 
Old 10-29-2016, 01:49 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,147

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
/var/log/messages or anything specific time mplayer. Mplayer has plenty of text output so
Code:
employer >startup.log 2>&1
will trap that.
 
Old 10-29-2016, 01:05 PM   #5
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
Quote:
Originally Posted by business_kid View Post
/var/log/messages or anything specific time mplayer. Mplayer has plenty of text output so
Code:
employer >startup.log 2>&1
will trap that.
gives simply segmentation fault
but
/var/log/messages
Code:
Oct 29 20:01:55 localhost kernel: [221945.236269] exmplayer[2730]: segfault at 0 ip 00007fcaa08be6ef sp 00007ffe29105b30 error 6 in libQtCore.so.4.8.7[7fcaa07e7000+2eb000]
 
Old 10-30-2016, 02:37 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,147

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
That would seem to be the binary. A mistake in the code, a doubtful library. Does a normal version of mplayer run ok?
 
Old 10-31-2016, 02:59 AM   #7
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
yes that normal version of mplayer is working ok. I have no video but only audio. I am getting no errors when starting it.

Last edited by glupa4e; 10-31-2016 at 03:01 AM.
 
Old 10-31-2016, 05:17 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,147

Rep: Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308Reputation: 2308
You should have audio & video. Can you get video?

I'd view that exmplayer binary as the issue then. Go for a replacement. Otherwise, whatever is stopping the video from playing in a video player is the problem. Go figure.
 
Old 11-01-2016, 03:01 AM   #9
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
Well in Mplayer i cannot get any video. I have tried .avi and .mp4. The same videos can be played in Kaffeine with video. In Mplayer i get only audio. Where is the log file to look at?
 
Old 11-01-2016, 07:11 AM   #10
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Run mplayer /path/to/video-file.avi from the command line to see the output.
 
Old 11-01-2016, 03:29 PM   #11
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
mplayer /path/to/video-file.avi

Code:
Playing /path/to/video-file.avi.
libavformat version 56.40.101 (internal)
AVI file format detected.
[aviheader] Video stream found, -vid 0
[aviheader] Audio stream found, -aid 1
VIDEO:  [DX50]  640x272  24bpp  25.000 fps  754.5 kbps (92.1 kbyte/s)
Load subtitles in /path/to/subtitles
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 56.60.100 (internal)
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III)
==========================================================================
AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample)
Starting playback...
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x272 => 640x272 Planar YV12 
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO: [xv] 640x272 => 640x272 Planar YV12 
A:   0.1 V:   0.0 A-V:  0.083 ct:  0.000   2/  2 ??% ??% ??,?% 1 0 
[VD_FFMPEG] DRI failure.
A:  40.8 V:  40.8 A-V:  0.011 ct: -0.025 1020/1020  1%  0%  0.3% 1
I am able to see the video right now, i can hear also sound. i have no controls for stop, pause, etc.
 
Old 11-01-2016, 03:54 PM   #12
astrogeek
Moderator
 
Registered: Oct 2008
Distribution: Slackware [64]-X.{0|1|2|37|-current} ::12<=X<=15, FreeBSD_12{.0|.1}
Posts: 6,258
Blog Entries: 24

Rep: Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193Reputation: 4193
This is confusing...

Quote:
Originally Posted by glupa4e View Post
Well in Mplayer i cannot get any video. I have tried .avi and .mp4. The same videos can be played in Kaffeine with video. In Mplayer i get only audio. Where is the log file to look at?
How are you starting mplayer in this case?

But then....

Quote:
Originally Posted by glupa4e View Post
I am able to see the video right now, i can hear also sound. i have no controls for stop, pause, etc.
That tells you that mplayer itself is OK and the problem is almost certainly in exmplayer binary as suggested by bassmadrigal.

Mplayer itself does not have GUI controls, it uses keyboard events instead. You can see what those are in the mplayer manual page, man mplayer and scroll to the section, INTERACTIVE CONTROL.
 
Old 11-01-2016, 04:59 PM   #13
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
So, when you say that mplayer is providing you audio, but no video, how are you opening the file up? Are you just double-clicking a file in a folder, right-clicking on a file and selecting mplayer (which I can't remember if that's even an option), or some other method? Based on your output, it seems like mplayer itself is working fine, but somehow, with the way you're interacting with it (possibly through a 3rd-party program), it is causing you issues.

Also, based on your first post, it seems like exmplayer opened up fine, but in a later post, it segfaults? Does it only segfault now? Can you post the output of running exmplayer on the command line (don't use the ampersand "&" at the end of it)? I haven't used it before, but I imagine it works with both just running exmplayer or exmplayer /path/to/file.avi

If you're not set on using exmplayer, I can highly recommend smplayer, which is a GUI frontend for mplayer. It is a relatively simple interface, but still has a lot of power behind it. I've been using it for a long time and use it on both Linux and Windows.
 
Old 11-02-2016, 09:19 AM   #14
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,950

Rep: Reputation: Disabled
Seriously no mention of gdb? Trying to diagnose a segfault without a backtrace is kind of silly. Rebuild exmplayer with debugging symbols, run it in gdb and then type 'bt full' when it crashes.

Additionally lines like this indicate its not a full install and I wonder if any important libraries are also missing?

Code:
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
 
Old 11-02-2016, 12:19 PM   #15
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Quote:
Originally Posted by orbea View Post
Seriously no mention of gdb? Trying to diagnose a segfault without a backtrace is kind of silly. Rebuild exmplayer with debugging symbols, run it in gdb and then type 'bt full' when it crashes.
I was waiting on more clarification on what was happening and when before I would suggest diving into debugging.

Quote:
Originally Posted by orbea View Post
Additionally lines like this indicate its not a full install and I wonder if any important libraries are also missing?

Code:
Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
libvdpau_va_gl is not part of the stock install. It is something that needs to be installed separately (it's available on SBo).
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation fault Slackware asterisk zurik Slackware 4 08-03-2011 03:55 AM
cryptsetup-segmentation fault on Slackware-12.0 - 2.6.23.14 dlinux Slackware 2 01-30-2008 05:42 AM
segmentation fault with chroot in Slackware 11 vilnisr Slackware 1 10-30-2006 06:16 PM
segmentation fault ->the slackware do not starts at all raliz Slackware 2 10-22-2006 05:30 AM
Erlang Segmentation Fault on Slackware 10... nebx Linux - Newbie 3 02-06-2005 05:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration