How to work-a-round or fix HipChat4 client crashes on Linux?

I am running Fedor 23x64 (4.5.6-200.fc23.x86_64).  

Using RPM:    hipchat4-4.0.1641-1.x86_64

My video hardware is nvidia stuff.  

I am using nouveau driver  (xorg-x11-drv-nouveau-1.0.12-3.fc23.x86_64).


Several times a day the HipChat4 client will crash with a segfault like so: 

68676.191387] HipChat.bin[6090]: segfault at 148 ip 00007fa9b236b676 sp 00007ffd29eed230 error 4 in nouveau_dri.so[7fa9b1e04000+8cf000]

 

Frequently I will get a total hang of Hipchat4 and that freezes my whole X/Gnome session – often requiring a full hardware reset. 

 

Is there anything I can do about this?        Anybody else experience this issue? 

 

 


4 answers

This widget could not be displayed.

Hi there,

 

Could you try to run HipChat client using this parameter and let me know how it goes?

hipchat4 --disable-gpu

Also, if needed please raise a support ticket at https://support.atlassian.com/help/#/hipchat

I'm on RHEL 7 with latest mesa drivers and getting this:

$ hipchat4 --disable-gpu
hello 0.605274
PackageLocation: "/opt/HipChat4/share/localweb/package.json"
package.json opened
package.json valid
package.json object
package.json version value =  "4.27.10"
pci id for fd 6: 80ee:beef, driver (null)
OpenGL Warning: glFlushVertexArrayRangeNV not found in mesa table
OpenGL Warning: glVertexArrayRangeNV not found in mesa table
OpenGL Warning: glCombinerInputNV not found in mesa table
OpenGL Warning: glCombinerOutputNV not found in mesa table
OpenGL Warning: glCombinerParameterfNV not found in mesa table
OpenGL Warning: glCombinerParameterfvNV not found in mesa table
OpenGL Warning: glCombinerParameteriNV not found in mesa table
OpenGL Warning: glCombinerParameterivNV not found in mesa table
OpenGL Warning: glFinalCombinerInputNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterfvNV not found in mesa table
OpenGL Warning: glGetCombinerOutputParameterivNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterfvNV not found in mesa table
OpenGL Warning: glGetFinalCombinerInputParameterivNV not found in mesa table
OpenGL Warning: glDeleteFencesNV not found in mesa table
OpenGL Warning: glFinishFenceNV not found in mesa table
OpenGL Warning: glGenFencesNV not found in mesa table
OpenGL Warning: glGetFenceivNV not found in mesa table
OpenGL Warning: glIsFenceNV not found in mesa table
OpenGL Warning: glSetFenceNV not found in mesa table
OpenGL Warning: glTestFenceNV not found in mesa table
libGL error: core dri or dri2 extension not found
libGL error: failed to load driver: vboxvideo
OpenGL Warning: XGetVisualInfo returned 0 visuals for 00000000014cfd30
OpenGL Warning: Retry with 0x8002 returned 0 visuals
Segmentation fault (core dumped)

Found my issue... I had to turn off 3D acceleration in my VM... I was running Linux in VirtualBox.

So turning off 3D in VB and then

hipchat4  --disable-gup

Worked with no issues. 

Thanks Mohammad, 

the --disable-gpu solved my crash on a brand new Ubuntu 16.04

Yves

xros xros I'm New Here May 07, 2018

Doesn't work for me.

my hipchat UI is frozen. with `--disable-gpu` it gives me

 

[11:31:01][QString AbstractSettings::decryptLoginData() const:196] login data is encrypted, so decrypting
Warning: [11:31:06][:0] Unrecognized OpenGL version
Warning: [11:31:06][:0] Unrecognized OpenGL version
[11:31:06][void IdleTime::init():82] Initialzing idle timer

 

anyone knows how? 

This widget could not be displayed.

So I found the  cli "hipchat4  --disable-gpu" yesterday after making this post.   I tried it for a solid 8 hrs.     The results were positive.     I had 1 crash and no hangs.    

Prior to this,  in 8hrs, I'd have liks 4-6 crashes, a hang or 2,  and sometimes hc4 would not restart – just crash on restart.     Also there have been some times (prior to --disable-gpu) that I have almost a full 8hrs with almost no problems too. 

So it is a bit inconclusive that there is an improvement; but I will try again Today. 

 

 

 

 

This widget could not be displayed.

Sadly, after a fresh upgrade to Fedor24  (done for other reasons, not hipchat);  HipChat still crashes and I have had one major hang. 

:sigh: 

This widget could not be displayed.

Mine also crashed.

Ubuntu 16.04 xfce4

try `hipchat4 --disable-gpu` with log:

 

└──╼ $ hipchat4 --disable-gpu
hello 0.508136
PackageLocation: "/opt/HipChat4/share/localweb/package.json"
package.json opened
package.json valid
package.json object
package.json version value = "4.30.3"
Reading config.ini file
force_server= false value= ""
Unrecognized OpenGL version
Unrecognized OpenGL version
\Qt WebEngine ICU data not found at /opt/HipChat4/lib/resources. Trying parent directory...
Installed Qt WebEngine locales directory not found at location /opt/HipChat4/lib/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /opt/HipChat4/lib/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Qt WebEngine resources not found at /opt/HipChat4/lib/resources. Trying parent directory...
[0507/192109:ERROR:resource_bundle.cc(720)] Failed to load /opt/HipChat4/lib/qtwebengine_devtools_resources.pak
Some features may not be available.
[0507/192109:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale
[0507/192109:ERROR:browser_main_loop.cc(217)] Running without the SUID sandbox! See https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the sandbox on.
--type=zygote
hello 0.71169
Qt WebEngine ICU data not found at /home/tm/Qt/5.7/gcc_64/resources. Trying parent directory...
Qt WebEngine ICU data not found at /home/tm/Qt/5.7/gcc_64. Trying application directory...
Installed Qt WebEngine locales directory not found at location /home/tm/Qt/5.7/gcc_64/translations/qtwebengine_locales. Trying application directory...
Qt WebEngine locales directory not found at location /opt/HipChat4/bin/qtwebengine_locales. Trying fallback directory... Translations MAY NOT not be correct.
Qt WebEngine resources not found at /home/tm/Qt/5.7/gcc_64/resources. Trying parent directory...
Qt WebEngine resources not found at /home/tm/Qt/5.7/gcc_64. Trying application directory...
[0507/192109:ERROR:resource_bundle.cc(720)] Failed to load /opt/HipChat4/bin/qtwebengine_devtools_resources.pak
Some features may not be available.
[0507/192109:WARNING:resource_bundle.cc(311)] locale_file_path.empty() for locale
[11:21:09][void HipChatApplication::initialize(HipChatApplication::Configuration&):385] "UserAgent: HipChat/4030004.1672 Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.7.0 Chrome/49.0.2623.111 Safari/537.36"
[11:21:09][void HipChatApplication::initialize(HipChatApplication::Configuration&):394] datapath "/opt/HipChat4/lib"
[11:21:09][virtual bool OnlineStatus::platformSpecificHasInternetConnectivity():38] org.freedesktop.NetworkManager interface is valid
[11:21:09][void AbstractOnlineStatus::checkOnlineStatus():196] platform online state = true
[11:21:09][void AbstractOnlineStatus::doSecondaryCheck(bool):205] Do secondary online check
[11:21:09][void AbstractOnlineStatus::doSecondaryCheck(bool):218] cloud path
[11:21:09][void AbstractOnlineStatus::doSecondaryCheck(bool):264] onlineStatusUrl check: "https://api.hipchat.com/v2/health-check"
Warning: [11:21:09][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv2_client_method
Warning: [11:21:09][qt.network.ssl][:0] QSslSocket: cannot resolve SSLv2_server_method
[11:21:09][int main(int, char**):447] RestartNumber= 0
[11:21:12][void AbstractOnlineStatus::handleReplyFinished(QNetworkReply*):126] no errors from onlineStatusCheck
[11:21:12][void AbstractOnlineStatus::handleOnlineStatusResult(bool):171] newOnlineState: true
[11:21:12][void AbstractOnlineStatus::handleOnlineStatusResult(bool):184] initCheckComplete
[11:21:12][void HipChatApplication::onInitialOnlineCheck(bool):307] HCA isInitOnline: true
[11:21:12][void HipChatApplication::onInitialOnlineCheck(bool):310] doAuth
[11:21:12][QString AbstractSettings::decryptLoginData() const:196] login data is encrypted, so decrypting
Warning: [11:21:17][:0] Unrecognized OpenGL version
Warning: [11:21:17][:0] Unrecognized OpenGL version
[11:21:17][void IdleTime::init():82] Initialzing idle timer
[11:21:17][VideoController::VideoController(NativeWebWindow*):10] Init Video Controller
[11:21:17][void AbstractHipMainWindow::init():127] Restoring zoom from settings: 0.95
[11:21:17][void AbstractHipMainWindow::init():133] LastWindowSize : QRect(2124,128 1216x730) Maximized : false
[11:21:17][qml][onCompleted:7] QML localContentCanAccessRemoteUrls true
[11:21:17][qml][onCompleted:9] QML localStorageEnabled true
[11:21:17][qml][onCompleted:11] QML accessFileUrls true
[11:21:17][qml][onParentChanged:10] Client Parent Changed : QQuickRootItem(0x13806e0)
[11:21:17][QUrl WebBridge::createLocalURL(QString) const:38] url = QUrl("file:///opt/HipChat4/share/clientweb/index.html")
[11:21:17][HipClientView::HipClientView(AbstractHipMainWindow*, Utils*, AccountInfo*):79] Set Client URL : true
[11:21:17][void AbstractHipMainWindow::addClientView(AccountInfo*):227] currentWebView: QVariant(QObject*, QQuickWebEngineView_QML_6(0x13c5ed0, name = "webView"))
[11:21:17][void AbstractHipMainWindow::addClientView(AccountInfo*):229] Set currentWebView : true
[11:21:17][qml][onParentChanged:10] Client Parent Changed : HipMainWindow_QMLTYPE_1(0x13625c0)
[11:21:17][void AbstractHipMainWindow::addClientView(AccountInfo*):231] Set Client Parent : true
[11:21:17][qml][onNavigationRequested:84] onNavigationRequested: file:///opt/HipChat4/share/clientweb/index.html
[11:21:17][qml][onLoadingChanged:91] ClientView Loaded
[11:21:17][qml][zoomFactorChange:29] ***QML Zoom factor changed 0.95
[11:21:17][virtual void IndexBridge::controlChannelReady():27] IndexBridge Control Channel signaled ready from Webcore
[11:21:17][void HipClientView::onChannelReady():153] About to get config
[11:21:17][QString AbstractSettings::decryptLoginData() const:196] login data is encrypted, so decrypting
Warning: [11:21:17][:0] Unrecognized OpenGL version
Warning: [11:21:17][:0] Unrecognized OpenGL version
Start
[WARN] Local date might be wrong. Server date: "2018-05-07T11:21:23.000Z"
[WARN] Local date might be wrong. Server date: "2018-05-07T11:21:23.000Z"
[WARN] Room name isn't defined in the autoJoin list. Room jid: 210244_4007071@chat.hipchat.com
[WARN] Room name isn't defined in the autoJoin list. Room jid: 210244_4007071@chat.hipchat.com
[11:21:25][void AccountInfo::updateConfigInfo(const QString&):42] AddLiveId = 700
[11:21:25][void HipClientView::updateAddliveAppId():103] Set Add Live App Id : true id: 700
[11:21:25][void IndexBridge::getSettings(const QString&):96] Got settings from Webcore!
[11:21:25][void IdleTime::setIdleTimeout(int):50] Setting idle timeout: 900000 Watching = false
[11:21:25][void IdleTime::setWatching(bool):14] Starting watching for idle, idleTimeout(): 900000
[11:21:25][void AbstractSettings::updateSettings(const QString&, AccountInfo*):496] IdleEnabled : true -- New IdleTime : 15
[11:21:57][virtual bool OnlineStatus::platformSpecificHasInternetConnectivity():38] org.freedesktop.NetworkManager interface is valid
[11:21:57][void AbstractOnlineStatus::checkOnlineStatus():196] platform online state = true
[11:21:57][void AbstractOnlineStatus::doSecondaryCheck(bool):205] Do secondary online check
[11:21:57][void AbstractOnlineStatus::doSecondaryCheck(bool):218] cloud path
[11:21:57][void AbstractOnlineStatus::doSecondaryCheck(bool):264] onlineStatusUrl check: "https://api.hipchat.com/v2/health-check"
[11:21:58][void AbstractOnlineStatus::handleReplyFinished(QNetworkReply*):126] no errors from onlineStatusCheck
[11:21:58][void AbstractOnlineStatus::handleOnlineStatusResult(bool):179] handleOnlineStatusResult no change : true
[11:22:42][virtual bool OnlineStatus::platformSpecificHasInternetConnectivity():38] org.freedesktop.NetworkManager interface is valid
[11:22:42][void AbstractOnlineStatus::checkOnlineStatus():196] platform online state = true
[11:22:42][void AbstractOnlineStatus::doSecondaryCheck(bool):205] Do secondary online check
[11:22:42][void AbstractOnlineStatus::doSecondaryCheck(bool):218] cloud path
[11:22:42][void AbstractOnlineStatus::doSecondaryCheck(bool):264] onlineStatusUrl check: "https://api.hipchat.com/v2/health-check"
[11:22:42][void AbstractOnlineStatus::handleReplyFinished(QNetworkReply*):126] no errors from onlineStatusCheck
[11:22:42][void AbstractOnlineStatus::handleOnlineStatusResult(bool):179] handleOnlineStatusResult no change : true

 

 

 

Its UI is frozen.  It said `Unrecognized OpenGL version` Im using a nvidia card but `--disable-gpu` didn't work. BTW my machine runs Tensorflow 1.4 (machine learning) with cuda 8.0 and its dependencies... Don't know why. Can anybody explain?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 10, 2018 in Hipchat

What should I think about when migrating HipChat to Slack?

...from the beginning. We have built up a lot of content in HipChat, with it being a core tool in our distributed company model. While it is true that we didn’t need to move to Slack immediately, we felt it...

421 views 1 10
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you