You are not logged in.

#1 2016-04-21 10:29:58

yourself
Member
Registered: 2008-10-23
Posts: 118

[SOLVED] Viber 6 crashes

Hello. I've recently upgraded to Viber 6 and whenever I try to launch it I get

yourself@danae ~ % viber
/opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber)
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
libpng warning: iCCP: known incorrect sRGB profile
Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50600)
zsh: abort (core dumped)  viber

Now this is eerily similar to an issue another user had: https://bbs.archlinux.org/viewtopic.php?id=203692. Turns out, my OpenGL installation is fine (everything else seems OK) and glxinfo reports lots of data on opengl.

Does anyone have any idea on what might be going on here?

Thanks!

Last edited by yourself (2016-05-27 14:27:08)

Offline

#2 2016-04-21 15:25:52

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED] Viber 6 crashes

Is this related to the removal of OtQuick 1 from the Qt packages? Try searching the forum for QtQuick removal and see if that sheds any light on the issue.

Last edited by mrunion (2016-04-21 15:26:03)


Matt

"It is very difficult to educate the educated."

Offline

#3 2016-04-21 16:02:54

yourself
Member
Registered: 2008-10-23
Posts: 118

Re: [SOLVED] Viber 6 crashes

No, it doesn't seem to be qt5-quick1 related since the same happens whether I have qt5-quick1 installed or not. On my laptop, viber6 works whether qt5-quick1 is installed or not. I'm inclined to believe that something is botched with my Qt5 installation because of

Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50600)

Either that, or something with Qt and OpenGL....

Offline

#4 2016-04-26 08:12:03

vladimirm
Member
Registered: 2016-04-26
Posts: 1

Re: [SOLVED] Viber 6 crashes

Hi, I have a similar problem

/opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber)
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
libpng warning: iCCP: known incorrect sRGB profile
Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50600)
[1]    11062 abort (core dumped)  viber

Incompatible Qt library error seems occur because of libqsqlite.so, when I copy the one from /usr/lib/qt/plugins/sqldrivers I get different error.

/opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber)
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
libpng warning: iCCP: known incorrect sRGB profile
Qt WebEngine ICU data not found at /opt/viber/resources. Trying parent directory...
Qt WebEngine resources not found at /opt/viber/resources. Trying parent directory...
Qt WebEngine ICU data not found at /opt/viber/resources. Trying parent directory...
Qt WebEngine resources not found at /opt/viber/resources. Trying parent directory...
libpng warning: iCCP: known incorrect sRGB profile
qrc:/QML/Main.qml:25:9: Type ConversationScreen unavailable
qrc:/QML/ConversationScreen.qml:65:9: Type Feed unavailable
qrc:/QML/Feed/Feed.qml:106:9: Type InputArea unavailable
qrc:/QML/Feed/Input/InputArea.qml:231:25: Type StickerPopup unavailable
qrc:/QML/StickerMenu/StickerPopup.qml:23:9: Type StickerArea unavailable
qrc:/QML/StickerMenu/StickerArea.qml:11:5: Type StickerList unavailable
qrc:/QML/StickerMenu/StickerList.qml:121:46: Type Sticker unavailable
qrc:/QML/StickerMenu/Sticker.qml:31:29: Invalid property assignment: "sourceSize" is a read-only property
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples -1, swapBehavior 2, swapInterval 1, profile  0) 
[1]    11239 abort (core dumped)  viber

Offline

#5 2016-04-26 08:27:05

yourself
Member
Registered: 2008-10-23
Posts: 118

Re: [SOLVED] Viber 6 crashes

Well, maybe then the problem lies at the source of

QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled

Unfortunately, information regarding QXcbIntegration is very scarce and I can't seem to move forward from here...
Does anyone have any ideas?

Offline

#6 2016-04-26 08:29:08

yourself
Member
Registered: 2008-10-23
Posts: 118

Re: [SOLVED] Viber 6 crashes

By the way, on my laptop (Thinkpad T420, full intel, open source drivers) everything works.
On my destop with an NVIDIA GTX 970 with closed source drivers, viber crashes. Maybe it's related?

Offline

#7 2016-05-12 08:19:44

