Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
JuK Crashes after updating World [Solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Hobbes2100
n00b
n00b


Joined: 24 Apr 2002
Posts: 50

PostPosted: Wed Aug 17, 2016 1:59 pm    Post subject: JuK Crashes after updating World [Solved] Reply with quote

I seem to be getting the same issue as reported to upstream here:

https://bugs.kde.org/show_bug.cgi?id=362820

Whether or not this is an upstream issue or a library compatibility issue, I don't know. The large update world was a result of following updates for QT and KDE (that I had been delaying for several months).

In case a quick scan of libraries is helpful, here's what my juk is compiled against (this crash is occurring under juk-15.12.3 and juk-1604.3 from portage and also under a manual build from tarball of juk-4.14.3):

Code:

% ldd /usr/bin/juk
        linux-vdso.so.1 (0x00007ffd29f7d000)
        libtag.so.1 => /usr/lib64/libtag.so.1 (0x00007fd412bea000)
        libkde3support.so.4 => /usr/lib64/libkde3support.so.4 (0x00007fd4128e0000)
        libphonon.so.4 => /usr/lib64/libphonon.so.4 (0x00007fd412670000)
        libQt3Support.so.4 => /usr/lib64/qt4/libQt3Support.so.4 (0x00007fd412194000)
        libkio.so.5 => /usr/lib64/libkio.so.5 (0x00007fd411cc7000)
        libQtNetwork.so.4 => /usr/lib64/qt4/libQtNetwork.so.4 (0x00007fd41197d000)
        libQtXml.so.4 => /usr/lib64/qt4/libQtXml.so.4 (0x00007fd411737000)
        libkdeui.so.5 => /usr/lib64/libkdeui.so.5 (0x00007fd41109f000)
        libQtSvg.so.4 => /usr/lib64/qt4/libQtSvg.so.4 (0x00007fd410e49000)
        libkdecore.so.5 => /usr/lib64/libkdecore.so.5 (0x00007fd410963000)
        libQtCore.so.4 => /usr/lib64/qt4/libQtCore.so.4 (0x00007fd410474000)
        libQtDBus.so.4 => /usr/lib64/qt4/libQtDBus.so.4 (0x00007fd4101f9000)
        libQtGui.so.4 => /usr/lib64/qt4/libQtGui.so.4 (0x00007fd40f576000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libstdc++.so.6 (0x00007fd40f21f000)
        libm.so.6 => /lib64/libm.so.6 (0x00007fd40ef21000)
        libgcc_s.so.1 => /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/libgcc_s.so.1 (0x00007fd40ed0a000)
        libc.so.6 => /lib64/libc.so.6 (0x00007fd40e96e000)
        libz.so.1 => /lib64/libz.so.1 (0x00007fd40e758000)
        libkparts.so.4 => /usr/lib64/libkparts.so.4 (0x00007fd40e4fd000)
        libkpty.so.4 => /usr/lib64/libkpty.so.4 (0x00007fd40e2f3000)
        libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007fd40dfb1000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fd40dd95000)
        libQtSql.so.4 => /usr/lib64/qt4/libQtSql.so.4 (0x00007fd40db56000)
        libsolid.so.4 => /usr/lib64/libsolid.so.4 (0x00007fd40d84e000)
        libacl.so.1 => /lib64/libacl.so.1 (0x00007fd40d645000)
        libattr.so.1 => /lib64/libattr.so.1 (0x00007fd40d440000)
        libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007fd40d236000)
        libssl.so.1.0.0 => /usr/lib64/libssl.so.1.0.0 (0x00007fd40cfc8000)
        libcrypto.so.1.0.0 => /usr/lib64/libcrypto.so.1.0.0 (0x00007fd40cb86000)
        libSM.so.6 => /usr/lib64/libSM.so.6 (0x00007fd40c97e000)
        libICE.so.6 => /usr/lib64/libICE.so.6 (0x00007fd40c762000)
        libattica.so.0.4 => /usr/lib64/libattica.so.0.4 (0x00007fd40c46c000)
        libdbusmenu-qt.so.2 => /usr/lib64/libdbusmenu-qt.so.2 (0x00007fd40c23c000)
        libXtst.so.6 => /usr/lib64/libXtst.so.6 (0x00007fd40c036000)
        libXcursor.so.1 => /usr/lib64/libXcursor.so.1 (0x00007fd40be2b000)
        libXfixes.so.3 => /usr/lib64/libXfixes.so.3 (0x00007fd40bc25000)
        libbz2.so.1 => /lib64/libbz2.so.1 (0x00007fd40ba15000)
        libdl.so.2 => /lib64/libdl.so.2 (0x00007fd40b811000)
        libglib-2.0.so.0 => /usr/lib64/libglib-2.0.so.0 (0x00007fd40b4d8000)
        librt.so.1 => /lib64/librt.so.1 (0x00007fd40b2d0000)
        /lib64/ld-linux-x86-64.so.2 (0x00007fd412ecb000)
        libdbus-1.so.3 => /usr/lib64/libdbus-1.so.3 (0x00007fd40b089000)
        libpng16.so.16 => /usr/lib64/libpng16.so.16 (0x00007fd40ae54000)
        libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007fd40aba2000)
        libXi.so.6 => /usr/lib64/libXi.so.6 (0x00007fd40a992000)
        libXrandr.so.2 => /usr/lib64/libXrandr.so.2 (0x00007fd40a787000)
        libXinerama.so.1 => /usr/lib64/libXinerama.so.1 (0x00007fd40a584000)
        libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007fd40a347000)
        libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007fd40a135000)
        libutil.so.1 => /lib64/libutil.so.1 (0x00007fd409f32000)
        libutempter.so.0 => /usr/lib64/libutempter.so.0 (0x00007fd409d2f000)
        libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007fd409b0c000)
        libudev.so.1 => /lib64/libudev.so.1 (0x00007fd413082000)
        libuuid.so.1 => /lib64/libuuid.so.1 (0x00007fd409907000)
        libexpat.so.1 => /usr/lib64/libexpat.so.1 (0x00007fd4096dd000)
        libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007fd4094d9000)
        libXdmcp.so.6 => /usr/lib64/libXdmcp.so.6 (0x00007fd4092d3000)
        libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fd4090bc000)
        libcap.so.2 => /lib64/libcap.so.2 (0x00007fd408eb6000)


