MantisBT - Doomseeker |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0003376 | Doomseeker | [All Projects] Bug | public | 2018-02-18 18:44 | 2018-10-27 22:53 |
|
Reporter | Zalewa | |
Assigned To | Zalewa | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | Microsoft | OS | Windows | OS Version | XP/Vista/7 |
Product Version | | |
Target Version | 1.2 | Fixed in Version | 1.2 | |
|
Summary | 0003376: Domain names look ups get the process stuck when quitting during look up. |
Description | Domain names look ups get the process stuck when quitting during look up.
QHostInfo::lookupHost()
We already have a workaround for this, but a workaround is a workaround and it doesn't solve the same problem when caused by QAbstractSocket::connectToHost().
The proper solution for this is to "delete QApplication" before returning from main().
|
Steps To Reproduce | 1. Reverse commit'https://bitbucket.org/Doomseeker/doomseeker/commits/fb1f296bfbcffe767f3c4e6bda16ff9c5f0c6b95 [^]'
2. Look up a domain name that will take long to resolve. Non-existent domain name like "lolcathost" is good for this.
3. During look up, quit Doomseeker.
4. Notice that the process never ends. |
Additional Information | Minimal example with explanation when "stuck" happens can be found here:'https://bitbucket.org/zalewa/dotfiles/src/5c2545284971ae6924fd42466041e37d8913336b/dev/qt/hostlookup/?at=default [^]'
See comment in main.cpp, main() function, line 83. |
Tags | No tags attached. |
Relationships | related to | 0003287 | closed | Zalewa | IRC: IRC network address hostname lookups use IPv4 when IPv6 connectivity is available |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-02-18 18:44 | Zalewa | New Issue | |
2018-02-18 18:44 | Zalewa | Relationship added | related to 0003287 |
2018-02-18 18:44 | Zalewa | Assigned To | => Zalewa |
2018-02-18 18:44 | Zalewa | Status | new => assigned |
2018-02-18 19:05 | Zalewa | Note Added: 0019072 | |
2018-02-18 19:05 | Zalewa | Status | assigned => needs testing |
2018-09-29 15:14 | WubTheCaptain | Target Version | => 1.2 |
2018-09-29 15:15 | WubTheCaptain | Note Added: 0019822 | |
2018-09-29 16:10 | WubTheCaptain | Note Added: 0019830 | |
2018-09-29 16:10 | WubTheCaptain | Note Edited: 0019830 | bug_revision_view_page.php?bugnote_id=19830#r12053 |
2018-10-01 03:37 | WubTheCaptain | Status | needs testing => feedback |
2018-10-01 04:13 | Blzut3 | Note Added: 0019851 | |
2018-10-02 05:47 | WubTheCaptain | Note Added: 0019880 | |
2018-10-02 05:47 | WubTheCaptain | Status | feedback => needs review |
2018-10-02 19:26 | Zalewa | Assigned To | Zalewa => |
2018-10-09 10:36 | WubTheCaptain | Note Added: 0020051 | |
2018-10-09 10:36 | WubTheCaptain | Status | needs review => resolved |
2018-10-09 10:36 | WubTheCaptain | Fixed in Version | => 1.2 |
2018-10-09 10:36 | WubTheCaptain | Resolution | open => fixed |
2018-10-09 10:36 | WubTheCaptain | Assigned To | => Zalewa |
2018-10-27 22:53 | WubTheCaptain | Status | resolved => closed |
Notes |
|
(0019072)
|
Zalewa
|
2018-02-18 19:05
|
|
|
|
|
Not sure if related, but something like described is still experienced on OpenBSD 6.4-current. Needs testing (especially on that operating system), for sure. |
|
|
|
Could this also be related to 0003494?
|
|
|
(0019851)
|
Blzut3
|
2018-10-01 04:13
|
|
This was an hang on exit, I'm not sure how that's related to no traffic being sent?
In any case you an disable the hostname lookups in the options. |
|
|
|
Probably still needs to be reviewed/tested why OpenBSD 6.4-current hangs on exit in a virtual machine, but not for intox8907 on bare metal (assumed). |
|
|
|
Since OpenBSD has some other weird networking problems with Qt5 and Doomseeker and intox8907 couldn't reproduce the issue, and I can't reproduce the issue in this ticket with Qt 5.11 on Debian GNU/Linux, I guess this is resolved.
I agree the patches by Zalewa are correct. |
|