[solved] Xnview MP 0.96.2 Segmentation fault with .deb and .tar.gz, AppImage working

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

Moderator: Dreamer

Post Reply
v17564
Posts: 2
Joined: Sat May 23, 2020 4:45 pm

[solved] Xnview MP 0.96.2 Segmentation fault with .deb and .tar.gz, AppImage working

Post by v17564 »

Hello. When running Xnview MP installed with x64 .deb package or from .tar.gz version a "Segmentation fault" occurs, but with AppImage it's working without problem.

I use MX Linux 19.1 based in Debian Buster with the original kernels of the distribution:

Code: Select all

Linux mx 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux
Linux mx 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2 (2020-04-29) x86_64 GNU/Linux
Installed from x64 .deb package and running from console:

Code: Select all

$ xnview
Segmentation fault

$ cat kern.log
May 23 17:32:35 mx kernel: [  596.131746] XnView[4239]: segfault at b760 ip 000000000000b760 sp 00007fff4986a738 error 14 in XnView[400000+dc0000]
May 23 17:32:35 mx kernel: [  596.131755] Code: Bad RIP value.
Running from tar.gz:

Code: Select all

$ ./xnview.sh
Violación de segmento

$ cat kern.log
May 23 17:25:28 mx kernel: [  169.271986] XnView[3809]: segfault at b760 ip 000000000000b760 sp 00007ffddee6f778 error 14 in XnView[400000+dc0000]
May 23 17:25:28 mx kernel: [  169.271997] Code: Bad RIP value.
AppImage working without problem:

Code: Select all

$ ./XnView_MP.glibc2.17-x86_64.AppImage

==> 1,000000  96,035483  96,035483  (0)
XNVIEW restoreGeometry before : 640 480 
XNVIEW restoreGeometry after : 988 740 
w.init
XNVIEW SIZE 988 740 


########### BrowserWindow :: BrowserWindow 

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
MENU install : 0x22347a0 
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
libpng warning: iCCP: known incorrect sRGB profile
########### BrowserWindow :: ok create (640 480)
BrowserWindow :: changeVisibility()
BrowserWindow :: changeVisibility()
BrowserWindow :: changeVisibility()
########### BrowserWindow :: restoreState (988 740)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 988 740 
                              => 726 493 
BrowserWindow :: restoreState ok => 726 493 
XNVIEW SIZE ok 988 740 
w.start
### BrowserWindow :: onStart go
#### onFavoriteDockVisible (1)
 BookmarkNode::BookmarkNode : 0x2601d30  
#### onCategoryFilterDockVisible (1)
libpng warning: iCCP: known incorrect sRGB profile
#### onCategoryDockVisible (1)
########### BrowserWindow :: restoreState (988 707)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 988 707 
                              => 726 340 
BrowserWindow :: restoreState ok => 726 340 
### BrowserWindow :: onStart
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
BrowserWindow :: onStart 2
setPathname </home/username/Im�genes/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 2310210 
######ThumbLoaderThread :: forever : 2310210 
 ** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 2310210 
CHECK <0> 
######ThumbLoaderThread :: forever : 2310210 
 ** start condition wait
## OPEN FOLDER
  ## OPEN DB FOLDER ok  0
  ## UPDATE DB FOLDER ok  0
  ## OPEN FOLDER ok  0
## updateLabel  0
## updateLabels ok  0
ThumbLoaderThread :: stop()
######### CategoryModel :: checkAndSave()
SORT the list...
STD::SORT... OK
SORT the list... 0 
SORT the list... 0 
BitmapLoadThread :: stop()
QObject::disconnect: No such signal CategoryView::selectionChanged(const DBFilterModel::DBFileList&)
QObject::connect: No such signal CategoryView::selectionChanged(const DBFilterModel::DBFileList&)
Create children /home/username/
Create children /home/username/Imágenes/
MyDirModelThread :: run
## OPEN FOLDER done  32
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(1)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
######ThumbLoaderThread :: forever 2 : 2310210 
CHECK <0> 
######ThumbLoaderThread :: forever : 2310210 
 ** start condition wait
### ThumbLoaderThread :: setFileList ok
### BrowserWindow :: finish
sizeHints : 128 
CategoryThread :: run
######### CategoryModel :: checkAndSave()
SAVE : 988 707
BrowserWindow :: saveState => 988 707 
                           => 726 340 
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
######ThumbLoaderThread :: run : 2310210 OK
QMutex: destroying locked mutex
 AFTER WAIT
BitmapLoadThread :: stop()
 BookmarkNode::~BookmarkNode : 0x2601d30
Regards.
Last edited by v17564 on Mon May 25, 2020 4:58 pm, edited 1 time in total.
User avatar
xnview
Author of XnView
Posts: 34083
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Xnview MP 0.96.2 Segmentation fault with .deb and .tar.gz, AppImage working

Post by xnview »

please check here and here
Pierre.
v17564
Posts: 2
Joined: Sat May 23, 2020 4:45 pm

Re: Xnview MP 0.96.2 Segmentation fault with .deb and .tar.gz, AppImage working

Post by v17564 »

xnview wrote: Sun May 24, 2020 8:17 am please check here and here
Hello Pierre.
This remove platformthemes/libqgtk3.so work perfect.
Thanks.
Post Reply