Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
Moderators: XnTriq, helmut, xnview
-
- Posts: 13
- Joined: Wed Sep 13, 2023 8:57 pm
Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
xnviewmp 1.5.5, MacOS M1 Pro 13.4.1
About half the time I try to launch xnviewmp, the program hangs immediately. I can "force quit", remove my .ini file, and then it starts up.
I'm not doing anything weird, just an ordinary MacBook with a couple of attached USB drives (and I only really use one of those, and that occasionally). I have no idea what could be making this happen, but when I say half the time I mean it. It doesn't do that *sometimes*, but I've pretty much come to expect that I'll have to force quit, remove the .ini file, and try again.
I've searched for this issue but found nothing helpful other than "try removing the .ini file", which as I said does work, but I don't understand why it's OK that the program creates the very .ini file that's going to make it hang next time I start it up.
I'd be delighted to supply any sort of debugging information that might be available, but I have no idea where to find that.
About half the time I try to launch xnviewmp, the program hangs immediately. I can "force quit", remove my .ini file, and then it starts up.
I'm not doing anything weird, just an ordinary MacBook with a couple of attached USB drives (and I only really use one of those, and that occasionally). I have no idea what could be making this happen, but when I say half the time I mean it. It doesn't do that *sometimes*, but I've pretty much come to expect that I'll have to force quit, remove the .ini file, and try again.
I've searched for this issue but found nothing helpful other than "try removing the .ini file", which as I said does work, but I don't understand why it's OK that the program creates the very .ini file that's going to make it hang next time I start it up.
I'd be delighted to supply any sort of debugging information that might be available, but I have no idea where to find that.
-
- Posts: 13
- Joined: Wed Sep 13, 2023 8:57 pm
Re: Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
Here's what I see in a terminal window when I launch it from the command line (the last bunch of messages):
It gets to that "sizeHints" message, and then the "wait" cursor turns on and that's the last I hear from it.
Code: Select all
### BrowserWindow :: onStart
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: Cannot queue arguments of type 'QList<int>'
(Make sure 'QList<int>' is registered using qRegisterMetaType().)
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
BrowserWindow :: onStart 2
setPathname </Volumes/Macintosh HD/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 343a590
######ThumbLoaderThread :: forever : 343a590
** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
## OPEN FOLDER
######ThumbLoaderThread :: forever 2 : 343a590
CHECK <0>
######ThumbLoaderThread :: forever : 343a590
** start condition wait
## Check folder
## Check companion 0
## Check companion ok 0
## OPEN DB FOLDER ok 0
## UPDATE DB FOLDER ok 1
## OPEN FOLDER ok 1
## updateLabel 1
## updateLabels ok 2
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 0
STL::SORT... 0
SORT the list... 0
SORT the list... 0
BitmapLoadThread :: stop()
QObject::disconnect: No such signal CategoryView::selectionChanged(const DBFilterModel::DBFileList&)
QObject::connect: No such signal CategoryView::selectionChanged(const DBFilterModel::DBFileList&)
Create children /Volumes/
Create children /Volumes/Macintosh HD/
## OPEN FOLDER done 43
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(4)
ThumbLoaderThread :: stop()
** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 343a590
CHECK <4>
### START 4
######ThumbLoaderThread :: start : 4 -1 -1
### BrowserWindow :: finish
######ThumbLoaderThread :: forever : 343a590
** start condition wait
sizeHints : 128
-
- Author of XnView
- Posts: 44490
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
do you had same problem with previous version? In '/Volumes/Macintosh HD/' do you have video files? When it works if you close XnView in a folder with only jpeg/png files, same problam next time?
Pierre.
-
- Posts: 13
- Joined: Wed Sep 13, 2023 8:57 pm
Re: Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
Yes, same problem with two or three previous versions.
In the top-level "Macintosh HD" (main system disk) directory, there are no video files. On the entire volume there are probably some video files, I'm not sure. I do not try to use Xnview for video.
-
- Author of XnView
- Posts: 44490
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
if you try to open a file from another folder, and start browser?
Pierre.
-
- Posts: 13
- Joined: Wed Sep 13, 2023 8:57 pm
Re: Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
The problem is that the hang makes it impossible to use the application at all. I cannot select *any* directory; all I can do is force-quit the application. If I try to start it without deleting my .ini file, it will hang again.
-
- Author of XnView
- Posts: 44490
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
you can try to change PathBrowser from xnview.ini
Pierre.
-
- Posts: 13
- Joined: Wed Sep 13, 2023 8:57 pm
Re: Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
Can I tell it to not save anything at all in the "History" list? I've suspected that the problem might have to do with using it for images on SD cards that later are ejected. However, I have determined that hanging does not depend on that being the case. Still, I don't really need the history; I am fully capable of navigating on my own
-
- Posts: 13
- Joined: Wed Sep 13, 2023 8:57 pm
Re: Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
If I clear both "History" and "PathBrowser" (which were both set to only the main drive, /Volumes/Macintosh HD), it starts up correctly without hanging.
-
- Author of XnView
- Posts: 44490
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
as soon as you use a SD card, you have the issue?
Pierre.
-
- Posts: 13
- Joined: Wed Sep 13, 2023 8:57 pm
Re: Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
No, that was a suspicion but by being careful I realized that SD cards being mounted and unmounted has nothing to do with the problem. For example, I do not have an SD card in the computer today, and the program had the problem this morning (until I cleared "History" and "PathBrowser" in the .ini file).
-
- Author of XnView
- Posts: 44490
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
as soon as you clean History & PathBrowser, no more problem? When you have the problem what do you have in these field?
Pierre.
-
- Posts: 13
- Joined: Wed Sep 13, 2023 8:57 pm
-
- Posts: 13
- Joined: Wed Sep 13, 2023 8:57 pm
Re: Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
Note that in all other respects my Mac is working fine. I don't have random hanging problems with any other applications. I am on the computer literally all day.
-
- Author of XnView
- Posts: 44490
- Joined: Mon Oct 13, 2003 7:31 am
- Location: France
Re: Hangs on startup with "rainbow circle" about 1/2 the time on MacOS
If you clean only PathBrowser when you have the problem, is it enough?
Pierre.