qTox 1.5.1 crashes on OS X

Created on 10 Aug 2016  ·  24Comments  ·  Source: qTox/qTox

Brief Description

OS: OS X 10.11.6
qTox version: 1.5.1, binary release downloaded from the releases page
Commit hash: f05b7e040a073c7afadaf763dda5beaf130c6dbd
toxcore: ?
Qt: ?
Hardware: rMBP 13" Early 2015, i5, 8GiB

Reproducible: Always

Steps to reproduce
  1. Start qTox
    Observed Behavior

The application instantly crashes.

Expected Behavior

The application should start normally.

Additional Info
Application Specific Information:
dyld: launch, loading dependent libraries

Dyld Error Message:
  Library not loaded: /usr/local/Cellar/qt5/5.6.1-1/lib/QtWidgets.framework/Versions/5/QtWidgets
  Referenced from: /Applications/qTox.app/Contents/Frameworks/QtOpenGL.framework/Versions/5/QtOpenGL
  Reason: image not found
C-bug OS-osx P-very-high

All 24 comments

Does the file /usr/local/Cellar/qt5/5.6.1-1/lib/QtWidgets.framework/Versions/5/QtWidgets exist on your system? If not, can you show me the output of find /usr/local/Cellar/qt5? Do you use homebrew? Running brew install qt5 will likely solve the problem for you if your homebrew installation directory is /usr/local (the default).

Yes, I do use homebrew. I do not have qt5 installed, so /usr/local/Cellar/qt5 doesn't exist.
After doing a brew install qt5 qTox still doesn't start, but the error message is different:

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

VM Regions Near 0:
--> 
    __TEXT                 0000000107f3c000-0000000108473000 [ 5340K] r-x/rwx SM=COW  /Applications/qTox.app/Contents/MacOS/qtox

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.qt-project.QtGui            0x000000010a489756 0x10a383000 + 1075030
1   org.qt-project.QtGui            0x000000010a48aae7 QFontDatabase::findFont(QFontDef const&, int) + 87
2   org.qt-project.QtGui            0x000000010a48d5a9 QFontDatabase::load(QFontPrivate const*, int) + 2649
3   org.qt-project.QtGui            0x000000010a46532b QFontPrivate::engineForScript(int) const + 395
4   org.qt-project.QtGui            0x000000010a469bf1 QFontInfo::pixelSize() const + 17
5   chat.tox.qtox                   0x0000000108025ea4 Style::getFont(Style::Font) + 84
6   chat.tox.qtox                   0x0000000107f95532 Settings::loadGlobal() + 12706
7   chat.tox.qtox                   0x0000000107f92385 Settings::Settings() + 469
8   chat.tox.qtox                   0x0000000107f97687 Settings::getInstance() + 39
9   chat.tox.qtox                   0x0000000107f4ef82 main + 498
10  chat.tox.qtox                   0x0000000107f46ab4 start + 52

It doesn't work at all. When I start it from the GUI, it just freezes after it stops jumping ("Force Quit" appears). When I start it from the CLI:

# open /Applications/qTox.app/

I get:

LSOpenURLsWithRole() failed with error -10810 for the file /Applications/qTox.app.

I was forced to revert to 1.4.1.1, 1.5.1 is completely unusable.

Let me join with a crash log. 😁

qtox_2016-08-10-201609.crash.zip

@xyrnox, @ddobrev, @codecontrol-evtim: try this build.

@iphydf thanks, I'll let you know as soon as I've tried it.

@iphydf your build seems to work fine, thank you. Will the fix be merged to the official qTox?

@iphydf I haven't been able to try it but a friend did. He said he downgraded again because the text was smudged and the emojis improperly displayed. He uses the beta of the new macOS but the old qTox works fine for him nevertheless.

@ddobrev now that you mention text looks blurry in this build. Probably an unrelated issue though.

@xyrnox definitely unrelated but means the new qTox is still useless on OS X.

A thing I noticed is that it doesn't work with retina displays. I'm not sure what causes that yet, but it's the same on my local build. I'll investigate later, perhaps next week, unless someone finds the issue earlier. Thanks for the reports.

@ddobrev, @xyrnox, try the most recent build. Retina displays work fine now.

@iphydf this one works, thank you. Could you please upload this build at https://github.com/qTox/qTox/releases/ ?

Don't update the release. Now the emoticons do not work at all. They don't appear when trying to select them, they don't appear when typed, they don't appear in the settings. They might as well not be included in the installer. In addition, the icon in the dock is missing. A white icon with a pencil, a brush and a ruler (I think it's a stock OS X icon to replace missing real ones) is displayed instead.

Also, punctuation marks are displayed strange and different to the way they appear in the field for typing messages. For example - ' disappears when put in the middle of a word, () are displayed lower than letters.

The application is also quite unstable, crashes constantly. I am forced to downgrade until all of these problems are fixed.

qtox_2016-08-20-205000_HubbertJ.crash.zip

Also, you will notice that the version in the crash log is reported as 1.4.1 while I made sure that I installed the build from https://github.com/qTox/qTox/issues/3610#issuecomment-240439104

Does it consistently crash on startup, or is there something you do to make it crash?

The crash while starting up was fixed at https://github.com/qTox/qTox/issues/3610#issuecomment-239239297 . This one is different and occurs while chatting.

Can you add me? This ID is running the latest build from toktok.github.io: AC1A8F21118958478C84BE0BA4F0AFA76D1923356269726449BDA8930214BA26FD89FDE7547E

md5sum: qtox.dmg b8f3a3ac5176bfcd87c0db989ce90fa3 to ensure that we're using the same binary.

The latest binary has smileys fixed, but the font for punctuation is still wrong. If you can make the latest build crash, I'd be interested in another crash log and ideally some sequence of actions that led up to it.

qTox 1.8.1 has been released, could someone affected check if problem is still reproducible?

qTox 1.8.1 works like a charm now.
Thanks for updating it!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  ·  6Comments

Hasshu picture Hasshu  ·  5Comments

Tcll picture Tcll  ·  3Comments

anthonybilinski picture anthonybilinski  ·  3Comments

anthonybilinski picture anthonybilinski  ·  6Comments