0.98.1: Crash when accessing a video file (mp4 or mov)

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

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
sissou
Posts: 20
Joined: Wed Nov 08, 2017 9:24 pm

0.98.1: Crash when accessing a video file (mp4 or mov)

Post by sissou »

XnView MP Linux - Version 0.98.1 64bits (Jan 20 2021)

Thumbnails are generated for every video file.
When I click on a video file, XNViewMP freeze and then crashes.
This happens no matter which useInternalVideoPlayer value (true or false) used.

To reproduce :
1. browse to a folder with an mp4 file
2. select the mp4 file
3. XnViewMP crashes

Code: Select all

 ██████████████████  ████████     vince@LaputA
 ██████████████████  ████████     OS: Manjaro 20.2.1 Nibia
 ██████████████████  ████████     Kernel: x86_64 Linux 5.10.7-3-MANJARO
 ██████████████████  ████████     Uptime: 2h 14m
 ████████            ████████     Packages: 1738
 ████████  ████████  ████████     Shell: bash 5.1.0
 ████████  ████████  ████████     Resolution: 2560x1440
 ████████  ████████  ████████     DE: Xfce4
 ████████  ████████  ████████     WM: Xfwm4
 ████████  ████████  ████████     WM Theme: Matcha-azul
 ████████  ████████  ████████     GTK Theme: Matcha-azul [GTK2]
 ████████  ████████  ████████     Icon Theme: Papirus
 ████████  ████████  ████████     Font: Roboto Condensed, 9
 ████████  ████████  ████████     Disk: 6,4T / 7,3T (92%)
                                  CPU: AMD FX-8350 Eight-Core @ 8x 4GHz
                                  GPU: GeForce GTX 660
                                  RAM: 3088MiB / 15969MiB
[vince@LaputA ~]$ xnviewmp 
==> 1,000000  87,573110  96,000000  (0)
XNVIEW restoreGeometry before : 640 480 
XNVIEW restoreGeometry after : 2560 1365 
w.init
XNVIEW SIZE 2560 1365 


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

libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
MENU install : 0x37cfe20 
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
libpng warning: iCCP: known incorrect sRGB profile
QWidget::setMinimumSize: (favoriteD/QDockWidget) Negative sizes (0,-1) are not possible
QWidget::setMinimumSize: (categoryD/QDockWidget) Negative sizes (0,-1) are not possible
QWidget::setMinimumSize: (prevD/QDockWidget) Negative sizes (0,-1) are not possible
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 255, 255, 255, 178'
QCssParser::parseColorValue: Specified color without alpha value but alpha given: 'rgb 0, 0, 0, 255'
########### BrowserWindow :: ok create (640 480)
BrowserWindow :: changeVisibility()
BrowserWindow :: changeVisibility()
BrowserWindow :: changeVisibility()
########### BrowserWindow :: restoreState (2560 1365)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 2560 1365 
                              => 2270 1084 
BrowserWindow :: restoreState ok => 2270 1084 
XNVIEW SIZE ok 2560 1365 
QWidget::setMinimumSize: (favoriteD/QDockWidget) Negative sizes (0,-1) are not possible
QWidget::setMinimumSize: (categoryD/QDockWidget) Negative sizes (0,-1) are not possible
QWidget::setMinimumSize: (prevD/QDockWidget) Negative sizes (0,-1) are not possible
w.start
### BrowserWindow :: onStart go
#### onCategoryDockVisible (1)
########### BrowserWindow :: restoreState (2560 1365)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 2560 1365 
                              => 1537 1271 
QWidget::setMinimumSize: (favoriteD/QDockWidget) Negative sizes (0,-1) are not possible
QWidget::setMinimumSize: (categoryD/QDockWidget) Negative sizes (0,-1) are not possible
BrowserWindow :: restoreState ok => 902 1271 
### 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 </mnt/StocK1/Photos/2020/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 3964240 
######ThumbLoaderThread :: forever : 3964240 
 ** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
## OPEN FOLDER
######ThumbLoaderThread :: forever 2 : 3964240 
CHECK <0> 
######ThumbLoaderThread :: forever : 3964240 
 ** start condition wait
  ## OPEN DB FOLDER ok  0
  ## UPDATE DB FOLDER ok  1
  ## OPEN FOLDER ok  1
## updateLabel  1
## updateLabels ok  6
ThumbLoaderThread :: stop()
######### CategoryModel :: checkAndSave()
BitmapLoadThread :: stop()
Create children /
Create children /mnt/
Create children /mnt/StocK1/
MyDirModelThread :: run
Create children /mnt/StocK1/Photos/
Create children /mnt/StocK1/Photos/2020/
## OPEN FOLDER done  42
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 3964240 
CHECK <0> 
######ThumbLoaderThread :: forever : 3964240 
 ** start condition wait
### BrowserWindow :: finish
setPathname </mnt/StocK1/Photos/2021/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
## OPEN FOLDER
######ThumbLoaderThread :: forever 2 : 3964240 
CHECK <0> 
######ThumbLoaderThread :: forever : 3964240 
 ** start condition wait
  ## OPEN DB FOLDER ok  0
  ## UPDATE DB FOLDER ok  0
  ## OPEN FOLDER ok  0
## updateLabel  0
## updateLabels ok  0
ThumbLoaderThread :: stop()
######### CategoryModel :: checkAndSave()
BitmapLoadThread :: stop()
## OPEN FOLDER done  6
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 3964240 
CHECK <0> 
######ThumbLoaderThread :: forever : 3964240 
 ** start condition wait
Create children /mnt/StocK1/Photos/2021/
 AFTER WAIT
setPathname </mnt/StocK1/Photos/2021/2021-01-31/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
## OPEN FOLDER
######ThumbLoaderThread :: forever 2 : 3964240 
CHECK <0> 
######ThumbLoaderThread :: forever : 3964240 
 ** start condition wait
  ## OPEN DB FOLDER ok  0
  ## UPDATE DB FOLDER ok  0
  ## OPEN FOLDER ok  0
## updateLabel  0
## updateLabels ok  4
ThumbLoaderThread :: stop()
######### CategoryModel :: checkAndSave()
SORT the list...
STD::SORT... OK
TIME  0  
SORT the list... 0 
SORT the list... 0 
BitmapLoadThread :: stop()
## OPEN FOLDER done  7
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(85)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 3964240 
CHECK <85> 
sizeHints : 192 
### START 85 
######ThumbLoaderThread :: start : 85     -1 -1
### ThumbLoaderThread :: setFirstItemToLoad
 ** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 11-23-16 -.jpg 
BitmapLoadThread :: stop()
LOAD INFO </mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 11-23-16 -.jpg>
BitmapLoadThread: load preview 160 120  (0)
## BitmapLoadThread :: load 160 120 
## Bitmap :: load 2048 
###### LOAD BITMAP </mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 11-23-16 -.jpg>
######### CategoryModel :: checkAndSave()
  ## BitmapLoadThread :: loaded 639 364 
BitmapLoadThread: load full
## BitmapLoadThread :: load -1 -1 
## Bitmap :: load 0 
###### LOAD BITMAP </mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 11-23-16 -.jpg>
## MyView::onLoaded </mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 11-23-16 -.jpg> </mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 11-23-16 -.jpg> </mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 11-23-16 -.jpg> (0) 
## MyView::onLoaded ok 
### resetViewport (0x3a502c0)  ==> 1303 1250  (1303 742) 0 0


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

Create Tree : Fichier
Create Tree : Image
Create Tree : Appareil photo
######ThumbLoaderThread :: forever : 3964240 
 ** start condition wait
### ThumbLoaderThread :: setFirstItemToLoad
 ** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
######ThumbLoaderThread :: forever 2 : 3964240 
CHECK <0> 
######ThumbLoaderThread :: forever : 3964240 
 ** start condition wait
  ## BitmapLoadThread :: loaded 5112 2908 