yourself
Member
Registered: 2008-10-23
Posts: 118

Re: [SOLVED] Viber 6 crashes

Hey vladimirm, have you managed to solve your issue or does it still remain?

Offline

#8 2016-05-26 08:10:51

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] Viber 6 crashes

I have the same problem:

$ viber
/opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber)
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
libpng warning: iCCP: known incorrect sRGB profile
Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50600)
Aborted (core dumped)

Any solution?

Offline

#9 2016-05-26 08:59:16

yourself
Member
Registered: 2008-10-23
Posts: 118

Re: [SOLVED] Viber 6 crashes

ZeroLinux wrote:

I have the same problem:

$ viber
/opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber)
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
libpng warning: iCCP: known incorrect sRGB profile
Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50600)
Aborted (core dumped)

Any solution?

Unfortunately, no. Still looking, though...

Offline

#10 2016-05-27 08:04:24

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] Viber 6 crashes

I just got rid of mistake "QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled"
by copying /usr/lib64/qt/plugins/xcbglintegrations/* to /opt/viber/plugins/xcbglintegrations/* (with backing up original files)
But Viber doesn't work either.

Last edited by ZeroLinux (2016-05-27 08:05:03)

Offline

#11 2016-05-27 10:40:13

yourself
Member
Registered: 2008-10-23
Posts: 118

Re: [SOLVED] Viber 6 crashes

Ok I've solved my problem. It seems that my LD_LIBRARY_PATH contains /usr/lib which causes mixed library issues since Viber ships with Qt 5.5.1 and we have Qt 5.6.0 on our systems. Therefore, just unsetting LD_LIBRARY_PATH before running viber does the trick. For a more elegant solution, modify /usr/bin/viber as follows:

#!/bin/sh
unset LD_LIBRARY_PATH
LD_PRELOAD=libcurl.so.3 exec /opt/viber/Viber

I have already posted this on the AUR page for Viber, maybe the maintainer will fix it for everybody.

If that fix works for everyone having my issue, I should mark the topic as solved.

Cheers

Last edited by yourself (2016-05-27 10:44:26)

Offline

#12 2016-05-27 13:35:36

ZeroLinux
Member
Registered: 2011-10-07
Posts: 157

Re: [SOLVED] Viber 6 crashes

Yes. It works perfectly! Mark as solved, please.

Offline

#13 2016-06-01 07:59:21

rebegin
Member
Registered: 2009-05-30
Posts: 10

Re: [SOLVED] Viber 6 crashes

I have similar problem and unfortunately your solution doesn't work for me.
I have inserted the extra unset line to /usr/bin/viber file but no change in this message. Should there be a libcurl.so.3 file in the viber's directory at /opt/viber? Any idea?

$ /usr/bin/viber 
/opt/viber/Viber: /usr/lib/libcurl.so.3: no version information available (required by /opt/viber/Viber)
/opt/viber/Viber: symbol lookup error: /opt/viber/libQt5Core.so.5: undefined symbol: u_strToLower_48

Offline

#14 2016-06-05 14:45:35

yourself
Member
Registered: 2008-10-23
Posts: 118

Re: [SOLVED] Viber 6 crashes

Hello rebegin,

My solution works for the specific problem I described at my first post. Obviously, you have a different one.
The message about libcurl is normal, we all have it. Your problem is the

symbol lookup error: /opt/viber/libQt5Core.so.5: undefined symbol: u_strToLower_48

By the way, I do not have a file /opt/viber/libQt5Core.so.5... How is that located there?? It should be in /opt/viber/lib
Have you tried manually copying it there?
You should remove it.

In any case, please try (as root):

  1. # pacman -R viber

  2. # rm -r /opt/viber

  3. # pacman -S viber

And see what happens

Offline

#15 2016-10-06 17:52:58

rebegin
Member
Registered: 2009-05-30
Posts: 10

Re: [SOLVED] Viber 6 crashes

hey yourself,
somehow I didn't get any notification for your answer and since than I was missing viber on my desktop. Now I was searching for solution again and found your post here.
I don't want to necrobump this thread just posting here that the suggestion of yourself was working (removing /opt/viber folder and reinstalling). Thanks. smile

Offline

Board footer

Powered by FluxBB