And here is the (top) of the backtrace from firing it up in gdb:

Code:

#0  0x00007fffeffb3cc3 in ?? () from /usr/lib64/libdbus-1.so.3
#1  0x00007fffeffb3dfa in ?? () from /usr/lib64/libdbus-1.so.3
#2  0x00007fffeffb3dfa in ?? () from /usr/lib64/libdbus-1.so.3
#3  0x00007fffeffb3dfa in ?? () from /usr/lib64/libdbus-1.so.3
#4  0x00007fffeffb40cb in ?? () from /usr/lib64/libdbus-1.so.3
#5  0x00007fffeffb4239 in ?? () from /usr/lib64/libdbus-1.so.3
#6  0x00007fffeffb445e in _dbus_type_reader_set_basic () from /usr/lib64/libdbus-1.so.3
#7  0x00007fffeffb1dd9 in _dbus_header_set_field_basic () from /usr/lib64/libdbus-1.so.3
#8  0x00007fffeffb5b5c in ?? () from /usr/lib64/libdbus-1.so.3
#9  0x00007ffff51295f8 in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#10 0x00007ffff512933f in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#11 0x00007ffff512933f in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#12 0x00007ffff5129900 in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#13 0x00007ffff5167a25 in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#14 0x00007ffff551f3cc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#15 0x00007ffff514a674 in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#16 0x00007ffff514a821 in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#17 0x00007ffff514a88f in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#18 0x00007ffff514b16f in ?? () from /usr/lib64/qt4/libQtDBus.so.4
#19 0x00007ffff551f76b in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#20 0x00007ffff75d3915 in ?? () from /usr/lib64/libphonon.so.4
#21 0x00007ffff551f3cc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#22 0x00007ffff75a2cd2 in Phonon::AudioOutput::mutedChanged(bool) () from /usr/lib64/libphonon.so.4
#23 0x00007ffff551f3cc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#24 0x00007fffe6c15ce2 in ?? () from /usr/lib64/qt4/plugins/phonon_backend/phonon_vlc.so
#25 0x00007fffe6beed11 in ?? () from /usr/lib64/qt4/plugins/phonon_backend/phonon_vlc.so
#26 0x00007fffe6bef034 in ?? () from /usr/lib64/qt4/plugins/phonon_backend/phonon_vlc.so
#27 0x00007ffff75a2a3e in Phonon::AudioOutput::setVolume(double) () from /usr/lib64/libphonon.so.4
#28 0x000000000049adf1 in PlayerManager::setVolume (this=0x87c9f0, volume=1)
    at /var/tmp/portage/kde-apps/juk-16.04.3/work/juk-16.04.3/playermanager.cpp:319
#29 0x0000000000443844 in VolumePopupButton::muteStateChanged (this=0x9fb370, muted=false)
    at /var/tmp/portage/kde-apps/juk-16.04.3/work/juk-16.04.3/volumepopupbutton.cpp:133
#30 0x0000000000443b6d in VolumePopupButton::qt_static_metacall (_o=0x9fb370, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffff800540)
    at /var/tmp/portage/kde-apps/juk-16.04.3/work/juk-16.04.3_build/volumepopupbutton.moc:52
#31 0x00007ffff551f3cc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#32 0x000000000049d969 in PlayerManager::mutedChanged (this=0x87c9f0, _t1=false)
    at /var/tmp/portage/kde-apps/juk-16.04.3/work/juk-16.04.3_build/playermanager.moc:208
#33 0x000000000049c140 in PlayerManager::slotMutedChanged (this=0x87c9f0, muted=false)
    at /var/tmp/portage/kde-apps/juk-16.04.3/work/juk-16.04.3/playermanager.cpp:576
#34 0x000000000049d725 in PlayerManager::qt_static_metacall (_o=0x87c9f0, _c=QMetaObject::InvokeMetaMethod, _id=36, _a=0x7fffff8006f0)
    at /var/tmp/portage/kde-apps/juk-16.04.3/work/juk-16.04.3_build/playermanager.moc:144
#35 0x00007ffff551f3cc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#36 0x00007ffff75a2cd2 in Phonon::AudioOutput::mutedChanged(bool) () from /usr/lib64/libphonon.so.4
#37 0x00007ffff551f3cc in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/qt4/libQtCore.so.4
#38 0x00007fffe6c15ce2 in ?? () from /usr/lib64/qt4/plugins/phonon_backend/phonon_vlc.so
#39 0x00007fffe6beed11 in ?? () from /usr/lib64/qt4/plugins/phonon_backend/phonon_vlc.so
#40 0x00007fffe6bef034 in ?? () from /usr/lib64/qt4/plugins/phonon_backend/phonon_vlc.so


After #21 -> #34, the backtrace appears to show some vaguely infinite recursion (35->48 and repeating blocks of 13 calls appear to be "the same" ... but I'm just going by visual inspection). The backtrace continues for 10k+ lines before I stopped logging it. The call stack may also have been corrupted somehow (just guessing).

So, I've sort of gone way into the details here. I'm hoping someone sees something obvious here that I'm missing. If not, I can provide more info (emerge --info, build log, etc.).

Any help is greatly appreciated. This may definitely be something to take to upstream.

Best,
Mark


Last edited by Hobbes2100 on Fri Aug 19, 2016 8:00 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hobbes2100
n00b
n00b


Joined: 24 Apr 2002
Posts: 50

PostPosted: Wed Aug 17, 2016 2:37 pm    Post subject: Reply with quote

So, as I started doing some more general searching for dbus related issues (which was the top call in my backtrace), I came across this:

https://forums.gentoo.org/viewtopic-t-1038518-start-0.html

From lyallp (whose been on gentoo forums almost as long as I have - ha!).

Anyway, on a hunch, I did this:

Code:

# disabled vlc on phonon in package.use:
# >=media-libs/phonon-4.9.0 qt5 designer -vlc

# removed phonon-vlc
emerge -Ca phonon-vlc

# rebuild phonon stuff
emerge -1avq phonon phonon-kde

# double check world (being paranoid)
emerge -uDavNq world

# rebuild debugging juk (also with CFLAGS="-march=corei7 -pipe -ggdb" in make.conf)
# note, juk needs USE="debug" to include debugging symbols
FEATURES="splitdebug" USE="debug" emerge -avq juk
emerge -avq juk


And it worked. I'm wondering if my phonon-vlc was "pointing to nowhere" and causing some general polling routine in phonon to crash. Anyway, I think I have working juk. I just need to go back and rebuild it without debugging info.

Best,
Mark
Back to top
View user's profile Send private message
Hobbes2100
n00b
n00b


Joined: 24 Apr 2002
Posts: 50

PostPosted: Thu Aug 18, 2016 11:35 am    Post subject: Reply with quote

So, after a kernel upgrade (and a reboot), my JuK was dead -- I had no backend left for phonon.

So, worriedly, I did:

Code:

# cat /etc/portage/package.keywords/package.keywords.phonon
>=media-libs/phonon-4.9.0 qt5 designer vlc
>=media-libs/phonon-vlc-0.9.0 qt5
>=media-video/vlc-2.2.4 qt5 -qt4


and

Code:

emerge -uDavNq world


And, thankfully, everything seems to work.

Best,
Mark
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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