Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
smplayer segfault
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
stoil
Apprentice
Apprentice


Joined: 12 Apr 2006
Posts: 175
Location: Bulgaria

PostPosted: Sun Mar 13, 2016 8:13 am    Post subject: smplayer segfault Reply with quote

Hi,

After my recent sync/update smplayer is not functional due to:

(gdb) r
Starting program: /usr/bin/smplayer
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffec279700 (LWP 11516)]
This is SMPlayer v. 16.1.0 running on Linux

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) bt full
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#1 0x00007ffff75eb133 in ?? () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#2 0x00007ffff77f3265 in ?? () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#3 0x00007ffff77f32f3 in ?? () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#4 0x00007ffff77f3327 in ?? () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#5 0x00000000005a2847 in ?? ()
No symbol table info available.
#6 0x00000000005b41f6 in ?? ()
No symbol table info available.
#7 0x00000000005bd149 in ?? ()
No symbol table info available.
#8 0x00000000005bd833 in ?? ()
No symbol table info available.
#9 0x00000000005c1eb6 in ?? ()
No symbol table info available.
#10 0x00000000004294a1 in ?? ()
No symbol table info available.
#11 0x00007ffff5e297b0 in __libc_start_main () from /lib64/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#12 0x000000000042b079 in ?? ()
No symbol table info available.


Do you have any clues?

Thanks
Back to top
View user's profile Send private message
stoil
Apprentice
Apprentice


Joined: 12 Apr 2006
Posts: 175
Location: Bulgaria

PostPosted: Sun Mar 13, 2016 3:51 pm    Post subject: Reply with quote

Similar issue occurs while trying to start vlc:

sh-4.3$ gdb vlc
GNU gdb (Gentoo 7.10.1 vanilla) 7.10.1
Copyright (C) 2015 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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from vlc...(no debugging symbols found)...done.
(gdb) r
Starting program: /usr/bin/vlc
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
VLC media player 2.2.1 Terry Pratchett (Weatherwax) (revision 2.2.1-0-ga425c42)
[New Thread 0x7ffff7fb8700 (LWP 7289)]
[New Thread 0x7ffff137d700 (LWP 7290)]
[00000000006051e8] core libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
[New Thread 0x7ffff127c700 (LWP 7291)]
[New Thread 0x7fffe28f7700 (LWP 7292)]
[00000000006b9808] qt4 interface error: Unable to load extensions module

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff127c700 (LWP 7291)]
0x0000000000000000 in ?? ()
(gdb) bt full
#0 0x0000000000000000 in ?? ()
No symbol table info available.
#1 0x00007fffe7c30133 in ?? () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#2 0x00007fffe7e38265 in ?? () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#3 0x00007fffe7e382f3 in ?? () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#4 0x00007fffe7e38327 in ?? () from /usr/lib64/libQt5Widgets.so.5
No symbol table info available.
#5 0x00007fffec28f94d in ?? () from /usr/lib64/vlc/plugins/gui/libqt4_plugin.so
No symbol table info available.
#6 0x00007fffec29b51d in ?? () from /usr/lib64/vlc/plugins/gui/libqt4_plugin.so
No symbol table info available.
#7 0x00007fffec2a0b86 in ?? () from /usr/lib64/vlc/plugins/gui/libqt4_plugin.so
No symbol table info available.
#8 0x00007fffec28a397 in ?? () from /usr/lib64/vlc/plugins/gui/libqt4_plugin.so
No symbol table info available.
#9 0x00007ffff79aa324 in start_thread () from /lib64/libpthread.so.0
No symbol table info available.
#10 0x00007ffff74ec2cd in clone () from /lib64/libc.so.6
No symbol table info available.
(gdb)
Back to top
View user's profile Send private message
stoil
Apprentice
Apprentice


Joined: 12 Apr 2006
Posts: 175
Location: Bulgaria

PostPosted: Sun Mar 13, 2016 3:52 pm    Post subject: Reply with quote

here is my info:

