You are not logged in.

#26 2016-10-26 07:58:55

Salkay
Member
Registered: 2014-05-22
Posts: 619

Re: lib32-qt4 upgrade brakes Skype client...

wooque wrote:

I opened a bug about segmentation fault: https://bugs.archlinux.org/task/51537

Thanks wooque!

Offline

#27 2016-10-26 10:14:16

object905
Member
Registered: 2016-04-11
Posts: 11

Re: lib32-qt4 upgrade brakes Skype client...

Offline

#28 2016-10-26 11:04:41

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: lib32-qt4 upgrade brakes Skype client...

@wooque
Thanks for reporting the bug.

@object905
You could have pointed people to the official Arch Linux Archive https://wiki.archlinux.org/index.php/Arch_Linux_Archive

The two packages are here https://archive.archlinux.org/packages/ … pkg.tar.xz and here https://archive.archlinux.org/packages/ … pkg.tar.xz


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#29 2016-10-26 16:21:56

technic
Member
Registered: 2012-09-02
Posts: 7

Re: lib32-qt4 upgrade brakes Skype client...

Hi,
1) I confirm I have a same bug,
2) and downgrading lib32-sqlite & lib32-qt4 solves the issue.

Offline

#30 2016-10-26 16:45:07

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,842
Website

Re: lib32-qt4 upgrade brakes Skype client...

Please don't empty post. If you have nothing new to add to the discussion, don't post at all.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#31 2016-10-27 06:55:45

dha_meo_in
Member
Registered: 2016-07-02
Posts: 6

Re: lib32-qt4 upgrade brakes Skype client...

After system update got updated lib32-qt4 4.8.7-6
Skype still does not work.

Offline

#32 2016-10-27 11:38:18

yupi
Member
Registered: 2012-12-10
Posts: 24

Re: lib32-qt4 upgrade brakes Skype client...

I'll add to what @hcartiaux researched:

Saving libQtWebKit.so.4.9.4 from lib32-qt4 4.8.7-4 package as /usr/share/skype/lib/libQtWebKit.so.4 fixes the problem (without error messages for me).

So one temporary fix would be to update skype package to include this file.

Offline

#33 2016-10-27 11:40:24

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 505

Re: lib32-qt4 upgrade brakes Skype client...

It's open because the bug is still open https://bugs.archlinux.org/task/51537

Offline

#34 2016-10-27 11:57:38

Salkay
Member
Registered: 2014-05-22
Posts: 619

Re: lib32-qt4 upgrade brakes Skype client...

yupi wrote:

So one temporary fix would be to update skype package to include this file.

The newest lib32-qt4 4.8.7-6 already provides this file now; it's just not working properly. Although overwriting this manually with the 4.8.7-4 version might fix skype, the skype package cannot provide that file because it would conflict with lib32-qt4. I think we just have to fix it manually and/or wait for an official fix.

Offline

#35 2016-10-27 12:20:44

yupi
Member
Registered: 2012-12-10
Posts: 24

Re: lib32-qt4 upgrade brakes Skype client...

@Salkay, please read my post again. The skype package loads its own libQtWebKit from  /usr/share/skype/lib/libQtWebKit.so.4 if it exists. Usually it is empty there but one could put there a working (4.8.7-4) version. This will not conflict with lib32-qt4 files.

Offline

#36 2016-10-27 16:28:43

justasug
Member
Registered: 2014-08-03
Posts: 165

Re: lib32-qt4 upgrade brakes Skype client...

Thanks for the simple temporary fix yupi.

Here's a temporary PKGBUILD to install the libQtWebKit.so file cleanly (downloaded from thepackage archive). It extracts it into /usr/share/skype/lib as mentioned by yupi. Remember to uninstall it once an "official" fix hits the main repositories or the Skype package in the AUR (or any other package that you got Skype from).

The PKGBUILD isn't needed any longer, since the files are included in the Skype package in the AUR. See post #45 in this thread.

Last edited by justasug (2016-11-02 12:07:49)

Offline

#37 2016-10-27 17:22:27

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

Re: lib32-qt4 upgrade brakes Skype client...

Thanks, justasug. It works!

Offline

#38 2016-10-27 23:11:02

Salkay
Member
Registered: 2014-05-22
Posts: 619

Re: lib32-qt4 upgrade brakes Skype client...

Oops, sorry yupi. You are correct, I misread it. Works perfectly. Thanks for the PKGBUILD justasug; it works well. I'll pin it on the skype package page.

Offline

#39 2016-10-28 13:24:42

kikislater
Member
From: Mauritius
Registered: 2016-01-16
Posts: 32

Re: lib32-qt4 upgrade brakes Skype client...

How to install it ?
I tried with makepkg, but give me an error

