MantisBT - Doomseeker | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0004431 | Doomseeker | [All Projects] Bug | public | 2024-10-22 18:27 | 2024-10-23 15:38 |
Reporter | Blzut3 | ||||
Assigned To | Zalewa | ||||
Priority | normal | Severity | minor | Reproducibility | sometimes |
Status | resolved | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | 1.4.1 | ||||
Target Version | 1.5.0 | Fixed in Version | 1.5.0 | ||
Summary | 0004431: IP2C occasionally fails country lookup on startup | ||||
Description | Quoting the contents of relevant Blzut3 comments for 0004421: > Am I crazy or are there regressions with the IP2C handling? On 1.4.1 most servers are identified and Doomseeker starts querying instantly. With the latest git Doomseeker hangs completely unresponsive for several seconds at start up and then most servers appear to fail country lookup? > It does appear the IP2C issue is timing related. Making sure the IP2C parsing doesn't finish until after the query on startup is finished seems to make everything resolve correctly. Presumably something is going wrong if the IP2C parsing finishes mid refresh. > My working theory right now is that the sequence of events looks something like this: * Startup refresh triggers. * Master server responds, server queries begin. * IP2C finishes parsing. * Something in main thread happens here that causes the event queue to be flushed > The root cause of the IP2C issue. (Note line numbers in stack trace are probably nonsense given all the measurement code I added to trace this down in the first place.)
> The IP2CLoader::finished signal is emitted in multiple places, which connects to MainWindow::ip2cJobsFinished. Depending on the specific timing of queued slot execution, this can delete the IP2CLoader mid load and that causes the thread's signals to be disconnected. | ||||
Steps To Reproduce | |||||
Additional Information | Reported originally in comment 0004421:0024060 for 0004421 | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2024-10-22 18:27 | Zalewa | New Issue | |||
2024-10-22 18:27 | Zalewa | Status | new => assigned | ||
2024-10-22 18:27 | Zalewa | Assigned To | => Zalewa | ||
2024-10-22 18:27 | Zalewa | Reporter | Zalewa => Blzut3 | ||
2024-10-22 19:11 | Zalewa | Note Added: 0024080 | |||
2024-10-22 19:11 | Zalewa | Status | assigned => needs testing | ||
2024-10-23 00:21 | Blzut3 | Note Added: 0024081 | |||
2024-10-23 15:38 | Zalewa | Note Added: 0024082 | |||
2024-10-23 15:38 | Zalewa | Status | needs testing => resolved | ||
2024-10-23 15:38 | Zalewa | Fixed in Version | => 1.5.0 | ||
2024-10-23 15:38 | Zalewa | Resolution | open => fixed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|