v.0.21(L) Saved sort settings crash

Bugs and Suggestions in XnView MP or XnConvert MP which have been resolved.

Moderators: XnTriq, helmut, xnview

marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

v.0.21(L) Saved sort settings crash

Post by marsh »

The following sort order saved to ini, crashes program a following start-up:
[Browser]
sort=-999

The following works
[Browser]
sort=0
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: v.0.21(L) Saved sort settings crash

Post by xnview »

This is the custom sort. What do you have in .XnviewSort file?
Pierre.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: v.0.21(L) Saved sort settings crash

Post by marsh »

xnview wrote:This is the custom sort. What do you have in .XnviewSort file?
At the moment, it crashes on startup with this in list:

Code: Select all

XnView sort
apng.apng
8mis m atch.jpg
jpg.jpg
Copy of 8mis m atch.jpg
gif.gif
mis m atch.jpg
mismatch.jpg
mng.mng
Copy of gif.gif
robot.png
pattern.png
tif.tif
xpm.xpm
Copy of tif.tif
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: v.0.21(L) Saved sort settings crash

Post by xnview »

marsh wrote: At the moment, it crashes on startup with this in list:
Even if you have no file in this folder?
Pierre.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: v.0.21(L) Saved sort settings crash

Post by marsh »

xnview wrote:
marsh wrote: At the moment, it crashes on startup with this in list:
Even if you have no file in this folder?
No, without files works. But with all files deleted except one named jpg.jpg, I have this in terminal:

Code: Select all

## OPEN FOLDER
## OPEN FOLDER ok
## updateLabels
## updateLabels ok
Object::disconnect: Unexpected null parameter
QObject::connect: Cannot connect (null)::currentChanged(int) to PreviewInfo::onTabCurrentChanged(int)
*** glibc detected *** ./xnview: free(): invalid next size (fast): 0x09be4040 ***
======= Backtrace: =========
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: v.0.21(L) Saved sort settings crash

Post by xnview »

Ok, i can reproduce it. Do you have all files from .xnviewsort in this folder
Pierre.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: v.0.21(L) Saved sort settings crash

Post by marsh »

xnview wrote:Ok, i can reproduce it. Do you have all files from .xnviewsort in this folder
I have all the files and settings, if you want them for your samples collection.
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: v.0.21(L) Saved sort settings crash

Post by xnview »

marsh wrote:
xnview wrote:Ok, i can reproduce it. Do you have all files from .xnviewsort in this folder
I have all the files and settings, if you want them for your samples collection.
Yes please to be sure
Pierre.
User avatar
xnview
Author of XnView
Posts: 44922
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: v.0.21(L) Saved sort settings crash

Post by xnview »

Please, could you test XnViewMP 0.25
Pierre.
marsh
XnThusiast
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: v.0.21(L) Saved sort settings crash

Post by marsh »

Fixed v.25(L). It has no problem with missing files here.