Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OS X] [Placeholder] Mac proxy lookup hanging when network is down? #2802

Closed
guruz opened this issue Feb 9, 2015 · 2 comments
Closed

[OS X] [Placeholder] Mac proxy lookup hanging when network is down? #2802

guruz opened this issue Feb 9, 2015 · 2 comments
Assignees
Labels

Comments

@guruz
Copy link
Contributor

guruz commented Feb 9, 2015

@lmaestro Reported this bt related to #2321 .... She also mentioned that the UI was hanging for her.

(Interrupted via Ctrl+C)
(lldb) bt
* thread #1: tid = 0x38111, 0x00007fff977bd52e libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fff977bd52e libsystem_kernel.dylib`mach_msg_trap + 10
    frame #1: 0x00007fff977bc69f libsystem_kernel.dylib`mach_msg + 55
    frame #2: 0x00007fff8f060b14 CoreFoundation`__CFRunLoopServiceMachPort + 212
    frame #3: 0x00007fff8f05ffdb CoreFoundation`__CFRunLoopRun + 1371
    frame #4: 0x00007fff8f05f838 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #5: 0x00007fff8f0a0555 CoreFoundation`CFReadStreamRead + 229
    frame #6: 0x00007fff92c67dd9 CFNetwork`HTTPReadStream::_streamImpl_Read(__CFReadStream, unsigned char, long, CFStreamError, unsigned char) + 97
    frame #7: 0x00007fff8f0a060d CoreFoundation`CFReadStreamRead + 413
    frame #8: 0x00007fff92c5a3ad CFNetwork`_CFHTTPMessageSendRequest(__CFHTTPMessage*) + 199
    frame #9: 0x00007fff92c5a630 CFNetwork`_CFURLCreateDataAndPropertiesFromResource + 398
    frame #10: 0x00007fff8f012475 CoreFoundation`CFURLCreateDataAndPropertiesFromResource + 245
    frame #11: 0x00000001030106d5 QtNetwork`macQueryInternal(QNetworkProxyQuery const&) + 949
    frame #12: 0x0000000103011a31 QtNetwork`QNetworkProxyFactory::systemProxyForQuery(QNetworkProxyQuery const&) + 17
    frame #13: 0x00000001030092c6 QtNetwork`QSystemConfigurationProxyFactory::queryProxy(QNetworkProxyQuery const&) + 22
    frame #14: 0x0000000103006741 QtNetwork`QGlobalNetworkProxy::proxyForQuery(QNetworkProxyQuery const&) + 561
    frame #15: 0x00000001030083de QtNetwork`QNetworkProxyFactory::proxyForQuery(QNetworkProxyQuery const&) + 46
    frame #16: 0x0000000102fb98ae QtNetwork`QNetworkAccessManagerPrivate::queryProxy(QNetworkProxyQuery const&) + 654
    frame #17: 0x0000000102fd7d03 QtNetwork`QNetworkReplyHttpImplPrivate::postRequest() + 851
    frame #18: 0x0000000102fdc7f7 QtNetwork`QNetworkReplyHttpImplPrivate::start() + 215
    frame #19: 0x0000000102fd4bed QtNetwork`QNetworkReplyHttpImplPrivate::_q_startOperation() + 1053
    frame #20: 0x0000000103050aa7 QtNetwork`QNetworkReplyHttpImpl::qt_static_metacall(QObject, QMetaObject::Call, int, void*) + 1655
    frame #21: 0x00000001038eaa93 QtCore`QObject::event(QEvent*) + 755
    frame #22: 0x000000010041321c QtWidgets`QApplicationPrivate::notify_helper(QObject, QEvent) + 300
    frame #23: 0x0000000100415dcb QtWidgets`QApplication::notify(QObject, QEvent) + 6299
    frame #24: 0x00000001038c124c QtCore`QCoreApplicationPrivate::sendPostedEvents(QObject, int, QThreadData) + 1020
    frame #25: 0x000000010a2cd596 libqcocoa.dylib`QCocoaEventDispatcherPrivate::processPostedEvents() + 310
    frame #26: 0x000000010a2cdee8 libqcocoa.dylib`QCocoaEventDispatcherPrivate::postedEventsSourceCallback(void*) + 40
    frame #27: 0x00007fff8f06e661 CoreFoundation`__CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
    frame #28: 0x00007fff8f0607ed CoreFoundation`__CFRunLoopDoSources0 + 269
    frame #29: 0x00007fff8f05fe1f CoreFoundation`__CFRunLoopRun + 927
    frame #30: 0x00007fff8f05f838 CoreFoundation`CFRunLoopRunSpecific + 296
    frame #31: 0x00007fff9b60f43f HIToolbox`RunCurrentEventLoopInMode + 235
    frame #32: 0x00007fff9b60f1ba HIToolbox`ReceiveNextEventCommon + 431
    frame #33: 0x00007fff9b60effb HIToolbox`_BlockUntilNextEventMatchingListInModeWithFilter + 71
    frame #34: 0x00007fff92dfb6d1 AppKit`_DPSNextEvent + 964
    frame #35: 0x00007fff92dfae80 AppKit`-[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 194
    frame #36: 0x000000010a2cca9d libqcocoa.dylib`QCocoaEventDispatcher::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 1885
    frame #37: 0x00000001038bdafd QtCore`QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 381
    frame #38: 0x00000001038c0b25 QtCore`QCoreApplication::exec() + 341
    frame #39: 0x0000000100007f50 owncloud`main + 1456
    frame #40: 0x0000000100007754 owncloud`start + 52

CC @danimo

@guruz guruz added the bug label Feb 9, 2015
@guruz guruz added this to the 1.8.1 - Bugfix milestone Feb 9, 2015
@guruz
Copy link
Contributor Author

guruz commented Mar 23, 2015

Similar to #2993 (comment)

guruz added a commit that referenced this issue Mar 25, 2015
We should actually upstream this into QNAM.

This is for #2993 and #2802
guruz added a commit that referenced this issue Mar 25, 2015
@guruz
Copy link
Contributor Author

guruz commented Mar 27, 2015

With the new code in 1.8.1 this should happen in a seperate thread.

@guruz guruz closed this as completed Mar 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants