MantisBT - Doomseeker
View Issue Details
0002448Doomseeker[All Projects] Bugpublic2015-09-09 15:452018-09-29 14:36
Hypnotoad 
Zalewa 
urgentcrashalways
closedfixed 
MicrosoftWindowsXP/Vista/7
 
1.11.1 
0002448: Doomseeker crashes and just produces blank white screen on recent update on beta channel
For the last week or so, every time I've tried to update doomseeker on the beta channel, on opening the application again it simply hangs on a white screen and I've been forced to reinstall doomseeker 1.0. The program cannot be shut down normally and must be killed from task manager. Deleting my ini did not fix the issue.
Update Doomseeker on the beta channel on Windows, restart doomseeker.
No tags attached.
Issue History
2015-09-09 15:45HypnotoadNew Issue
2015-09-09 15:50DrinkyBirdNote Added: 0013457
2015-09-09 15:53HypnotoadNote Added: 0013458
2015-09-09 16:53DrinkyBirdNote Added: 0013459
2015-09-09 16:53DrinkyBirdNote Edited: 0013459bug_revision_view_page.php?bugnote_id=13459#r8045
2015-09-09 19:31ZalewaNote Added: 0013460
2015-09-09 19:32ZalewaAssigned To => Zalewa
2015-09-09 19:32ZalewaStatusnew => feedback
2015-09-09 21:53HypnotoadNote Added: 0013461
2015-09-09 21:53HypnotoadStatusfeedback => assigned
2015-09-10 18:39ZalewaNote Added: 0013477
2015-09-10 18:39ZalewaNote Edited: 0013477bug_revision_view_page.php?bugnote_id=13477#r8049
2015-09-11 19:08HypnotoadNote Added: 0013486
2015-09-12 07:30ZalewaNote Added: 0013490
2015-09-12 07:30ZalewaNote Edited: 0013490bug_revision_view_page.php?bugnote_id=13490#r8053
2015-09-12 07:30ZalewaNote Edited: 0013490bug_revision_view_page.php?bugnote_id=13490#r8054
2015-09-12 12:34HypnotoadNote Added: 0013492
2015-09-12 14:00ZalewaNote Added: 0013493
2015-09-13 15:09ZalewaNote Added: 0013505
2015-09-13 15:09ZalewaStatusassigned => needs testing
2015-09-13 15:09ZalewaNote Edited: 0013505bug_revision_view_page.php?bugnote_id=13505#r8062
2016-10-24 19:29ZalewaNote Added: 0016093
2016-10-24 19:29ZalewaStatusneeds testing => resolved
2016-10-24 19:29ZalewaFixed in Version => 1.1
2016-10-24 19:29ZalewaResolutionopen => fixed
2018-09-29 14:25WubTheCaptainStatusresolved => closed
2018-09-29 14:36WubTheCaptainTarget Version => 1.1

Notes
(0013457)
DrinkyBird   
2015-09-09 15:50   
Does not happen for me.
(0013458)
Hypnotoad   
2015-09-09 15:53   
What version of windows do you use?
(0013459)
DrinkyBird   
2015-09-09 16:53   
Windows 7 Home Premium SP1 x64.

(0013460)
Zalewa   
2015-09-09 19:31   
Just checked by updating Doomseeker 1.0 to the newest beta and the problem doesn't happen for me either. What Windows version do you use, Hyponotoad?
(0013461)
Hypnotoad   
2015-09-09 21:53   
Windows 7 Ultimate SP1 x64
(0013477)
Zalewa   
2015-09-10 18:39   
First of all, does it still happen if you run this version from this package?
'http://devbuilds.drdteam.org/doomseeker/doomseeker%201.1~beta-150903-2017.zip [^]'

As I cannot reproduce this myself, would be possible for you to follow compilation instructions here, build Doomseeker for yourself in Debug mode and tell me where the compiler stack trace points to when the program crashes? If that's too much of a bother then maybe I can try producing some builds with debug logs output so that we can narrow down the area where the program crashes.

(0013486)
Hypnotoad   
2015-09-11 19:08   
That latest zip still does not work. I'll try compiling myself when I have more time spare. Some build with debugging logs might help in the meantime.
(0013490)
Zalewa   
2015-09-12 07:30   
I've uploaded a bunch of builds for you to try out:

1.'http://devbuilds.drdteam.org/doomseeker/doomseeker%201.1~beta-150805-2049.zip [^]'
2.'http://devbuilds.drdteam.org/doomseeker/doomseeker%201.1~beta-150808-1008.zip [^]'
3.'http://devbuilds.drdteam.org/doomseeker/doomseeker%201.1~beta-150809-0852.zip [^]'
4.'http://devbuilds.drdteam.org/doomseeker/doomseeker%201.1~beta-150815-0907.zip [^]'

Could you try them out and tell me which crash and which don't?

(0013492)
Hypnotoad   
2015-09-12 12:34   
All of those builds crash.
(0013493)
Zalewa   
2015-09-12 14:00   
Together with Hypnotoad we've figured out that a stale doomseeker.ini.lock file created by QSettings does this. Some references:

1.'http://doc.qt.io/qt-5/qsettings.html#accessing-settings-from-multiple-threads-or-processes-simultaneously [^]'
2.'https://bugreports.qt.io/browse/QTBUG-21739 [^]' - look for QLockFile in comments.
3.'https://bugreports.qt.io/browse/QTBUG-44771 [^]'

I'll try to figure out a workaround for that.
(0013505)
Zalewa   
2015-09-13 15:09   
Okay, I've deployed an update on beta channel. The fix was to update Qt redistributed with Doomseeker from 5.4.1 to 5.5. Now, from what I see this isn't a full fix. When a stray .lock file is present, Doomseeker will freeze for a moment (about 10 - 15 seconds), then it will unfreeze, delete the .lock file and continue as normal. This is an improvement over 5.4.1 where Doomseeker would never unfreeze.

To verify do this:
1. Go to folder where configuration is stored: (%APPDATA%/.doomseeker, or <exedir>/.doomseeker for portable mode).
2. For each .ini file create appropriate .ini.lock file. These .lock files should be empty.
3. Run Doomseeker.

(0016093)
Zalewa   
2016-10-24 19:29   
I think that after a year without further complaints this ticket can be closed.