Xnview shut down with .txt file

*** Please report new bugs here! ***

Moderator: Dreamer

Post Reply
User avatar
ramses
Posts: 27
Joined: Sun Jan 10, 2010 10:54 pm

Xnview shut down with .txt file

Post by ramses »

I use XnView Version 0.64 (Jan 4 2014) under LinuxMint 15 Olivia.
For some weeks, each time I want to open a folder with a text file inside .txt( or a .MOV), Xnview shut down at once. Even if the file is in a sub-folder. I don't remember I had this issue before. I opened in a console to show you messages at this time:
...
LOADED & CREATED
LOAD BITMAP </media/DATA/Famille/Genealogie/Documentation/Norvege/Bygdeboker/Bygdebok_RO_Soga-Sauda/Bygdebok_RO_Soga-Sauda_012.jpg>
GFF :: LoadThumbnail : 0
LOADED & CREATED
sizeHints : 128
sizeHints : 128
### ThumbLoaderThread :: setFirstItemToLoad
### ThumbLoaderThread :: setFirstItemToLoad ok
######ThumbLoaderThread :: forever : 9de01a8
BrowserWindow :: updateMenu()
setPathname <//media/DATA/Famille/Genealogie/Documentation/Norvege/Bygdeboker/Bygdebok_TE_Gjerpen/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(0)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
######ThumbLoaderThread :: forever 2 : 9de01a8
CHECK <0>
######ThumbLoaderThread :: forever : 9de01a8
### ThumbLoaderThread :: setFileList ok
## OPEN FOLDER
## OPEN FOLDER ok
## updateLabels
## updateLabels ok
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
TIME 1
## OPEN FOLDER done
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(9)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 9de01a8
CHECK <8>
### START 9
######ThumbLoaderThread :: start : 8
CHECK : <Bygdebok_Gjerpen_internet_1.txt>
LOAD BITMAP <//media/DATA/Famille/Genealogie/Documentation/Norvege/Bygdeboker/Bygdebok_TE_Gjerpen/txt/Bygdebok_Gjerpen_internet_1.txt>
sizeHints : 128
sizeHints : 128
Segmentation fault
jean@Portable-Jean ~ $
This case is with a sub-folder "txt" in the "Bygdebok_Gjerpen" folder.
I remember that when Xnview was not able to open a file, he just display an icone, did it?
Thanks for help.
Jean
LinuxMint 15 / XnView MP 0.64
User avatar
xnview
Author of XnView
Posts: 34096
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Xnview shut down with .txt file

Post by xnview »

yes, strange. Could you post the file? or is it for any txt file?
Pierre.
User avatar
ramses
Posts: 27
Joined: Sun Jan 10, 2010 10:54 pm

Re: Xnview shut down with .txt file

Post by ramses »

To simplify I create a folder Test with just a very little text file azerty.txt.
When I open this folder I get in the browser the thumbnail of this file. But when I left click on the thumbnail to get the display XnView shut down, as you can see.
I join the file, without the .txt extension because it is not allowed in this forum !
...
BookmarksModel-GETICON //media/DATA/Turi/ 2
BookmarksModel-GETICON //media/DATA/Turi/ 2
BookmarksModel-GETICON 3
BookmarksModel-GETICON //media/DATA/Turi/ 2
setPathname </media/DATA/Photos/Test/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(0)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : a4e3308
CHECK <0>
######ThumbLoaderThread :: forever : a4e3308
## OPEN FOLDER
## OPEN FOLDER ok
## updateLabels
## updateLabels ok
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
TIME 0
AFTER WAIT
setPathname <//media/DATA/Photos/Test/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(0)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
######ThumbLoaderThread :: forever 2 : a4e3308
CHECK <0>
######ThumbLoaderThread :: forever : a4e3308
### ThumbLoaderThread :: setFileList ok
## OPEN FOLDER
## OPEN FOLDER ok
## updateLabels
## updateLabels ok
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
TIME 0
## OPEN FOLDER done
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(2)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : a4e3308
CHECK <1>
### START 2
######ThumbLoaderThread :: start : 1
## OPEN FOLDER done
ThumbLoaderThread :: stop()
LOADED & CREATED
######ThumbLoaderThread :: forever : a4e3308
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(2)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : a4e3308
CHECK <0>
######ThumbLoaderThread :: forever : a4e3308
BrowserWindow :: updateMenu()
BookmarksModel-GETICON 3
sizeHints : 128
sizeHints : 128
### ThumbLoaderThread :: setFirstItemToLoad
### ThumbLoaderThread :: setFirstItemToLoad ok
######ThumbLoaderThread :: forever 2 : a4e3308
CHECK <0>
######ThumbLoaderThread :: forever : a4e3308
BookmarksModel-GETICON 3
BookmarksModel-GETICON //media/DATA/Turi/ 2
BookmarksModel-GETICON 3
BookmarksModel-GETICON 3
BookmarksModel-GETICON 3
BookmarksModel-GETICON 3
BookmarksModel-GETICON 3
BookmarksModel-GETICON 3
BookmarksModel-GETICON 3
BookmarksModel-GETICON 3
BookmarksModel-GETICON //media/DATA/Turi/ 2
MyView::set //media/DATA/Photos/Test/azerty.txt
###### LOAD BITMAP <//media/DATA/Photos/Test/azerty.txt>
Segmentation fault
jean@Portable-Jean ~ $
Jean
Jean
LinuxMint 15 / XnView MP 0.64
User avatar
ramses
Posts: 27
Joined: Sun Jan 10, 2010 10:54 pm