## MyView::onLoaded </mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 11-23-16 -.jpg> </mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 11-23-16 -.jpg> </mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 11-23-16 -.jpg> (1) 
## MyView::onLoaded ok 
@@ BitmapResizeThread:: stop
### resetViewport (0x3a502c0)  ==> 1303 1250  (1303 741) 0 0
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 16-18-08 - 7.mp4 
BitmapLoadThread :: stop()
## MyView::onLoaded </mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 16-18-08 - 7.mp4> </mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 16-18-08 - 7.mp4> </mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 16-18-08 - 7.mp4> (0) 
## MyView::onLoaded ok 
MyView::change /mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 16-18-08 - 7.mp4 
OPEN player /mnt/StocK1/Photos/2021/2021-01-31/2021-01-31 - 16-18-08 - 7.mp4
OpenGLWidget
QGLWidget2
Widget
XVideo
X11
QtAV 1.13.0(Jul 11 2019, 03:26:54)
Multimedia framework base on Qt and FFmpeg.
Distributed under the terms of LGPLv2.1 or later.
Shanghai, China Copyright (C) 2012-2019 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com
Donate: http://qtav.org/donate.html
Source: https://github.com/wang-bin/QtAV
Home page: http://qtav.org
[ALSOFT] (EE) Failed to set real-time priority for thread: Opération non permise (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Opération non permise (1)
QObject::connect: No such signal QtAV::AVPlayer::metaDataAvailableChanged(bool)


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

Create Tree : Fichier
Create Tree : Vid�o
Create Tree : Audio


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

Create Tree : Fichier
Erreur de segmentation (core dumped)
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.98.1: Crash when accessing a video file (mp4 or mov)

Post by xnview »

could you send me the mp4?
Pierre.
Friedrich
Posts: 27
Joined: Tue Jul 09, 2013 2:36 am

Re: 0.98.1: Crash when accessing a video file (mp4 or mov)

Post by Friedrich »

xnview wrote: Tue Feb 02, 2021 11:49 am could you send me the mp4?
This seems to happen with all video formats; not only mp4
I have the same problem on Manjaro (but not on any Debian-Buster-based Distros or bullseye/sid based Mint 20) for quite a while.
For manjaro/arch there is a xnviewmp package version available that is claiming to use manjaros system-libs instead of the bundled ones:
I have created a new package: xnviewmp-system-libs. This is exactly the same build, except that the bundled Qt/icu libs are removed. Please try it if you want to use XnView without the bundled libs, and discuss any issue related to this configuration here: https://aur.archlinux.org/packages/xnvi ... stem-libs/. Do keep in mind that this is an experimental package though, and things may break when I try to fix other things...
Makes no difference: Same problem.

Thanks for this great software.
MP 1.5.0 x64: Debian 12 (KDE); Manjaro (KDE); Windows 10 x64
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.98.1: Crash when accessing a video file (mp4 or mov)

Post by xnview »

if you try to start from command line, do you have message when it crashes?
Pierre.
Friedrich
Posts: 27
Joined: Tue Jul 09, 2013 2:36 am

Re: 0.98.1: Crash when accessing a video file (mp4 or mov)

Post by Friedrich »

xnview wrote: Wed Feb 03, 2021 3:18 pm if you try to start from command line, do you have message when it crashes?
Yes. Looks the same as sissou's:

Code: Select all

BookmarksModel-GETICON /run/media/mikel/Filme/Filme/Geschichte/  2
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /run/media/mikel/Filme/Filme/Geschichte/Terry Jones Barbarians (2006) - 3 - The Brainy Barbarians.avi 
BitmapLoadThread :: stop()
## MyView::onLoaded </run/media/mikel/Filme/Filme/Geschichte/Terry Jones Barbarians (2006) - 3 - The Brainy Barbarians.avi> </run/media/mikel/Filme/Filme/Geschichte/Terry Jones Barbarians (2006) - 3 - The Brainy Barbarians.avi> </run/media/mikel/Filme/Filme/Geschichte/Terry Jones Barbarians (2006) - 3 - The Brainy Barbarians.avi> (0) 
## MyView::onLoaded ok 
MyView::change /run/media/mikel/Filme/Filme/Geschichte/Terry Jones Barbarians (2006) - 3 - The Brainy Barbarians.avi 
OPEN player /run/media/mikel/Filme/Filme/Geschichte/Terry Jones Barbarians (2006) - 3 - The Brainy Barbarians.avi
OpenGLWidget
QGLWidget2
Widget
XVideo
X11
QtAV 1.13.0(Sep 15 2020, 18:35:29)
Multimedia framework base on Qt and FFmpeg.
Distributed under the terms of LGPLv2.1 or later.
Shanghai, China Copyright (C) 2012-2019 Wang Bin (aka. Lucas Wang) wbsecg1@gmail.com
Donate: http://qtav.org/donate.html
Source: https://github.com/wang-bin/QtAV
Home page: http://qtav.org
capi::version: 0.6.0
[ALSOFT] (EE) Failed to set real-time priority for thread: Die Operation ist nicht erlaubt (1)
[ALSOFT] (EE) Failed to set real-time priority for thread: Die Operation ist nicht erlaubt (1)
QObject::connect: No such signal QtAV::AVPlayer::metaDataAvailableChanged(bool)


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

Create Tree : Datei
Create Tree : Video
Create Tree : Musik


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

Create Tree : Datei
zsh: segmentation fault (core dumped)  xnviewmp
~ >>>                                                                                  [139]




MP 1.5.0 x64: Debian 12 (KDE); Manjaro (KDE); Windows 10 x64
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.98.1: Crash when accessing a video file (mp4 or mov)

Post by xnview »

I've tried on Manjaro KDE 20 and no problem, could you send me a test video file?
Pierre.
Friedrich
Posts: 27
Joined: Tue Jul 09, 2013 2:36 am

Re: 0.98.1: Crash when accessing a video file (mp4 or mov)

Post by Friedrich »

xnview wrote: Fri Feb 05, 2021 7:59 am I've tried on Manjaro KDE 20 and no problem, could you send me a test video file?
Interesting. That gives some direction to look into.
I am sure its not the video files themselves, as it happens with all of them (~1700; mp4,avi,webm, etc.).
Will try with a live-session of the latest iso, make a clean installation on a different machine with it and check on a friends laptop where I installed Manjaro KDE recently.
I will report back.. .
MP 1.5.0 x64: Debian 12 (KDE); Manjaro (KDE); Windows 10 x64
Friedrich
Posts: 27
Joined: Tue Jul 09, 2013 2:36 am

Re: 0.98.1: Crash when accessing a video file (mp4 or mov)

Post by Friedrich »

xnview wrote: Fri Feb 05, 2021 7:59 am I've tried on Manjaro KDE 20 and no problem
Fresh installation and yes: Problem gone!
(Something must have been rotten on my many years old installation..)
Problem solved for me. Thank you!
MP 1.5.0 x64: Debian 12 (KDE); Manjaro (KDE); Windows 10 x64
sissou
Posts: 20
Joined: Wed Nov 08, 2017 9:24 pm

Re: 0.98.1: Crash when accessing a video file (mp4 or mov)

Post by sissou »

Thumbnail preview is deactivated so I can open folders that contain video files.
I can play a video file in XnViewMP. but when I play another file it crashes.

Here are 2 example video files (.MOV) : https://nextcloud.roger1.fr/s/T3HgTbnPEbatzt8
When I play the first it‘s OK.
When I play the second : crash

It‘s the same when I play them in reverse order.

Even when I set video files to play with associated program, a click on the second file make crash.
User avatar
xnview
Author of XnView
Posts: 43328
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.98.1: Crash when accessing a video file (mp4 or mov)

Post by xnview »

sissou wrote: Thu Mar 04, 2021 8:06 am Even when I set video files to play with associated program, a click on the second file make crash.
Windows 10 x64? i have no crash here
Pierre.
Friedrich
Posts: 27
Joined: Tue Jul 09, 2013 2:36 am

Re: 0.98.1: Crash when accessing a video file (mp4 or mov)

Post by Friedrich »

xnview wrote: Mon Mar 08, 2021 9:01 am Windows 10 x64? i have no crash here
The problem seems to be Manjaro (or maybe Arch based distros?) specific.
Problem (back) here as well. With all video files.
Can't even play one of sissou's movs without XNVMP (meanwhile: 0.98.2) crashing.
Edit: Usually I don't bother anymore and start Debian right away. No problems there.
MP 1.5.0 x64: Debian 12 (KDE); Manjaro (KDE); Windows 10 x64
Friedrich
Posts: 27
Joined: Tue Jul 09, 2013 2:36 am

Re: 0.98.1: Crash when accessing a video file (mp4 or mov)

Post by Friedrich »

With 98.4 the problem seems to be gone: All videos play well in Manjaro without crashing. Nice!
I find XnViewMP really useful for browsing and managing videos of all kind.
MP 1.5.0 x64: Debian 12 (KDE); Manjaro (KDE); Windows 10 x64
Post Reply