Page 1 of 1
XnView crashes on my Mac
Posted: Sun Jan 13, 2013 11:08 pm
by Inscapes
hi folks,
have an iMac with OSX 10.6.8
XnView began to crash unexpectedly when I was in full-screen mode,
changing from picture to browser view (on tabs).
Then it began to crash just a few seconds after starting.
I recently trashed the app, downloaded the replacement
now the same thing happens: it crashes after only a few seconds.
i really like this program, a shame it's not working,
any suggestions?
thanks
Gary

Re: XnView crashes on my Mac
Posted: Mon Jan 14, 2013 7:18 am
by xnview
In the folder of picture, do you have only picture files?
Re: XnView crashes on my Mac
Posted: Tue Jan 15, 2013 8:01 pm
by oskar
I have exactly the same problem. Reverted back to the previous working version (MP v0.39) but that is very unresponsive when working from a network share. Local folders are ok, although xnview can be somewhat unresponsive as well, but for network shares it is utterly unresponsive and waiting for the running colored circle to go away again can take several minutes (5-10 mins). But at least it doesn't crash.
With the new version I had the crash starting unexpectedly for me as well. Was working ok for a while then all of a sudden started to crash about 1-2 seconds after startup. Doesnt matter how often it crashed each and every time. The windows seems complete, get to see the folder structure to the left, no data in the right window.
Re: XnView crashes on my Mac
Posted: Wed Jan 16, 2013 6:58 am
by xnview
oskar wrote:With the new version I had the crash starting unexpectedly for me as well. Was working ok for a while then all of a sudden started to crash about 1-2 seconds after startup. Doesnt matter how often it crashed each and every time. The windows seems complete, get to see the folder structure to the left, no data in the right window.
You have only picture files in the opened folder in XnViewMP?
Re: XnView crashes on my Mac
Posted: Wed Jan 23, 2013 11:59 am
by oskar
Xnview mp v0.39 it opens without a problem and doesn't crash. It opens with to the left a view on Computer Home and Volumes (MacOSx 10.7.5)
It doesn't open with any pictures selected or opened, I have to go to the relevant directory and then open a picture.
Xnview mp v0.51 the first time it opens it stays open for a second or so, looks like I get exactly the same window as I do with v0.39, so it shows the Computer Home and Volumes in the window to the left, but then after a second or two it crashes.
It doesnt show me any pictures when it opens.
If I then reopen it again it almost immediately crashes again.
This is the top of the error message I get, left out the detail below it:
Process: XnViewMP [34955]
Path: /Users/USER/Downloads/*/XnViewMP 3.app/Contents/MacOS/XnViewMP
Identifier: com.xnview.XnView
Version: 0.51 (0.51)
Code Type: X86-64 (Native)
Parent Process: launchd [134]
Date/Time: 2013-01-23 12:54:29.933 +0100
OS Version: Mac OS X 10.7.5 (11G63)
Report Version: 9
Interval Since Last Report: 1364183 sec
Crashes Since Last Report: 6
Per-App Interval Since Last Report: 36 sec
Per-App Crashes Since Last Report: 5
Anonymous UUID: 6FA8CF1E-CD3F-49D6-854A-1E61E27E0334
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: 0x000000000000000d, 0x0000000000000000
VM Regions Near 0:
-->
__TEXT 0000000100000000-0000000100887000 [ 8732K] r-x/rwx SM=COW /Users/USER/Downloads/*/XnViewMP 3.app/Contents/MacOS/XnViewMP
Application Specific Information:
objc[34955]: garbage collection is OFF
Re: XnView crashes on my Mac
Posted: Thu Jan 24, 2013 8:41 am
by xnview
oskar wrote:
Xnview mp v0.51 the first time it opens it stays open for a second or so, looks like I get exactly the same window as I do with v0.39, so it shows the Computer Home and Volumes in the window to the left, but then after a second or two it crashes.
It doesnt show me any pictures when it opens.
If I then reopen it again it almost immediately crashes again.
could you contact me by mail?
Re: XnView crashes on my Mac
Posted: Wed Jan 30, 2013 10:47 am
by oskar
Found the cause and solution to this.
I tried via another user on this machine and xnviewmp v051 did not crash.
So most likely this had to do with my xnviewmp settings/history/cache, somethign specific to my user.
Before crashing I noticed that there was a second tab in the xnviewmp application pointing to one of my photos.
Turned out I had moved that photo to another location and that crashed xnviewmp .
Dirty fix is to delete your .xnviewmp directory. xnview will then start as if it was the first time it was started.
Delete the directory: /Users/{your user name}/.xnviewmp
Specific fix is to clean up the "session=" line in your xnviewmp.ini file.
Open
/Users/{your user name}/.xnviewmp/xnviewmp.ini
go to the session=browser line
change that line to its default of "session=browser" by deleting everthing on that line behind the word browser.
I had 3 photo entries on that line. All three I had moved with my macosx finder whilst I had them open in xnviewmp.
Repeating this process I tried again, with 2 or more incorrect entries on that line xnviewmp crashed. With 1 incorrect entry on that line it did not crash.
I had three incorrect entries on that line.
The other thing to be aware of is that xnviewmp v0.51 doesn't seem to clean up that line.
So if you close your xnviewmp with just the browser tab active you will still see the last entry (or entries) you had open on that " session=browser, /photes/yourlastphotoopened.jpg" line.
Good luck.
Glad I got it working again as I use this program often.
btw the reason why v0.39 did not crash appears a simple one: it doesn't seem to use that session line at all (tried it by opening and closing photos in tabs).
If I open a photo5.jpg in v0.39 and close xnview then it doesn't record that in the session line.