Zandronum Chat @
Get the latest version: 3.0
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0003376Doomseeker[All Projects] Bugpublic2018-02-18 18:442018-02-18 19:05
Assigned ToZalewa 
Statusneeds testingResolutionopen 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version 
Target VersionFixed in Version 
Summary0003376: Domain names look ups get the process stuck when quitting during look up.
DescriptionDomain names look ups get the process stuck when quitting during look up.


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 Reproduce1. Reverse commit [^]
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 InformationMinimal example with explanation when "stuck" happens can be found here: [^]

See comment in main.cpp, main() function, line 83.
Attached Files

- Relationships
related to 0003287needs testingZalewa IRC: IRC network address hostname lookups use IPv4 when IPv6 connectivity is available 

-  Notes
User avatar (0019072)
Zalewa (developer)
2018-02-18 19:05

Two changes, second is indirectly dependent on the first:

1. "delete QApplication instance" added in this commit: [^]

2. LookupHost workaround removed and replaced with proper QHostInfo::lookupHost() here: [^]

Program should be now tested for any case where the process gets stuck running forever on quit.

Issue Community Support
Only registered users can voice their support. Click here to register, or here to log in.
Supporters: No one explicitly supports this issue yet.
Opponents: No one explicitly opposes this issue yet.

- 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

Questions or other issues? Contact Us.


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker