0.95 Crashes while parsing goutputstream files

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderator: Dreamer

User avatar
Akovia
Posts: 98
Joined: Sat Apr 02, 2011 2:10 am
Contact:

0.95 Crashes while parsing goutputstream files

Post by Akovia » Thu Feb 06, 2020 11:12 pm

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)
Arch Linux
XnView MP

User avatar
xnview
Author of XnView
Posts: 33337
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by xnview » Sat Feb 08, 2020 4:21 pm

is it possible to have the .goutput file?
Pierre.

User avatar
Akovia
Posts: 98
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by Akovia » Sat Feb 08, 2020 10:33 pm

Not sure.
Will try to locate it next time it crashes.
Arch Linux
XnView MP

User avatar
Akovia
Posts: 98
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by Akovia » 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

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)
Arch Linux
XnView MP

User avatar
xnview
Author of XnView
Posts: 33337
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by xnview » Sun Feb 09, 2020 1:58 pm

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
Pierre.

User avatar
Akovia
Posts: 98
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by Akovia » Sun Feb 09, 2020 7:01 pm

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.
Arch Linux
XnView MP

User avatar
Akovia
Posts: 98
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by Akovia » Mon Feb 17, 2020 11:28 pm

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)
Arch Linux
XnView MP

User avatar
Akovia
Posts: 98
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by Akovia » 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.

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
Arch Linux
XnView MP

User avatar
xnview
Author of XnView
Posts: 33337
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by xnview » Sat Mar 21, 2020 2:15 pm

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
Pierre.

User avatar
Akovia
Posts: 98
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by Akovia » Tue Mar 24, 2020 9:15 pm

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!
Arch Linux
XnView MP

User avatar
Akovia
Posts: 98
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by Akovia » 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
Arch Linux
XnView MP

User avatar
xnview
Author of XnView
Posts: 33337
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by xnview » Mon Apr 20, 2020 3:30 pm

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?
Pierre.

User avatar
Akovia
Posts: 98
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by Akovia » Mon Apr 20, 2020 7:46 pm

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.
Arch Linux
XnView MP

User avatar
Akovia
Posts: 98
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by Akovia » Fri Apr 24, 2020 7:41 pm

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)
Arch Linux
XnView MP

User avatar
xnview
Author of XnView
Posts: 33337
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.95 Crashes while parsing goutputstream files

Post by xnview » Sun Apr 26, 2020 3:57 pm

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
Pierre.

Post Reply