Re: Xnview shut down with .txt file

Post by ramses »

Impossible to join the file with or without .txt extension !!!
It just contain the caracters azertyu
Jean
LinuxMint 15 / XnView MP 0.64
User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Xnview shut down with .txt file

Post by oops66 »

ramses wrote:Impossible to join the file with or without .txt extension !!!
It just contain the caracters azertyu
... Strange, I do not have this bug here ...
...A workaround for the moment should be : Settings\Browser\File list\Custom filter\ uncheck show in preview for .txt files (or remove the "txt" extension)
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64
User avatar
ramses
Posts: 27
Joined: Sun Jan 10, 2010 10:54 pm

Re: Xnview shut down with .txt file

Post by ramses »

I did what you said (I uncheck the three cases), but XnView shut down at once when I open the folder with this file.
As I said before, the same issue happen when I have in the folder a .MOV .avi or .mp4 with or without extension.
Jean
LinuxMint 15 / XnView MP 0.64
User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Xnview shut down with .txt file

Post by oops66 »

...In this case, maybe you can try to Exclude "txt mov avi mp4" ;-)
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64
User avatar
ramses
Posts: 27
Joined: Sun Jan 10, 2010 10:54 pm

Re: Xnview shut down with .txt file

Post by ramses »

I remove just txt, because I have just a text file in this folder to test, without .txt extension this time.
XnView shut down when I tried to open the folder:
...
BookmarksModel-GETICON 3
BookmarksModel-GETICON //media/DATA/Turi/ 2
setPathname </media/DATA/Photos/Test/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(0)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
######ThumbLoaderThread :: forever 2 : 92d8580
CHECK <0>
######ThumbLoaderThread :: forever : 92d8580
### ThumbLoaderThread :: setFileList ok
## OPEN FOLDER
## OPEN FOLDER ok
## updateLabels
## updateLabels ok
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
TIME 0
AFTER WAIT
setPathname <//media/DATA/Photos/Test/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(0)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
######ThumbLoaderThread :: forever 2 : 92d8580
CHECK <0>
######ThumbLoaderThread :: forever : 92d8580
### ThumbLoaderThread :: setFileList ok
## OPEN FOLDER
## OPEN FOLDER ok
## updateLabels
## updateLabels ok
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
TIME 0
## OPEN FOLDER done
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
### ThumbLoaderThread :: setFileList(2)
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: stop() ok
######ThumbLoaderThread :: forever 2 : 92d8580
CHECK <1>
### START 2
######ThumbLoaderThread :: start : 1
### ThumbLoaderThread :: setFileList ok
## OPEN FOLDER done
ThumbLoaderThread :: stop()
LOAD BITMAP </media/DATA/Photos/Test/azerty>
Segmentation fault
jean@Portable-Jean ~ $
I uninstall and re-install XnView, but the same happened.
Jean
LinuxMint 15 / XnView MP 0.64
cday
XnThusiast
Posts: 2569
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Xnview shut down with .txt file

Post by cday »

ramses wrote:Impossible to join the file with or without .txt extension !!!
File formats that can't be uploaded directly can be uploaded if placed in a a zip archive...
User avatar
ramses
Posts: 27
Joined: Sun Jan 10, 2010 10:54 pm

Re: Xnview shut down with .txt file

Post by ramses »

cday wrote:
ramses wrote:Impossible to join the file with or without .txt extension !!!
File formats that can't be uploaded directly can be uploaded if placed in a a zip archive...
Thanks for the idea.

For the XnView shut down problem:
-I restart my system in recovery mode
-then I restart normaly
-then I open XnView
-then I click on the Test folder
-then :evil: Xnview disappeared :bug: :bug:
Jean
LinuxMint 15 / XnView MP 0.64
Post Reply