emerge --info
Portage 2.2.26 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-4.9.3, glibc-2.21-r2, 4.4.5-gentoo x86_64)
=================================================================
System uname: Linux-4.4.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem: 7607592 total, 4625976 free
KiB Swap: 8227836 total, 8227836 free
Timestamp of repository gentoo: Sun, 13 Mar 2016 08:00:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash: 4.3_p42-r1::gentoo
dev-java/java-config: 2.2.0::gentoo
dev-lang/perl: 5.20.2::gentoo
dev-lang/python: 2.7.10-r1::gentoo, 3.3.5-r2::gentoo, 3.4.3-r1::gentoo
dev-util/cmake: 3.3.1-r1::gentoo
dev-util/pkgconfig: 0.28-r2::gentoo
sys-apps/baselayout: 2.2::gentoo
sys-apps/openrc: 0.19.1::gentoo
sys-apps/sandbox: 2.10-r1::gentoo
sys-devel/autoconf: 2.13::gentoo, 2.69::gentoo
sys-devel/automake: 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils: 2.25.1-r1::gentoo
sys-devel/gcc: 4.9.3::gentoo
sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool: 2.4.6::gentoo
sys-devel/make: 4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc: 2.21-r2::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000

science
location: /var/lib/layman/science
masters: gentoo
priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA Q3AEULA PUEL dlj-1.1 skype-eula AdobeFlash-10 AdobeFlash-10.1 RTCW-ETEULA Oracle-BCLA-JavaSE AdobeFlash-10.3 skype-4.0.0.7-copyright AdobeFlash-11.x google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core-avx-i -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core-avx-i -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 avi berkdb bluetooth bluray branding bzip2 cairo canon cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative divx dri drm dts dv dvb dvd dvdr dvdread emboss encode exif fam firefox flac fortran gallium gbm gdbm gif glamor gles2 gpg gpm gtk iconv icq ieee1394 ipv6 java jpeg kde kipi lame lcms ldap libnotify mad mjpeg mmx mmxext mng modules mp3 mp4 mpeg mtp multilib ncurses nls nptl nvidia ogg opengl openmp openvg pam pango pcre pdf phonon plasma png policykit ppds qml qt3support qt4 qt5 quicktime rdesktop readline samba sdl seccomp semantic-desktop session spell sse sse2 sse3 ssl ssse3 startup-notification subtitles subversion svg tcpd tiff truetype udev udisks unicode upower usb vaapi vorbis widgets win32codecs wxwidgets x264 x265 xa xattr xcb xcomposite xinerama xml xscreensaver xulrunner xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_US en bg en_GB de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965 vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2546

PostPosted: Sun Mar 13, 2016 9:12 pm    Post subject: Reply with quote

I'm not that great with gdb, but the output is more or less useless since the tables are not available.


My supposition here is that your qt installation is broken. Have you tried running mplayer directly?

In any case, you should run emerge -av @preserved-rebuild then run revdep-rebuild since this is clearly a linking problem.

If that doesn't work you can try rebuilding smplayer and vlc. That usually fixes this type of problem, but you want to try to use portage tools first in case they are not the only broken applications.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
stoil
Apprentice
Apprentice


Joined: 12 Apr 2006
Posts: 175
Location: Bulgaria

PostPosted: Mon Mar 14, 2016 4:15 am    Post subject: Reply with quote

mplayer alone works fine. gnome-mplayer is ok as well and I'm using it as an alternative.
emerge @preserved-rebuild and revdep-rebuild didn't make any difference, they are executed after each update btw.

I tried one more thing , just as an experiment - emerge e smplayer
Still no change.
Back to top
View user's profile Send private message
The Doctor
Moderator
Moderator


Joined: 27 Jul 2010
Posts: 2546

PostPosted: Mon Mar 14, 2016 5:09 am    Post subject: Reply with quote

The command should be emerge -e smplayer, but assuming that was a typo in your post then I am genuinely out of ideas. In my experience that away solves errors of this type.

One possibility that comes to mind is that maybe smplayer (and vlc) cannot handle both a qt5 and a qt4 use flag. Both of these programs run for me with just qt5 set.

Looking at the gdb output, removing qt4 support for vlc looks like it might be worth a try since they both mention qt4 components.
_________________
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Back to top
View user's profile Send private message
stoil
Apprentice
Apprentice


Joined: 12 Apr 2006
Posts: 175
Location: Bulgaria

PostPosted: Mon Mar 14, 2016 6:16 pm    Post subject: Reply with quote

yes, it is -e . I'll see what can I so about qt4. thanks for the hint
Back to top
View user's profile Send private message
stoil
Apprentice
Apprentice


Joined: 12 Apr 2006
Posts: 175
Location: Bulgaria

PostPosted: Mon Mar 14, 2016 6:29 pm    Post subject: Reply with quote

hm. smplayer was built with +qt5 -qt4. Building it with -qt5 +qt4 resolved the issue. I guess this will help with vlc as well.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum