FS#51537 - [lib32-qt4] 4.8.7-6 breaks Skype

Attached to Project: Community Packages
Opened by Vuk Mirovic (wooque) - Tuesday, 25 October 2016, 22:08 GMT
Last edited by Laurent Carlier (lordheavy) - Friday, 28 October 2016, 14:09 GMT
Task Type Bug Report
Category Packages: Multilib
Status Closed
Assigned To Laurent Carlier (lordheavy)
Felix Yan (felixonmars)
Architecture i686
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 42
Private No

Details

Description:
After lib32-qt4 upgrade to 4.8.7-6 Skype doesn't starts (segmentation fault). 4.8.7-4 works fine.
Issue is libQtWebKit.so, after copying old version of library from 4.8.7-4, Skype works again

Additional info:
* 4.8.7-6

Steps to reproduce:
Start Skype from terminal
Skype doesn't start, gives segmentation fault
This task depends upon

Closed by  Laurent Carlier (lordheavy)
Friday, 28 October 2016, 14:09 GMT
Reason for closing:  Won't fix
Additional comments about closing:  skype is in aur and it's not our plan to support aur packages. You should fill a bug upstream
Comment by Alex Maystrenko (technic93) - Wednesday, 26 October 2016, 16:15 GMT
I have the same issue
after yaourt -Suy skype crashes: "Aborted (core dumped)"
before it was: "error while loading shared libraries: libQtWebKit.so.4"

Related discussions:

forum:
https://bbs.archlinux.org/viewtopic.php?id=218714

Marked as closed but not really (because now we have core dump):
https://bugs.archlinux.org/task/51538

old things from 2012:
https://bugs.archlinux.org/task/32654
https://bugs.archlinux.org/task/32653
Comment by Bernhard Landauer (oberon) - Wednesday, 26 October 2016, 18:45 GMT
$ gdb /usr/lib32/skype/skype
GNU gdb (GDB) 7.12
Copyright (C) 2016 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:
<http://www.gnu.org/software/gdb/bugs/>.
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 /usr/lib32/skype/skype...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/lib32/skype/skype
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0xf26e2b40 (LWP 9302)]
[New Thread 0xf1cffb40 (LWP 9303)]
[New Thread 0xf12ffb40 (LWP 9304)]
[New Thread 0xf08ffb40 (LWP 9305)]
[New Thread 0xefeffb40 (LWP 9306)]
[New Thread 0xef4ffb40 (LWP 9307)]
[New Thread 0xeeaffb40 (LWP 9308)]
[New Thread 0xee2feb40 (LWP 9309)]
[New Thread 0xedafdb40 (LWP 9310)]
[New Thread 0xed0ffb40 (LWP 9311)]
[New Thread 0xec8feb40 (LWP 9312)]
[New Thread 0xec0fdb40 (LWP 9313)]
[New Thread 0xeb8fcb40 (LWP 9314)]
[New Thread 0xeb0fbb40 (LWP 9315)]
[New Thread 0xea6ffb40 (LWP 9316)]
[New Thread 0xe9efeb40 (LWP 9318)]
[New Thread 0xe96fdb40 (LWP 9319)]
[New Thread 0xe8efcb40 (LWP 9320)]
[New Thread 0xe85fbb40 (LWP 9321)]
[New Thread 0xe7dfab40 (LWP 9322)]
[New Thread 0xe57ffb40 (LWP 9323)]
[Thread 0xf1cffb40 (LWP 9303) exited]

Thread 1 "skype" received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0xf6c71e89 in ?? () from /usr/lib32/libQtWebKit.so.4
#2 0xf6c72707 in ?? () from /usr/lib32/libQtWebKit.so.4
#3 0xf6ff652c in ?? () from /usr/lib32/libQtWebKit.so.4
#4 0xf6fde795 in ?? () from /usr/lib32/libQtWebKit.so.4
#5 0xf6fde0a2 in ?? () from /usr/lib32/libQtWebKit.so.4
#6 0xf6fdde2b in ?? () from /usr/lib32/libQtWebKit.so.4
#7 0xf6fddc69 in ?? () from /usr/lib32/libQtWebKit.so.4
#8 0xf6c1f318 in QWebFrame::load(QNetworkRequest const&, QNetworkAccessManager::Operation, QByteArray const&) () from /usr/lib32/libQtWebKit.so.4
#9 0xf6c1e9c5 in QWebFrame::load(QUrl const&) ()
from /usr/lib32/libQtWebKit.so.4
#10 0xf6c3fd64 in QWebView::load(QUrl const&) ()
from /usr/lib32/libQtWebKit.so.4
#11 0x5681d830 in ?? ()
#12 0x568503fb in ?? ()
#13 0x56b3d0ed in ?? ()
#14 0xf57e021a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib32/libQtCore.so.4
#15 0xf57f4b24 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib32/libQtCore.so.4
#16 0xf57fadf1 in ?? () from /usr/lib32/libQtCore.so.4
#17 0xf57f02d3 in QObject::event(QEvent*) ()
from /usr/lib32/libQtCore.so.4
#18 0xf5c03730 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib32/libQtGui.so.4
#19 0xf5c04f6a in QApplication::notify(QObject*, QEvent*) ()
from /usr/lib32/libQtGui.so.4
#20 0xf57da3db in QCoreApplication::notifyInternal(QObject*, QEvent*) ()
from /usr/lib32/libQtCore.so.4
#21 0xf5810501 in ?? () from /usr/lib32/libQtCore.so.4
#22 0xf580de29 in ?? () from /usr/lib32/libQtCore.so.4
#23 0xf50202b9 in g_main_context_dispatch ()
from /usr/lib32/libglib-2.0.so.0
#24 0xf5020559 in ?? () from /usr/lib32/libglib-2.0.so.0
#25 0xf5020624 in g_main_context_iteration ()
from /usr/lib32/libglib-2.0.so.0
#26 0xf580d583 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib32/libQtCore.so.4
#27 0xf5cbb18a in ?? () from /usr/lib32/libQtGui.so.4
#28 0xf57d708d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
() from /usr/lib32/libQtCore.so.4
#29 0xf57daa48 in QCoreApplication::exec() ()
from /usr/lib32/libQtCore.so.4
#30 0xf5c04de5 in QApplication::exec() () from /usr/lib32/libQtGui.so.4
#31 0x5680387b in ?? ()
#32 0xf5293196 in __libc_start_main () from /usr/lib32/libc.so.6
#33 0x567f6739 in ?? ()
Comment by Vuk Mirovic (wooque) - Thursday, 27 October 2016, 07:51 GMT
Just a note - building lib32-qt4 fails on my machine, someone on forum had similar experience, it's something about Webkit, didn't save exact error.
Comment by Moabit (Moabit) - Thursday, 27 October 2016, 09:08 GMT
I could build 4.8.7-5 fine, but I just tried to build 4.8.7-6 and this failed. Here are the last few lines.

/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../libgstapp-0.10.so when searching for -lgstapp-0.10
/usr/bin/ld: skipping incompatible /usr/lib/libgstapp-0.10.so when searching for -lgstapp-0.10
/usr/bin/ld: cannot find -lgstapp-0.10
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../libgstinterfaces-0.10.so when searching for -lgstinterfaces-0.10
/usr/bin/ld: skipping incompatible /usr/lib/libgstinterfaces-0.10.so when searching for -lgstinterfaces-0.10
/usr/bin/ld: cannot find -lgstinterfaces-0.10
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../libgstpbutils-0.10.so when searching for -lgstpbutils-0.10
/usr/bin/ld: skipping incompatible /usr/lib/libgstpbutils-0.10.so when searching for -lgstpbutils-0.10
/usr/bin/ld: cannot find -lgstpbutils-0.10
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../libgstvideo-0.10.so when searching for -lgstvideo-0.10
/usr/bin/ld: skipping incompatible /usr/lib/libgstvideo-0.10.so when searching for -lgstvideo-0.10
/usr/bin/ld: cannot find -lgstvideo-0.10
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../libgstbase-0.10.so when searching for -lgstbase-0.10
/usr/bin/ld: skipping incompatible /usr/lib/libgstbase-0.10.so when searching for -lgstbase-0.10
/usr/bin/ld: cannot find -lgstbase-0.10
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/6.2.1/../../../libgstreamer-0.10.so when searching for -lgstreamer-0.10
/usr/bin/ld: skipping incompatible /usr/lib/libgstreamer-0.10.so when searching for -lgstreamer-0.10
/usr/bin/ld: cannot find -lgstreamer-0.10
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile.WebKit.QtWebKit:1209: ../../../../../../lib/libQtWebKit.so.4.9.4] Error 1
make[2]: Leaving directory '/tmp/community/lib32-qt4/trunk/src/qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source/WebKit/qt'
make[1]: *** [Makefile.WebKit:115: sub-WebKit-qt-QtWebKit-pro-make_default-ordered] Error 2
make[1]: Leaving directory '/tmp/community/lib32-qt4/trunk/src/qt-everywhere-opensource-src-4.8.7/src/3rdparty/webkit/Source'
make: *** [Makefile:747: sub-webkit-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Comment by astd (r0b0t) - Thursday, 27 October 2016, 11:39 GMT
Looks like the problem is again with the same library and the fast fix didn't do the job...

(gdb) run
Starting program: /usr/lib32/skype/skype
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0xf26c7b40 (LWP 12983)]
[New Thread 0xf1cffb40 (LWP 12984)]
[New Thread 0xf12ffb40 (LWP 12985)]
[New Thread 0xf08ffb40 (LWP 12986)]
[New Thread 0xefeffb40 (LWP 12987)]
[New Thread 0xef4ffb40 (LWP 12988)]
[New Thread 0xee2feb40 (LWP 12990)]
[New Thread 0xeeaffb40 (LWP 12989)]
[New Thread 0xed8ffb40 (LWP 12991)]
[New Thread 0xeccffb40 (LWP 12992)]
[New Thread 0xec4feb40 (LWP 12993)]
[New Thread 0xebaffb40 (LWP 12994)]
[New Thread 0xeb0ffb40 (LWP 12995)]
[New Thread 0xea6ffb40 (LWP 12996)]
[New Thread 0xe9affb40 (LWP 12997)]
[New Thread 0xe92feb40 (LWP 12998)]
[New Thread 0xe8afdb40 (LWP 12999)]
[New Thread 0xe82fcb40 (LWP 13000)]
[New Thread 0xe79fbb40 (LWP 13001)]
[New Thread 0xe71fab40 (LWP 13002)]
[New Thread 0xe69f9b40 (LWP 13003)]

Thread 1 "skype" received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0xf6c6be89 in ?? () from /usr/lib32/libQtWebKit.so.4
#2 0xf6c6c707 in ?? () from /usr/lib32/libQtWebKit.so.4
#3 0xf6ff052c in ?? () from /usr/lib32/libQtWebKit.so.4
#4 0xf6fd8795 in ?? () from /usr/lib32/libQtWebKit.so.4
#5 0xf6fd80a2 in ?? () from /usr/lib32/libQtWebKit.so.4
#6 0xf6fd7e2b in ?? () from /usr/lib32/libQtWebKit.so.4
#7 0xf6fd7c69 in ?? () from /usr/lib32/libQtWebKit.so.4
#8 0xf6c19318 in QWebFrame::load(QNetworkRequest const&, QNetworkAccessManager::Operation, QByteArray const&) ()
from /usr/lib32/libQtWebKit.so.4
#9 0xf6c189c5 in QWebFrame::load(QUrl const&) () from /usr/lib32/libQtWebKit.so.4
#10 0xf6c39d64 in QWebView::load(QUrl const&) () from /usr/lib32/libQtWebKit.so.4
#11 0x5681d830 in ?? ()
#12 0x568503fb in ?? ()
#13 0x56b3d0ed in ?? ()
#14 0xf57da21a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib32/libQtCore.so.4
#15 0xf57eeb24 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib32/libQtCore.so.4
#16 0xf57f4df1 in ?? () from /usr/lib32/libQtCore.so.4
#17 0xf57ea2d3 in QObject::event(QEvent*) () from /usr/lib32/libQtCore.so.4
#18 0xf5bfd730 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib32/libQtGui.so.4
#19 0xf5bfef6a in QApplication::notify(QObject*, QEvent*) () from /usr/lib32/libQtGui.so.4
#20 0xf57d43db in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib32/libQtCore.so.4
#21 0xf580a501 in ?? () from /usr/lib32/libQtCore.so.4
#22 0xf5807e29 in ?? () from /usr/lib32/libQtCore.so.4
#23 0xf501a2b9 in g_main_context_dispatch () from /usr/lib32/libglib-2.0.so.0
#24 0xf501a559 in ?? () from /usr/lib32/libglib-2.0.so.0
#25 0xf501a624 in g_main_context_iteration () from /usr/lib32/libglib-2.0.so.0
#26 0xf5807583 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib32/libQtCore.so.4
#27 0xf5cb518a in ?? () from /usr/lib32/libQtGui.so.4
#28 0xf57d108d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib32/libQtCore.so.4
#29 0xf57d4a48 in QCoreApplication::exec() () from /usr/lib32/libQtCore.so.4
#30 0xf5bfede5 in QApplication::exec() () from /usr/lib32/libQtGui.so.4
#31 0x5680387b in ?? ()
#32 0xf528d196 in __libc_start_main () from /usr/lib32/libc.so.6
#33 0x567f6739 in ?? ()
Comment by Vuk Mirovic (wooque) - Thursday, 27 October 2016, 21:36 GMT
Had the same build error as Moabit, solved by installing lib32-gstreamer0.10 0.10.36-5, lib32-gstreamer0.10-base 0.10.36-7 and lib32-gstreamer0.10-base-plugins 0.10.36-7 from AUR, strange that building something from official repo depends on libraries from AUR. Still getting segmentation fault.

I see additional messages/warnings in gdb compared to previous comments:

Gtk-Message: Failed to load module "canberra-gtk-module"
(skype:12853): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
... lot of the same Gtk warning
(skype:12853): Gtk-WARNING **: Unable to locate theme engine in module_path: "murrine",
[New Thread 0xf1650b40 (LWP 12858)]
[New Thread 0xf0cffb40 (LWP 12859)]
[New Thread 0xf02ffb40 (LWP 12860)]
[New Thread 0xef8ffb40 (LWP 12861)]
[New Thread 0xef0feb40 (LWP 12862)]
[New Thread 0xee8fdb40 (LWP 12863)]
[New Thread 0xed8fbb40 (LWP 12865)]
[New Thread 0xee0fcb40 (LWP 12864)]
[New Thread 0xed0fab40 (LWP 12866)]
[New Thread 0xec8f9b40 (LWP 12867)]
[New Thread 0xec0f8b40 (LWP 12868)]
[New Thread 0xeb8f7b40 (LWP 12869)]
[New Thread 0xeaf0ab40 (LWP 12870)]
[New Thread 0xea709b40 (LWP 12871)]
[New Thread 0xe9dffb40 (LWP 12872)]
[New Thread 0xe95feb40 (LWP 12873)]
[New Thread 0xe85fcb40 (LWP 12875)]
[New Thread 0xe8dfdb40 (LWP 12874)]
[New Thread 0xe7dfbb40 (LWP 12876)]
[New Thread 0xe73ffb40 (LWP 12877)]
[New Thread 0xe6afeb40 (LWP 12878)]

Thread 1 "skype" received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb)
Comment by Antonio Rojas (arojas) - Friday, 28 October 2016, 05:51 GMT
Since we don't ship skype anymore and nothing else depends on this (except for other lib32 stuff) I'd say drop it. It only seems to give trouble lately, and qt4 is EOL anyway.

Loading...