Page 1 of 2

0.95 Crashes while parsing goutputstream files

Posted: Thu Feb 06, 2020 11:12 pm
by Akovia
XnView: MP 0.95 - 64 bit
Arch Linux 64bit

Crash when encountering goutputstream files

Effect:
Crash

To reproduce:
Not sure exactly. My best guess is when I'm opening files in gimp, the file system is creating a temporary file that xnviewmp tries to identify.

Actual behaviour (bug):
XnViewMP Crashes :bug:

Expected behaviour:
Not crashing

Code: Select all

############################################ InfoPropertiesView

Create Tree : File
GFF :: LoadThumbnail : 91 135  (4) 
ThumbLoaderThread - ADD into DB (-1)
######ThumbLoaderThread :: forever : 2bf3e40 
 ** start condition wait
######### CategoryModel :: checkAndSave()
BitmapLoadThread :: stop()
SORT the list...
TIME  0  
### ThumbLoaderThread :: updateFileList
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: updateFileList ok
sizeHints : 158 
CheckContent...
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(27)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 2bf3e40 
CHECK <1> 
sizeHints : 158 
### START 27 
######ThumbLoaderThread :: start : 1     -1 -1
LOAD BITMAP </mnt/odroid/Anime/A Certain Magical Index (2008)/myart/.goutputstream-340IF0>
### ThumbLoaderThread :: setFirstItemToLoad
 ** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /mnt/odroid/Anime/A Certain Magical Index (2008)/myart/.goutputstream-340IF0 
BitmapLoadThread :: stop()
## BitmapLoadThread :: load -1 -1 
## Bitmap :: load 0 
###### LOAD BITMAP </mnt/odroid/Anime/A Certain Magical Index (2008)/myart/.goutputstream-340IF0>
######### CategoryModel :: checkAndSave()
my_error_exit...<Not a JPEG file: starts with 0x67 0x69>
Segmentation fault (core dumped)

Re: 0.95 Crashes while parsing goutputstream files

Posted: Sat Feb 08, 2020 4:21 pm
by xnview
is it possible to have the .goutput file?

Re: 0.95 Crashes while parsing goutputstream files

Posted: Sat Feb 08, 2020 10:33 pm
by Akovia
Not sure.
Will try to locate it next time it crashes.

Re: 0.95 Crashes while parsing goutputstream files

Posted: Sat Feb 08, 2020 11:37 pm
by Akovia
Don't think it's related but the first crash tonight was by clicking on this xcf file to see a preview.
https://mega.nz/#!xVhQXQRB!Z7PYfcbq6S3z ... AXsmYkLThE

Still on the lookout for a goutputstream file.

Code: Select all

########################################### InfoPropertiesView

Create Tree : File
Create Tree : Image
  ## BitmapLoadThread :: loaded 1920 1080 
## MyView::onLoaded </mnt/odroid/Anime/Code-E (2007)/myart/Code-E - Fanart.jpg> </mnt/odroid/Anime/Code-E (2007)/myart/Code-E - Fanart.jpg> </mnt/odroid/Anime/Code-E (2007)/myart/Code-E - Fanart.jpg> (1) 
## MyView::onLoaded ok 
### resetViewport (0x2012630)  ==> 795 597  (795 447) 0 0
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /mnt/odroid/Anime/Code-E (2007)/myart/Code-E - Clearart.xcf 
BitmapLoadThread :: stop()
## BitmapLoadThread :: load -1 -1 
## Bitmap :: load 0 
###### LOAD BITMAP </mnt/odroid/Anime/Code-E (2007)/myart/Code-E - Clearart.xcf>
######### CategoryModel :: checkAndSave()
munmap_chunk(): invalid pointer
Aborted (core dumped)

Re: 0.95 Crashes while parsing goutputstream files

Posted: Sun Feb 09, 2020 1:58 pm
by xnview
Akovia wrote: Sat Feb 08, 2020 11:37 pm Don't think it's related but the first crash tonight was by clicking on this xcf file to see a preview.
https://mega.nz/#!xVhQXQRB!Z7PYfcbq6S3z ... AXsmYkLThE
i can reproduce the crash with this file

Re: 0.95 Crashes while parsing goutputstream files

Posted: Sun Feb 09, 2020 7:01 pm
by Akovia
I think Thunar was having a problem because xnviewmp was crashing a lot on those goutputstream files, but after a reboot it hasn't happened once.

I will post a goutputstream file if I see one again. but it doesn't seem to be crashing with that error anymore.

Re: 0.95 Crashes while parsing goutputstream files

Posted: Mon Feb 17, 2020 11:28 pm
by Akovia
Found another. Not sure if it's the same problem.

https://mega.nz/#!ZQ5QQa7K!YhssI79UFWfX ... PzrfluJkdI

Code: Select all

############################################ onTimerDirectoryChanged ok

######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /mnt/odroid/Anime/Kaze no Stigma/myart/Kaze no Stigma - Render4.png 
BitmapLoadThread :: stop()
## BitmapLoadThread :: load -1 -1 
## Bitmap :: load 0 
###### LOAD BITMAP </mnt/odroid/Anime/Kaze no Stigma/myart/Kaze no Stigma - Render4.png>
######### CategoryModel :: checkAndSave()
  ## BitmapLoadThread :: loaded 2099 1180 
## MyView::onLoaded </mnt/odroid/Anime/Kaze no Stigma/myart/Kaze no Stigma - Render4.png> </mnt/odroid/Anime/Kaze no Stigma/myart/Kaze no Stigma - Render4.png> </mnt/odroid/Anime/Kaze no Stigma/myart/Kaze no Stigma - Render4.png> (1) 
## MyView::onLoaded ok 
### resetViewport (0x1cb9d60)  ==> 795 597  (795 446) 0 0


############################################ InfoPropertiesView

Create Tree : File
Create Tree : Image
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /mnt/odroid/Anime/Kaze no Stigma/myart/Kaze no Stigma - Render3HD.xcf 
BitmapLoadThread :: stop()
## BitmapLoadThread :: load -1 -1 
## Bitmap :: load 0 
###### LOAD BITMAP </mnt/odroid/Anime/Kaze no Stigma/myart/Kaze no Stigma - Render3HD.xcf>
######### CategoryModel :: checkAndSave()
munmap_chunk(): invalid pointer
Aborted (core dumped)

Re: 0.95 Crashes while parsing goutputstream files

Posted: Wed Mar 18, 2020 11:18 am
by Akovia
Still crashing quite often. Some from just clicking on xcf files, and a few from goutputstream files. (Still unable to capture one to attach) I've collected the errors and the files that caused them in most cases.

https://mega.nz/#!pZpSUSSQ!vL08eaVyXuXR ... pnVlF4cLvk

The other problem is that a few files appear stretched, but look fine when open in other applications.
Screenshot_2020-03-18_07-14-58.jpg
Thanks

Re: 0.95 Crashes while parsing goutputstream files

Posted: Sat Mar 21, 2020 2:15 pm
by xnview
Akovia wrote: Wed Mar 18, 2020 11:18 am Still crashing quite often. Some from just clicking on xcf files, and a few from goutputstream files. (Still unable to capture one to attach) I've collected the errors and the files that caused them in most cases.
Please try the 0.96

Re: 0.95 Crashes while parsing goutputstream files

Posted: Tue Mar 24, 2020 9:15 pm
by Akovia
That seemed to fix the problems with the xcf files. Thanks!!

The stretched images are still the same, but not crashing is the most important thing.

Cheers!

Re: 0.95 Crashes while parsing goutputstream files

Posted: Mon Apr 20, 2020 11:47 am
by Akovia
Have another xcf that crashes.

https://mega.nz/file/5EAFmYID#eBgQ4_Gh6 ... -17swkD9LQ

Code: Select all

MyView::set LOAD FULL /mnt/odroid/Anime/Rec/myart/Rec - Clearart.xcf 
BitmapLoadThread :: stop()
## BitmapLoadThread :: load -1 -1 
## Bitmap :: load 0 
###### LOAD BITMAP </mnt/odroid/Anime/Rec/myart/Rec - Clearart.xcf>
######### CategoryModel :: checkAndSave()
free(): invalid size

Re: 0.95 Crashes while parsing goutputstream files

Posted: Mon Apr 20, 2020 3:30 pm
by xnview
Akovia wrote: Mon Apr 20, 2020 11:47 am Have another xcf that crashes.

https://mega.nz/file/5EAFmYID#eBgQ4_Gh6 ... -17swkD9LQ

Code: Select all

MyView::set LOAD FULL /mnt/odroid/Anime/Rec/myart/Rec - Clearart.xcf 
BitmapLoadThread :: stop()
## BitmapLoadThread :: load -1 -1 
## Bitmap :: load 0 
###### LOAD BITMAP </mnt/odroid/Anime/Rec/myart/Rec - Clearart.xcf>
######### CategoryModel :: checkAndSave()
free(): invalid size
with 0.96.1 too?

Re: 0.95 Crashes while parsing goutputstream files

Posted: Mon Apr 20, 2020 7:46 pm
by Akovia
Just waiting for the new package to be available in the arch aur.

Will post back after I've had a chance to try it.

Re: 0.95 Crashes while parsing goutputstream files

Posted: Fri Apr 24, 2020 7:41 pm
by Akovia
Yes, it still crashes.
Screenshot_2020-04-24_15-40-52.jpg

Code: Select all

######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /mnt/odroid/Anime/Rec (2006)/myart/Rec - Clearart.xcf 
BitmapLoadThread :: stop()
## BitmapLoadThread :: load -1 -1 
## Bitmap :: load 0 
###### LOAD BITMAP </mnt/odroid/Anime/Rec (2006)/myart/Rec - Clearart.xcf>
######### CategoryModel :: checkAndSave()
free(): invalid size
Aborted (core dumped)

Re: 0.95 Crashes while parsing goutputstream files

Posted: Sun Apr 26, 2020 3:57 pm
by xnview
Akovia wrote: Wed Mar 18, 2020 11:18 am The other problem is that a few files appear stretched, but look fine when open in other applications.
Xdpi & ydpi are different, you can disable settings>General>Adjust zoom if x/Y Dpi