
Video broken on OS X
Reported by Sean | October 28th, 2014 @ 08:55 PM
Attempted to initiate a video call on OS X, it hung without crashing until I issued a SIGSTOP
Log:
Process 32203 launched: '/Applications/qtox.app/Contents/MacOS/qtox' (x86_64)
built on: 09:42:08 Oct 20 2014
commit: a2adc5edae6629b761191556bb6a5050e9c28323
Settings: Loading from "/Users/sean/Library/Preferences/tox/settings.ini"
Using embeded bootstrap nodes list
Error loading translation "en"
Core: loading Tox from "/Users/sean/Library/Preferences/tox/sean.tox"
QFSFileEngine::open: No file name specified
Core starting with IPv6 enabled
Core::loadConfiguration: reading from "/Users/sean/Library/Preferences/tox/sean.tox"
Widget: Adding friend with id "EBA1382262B7C464BC6049935436D9A3F5A0AA3A196C1C53102322CDE598FB0C"
Widget: Adding friend with id "29AE62F95C56063D833024B1CB5C2140DC4AEB94A80FF4596CACC460D7BAA062"
Widget: Adding friend with id "56A1ADE4B65B86BCD51CC73E2CD4E542179F47959FE3E0E21B4B0ACDADE51855"
Widget: Adding friend with id "371F97372F61172E84695800A483CF098C56968E60B7C72B20D7B7176B774865"
Widget: loadded avatar for id "371F97372F61172E84695800A483CF098C56968E60B7C72B20D7B7176B774865"
Widget: Adding friend with id "BF9A09F70D6C0C3424472B740E9F70878A72CECCB30AC396D60D8160BB6C2E22"
Widget: Adding friend with id "9FD9944C1B4C2B48150D3B9759605FDE6032082AC4E75F1EBEBF8ED427D02E57"
Widget: loadded avatar for id "9FD9944C1B4C2B48150D3B9759605FDE6032082AC4E75F1EBEBF8ED427D02E57"
Widget: Adding friend with id "E5809EEF5F11AB29B9BDF543C05B58DDF454AB9CA176C235C7699FDC2757DC33"
Widget: loadded avatar for id "E5809EEF5F11AB29B9BDF543C05B58DDF454AB9CA176C235C7699FDC2757DC33"
Widget: Adding friend with id "7119F8F3B55FCA07F78CC78003F9F9FCE70B2C0AEF3649F3A84C87EA56BE927F"
Widget: loadded avatar for id "7119F8F3B55FCA07F78CC78003F9F9FCE70B2C0AEF3649F3A84C87EA56BE927F"
Widget: Adding friend with id "89672CE0824AA1FF43FC6649BB6ED301FD161177D2A0E06C88198B688D431D2A"
Core: Bootstraping to the DHT ...
"Core: Bootstraping from Proplex, addr 107.161.17.51, port 33445"
"Core: Bootstraping from SylvieLorxu, addr 178.21.112.187, port 33445"
Core: Connected to DHT
Settings: Saving in "/Users/sean/Library/Preferences/tox/settings.ini"
Core: writing tox_save to "/Users/sean/Library/Preferences/tox/sean.tox"
Cleaned up camera.
(QSize(1280, 720) , QSize(320, 240) , QSize(640, 480) )
Core: Got null avatar info from "audiobotze"
Core: Got null avatar info from "GroupBot"
Core: Got null avatar info from " "
VideoSurface: Init
QOpenGLShader::compile(Fragment): ERROR: 0:4: '-' does not operate on 'vec4' and 'vec3'
ERROR: 0:4: Use of undeclared identifier 'yuv'
ERROR: 0:4: Use of undeclared identifier 'rgb'
*** Problematic Fragment shader source code ***
#define lowp
#define mediump
#define highp
uniform sampler2D texture0;varying vec2 coords;void main() { vec3 yuv = texture2D(texture0,coords*vec2(1.0, -1.0)) - vec3(0,0.5,0.5); vec3 rgb = mat3(1,1,1,0,-0.21482,2.12798,1.28033,-0.38059,0) * yuv; gl_FragColor = vec4(rgb,1);}
***
CameraWorker: Resume
Process 32203 stopped
* thread [#1](/projects/123754/tickets/1 "Ticket #1"): tid = 0x90c4d, 0x00007fff8d587132 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame [#0](/projects/123754/tickets/0 "Ticket #0"): 0x00007fff8d587132 libsystem_kernel.dylib`__psynch_cvwait + 10
libsystem_kernel.dylib`__psynch_cvwait + 10:
-> 0x7fff8d587132: jae 0x7fff8d58713c ; __psynch_cvwait + 20
0x7fff8d587134: movq %rax, %rdi
0x7fff8d587137: jmp 0x7fff8d582ca3 ; cerror_nocancel
0x7fff8d58713c: retq
Backtrace:
* thread [#1](/projects/123754/tickets/1 "Ticket #1"): tid = 0x90c4d, 0x00007fff8d587132 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame [#0](/projects/123754/tickets/0 "Ticket #0"): 0x00007fff8d587132 libsystem_kernel.dylib`__psynch_cvwait + 10
frame [#1](/projects/123754/tickets/1 "Ticket #1"): 0x00007fff8df8fea0 libsystem_pthread.dylib`_pthread_cond_wait + 693
frame [#2](/projects/123754/tickets/2 "Ticket #2"): 0x00000001011bacab QtCore`___lldb_unnamed_function389$$QtCore + 75
frame [#3](/projects/123754/tickets/3 "Ticket #3"): 0x00000001011bab48 QtCore`QWaitCondition::wait(QMutex*, unsigned long) + 168
frame [#4](/projects/123754/tickets/4 "Ticket #4"): 0x00000001011b4b3f QtCore`QSemaphore::acquire(int) + 79
frame [#5](/projects/123754/tickets/5 "Ticket #5"): 0x00000001013b8e30 QtCore`QMetaMethod::invoke(QObject*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) const + 1280
frame [#6](/projects/123754/tickets/6 "Ticket #6"): 0x00000001013b87d1 QtCore`QMetaObject::invokeMethod(QObject*, char const*, Qt::ConnectionType, QGenericReturnArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument, QGenericArgument) + 2097
frame [#7](/projects/123754/tickets/7 "Ticket #7"): 0x00000001000869f6 qtox`CameraWorker::getProp(int) + 326
frame [#8](/projects/123754/tickets/8 "Ticket #8"): 0x000000010001de41 qtox`AVForm::present() + 865
frame [#9](/projects/123754/tickets/9 "Ticket #9"): 0x0000000100010605 qtox`SettingsWidget::onTabChanged(int) + 53
frame [#10](/projects/123754/tickets/10 "Ticket #10"): 0x00000001013e0e15 QtCore`QMetaObject::activate(QObject*, int, int, void**) + 2341
frame [#11](/projects/123754/tickets/11 "Ticket #11"): 0x0000000100845edf QtWidgets`___lldb_unnamed_function2446$$QtWidgets + 671
frame [#12](/projects/123754/tickets/12 "Ticket #12"): 0x00000001013e075a QtCore`QMetaObject::activate(QObject*, int, int, void**) + 618
frame [#13](/projects/123754/tickets/13 "Ticket #13"): 0x000000010083d811 QtWidgets`QTabBar::setCurrentIndex(int) + 401
frame [#14](/projects/123754/tickets/14 "Ticket #14"): 0x0000000100840dc1 QtWidgets`QTabBar::mousePressEvent(QMouseEvent*) + 673
frame [#15](/projects/123754/tickets/15 "Ticket #15"): 0x00000001006f69ed QtWidgets`QWidget::event(QEvent*) + 1469
frame [#16](/projects/123754/tickets/16 "Ticket #16"): 0x000000010083f60d QtWidgets`QTabBar::event(QEvent*) + 893
frame [#17](/projects/123754/tickets/17 "Ticket #17"): 0x00000001006bbeac QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 252
frame [#18](/projects/123754/tickets/18 "Ticket #18"): 0x00000001006bf5ed QtWidgets`QApplication::notify(QObject*, QEvent*) + 9357
frame [#19](/projects/123754/tickets/19 "Ticket #19"): 0x00000001013af623 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
frame [#20](/projects/123754/tickets/20 "Ticket #20"): 0x00000001006bc758 QtWidgets`QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 904
frame [#21](/projects/123754/tickets/21 "Ticket #21"): 0x0000000100714dec QtWidgets`___lldb_unnamed_function617$$QtWidgets + 1196
frame [#22](/projects/123754/tickets/22 "Ticket #22"): 0x0000000100714052 QtWidgets`___lldb_unnamed_function612$$QtWidgets + 114
frame [#23](/projects/123754/tickets/23 "Ticket #23"): 0x00000001006bbeac QtWidgets`QApplicationPrivate::notify_helper(QObject*, QEvent*) + 252
frame [#24](/projects/123754/tickets/24 "Ticket #24"): 0x00000001006bd57a QtWidgets`QApplication::notify(QObject*, QEvent*) + 1050
frame [#25](/projects/123754/tickets/25 "Ticket #25"): 0x00000001013af623 QtCore`QCoreApplication::notifyInternal(QObject*, QEvent*) + 115
frame [#26](/projects/123754/tickets/26 "Ticket #26"): 0x0000000100ca0397 QtGui`QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 2151
frame [#27](/projects/123754/tickets/27 "Ticket #27"): 0x0000000100c9f266 QtGui`QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 118
frame [#28](/projects/123754/tickets/28 "Ticket #28"): 0x0000000100c8d9aa QtGui`QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 346
frame [#29](/projects/123754/tickets/29 "Ticket #29"): 0x0000000102d2c141 libqcocoa.dylib`___lldb_unnamed_function461$$libqcocoa.dylib + 33
frame [#30](/projects/123754/tickets/30 "Ticket #30"): 0x00007fff90591661 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
frame [#31](/projects/123754/tickets/31 "Ticket #31"): 0x00007fff905837ed CoreFoundation`__CFRunLoopDoSources0 + 269
frame [#32](/projects/123754/tickets/32 "Ticket #32"): 0x00007fff90582e1f CoreFoundation`__CFRunLoopRun + 927
frame [#33](/projects/123754/tickets/33 "Ticket #33"): 0x00007fff90582838 CoreFoundation`CFRunLoopRunSpecific + 296
frame [#34](/projects/123754/tickets/34 "Ticket #34"): 0x00007fff8d24d43f HIToolbox`RunCurrentEventLoopInMode + 235
frame [#35](/projects/123754/tickets/35 "Ticket #35"): 0x00007fff8d24d0be HIToolbox`ReceiveNextEventCommon + 179
frame [#36](/projects/123754/tickets/36 "Ticket #36"): 0x00007fff8d24cffb HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
frame [#37](/projects/123754/tickets/37 "Ticket #37"): 0x00007fff909cd821 AppKit`_DPSNextEvent + 964
frame [#38](/projects/123754/tickets/38 "Ticket #38"): 0x00007fff909ccfd0 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
frame [#39](/projects/123754/tickets/39 "Ticket #39"): 0x00007fff909c0f73 AppKit`-[NSApplication run] + 594
frame [#40](/projects/123754/tickets/40 "Ticket #40"): 0x0000000102d2aff5 libqcocoa.dylib`___lldb_unnamed_function442$$libqcocoa.dylib + 2165
frame [#41](/projects/123754/tickets/41 "Ticket #41"): 0x00000001013acd0d QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
frame [#42](/projects/123754/tickets/42 "Ticket #42"): 0x00000001013afc0c QtCore`QCoreApplication::exec() + 364
frame [#43](/projects/123754/tickets/43 "Ticket #43"): 0x000000010005044f qtox`main + 2191
frame [#44](/projects/123754/tickets/44 "Ticket #44"): 0x0000000100005b84 qtox`start + 52
I can produce more lldb data if needed, though I've been unable to get it to crash directly.
Comments and changes to this ticket
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
General Tox bug tracker