==> Validation des fichiers source avec md5sums...
    lib32-qt4-4.8.7-4-x86_64.pkg.tar.xz ... Réussite
==> Extraction des sources...
  -> Extraction de lib32-qt4-4.8.7-4-x86_64.pkg.tar.xz avec bsdtar
==> Suppression du répertoire $pkgdir/ existant...
==> Entre dans l’environnement fakeroot...
==> Lancement de package()...
install: opérande de fichier cible manquant après '/tmp/skype_bug/src/usr/lib32/libQtWebKit.so.4.9.4'
Saisissez « install --help » pour plus d'informations.
==> ERREUR : Une erreur s’est produite dans package().
    Abandon...

As a workaround I made this :
mkdir -p /usr/share/skype/lib/
cp libQtWebKit.so.4.9.4 /usr/share/skype/lib/libQtWebKit.so.4

But would like to know why I have an error above

Last edited by kikislater (2016-10-28 13:26:00)

Offline

#40 2016-10-28 14:30:11

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 617

Re: lib32-qt4 upgrade brakes Skype client...

You have to downgrade one package more - lib32-sqlite. Without it you cant downgrade lib32-qt4

BTW - use LANG=C not your native french language.

Last edited by firekage (2016-10-28 14:30:52)

Offline

#41 2016-10-28 17:41:22

kikislater
Member
From: Mauritius
Registered: 2016-01-16
Posts: 32

Re: lib32-qt4 upgrade brakes Skype client...

It's working at this time, I just copy libQtWebKit.so.4.9.4 to /usr/share/skype/lib/libQtWebKit.so.4

What I don't understand is why the pkgbuild above fail

$ makepkg
==> Making package: skype-libqtwebkit 1.0-1 (Fri Oct 28 19:37:12 CEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found lib32-qt4-4.8.7-4-x86_64.pkg.tar.xz
==> Validating source files with md5sums...

    lib32-qt4-4.8.7-4-x86_64.pkg.tar.xz ... Passed
==> Extracting sources...
  -> Extracting lib32-qt4-4.8.7-4-x86_64.pkg.tar.xz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...

install: missing destination file operand after '/tmp/skype_bug/src/usr/lib32/libQtWebKit.so.4.9.4'
Try 'install --help' for more information.
==> ERROR: A failure occurred in package().
    Aborting...

Last edited by kikislater (2016-10-28 17:43:41)

Offline

#42 2016-10-28 17:43:21

Scimmia
Fellow
Registered: 2012-09-01
Posts: 11,541

Re: lib32-qt4 upgrade brakes Skype client...

Looks like you didn't copy the PKGBUILD correctly

Offline

#43 2016-10-28 17:44:43

kikislater
Member
From: Mauritius
Registered: 2016-01-16
Posts: 32

Re: lib32-qt4 upgrade brakes Skype client...

Your right ! Thank you

Offline

#44 2016-10-29 05:53:43

vlatkoB
Member
Registered: 2015-03-24
Posts: 6

Re: lib32-qt4 upgrade brakes Skype client...

Today's update solved the issue.

Offline

#45 2016-10-29 08:44:25

Salkay
Member
Registered: 2014-05-22
Posts: 619

Re: lib32-qt4 upgrade brakes Skype client...

vlatkoB wrote:

Today's update solved the issue.

A bit of an update for those that haven't been following the other threads.

* The bug in lib32-qt4 was closed as "won't fix", which was a little disappointing. It seems clear to me that it's a bug in the official package lib32-qt4, not in the unofficial package skype.
* Since the official dependency won't be fixed, I've since updated the skype 4.3.0.37-8 PKGBUILD to include yupi and justasug's "temporary" skype fix from earlier in this thread. It's a bit of a kludge, but works. Also, skype is unlikely to be updated soon (ever?) so it's not like this will be much of an issue looking forward.

Offline

#46 2016-10-30 17:16:19

technic
Member
Registered: 2012-09-02
Posts: 7

Re: lib32-qt4 upgrade brakes Skype client...

If somebody is interested in digging qt, I have a backtrace from lib32-qt4 debug build.

Thread 1 "skype" received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xf6c28759 in WebCore::FrameLoaderClientQt::callPolicyFunction (this=<optimized out>, function=<optimized out>, action=WebCore::PolicyUse)
    at WebCoreSupport/FrameLoaderClientQt.cpp:245
#2  WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction (this=<optimized out>, function=<optimized out>, action=..., request=...)
    at WebCoreSupport/FrameLoaderClientQt.cpp:1283
#3  0xf6c28fd7 in non-virtual thunk to WebCore::FrameLoaderClientQt::dispatchDecidePolicyForNavigationAction(void (WebCore::PolicyChecker::*)(WebCore::PolicyAction), WebCore::NavigationAction const&, WebCore::ResourceRequest const&, WTF::PassRefPtr<WebCore::FormState>) ()
    at WebCoreSupport/FrameLoaderClientQt.cpp:1239
#4  0xf6facdec in WebCore::PolicyChecker::checkNavigationPolicy (this=<optimized out>, request=..., loader=<optimized out>, formState=..., 
    function=<optimized out>, argument=<optimized out>) at loader/PolicyChecker.cpp:87
#5  0xf6f95065 in WebCore::FrameLoader::loadWithDocumentLoader (this=<optimized out>, loader=0xe7011100, type=<optimized out>, prpFormState=...)
    at loader/FrameLoader.cpp:1585
#6  0xf6f94972 in WebCore::FrameLoader::load (this=<optimized out>, newDocumentLoader=0xe7011100) at loader/FrameLoader.cpp:1527
#7  0xf6f946fb in WebCore::FrameLoader::load (this=0xe6ffd844, request=..., substituteData=..., lockHistory=<optimized out>) at loader/FrameLoader.cpp:1463
#8  0xf6f94539 in WebCore::FrameLoader::load (this=<optimized out>, request=..., lockHistory=<optimized out>) at loader/FrameLoader.cpp:1450
#9  0xf6bd5be8 in QWebFrame::load (this=<optimized out>, req=..., operation=<optimized out>, body=...) at Api/qwebframe.cpp:937
#10 0xf6bd5295 in QWebFrame::load (this=<optimized out>, url=...) at Api/qwebframe.cpp:872
#11 0xf6bf6634 in QWebView::load (this=0x588eb820, url=...) at Api/qwebview.cpp:427
#12 0x5681d830 in ?? ()
#13 0x568503fb in ?? ()
#14 0x56b3d0ed in ?? ()
#15 0xf577621a in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib32/libQtCore.so.4
#16 0xf578ab24 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib32/libQtCore.so.4
#17 0xf5790df1 in ?? () from /usr/lib32/libQtCore.so.4
#18 0xf57862d3 in QObject::event(QEvent*) () from /usr/lib32/libQtCore.so.4
#19 0xf5b99730 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib32/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
#20 0xf5b9af6a in QApplication::notify(QObject*, QEvent*) () from /usr/lib32/libQtGui.so.4
#21 0xf57703db in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib32/libQtCore.so.4
#22 0xf57a6501 in ?? () from /usr/lib32/libQtCore.so.4
#23 0xf57a3e29 in ?? () from /usr/lib32/libQtCore.so.4
#24 0xf4fb82b9 in g_main_context_dispatch () from /usr/lib32/libglib-2.0.so.0
#25 0xf4fb8559 in ?? () from /usr/lib32/libglib-2.0.so.0
#26 0xf4fb8624 in g_main_context_iteration () from /usr/lib32/libglib-2.0.so.0
#27 0xf57a3583 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib32/libQtCore.so.4
#28 0xf5c5115a in ?? () from /usr/lib32/libQtGui.so.4
#29 0xf576d08d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib32/libQtCore.so.4
#30 0xf5770a48 in QCoreApplication::exec() () from /usr/lib32/libQtCore.so.4
#31 0xf5b9ade5 in QApplication::exec() () from /usr/lib32/libQtGui.so.4
#32 0x5680387b in ?? ()
#33 0xf5229196 in __libc_start_main () from /usr/lib32/libc.so.6
#34 0x567f6739 in ?? ()

Offline

#47 2016-10-30 17:19:11

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: lib32-qt4 upgrade brakes Skype client...

@technic
The trouble is you can't properly debug the problem because there is no source code for skype, you can't recompile it to check if it would solve the problem and you can't recompile it with debug symbols to check what is making it explode.

It would be just a waste of time, MS has left this version of skype to rot and is working on a replacement, lets just be happy the workaround of using the old lib works.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#48 2016-10-30 17:23:01

technic
Member
Registered: 2012-09-02
Posts: 7

Re: lib32-qt4 upgrade brakes Skype client...

I am quite confused about this bug. Qt sources didn't change they are both 4.8.7, but recompiling then with newer gcc and in updated system causes this bug.

Offline

#49 2016-10-30 17:51:14

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 2,097

Re: lib32-qt4 upgrade brakes Skype client...

technic wrote:

I am quite confused about this bug. Qt sources didn't change they are both 4.8.7, but recompiling then with newer gcc and in updated system causes this bug.

GCC 6 introduced some optimizations that make badly coded software segfault, that's known. But this is not the issue here, since lib32-qt is built with clang, not GCC.

Offline

#50 2016-11-01 20:26:35

r0b0t
Member
From: /tmp
Registered: 2009-05-24
Posts: 505

Re: lib32-qt4 upgrade brakes Skype client...

After the last update of skype it's fixed, please mark the thread as solved.

Offline

Board footer

Powered by FluxBB