1.5.0 Crash (segmentation fault) with video or audio files

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

Moderators: XnTriq, helmut, xnview, Dreamer

Friedrich
Posts: 27
Joined: Tue Jul 09, 2013 2:36 am

1.5.0 Crash (segmentation fault) with video or audio files

Post by Friedrich »

XnView: MP 1.5.0 64 bit
OS: Debian GNU/Linux 12 64bit
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-10-amd64 (64-bit)
Graphics Platform: X11
Processors: 20 × 13th Gen Intel® Core™ i5-13500
Memory: 31.1 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 770

On opening multimedia files (mp3 or mp4) Xnview crashes with a segmentation fault. (->see the terminal log below)

To reproduce:
1. Click on any mp3 or mp4

Code: Select all

mikel@debian:~$ xnview
0.21.1 (git 402153b) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang16.0.6 (++20230610113458+7cbf1a259152-1~exp1~20230610233511.102)GCC4.2.1; libc++160006; 14:28:52 Jun 30 2023
==> 1,750000  1,750000  87,621069  96,000000  (1)
XNVIEW restoreGeometry before : 640 480 
XNVIEW restoreGeometry after : 1097 1154 
w.init
XNVIEW SIZE 1097 1154 


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

libpng warning: iCCP: known incorrect sRGB profile
MENU install : 0x391b230 
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
libpng warning: iCCP: known incorrect sRGB profile
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 (1097 1154)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 1097 1154 
                              => 835 906 
BrowserWindow :: restoreState ok => 835 906 
XNVIEW SIZE ok 1097 1154 
w.start
### BrowserWindow :: onStart go
#### onFavoriteDockVisible (1)
 BookmarkNode::BookmarkNode : 0x3c1bf10  
 BookmarkNode::BookmarkNode : 0x3c1c250  
 BookmarkNode::add : 0x3c1c250 to 0x3c1bf10
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
#### onCategoryFilterDockVisible (1)
libpng warning: iCCP: known incorrect sRGB profile
#### onCategoryDockVisible (1)
########### BrowserWindow :: restoreState (1097 1122)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 1097 1122 
                              => 835 763 
BrowserWindow :: restoreState ok => 835 763 
### 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/mikel/Schreibtisch/Neuer Ordner/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 3adcb30 
######ThumbLoaderThread :: forever : 3adcb30 
 ** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
## OPEN FOLDER
######ThumbLoaderThread :: forever 2 : 3adcb30 
CHECK <0> 
######ThumbLoaderThread :: forever : 3adcb30 
 ** start condition wait
## Check folder
  ## Check companion  0
  ## Check companion ok  0
  ## OPEN DB FOLDER ok  1
  ## UPDATE DB FOLDER ok  3
  ## OPEN FOLDER ok  4
## updateLabel  4
## updateLabels ok  6
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 0
  STL::SORT... 0
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/mikel/
Create children /home/mikel/Schreibtisch/
Create children /home/mikel/Schreibtisch/Neuer Ordner/
## UPDATE ==> (Neuer Ordner) 
## OPEN FOLDER done  11
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(7)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 3adcb30 
CHECK <7> 
### START 7 
######ThumbLoaderThread :: start : 7     -1 -1
### BrowserWindow :: finish
######ThumbLoaderThread :: forever : 3adcb30 
 ** start condition wait
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
sizeHints : 128 
SORT the list...
STD::SORT... 0
  STL::SORT... 0
SORT the list... 0 
SORT the list... 0 
### ThumbLoaderThread :: updateFileList
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: updateFileList ok
sizeHints : 128 
### ThumbLoaderThread :: setFirstItemToLoad
 ** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /home/mikel/Schreibtisch/Neuer Ordner/20230619_140137.mp4 
BitmapLoadThread :: stop()
## MyView::onLoaded </home/mikel/Schreibtisch/Neuer Ordner/20230619_140137.mp4> </home/mikel/Schreibtisch/Neuer Ordner/20230619_140137.mp4> </home/mikel/Schreibtisch/Neuer Ordner/20230619_140137.mp4> (0) 
## MyView::onLoaded ok 
######ThumbLoaderThread :: forever 2 : 3adcb30 
CHECK <7> 
### START 7 
######ThumbLoaderThread :: start : 7     0 -1
MyView::change /home/mikel/Schreibtisch/Neuer Ordner/20230619_140137.mp4 
OPEN player /home/mikel/Schreibtisch/Neuer Ordner/20230619_140137.mp4
######ThumbLoaderThread :: forever : 3adcb30 
 ** start condition wait
QMDKWidget setMedia /home/mikel/Schreibtisch/Neuer Ordner/20230619_140137.mp4 


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

Create Tree : Datei
Create Tree : Video
Create Tree : Musik
resizeGL>>>>>dpr: 1.750000, logical dpi: (96.000000,96.000000), phy dpi: (88.176582,87.065556)


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

Create Tree : Datei
Segmentation fault (core dumped)
mikel@debian:~$ 

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

Re: 1.5.0 Crash (segmentation fault) with video or audio files

Post by xnview »

could you change in xnview.ini debug=2, and send me the logs?
Pierre.
Friedrich
Posts: 27
Joined: Tue Jul 09, 2013 2:36 am

Re: 1.5.0 Crash (segmentation fault) with video or audio files

Post by Friedrich »

xnview wrote: Tue Jul 18, 2023 2:33 pm could you change in xnview.ini debug=2, and send me the logs?
Of course. Xnview opening in a folder with one file "1.mp4":

Code: Select all

mikel@debian:~$ xnview
0.21.1 (git 402153b) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang16.0.6 (++20230610113458+7cbf1a259152-1~exp1~20230610233511.102)GCC4.2.1; libc++160006; 14:28:52 Jun 30 2023
==> 1,750000  1,750000  87,621069  96,000000  (1)
XNVIEW restoreGeometry before : 640 480 
XNVIEW restoreGeometry after : 1097 1154 
w.init
XNVIEW SIZE 1097 1154 


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

libpng warning: iCCP: known incorrect sRGB profile
MENU install : 0x1c28e40 
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
libpng warning: iCCP: known incorrect sRGB profile
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 (1097 1154)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 1097 1154 
                              => 835 906 
BrowserWindow :: restoreState ok => 835 906 
XNVIEW SIZE ok 1097 1154 
w.start
### BrowserWindow :: onStart go
#### onFavoriteDockVisible (1)
 BookmarkNode::BookmarkNode : 0x20d6a20  
 BookmarkNode::BookmarkNode : 0x20d6ab0  
 BookmarkNode::add : 0x20d6ab0 to 0x20d6a20
 BookmarkNode::BookmarkNode : 0x20eaad0  
 BookmarkNode::add : 0x20eaad0 to 0x20d6a20
BookmarksModel-GETICON /mnt/Daten/Filme/  2
BookmarksModel-GETICON /mnt/Daten/Filme/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
#### onCategoryFilterDockVisible (1)
libpng warning: iCCP: known incorrect sRGB profile
#### onCategoryDockVisible (1)
########### BrowserWindow :: restoreState (1097 1122)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 1097 1122 
                              => 835 763 
BrowserWindow :: restoreState ok => 835 763 
### 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/Daten/Filme/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 1deab40 
######ThumbLoaderThread :: forever : 1deab40 
 ** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 1deab40 
CHECK <0> 
######ThumbLoaderThread :: forever : 1deab40 
 ** start condition wait
## OPEN FOLDER
## Check folder
  ## Check companion  0
  ## Check companion ok  0
  ## OPEN DB FOLDER ok  1
  ## UPDATE DB FOLDER ok  1
  ## OPEN FOLDER ok  1
## updateLabel  1
## updateLabels ok  5
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 0
  STL::SORT... 0
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 /
Create children /mnt/
Create children /mnt/Daten/
Create children /mnt/Daten/Filme/


###### CHECK CHILDRENS 34
==>  6 (lib32)  ->  9 (lost+found)
==>  2 (Books-Temp)  ->  2 (Books-Temp)
  dataChanged2 ==>  12 (none)  ->  15 (root)
  ###### CHECK CHILDRENS ok (10)

## OPEN FOLDER done  31
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(1)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 1deab40 
CHECK <1> 
### BrowserWindow :: finish
### START 1 
######ThumbLoaderThread :: start : 1     -1 -1


###### CHECK CHILDRENS 0
  ###### CHECK CHILDRENS ok (0)

BookmarksModel-GETICON /mnt/Daten/Filme/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
sizeHints : 128 
######ThumbLoaderThread :: forever : 1deab40 
 ** start condition wait
SORT the list...
STD::SORT... 0
  STL::SORT... 0
SORT the list... 0 
SORT the list... 0 
### ThumbLoaderThread :: updateFileList
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: updateFileList ok
sizeHints : 128 
kf.service.services: KApplicationTrader: mimeType "x-scheme-handler/file" not found
######### CategoryModel :: checkAndSave()
SAVE : 1097 1122
BrowserWindow :: saveState => 1097 1122 
                           => 835 763 
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
######ThumbLoaderThread :: run : 1deab40 OK
QMutex: destroying locked mutex
BitmapLoadThread :: stop()
 BookmarkNode::~BookmarkNode : 0x20d6a20  
 BookmarkNode::~BookmarkNode : 0x20d6ab0  Filme
 BookmarkNode::~BookmarkNode : 0x20eaad0  Neuer Ordner
mikel@debian:~$ xnview
0.21.1 (git 402153b) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang16.0.6 (++20230610113458+7cbf1a259152-1~exp1~20230610233511.102)GCC4.2.1; libc++160006; 14:28:52 Jun 30 2023
==> 1,750000  1,750000  87,621069  96,000000  (1)
XNVIEW restoreGeometry before : 640 480 
XNVIEW restoreGeometry after : 1097 1154 
w.init
XNVIEW SIZE 1097 1154 


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

libpng warning: iCCP: known incorrect sRGB profile
MENU install : 0x3352710 
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
libpng warning: iCCP: known incorrect sRGB profile
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 (1097 1154)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 1097 1154 
                              => 835 906 
BrowserWindow :: restoreState ok => 835 906 
XNVIEW SIZE ok 1097 1154 
w.start
### BrowserWindow :: onStart go
#### onFavoriteDockVisible (1)
 BookmarkNode::BookmarkNode : 0x38ed980  
 BookmarkNode::BookmarkNode : 0x38edcf0  
 BookmarkNode::add : 0x38edcf0 to 0x38ed980
 BookmarkNode::BookmarkNode : 0x35c6a30  
 BookmarkNode::add : 0x35c6a30 to 0x38ed980
BookmarksModel-GETICON /mnt/Daten/Filme/  2
BookmarksModel-GETICON /mnt/Daten/Filme/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
#### onCategoryFilterDockVisible (1)
libpng warning: iCCP: known incorrect sRGB profile
#### onCategoryDockVisible (1)
########### BrowserWindow :: restoreState (1097 1122)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 1097 1122 
                              => 835 763 
BrowserWindow :: restoreState ok => 835 763 
### 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/Daten/Filme/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 3513670 
######ThumbLoaderThread :: forever : 3513670 
 ** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 3513670 
CHECK <0> 
######ThumbLoaderThread :: forever : 3513670 
 ** start condition wait
## OPEN FOLDER
## Check folder
  ## Check companion  0
  ## Check companion ok  0
  ## OPEN DB FOLDER ok  0
  ## UPDATE DB FOLDER ok  0
  ## OPEN FOLDER ok  0
## updateLabel  0
## updateLabels ok  4
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 0
  STL::SORT... 0
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 /
Create children /mnt/
Create children /mnt/Daten/
Create children /mnt/Daten/Filme/


###### CHECK CHILDRENS 34
==>  6 (lib32)  ->  9 (lost+found)
==>  2 (Books-Temp)  ->  2 (Books-Temp)
  dataChanged2 ==>  12 (none)  ->  15 (root)
  ###### CHECK CHILDRENS ok (9)

## OPEN FOLDER done  28
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(1)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 3513670 
CHECK <1> 
### START 1 
######ThumbLoaderThread :: start : 1     -1 -1
### BrowserWindow :: finish
######ThumbLoaderThread :: forever : 3513670 
 ** start condition wait


###### CHECK CHILDRENS 0
  ###### CHECK CHILDRENS ok (0)

BookmarksModel-GETICON /mnt/Daten/Filme/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
sizeHints : 128 
SORT the list...
STD::SORT... 0
  STL::SORT... 0
SORT the list... 0 
SORT the list... 0 
### ThumbLoaderThread :: updateFileList
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: updateFileList ok
sizeHints : 128 
### ThumbLoaderThread :: setFirstItemToLoad
 ** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /mnt/Daten/Filme/1.mp4 
BitmapLoadThread :: stop()
## MyView::onLoaded </mnt/Daten/Filme/1.mp4> </mnt/Daten/Filme/1.mp4> </mnt/Daten/Filme/1.mp4> (0) 
## MyView::onLoaded ok 
######ThumbLoaderThread :: forever 2 : 3513670 
CHECK <1> 
MyView::change /mnt/Daten/Filme/1.mp4 
### START 1 
######ThumbLoaderThread :: start : 1     0 -1
OPEN player /mnt/Daten/Filme/1.mp4
######ThumbLoaderThread :: forever : 3513670 
 ** start condition wait
#MDK SDK : 0.21.1 (git 402153b) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang16.0.6 (++20230610113458+7cbf1a259152-1~exp1~20230610233511.102)GCC4.2.1; libc++160006; 14:28:52 Jun 30 2023


QMDKWidget setMedia /mnt/Daten/Filme/1.mp4 
#MDK SDK : default FrameReader0x36a7c40 state: 0=>0=>0, 0

#MDK SDK : default0x36a7c40 virtual void mdk::FrameReader::stop(), current state: 0

#MDK SDK : default FrameReader0x36a7c40 state: 0=>0=>0, 0

#MDK SDK : default0x36a7c40 virtual void mdk::FrameReader::stop(), current state: 0

#MDK SDK : AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Eingabe-/Ausgabefehler

#MDK SDK : 
#MDK SDK : 0x3935fa0 MediaControl.prepare(0, ...) /mnt/Daten/Filme/1.mp4

#MDK SDK : default 0x36a7c40 FrameReader.start(0, ...)

#MDK SDK : default 0x36a7c40 FrameReader::update MediaStatus 0=>0X2

#MDK SDK : default FrameReader0x36a7c40 state: 0=>0=>1, 0

#MDK SDK : default FrameReader0x36a7c40 state: 0=>1=>1, 0

#MDK SDK : ERROR! Unable to seek unloaded media

#MDK SDK : unloaded media's position 0

#MDK SDK : start frame reader thread: 140656667252416

#MDK SDK : try to load av module: /opt/XnView/lib/libffmpeg.so.6



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

Create Tree : Datei
#MDK SDK : ffmpeg loaded: /opt/XnView/lib/libffmpeg.so.6

#MDK SDK : Selected avformat runtime version: 60.9.100 (build: 60.9.100), license: LGPL version 2.1 or later

#MDK SDK : Selected avformat runtime configuration: --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --enable-libvpl --enable-libdrm --disable-postproc --ranlib=llvm-ranlib-16 --nm=llvm-nm-16 --ar=llvm-ar-16 --nvcc=clang-16 --toolchain=hardened --enable-cross-compile --target-os=linux --arch=amd64 --pkg-config=pkg-config --sysroot='$SYSROOT' --cc=clang-16 --enable-lto --enable-pic --extra-cflags='-Wa,--noexecstack -fdata-sections -ffunction-sections -fstack-protector-strong -I/home/runner/work/avbuild/avbuild/tools/Vulkan-Headers/include -I=/usr/include/libdrm -I/tmp/dep/include -Wa,--noexecstack -fdata-sections -ffunction-sections -fstack-protector-strong --target=x86_64-linux-gnu' --extra-ldflags='-s -fuse-ld=lld -Wl,--gc-sections -Wl,--gc-sections --target=x86_64-linux-gnu' --extra-libs=-lrt --disable-stripping --enable-small --disable-outdevs --disable-filters --enable-filter='*null*,afade,*fifo,*format,*resample,aeval,allrgb,allyuv,atempo,pan,*bars,color,*key,crop,draw*,eq*,framerate,*_qsv,*_vaapi,*v4l2*,hw*,scale,volume,test*' --disable-muxers --disable-encoders --disable-decoders --disable-demuxers --enable-wolfssl --enable-decoder='*sub*,movtext,*web*,aac*,*ac3*,alac*,ape,ass,av1*,ccaption,cook,dca,dnxhd,eac3*,exr,truehd,ff*,*yuv*,flv,flac,gif,h26[3-4]*,hevc*,hap,mp[1-3]*,prores,*peg*,mlp,mpl2,nellymoser,opus,pcm*,qtrle,*png*,tiff,rawvideo,sami,srt,ssa,v210*,vc1*,vorbis,vp[6-9]*,wm*,wrapped_avframe,rv*' --enable-demuxer='*sub*,*ac3,*ac,*peg*,*web*,ape,ass,avi,concat,dnxhd,dts*,*dash*,*flv,gif,hls,h264,hevc,kux,matroska,mov,mp3,mxf,ogg,pcm*,rawvideo,rt*p,spdif,srt,vc1,v210*,wav,*pipe,image2,mlv,nsv,nut' --enable-encoder='aac,dnxhd,exr,ff*,*yuv*,gif,h26[3-4]*,av1*,hevc*,mjpeg*,*png,opus,pcm*,prores*,rawvideo,spdif,speedhq,*jpeg,*png,tiff,vp[8-9]*,wrapped_avframe,*nvenc,*qsv,*v4l2m2m,*vaapi,vorbis' --enable-muxer='*jpeg,dnxhd,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,og*,pcm*,rawvideo,spdif,*pipe,*segment,webm,wav,dash,nu*'

#MDK SDK : avformat_version0x7fed2db8b900

#MDK SDK : Trying MediaIO FFmpeg for protocol ""

#MDK SDK : 0x7fece40015b0 open url: /mnt/Daten/Filme/1.mp4

#MDK SDK : 0x7fece40015b0 url opened

#MDK SDK : default 0x36a7c40 FrameReader::update MediaStatus 0X2=>0X2

#MDK SDK : Selected avcodec runtime version: 60.21.100 (build: 60.21.100), license: LGPL version 2.1 or later

#MDK SDK : av_packet_alloc0x7fed2d9e11ca

#MDK SDK : Selected avutil runtime version: 58.13.101 (build: 58.13.101), license: LGPL version 2.1 or later

#MDK SDK : av_dict_copy0x7fed2dc63dc8

#MDK SDK : before avformat_open_input. io: 0x7fece40015b0(FFmpeg/pb: 0x7fece400dc40, url: /mnt/Daten/Filme/1.mp4

#MDK SDK : FFmpeg/Libav runtime git-2023-06-27-9b6d191-avbuild

#MDK SDK : [FFmpeg:mov,mp4,m4a,3gp,3g2,mj2] st: 0 edit list: 1 Missing key frame while searching for timestamp: 0

#MDK SDK : [FFmpeg:mov,mp4,m4a,3gp,3g2,mj2] st: 0 edit list 1 Cannot find an index entry before timestamp: 0.

#MDK SDK : after avformat_open_input. pb: 0x7fece400dc40, iformat: 0x7fed2dd5df18 context flags: 2097280, input format flags: 67141640

#MDK SDK : supports 205 ffmpeg sw pixel formats. unsupported: uyyvyy411 x2rgb10be x2bgr10be p212be p212le p412be p412le

#MDK SDK : Format: mov,mp4,m4a,3gp,3g2,mj2, range: 0 +221452ms, bitrate: 14579948, size: 0
Metadata:
  creation_time: 2023-05-19T09:04:45.000000Z
  encoder: vlc 3.0.18 stream output
  encoder-eng: vlc 3.0.18 stream output
  minor_version: 0
  compatible_brands: mp41avc1
  major_brand: isom
Streams: 2
 Video:
  stream#0, range: 0 +221447ms, frames: 486
  codec: h264 tag: 'avc1' profile: 100 level: 30, yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0, bitrate: 4328, 720x480 par: 0.888889, fps: 2.19466, bframes: 2, primaries: bt470bg, matrix: bt470bg, range: narrow
  extra data(52): 01 64 00 1E FF E1 00 1F 67 64 00 1E AC D9 40 B4 3D BF F0 00 80 00 96 A0 A0 40 A8 00 00 1F 48 00 07 53 04 78 B1 6C B0 01 00 06 68 EB E3 CB 22 C0 FD F8 F8 00 
  Metadata:
   handler_name: VideoHandler
   vendor_id: [0][0][0][0]
   language: eng
   creation_time: 2023-05-19T09:04:45.000000Z
 Audio:
  stream#1, range: 742 +220711ms, frames: 961934
  codec: mp2 tag: 'mp4a' profile: -99 level: -99, sample size: 0/32, block align: 0, frame_size: 1152, f32p stereo(2) @44100Hz, bitrate: 169215
  Metadata:
   handler_name: SoundHandler
   vendor_id: [0][0][0][0]
   language: eng
   creation_time: 2023-05-19T09:04:45.000000Z


#MDK SDK : default FrameReader0x36a7c40 request to pause 1, loaded: 0.

#MDK SDK : default FrameReader0x36a7c40 state: 0=>1=>2, 0

#MDK SDK : default FrameReader0x36a7c40 state requested: 2, current: 0

#MDK SDK : AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Eingabe-/Ausgabefehler

#MDK SDK : 
#MDK SDK : default 0x36a7c40 FrameReader::update MediaStatus 0X2=>0X4

#MDK SDK : ***buffering progress 0%***

#MDK SDK : default 0x36a7c40 FrameReader::update MediaStatus 0X4=>0X14

#MDK SDK : AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Eingabe-/Ausgabefehler

#MDK SDK : 
#MDK SDK : ++++++++++++BUFFERING START++++++++++++

#MDK SDK : 
#MDK SDK : default FrameReader0x36a7c40 state: 0=>2=>1, 1

#MDK SDK : default FrameReader0x36a7c40 update state: 0=>1

#MDK SDK : default FrameReader0x36a7c40 state: 1=>1=>2, 1

#MDK SDK : default FrameReader0x36a7c40 update state: 1=>2

#MDK SDK : starting decode loop thread mdk.vdec0@140655332419264

#MDK SDK : starting decode loop thread mdk.adec1@140655324026560

#MDK SDK : video stream#0 starting decoding loop from decoder index 0...
audio stream#1 starting decoding loop from decoder index 0...
#MDK SDK : 

#MDK SDK : creating video decoder: VAAPI...

#MDK SDK : creating audio decoder: auto...

#MDK SDK : opening video decoder: VAAPI...

#MDK SDK : opening audio decoder: FFmpeg...

#MDK SDK : opening ffmpeg video decoder: h264 ...

#MDK SDK : opening ffmpeg audio decoder: mp2 ...

#MDK SDK : AVCodec.Audio[mp2.] decoder: 1 Single threads

#MDK SDK : mp2 s16p, stereo @44100Hz

#MDK SDK : ***buffering progress 100%***

#MDK SDK : default 0x36a7c40 FrameReader::update MediaStatus 0X14=>0X124

#MDK SDK : AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Eingabe-/Ausgabefehler

#MDK SDK : 
#MDK SDK : ++++++++++++BUFFERING END++++++++++++

#MDK SDK : 
#MDK SDK : audio stream#1 sending 1 invalid AOT frame @0,741609s. seeking: 0

#MDK SDK : 0x3935fa0 1st audio frame @0,741609

#MDK SDK : 0x3935fa0 seek end audio frame @0,741609 seek_pos_: -1, sync_ao_ 1

#MDK SDK : Selected avfilter runtime version: 9.8.102 (build: 9.8.102), license: LGPL version 2.1 or later

#MDK SDK : AudioRenderer format: s16, stereo @44100Hz, requested: s16p, stereo @44100Hz

#MDK SDK : AudioRenderer format changed and reinitialize

#MDK SDK : virtual bool mdk::AudioBackendALSA::close() @214

#MDK SDK : AudioBackendALSA ERROR@216>>> snd_pcm_drop(pcm_) (fffffffb): Eingabe-/Ausgabefehler

#MDK SDK : 
#MDK SDK : buffer time(us): 1451~23777234, period time(us): 725~11888617, perdiods: 2~1024

#MDK SDK : snd_pcm_hw_params_set_buffer_time_near 92864

#MDK SDK : snd_pcm_hw_params_set_buffer_time_near ret 92857

#MDK SDK : buffer_size dt: 5804, request periods: 16

#MDK SDK : snd_pcm_hw_params_set_periods_near 16

#MDK SDK : snd_pcm_hw_params_set_periods_near ret 16

#MDK SDK : trying va from x11 display: (nil)

#MDK SDK : period size: 255, time: 5783

#MDK SDK : Using audio backend: ALSA

#MDK SDK : open x11 display: :0, result: 0x7feccc0c22f0

#MDK SDK : use internal x11 display: 0x7feccc0c22f0

#MDK SDK : 0x7feccc0c1f00 VA-API INFO: VA-API version 1.17.0


#MDK SDK : 0x7feccc0c1f00 VA-API INFO: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so


#MDK SDK : 0x7feccc0c1f00 VA-API INFO: Found init function __vaDriverInit_1_17


#MDK SDK : 0x7feccc0c1f00 VA-API INFO: va_openDriver() returns 0


#MDK SDK : libva version: 1.17. Vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ()

#MDK SDK : VAImageFormat.fcc: 0x41524742 'BGRA', lsb: 1, bpp: 32, depth: 32, mask: 65280,16711680,4278190080,255

#MDK SDK : VAImageFormat.fcc: 0x42475241 'ARGB', lsb: 1, bpp: 32, depth: 32, mask: 16711680,65280,255,4278190080

#MDK SDK : VAImageFormat.fcc: 0x41424752 'RGBA', lsb: 1, bpp: 32, depth: 32, mask: 4278190080,16711680,65280,255

#MDK SDK : VAImageFormat.fcc: 0x52474241 'ABGR', lsb: 1, bpp: 32, depth: 32, mask: 255,65280,16711680,4278190080

#MDK SDK : VAImageFormat.fcc: 0x58524742 'BGRX', lsb: 1, bpp: 32, depth: 24, mask: 65280,16711680,4278190080,0

#MDK SDK : VAImageFormat.fcc: 0x42475258 'XRGB', lsb: 1, bpp: 32, depth: 24, mask: 16711680,65280,255,0

#MDK SDK : VAImageFormat.fcc: 0x58424752 'RGBX', lsb: 1, bpp: 32, depth: 24, mask: 4278190080,16711680,65280,0

#MDK SDK : VAImageFormat.fcc: 0x52474258 'XBGR', lsb: 1, bpp: 32, depth: 24, mask: 255,65280,16711680,0

#MDK SDK : VAImageFormat.fcc: 0x30335241 'AR30', lsb: 1, bpp: 32, depth: 30, mask: 1072693248,1047552,1023,805306368

#MDK SDK : VAImageFormat.fcc: 0x30334241 'AB30', lsb: 1, bpp: 32, depth: 30, mask: 1023,1047552,1072693248,805306368

#MDK SDK : VAImageFormat.fcc: 0x30335258 'XR30', lsb: 1, bpp: 32, depth: 30, mask: 1072693248,1047552,1023,0

#MDK SDK : VAImageFormat.fcc: 0x30334258 'XB30', lsb: 1, bpp: 32, depth: 30, mask: 1023,1047552,1072693248,0

#MDK SDK : VAImageFormat.fcc: 0x36314752 'RG16', lsb: 1, bpp: 16, depth: 16, mask: 63488,2016,31,0

#MDK SDK : VAImageFormat.fcc: 0x56555941 'AYUV', lsb: 1, bpp: 32, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x56555958 'XYUV', lsb: 1, bpp: 32, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x30303859 'Y800', lsb: 1, bpp: 8, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x3231564e 'NV12', lsb: 1, bpp: 12, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x3132564e 'NV21', lsb: 1, bpp: 12, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x32595559 'YUY2', lsb: 1, bpp: 16, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x59565955 'UYVY', lsb: 1, bpp: 16, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x32315659 'YV12', lsb: 1, bpp: 12, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x30323449 'I420', lsb: 1, bpp: 12, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x50313134 '411P', lsb: 1, bpp: 12, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x48323234 '422H', lsb: 1, bpp: 16, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x56323234 '422V', lsb: 1, bpp: 16, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x50343434 '444P', lsb: 1, bpp: 24, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x33434d49 'IMC3', lsb: 1, bpp: 16, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x30313050 'P010', lsb: 1, bpp: 24, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x32313050 'P012', lsb: 1, bpp: 24, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x36313050 'P016', lsb: 1, bpp: 24, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x30313259 'Y210', lsb: 1, bpp: 32, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x32313259 'Y212', lsb: 1, bpp: 32, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x36313259 'Y216', lsb: 1, bpp: 32, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x30313459 'Y410', lsb: 1, bpp: 32, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x32313459 'Y412', lsb: 1, bpp: 64, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x36313459 'Y416', lsb: 1, bpp: 64, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x50424752 'RGBP', lsb: 1, bpp: 24, depth: 24, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x50524742 'BGRP', lsb: 1, bpp: 24, depth: 24, mask: 0,0,0,0

#MDK SDK : AVCodec.Video[h264.] decoder: 16 Frame threads

#MDK SDK : h264 yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0 720x480

#MDK SDK : decode stored recovery packets: 0

#MDK SDK : h264 codec pixel format list: (expected vaapi)

#MDK SDK : vdpau

#MDK SDK : vulkan

#MDK SDK : cuda

#MDK SDK : vaapi (selected)

#MDK SDK : yuv420p

#MDK SDK : no sw format is requested, and no special option is required for hw frames context. using AVHWFramesContext created by avcodec

#MDK SDK : hwdec hw output pixel format: vaapi

#MDK SDK : 0x3935fa0 ao opened: 1, reopen: 1, bad ao: 0

#MDK SDK : 0x7fecd400e138 filter graph: 

#MDK SDK : +-----------+
|    src    |default--[44100Hz s16p:stereo]--swr:default
| (abuffer) |
+-----------+

                                          +---------------+
swr:default--[44100Hz s16:stereo]--default|      dst      |
                                          | (abuffersink) |
                                          +---------------+

                                           +-------------+
src:default--[44100Hz s16p:stereo]--default|     swr     |default--[44100Hz s16:stereo]--dst:default
                                           | (aresample) |
                                           +-------------+



#MDK SDK : failed to queueBuffer or write data

#MDK SDK : bad delay. written: 80 - delay = -18

#MDK SDK : bad delay. written: 80 - delay = -18

#MDK SDK : >>>>>>>>1st audio frame (after seek) rendered: 0, ao: 80, a: 741, delta: -661 +0,026122

Create Tree : Video
Create Tree : Musik
resizeGL>>>>>dpr: 1.750000, logical dpi: (96.000000,96.000000), phy dpi: (88.176582,87.065556)


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

Create Tree : Datei
Segmentation fault (core dumped)
mikel@debian:~$ 

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

Re: 1.5.0 Crash (segmentation fault) with video or audio files

Post by xnview »

is it possible to send the gdb backtrace if you know?
Pierre.
Friedrich
Posts: 27
Joined: Tue Jul 09, 2013 2:36 am

Re: 1.5.0 Crash (segmentation fault) with video or audio files

Post by Friedrich »

xnview wrote: Thu Jul 20, 2023 6:29 am is it possible to send the gdb backtrace if you know?
I might need some handholding with that.
"gdb /opt/XnView/XnView" produces almost no output:

Code: Select all

mikel@debian:~$ gdb /opt/XnView/XnView
GNU gdb (Debian 13.1-3) 13.1
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /opt/XnView/XnView...
(No debugging symbols found in /opt/XnView/XnView)
(gdb) 
MP 1.5.0 x64: Debian 12 (KDE); Manjaro (KDE); Windows 10 x64
User avatar
xnview
Author of XnView
Posts: 44883
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.5.0 Crash (segmentation fault) with video or audio files

Post by xnview »

in gdb, you can type run
Pierre.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: 1.5.0 Crash (segmentation fault) with video or audio files

Post by winnylinny »

I'm getting outright segfaults just by trying to launch the program.

This happened on 1.5.0 and continues to happen with 1.5.2. (KDE Linux.)

It's random. Sometimes XnViewMP will launch correctly, and sometimes it will just segfault.




Here is a sample when it launches correctly:

Code: Select all

0.21.1 (git 402153b) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang16.0.6 (++20230610113458+7cbf1a259152-1~exp1~20230610233511.102)GCC4.2.1; libc++160006; 14:28:52 Jun 30 2023
==> 1.000000  1.000000  93.614590  96.316039  (0)
XNVIEW restoreGeometry before : 640 480
XNVIEW restoreGeometry after : 960 1007
w.init
w.start
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such slot AbstractViewWindow::onPagePrevious()
##PB connect <1onPagePrevious()>
QObject::connect: No such slot AbstractViewWindow::onPageNext()
##PB connect <1onPageNext()>
QObject::connect: No such slot AbstractViewWindow::onPageFirst()
##PB connect <1onPageFirst()>
QObject::connect: No such slot AbstractViewWindow::onPageLast()
##PB connect <1onPageLast()>
QObject::connect: No such slot AbstractViewWindow::onUseSmooth()
##PB connect <1onUseSmooth()>
QObject::connect: No such slot AbstractViewWindow::onNormalize2()
##PB connect <1onNormalize2()>
QObject::connect: No such slot AbstractViewWindow::onAlign()
##PB connect <1onAlign()>
MENU install : 0x2c34f60
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'
@@@@@@@@@@
Create window finished
==> 960
ThumbLoaderThread :: stop()
MyView::change
## Bitmap :: load 2048
###### GFF:load <>
########################################
############### UPDATE MENU ############
########################################
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'
## BaseViewWindow :: ~BaseViewWindow()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
## BaseViewWindow :: ~BaseViewWindow() ok
AbstractViewWindow :: ~AbstractViewWindow()
BitmapLoadThread :: stop()



Here is a sample when it segfaults trying to launch:

Code: Select all

0.21.1 (git 402153b) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang16.0.6 (++20230610113458+7cbf1a259152-1~exp1~20230610233511.102)GCC4.2.1; libc++160006; 14:28:52 Jun 30 2023
==> 1.000000  1.000000  93.614590  96.316039  (0)
XNVIEW restoreGeometry before : 640 480
XNVIEW restoreGeometry after : 960 1007
w.init
w.start
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such slot AbstractViewWindow::onPagePrevious()
##PB connect <1onPagePrevious()>
QObject::connect: No such slot AbstractViewWindow::onPageNext()
##PB connect <1onPageNext()>
QObject::connect: No such slot AbstractViewWindow::onPageFirst()
##PB connect <1onPageFirst()>
QObject::connect: No such slot AbstractViewWindow::onPageLast()
##PB connect <1onPageLast()>
QObject::connect: No such slot AbstractViewWindow::onUseSmooth()
##PB connect <1onUseSmooth()>
QObject::connect: No such slot AbstractViewWindow::onNormalize2()
##PB connect <1onNormalize2()>
QObject::connect: No such slot AbstractViewWindow::onAlign()
##PB connect <1onAlign()>
MENU install : 0x2806b90
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'
@@@@@@@@@@
Create window finished
==> 960
ThumbLoaderThread :: stop()
MyView::change
## Bitmap :: load 2048
###### GFF:load <>
zsh: segmentation fault (core dumped)  xnviewmp



Using gdb when it segaults. It doesn't seem any more insightful than when launching without gdb.

Code: Select all

gdb -q --args /bin/sh /usr/bin/xnviewmp
Reading symbols from /bin/sh...

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.archlinux.org>
Enable debuginfod for this session? (y or [n]) n
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.
(No debugging symbols found in /bin/sh)
(gdb) catch exec
Catchpoint 1 (exec)
(gdb) run
Starting program: /usr/bin/sh /usr/bin/xnviewmp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Detaching after fork from child process 41680]
[Detaching after fork from child process 41681]
process 41677 is executing new program: /opt/xnviewmp/XnView

Catchpoint 1 (exec'd /opt/xnviewmp/XnView), 0x00007ffff7fe4d70 in ?? () from /lib64/ld-linux-x86-64.so.2
(gdb) break main
Breakpoint 2 at 0x545880
(gdb) continue
Continuing.
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
0.21.1 (git 402153b) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang16.0.6 (++20230610113458+7cbf1a259152-1~exp1~20230610233511.102)GCC4.2.1; libc++160006; 14:28:52 Jun 30 2023

Breakpoint 2, 0x0000000000545880 in main ()
(gdb) continue
Continuing.
[New Thread 0x7fffee7ff6c0 (LWP 41705)]
==> 1.000000  1.000000  93.614590  96.316039  (0)
[Detaching after vfork from child process 41706]
XNVIEW restoreGeometry before : 640 480
[New Thread 0x7fffdb5ff6c0 (LWP 41708)]
[New Thread 0x7fffdadfe6c0 (LWP 41709)]
[New Thread 0x7fffda5fd6c0 (LWP 41710)]
[New Thread 0x7fffd9dfc6c0 (LWP 41711)]
[New Thread 0x7fffd95fb6c0 (LWP 41712)]
[New Thread 0x7fffd8dfa6c0 (LWP 41713)]
[New Thread 0x7fffc3fff6c0 (LWP 41714)]
XNVIEW restoreGeometry after : 960 1007
[New Thread 0x7fffc37fe6c0 (LWP 41715)]
w.init
w.start
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
QObject::connect: No such slot AbstractViewWindow::onPagePrevious()
##PB connect <1onPagePrevious()>
QObject::connect: No such slot AbstractViewWindow::onPageNext()
##PB connect <1onPageNext()>
QObject::connect: No such slot AbstractViewWindow::onPageFirst()
##PB connect <1onPageFirst()>
QObject::connect: No such slot AbstractViewWindow::onPageLast()
##PB connect <1onPageLast()>
QObject::connect: No such slot AbstractViewWindow::onUseSmooth()
##PB connect <1onUseSmooth()>
QObject::connect: No such slot AbstractViewWindow::onNormalize2()
##PB connect <1onNormalize2()>
QObject::connect: No such slot AbstractViewWindow::onAlign()
##PB connect <1onAlign()>
MENU install : 0x1c87700
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'
@@@@@@@@@@
Create window finished
==> 960
ThumbLoaderThread :: stop()
MyView::change
## Bitmap :: load 0
###### GFF:load <>

Thread 1 "XnView" received signal SIGSEGV, Segmentation fault.
0x0000000000a4efa9 in ?? ()

(gdb) continue
Continuing.
Warning:
Cannot insert breakpoint 2.
Cannot access memory at address 0x545880
Cannot insert breakpoint -178.
Temporarily disabling shared library breakpoints:
breakpoint #-178
breakpoint #-16
breakpoint #-14
breakpoint #-12

Command aborted.
(gdb)
User avatar
xnview
Author of XnView
Posts: 44883
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.5.0 Crash (segmentation fault) with video or audio files

Post by xnview »

you can use command backtrace
Pierre.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: 1.5.0 Crash (segmentation fault) with video or audio files

Post by winnylinny »

After the segfault:

Code: Select all

Thread 1 "XnView" received signal SIGSEGV, Segmentation fault.
0x0000000000a4efa9 in ?? ()
(gdb) backtrace
#0  0x0000000000a4efa9 in ?? ()
#1  0x000000000082777c in ?? ()
#2  0x00000000008293ff in ?? ()
#3  0x0000000000547f33 in ?? ()
#4  0x00000000008d502a in ?? ()
#5  0x0000000000931410 in ?? ()
#6  0x000000000093211a in ?? ()
#7  0x00000000009c846c in ?? ()
#8  0x00000000009f2c1f in ?? ()
#9  0x00000000009f2c79 in ?? ()
#10 0x00007ffff32ceaf3 in QObject::event(QEvent*) () from /opt/xnviewmp/lib/libQt5Core.so.5
#11 0x00007ffff61a1fd3 in QWidget::event(QEvent*) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#12 0x00007ffff62ab8e1 in QMainWindow::event(QEvent*) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#13 0x00007ffff616378c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#14 0x00007ffff616a250 in QApplication::notify(QObject*, QEvent*) () from /opt/xnviewmp/lib/libQt5Widgets.so.5
#15 0x00007ffff329f6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /opt/xnviewmp/lib/libQt5Core.so.5
#16 0x00007ffff32a2772 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /opt/xnviewmp/lib/libQt5Core.so.5
#17 0x00007ffff32fb813 in ?? () from /opt/xnviewmp/lib/libQt5Core.so.5
#18 0x00007ffff690fa31 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0x00007ffff696ccc9 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0x00007ffff690d0e2 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#21 0x00007ffff32faeac in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/xnviewmp/lib/libQt5Core.so.5
#22 0x00007ffff329e0ca in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/xnviewmp/lib/libQt5Core.so.5
#23 0x00007ffff32a70d3 in QCoreApplication::exec() () from /opt/xnviewmp/lib/libQt5Core.so.5
#24 0x0000000000545a4c in main ()

This happens with version 1.5.2 and 1.5.0.

This does not happen with version 1.4.5.
User avatar
xnview
Author of XnView
Posts: 44883
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: 1.5.0 Crash (segmentation fault) with video or audio files

Post by xnview »

Strange, on which distribution? you can reproduce easily when start?
Pierre.
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: 1.5.0 Crash (segmentation fault) with video or audio files

Post by winnylinny »

This might be a different issue than what the OP described. I can start a new thread if needed.
xnview wrote: Tue Jul 25, 2023 6:43 am Strange, on which distribution? you can reproduce easily when start?
I think it has something to do with Qt libraries.

Yes, I can easily reproduce it when starting. It's like 50% of the time. (Half the time it works, half the time it segfaults.)

This might be Qt-related. It only seems to happen with Manjaro Linux, which uses older libraries and packages than Arch Linux or Garuda Linux.

This issue does not seem to occur with Garuda or Arch.

However, it started with 1.5.0 on Manjaro, and the earlier versions never had this issue on any distribution.
Friedrich
Posts: 27
Joined: Tue Jul 09, 2013 2:36 am

Re: 1.5.0 Crash (segmentation fault) with video or audio files

Post by Friedrich »

winnylinny wrote: Fri Jul 28, 2023 12:29 am It only seems to happen with Manjaro Linux, which uses older libraries and packages than Arch Linux or Garuda Linux.
I have neither your nor my problem with the previous or the most recent updates on Manjaro.

Previous:
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Kernel Version: 6.1.31-2-MANJARO (64-bit)
Graphics Platform: X11

Most recent update:
Operating System: Manjaro Linux
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.1.41-1-MANJARO (64-bit)
Graphics Platform: X11

All Videos play fine and no segfaults at all.
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: 1.5.0 Crash (segmentation fault) with video or audio files

Post by Friedrich »

xnview wrote: Sun Jul 23, 2023 3:09 pm in gdb, you can type run

Code: Select all

mikel@debian:~$ gdb -q --args /bin/sh /opt/XnView/xnview.sh
Reading symbols from /bin/sh...
(No debugging symbols found in /bin/sh)
(gdb) run
Starting program: /usr/bin/sh /opt/XnView/xnview.sh
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 3168]
[Detaching after fork from child process 3169]
process 3165 is executing new program: /opt/XnView/XnView
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0.21.1 (git 402153b) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang16.0.6 (++20230610113458+7cbf1a259152-1~exp1~20230610233511.102)GCC4.2.1; libc++160006; 14:28:52 Jun 30 2023
[New Thread 0x7fffe05ff6c0 (LWP 3170)]
==> 1,750000  1,750000  87,621069  96,000000  (1)
[Detaching after vfork from child process 3171]
XNVIEW restoreGeometry before : 640 480 
[New Thread 0x7fffdcdff6c0 (LWP 3180)]
[New Thread 0x7fffcbbff6c0 (LWP 3181)]
[New Thread 0x7fffcb3fe6c0 (LWP 3182)]
[New Thread 0x7fffcabfd6c0 (LWP 3183)]
[New Thread 0x7fffca3fc6c0 (LWP 3184)]
[New Thread 0x7fffc9bfb6c0 (LWP 3185)]
[New Thread 0x7fffc93fa6c0 (LWP 3186)]
[New Thread 0x7fffc8bf96c0 (LWP 3187)]
[New Thread 0x7fffabfff6c0 (LWP 3188)]
[New Thread 0x7fffab7fe6c0 (LWP 3189)]
[New Thread 0x7fffaaffd6c0 (LWP 3190)]
[New Thread 0x7fffaa7fc6c0 (LWP 3191)]
[New Thread 0x7fffa9ffb6c0 (LWP 3192)]
[New Thread 0x7fffa97fa6c0 (LWP 3193)]
[New Thread 0x7fffa8ff96c0 (LWP 3194)]
[New Thread 0x7fff8bfff6c0 (LWP 3195)]
XNVIEW restoreGeometry after : 1097 1154 
[New Thread 0x7fff8b7fe6c0 (LWP 3196)]
w.init
XNVIEW SIZE 1097 1154 


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

libpng warning: iCCP: known incorrect sRGB profile
MENU install : 0x19e1990 
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
libpng warning: iCCP: known incorrect sRGB profile
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 (1097 1154)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 1097 1154 
                              => 835 906 
BrowserWindow :: restoreState ok => 835 906 
XNVIEW SIZE ok 1097 1154 
w.start
### BrowserWindow :: onStart go
#### onFavoriteDockVisible (1)
 BookmarkNode::BookmarkNode : 0x1f6f980  
 BookmarkNode::BookmarkNode : 0x1d97200  
 BookmarkNode::add : 0x1d97200 to 0x1f6f980
 BookmarkNode::BookmarkNode : 0x1d972e0  
 BookmarkNode::add : 0x1d972e0 to 0x1f6f980
BookmarksModel-GETICON /mnt/Daten/Filme/  2
BookmarksModel-GETICON /mnt/Daten/Filme/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
#### onCategoryFilterDockVisible (1)
libpng warning: iCCP: known incorrect sRGB profile
#### onCategoryDockVisible (1)
########### BrowserWindow :: restoreState (2194 1123)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 2194 1123 
                              => 1932 764 
BrowserWindow :: restoreState ok => 1932 764 
### 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/Daten/Filme/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
[New Thread 0x7fff892626c0 (LWP 3197)]
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 1c82ce0 
######ThumbLoaderThread :: forever : 1c82ce0 
 ** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 1c82ce0 
CHECK <0> 
######ThumbLoaderThread :: forever : 1c82ce0 
 ** start condition wait
## OPEN FOLDER
## Check folder
  ## Check companion  0
  ## Check companion ok  0
  ## OPEN DB FOLDER ok  0
  ## UPDATE DB FOLDER ok  0
  ## OPEN FOLDER ok  0
## updateLabel  0
## updateLabels ok  4
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 0
  STL::SORT... 0
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 /
Create children /mnt/
Create children /mnt/Daten/
Create children /mnt/Daten/Filme/


###### CHECK CHILDRENS 34
==>  6 (lib32)  ->  9 (lost+found)
==>  2 (Books-Temp)  ->  2 (Books-Temp)
  dataChanged2 ==>  12 (none)  ->  15 (root)
  ###### CHECK CHILDRENS ok (8)

## OPEN FOLDER done  30
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(1)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
### BrowserWindow :: finish
######ThumbLoaderThread :: forever 2 : 1c82ce0 
CHECK <1> 
### START 1 
######ThumbLoaderThread :: start : 1     -1 -1


###### CHECK CHILDRENS 0
  ###### CHECK CHILDRENS ok (0)

BookmarksModel-GETICON /mnt/Daten/Filme/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
sizeHints : 128 
######ThumbLoaderThread :: forever : 1c82ce0 
 ** start condition wait
SORT the list...
STD::SORT... 0
  STL::SORT... 0
SORT the list... 0 
SORT the list... 0 
### ThumbLoaderThread :: updateFileList
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: updateFileList ok
sizeHints : 128 
sizeHints : 128 
######### CategoryModel :: checkAndSave()
SAVE : 1097 1122
BrowserWindow :: saveState => 1097 1122 
                           => 835 763 
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
######ThumbLoaderThread :: run : 1c82ce0 OK
QMutex: destroying locked mutex
[Thread 0x7fff892626c0 (LWP 3197) exited]
BitmapLoadThread :: stop()
 BookmarkNode::~BookmarkNode : 0x1f6f980  
 BookmarkNode::~BookmarkNode : 0x1d97200  Filme
 BookmarkNode::~BookmarkNode : 0x1d972e0  Neuer Ordner
[Thread 0x7fffe05ff6c0 (LWP 3170) exited]
[Thread 0x7fffa8ff96c0 (LWP 3194) exited]
[Thread 0x7fff8bfff6c0 (LWP 3195) exited]
[Thread 0x7fffa97fa6c0 (LWP 3193) exited]
[Thread 0x7fffa9ffb6c0 (LWP 3192) exited]
[Thread 0x7fffaa7fc6c0 (LWP 3191) exited]
[Thread 0x7fffaaffd6c0 (LWP 3190) exited]
[Thread 0x7fffab7fe6c0 (LWP 3189) exited]
[Thread 0x7fffc8bf96c0 (LWP 3187) exited]
[Thread 0x7fffc93fa6c0 (LWP 3186) exited]
[Thread 0x7fffc9bfb6c0 (LWP 3185) exited]
[Thread 0x7fffca3fc6c0 (LWP 3184) exited]
[Thread 0x7fffcabfd6c0 (LWP 3183) exited]
[Thread 0x7fffabfff6c0 (LWP 3188) exited]
[Thread 0x7fffcb3fe6c0 (LWP 3182) exited]
[Thread 0x7fffcbbff6c0 (LWP 3181) exited]
[Thread 0x7fffdcdff6c0 (LWP 3180) exited]
[Thread 0x7fff8b7fe6c0 (LWP 3196) exited]
[Inferior 1 (process 3165) exited normally]
(gdb) q
mikel@debian:~$ gdb -q --args /bin/sh /opt/XnView/xnview.sh
Reading symbols from /bin/sh...
(No debugging symbols found in /bin/sh)
(gdb) run
Starting program: /usr/bin/sh /opt/XnView/xnview.sh
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 3433]
[Detaching after fork from child process 3434]
process 3430 is executing new program: /opt/XnView/XnView
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
0.21.1 (git 402153b) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang16.0.6 (++20230610113458+7cbf1a259152-1~exp1~20230610233511.102)GCC4.2.1; libc++160006; 14:28:52 Jun 30 2023
[New Thread 0x7fffe05ff6c0 (LWP 3443)]
==> 1,750000  1,750000  87,621069  96,000000  (1)
[Detaching after vfork from child process 3444]
XNVIEW restoreGeometry before : 640 480 
XNVIEW restoreGeometry after : 1097 1154 
[New Thread 0x7fffdd9ff6c0 (LWP 3446)]
w.init
XNVIEW SIZE 1097 1154 


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

libpng warning: iCCP: known incorrect sRGB profile
MENU install : 0x19b7ad0 
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
ThumbLoaderThread :: stop()
libpng warning: iCCP: known incorrect sRGB profile
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 (1097 1154)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 1097 1154 
                              => 835 906 
BrowserWindow :: restoreState ok => 835 906 
XNVIEW SIZE ok 1097 1154 
[New Thread 0x7fffc6fff6c0 (LWP 3447)]
[New Thread 0x7fffc67fe6c0 (LWP 3448)]
[New Thread 0x7fffc5ffd6c0 (LWP 3449)]
[New Thread 0x7fffc57fc6c0 (LWP 3450)]
[New Thread 0x7fffc4ffb6c0 (LWP 3451)]
[New Thread 0x7fffaffff6c0 (LWP 3452)]
[New Thread 0x7fffa77fe6c0 (LWP 3453)]
[New Thread 0x7fffaf7fe6c0 (LWP 3454)]
[New Thread 0x7fffaeffd6c0 (LWP 3455)]
[New Thread 0x7fffae7fc6c0 (LWP 3456)]
[New Thread 0x7fffadffb6c0 (LWP 3457)]
[New Thread 0x7fffad7fa6c0 (LWP 3458)]
[New Thread 0x7fffacff96c0 (LWP 3459)]
[New Thread 0x7fffa7fff6c0 (LWP 3460)]
[New Thread 0x7fffa6ffd6c0 (LWP 3461)]
[New Thread 0x7fffa67fc6c0 (LWP 3462)]
w.start
### BrowserWindow :: onStart go
#### onFavoriteDockVisible (1)
 BookmarkNode::BookmarkNode : 0x1ef7f10  
 BookmarkNode::BookmarkNode : 0x1ef8280  
 BookmarkNode::add : 0x1ef8280 to 0x1ef7f10
 BookmarkNode::BookmarkNode : 0x1dbf150  
 BookmarkNode::add : 0x1dbf150 to 0x1ef7f10
BookmarksModel-GETICON /mnt/Daten/Filme/  2
BookmarksModel-GETICON /mnt/Daten/Filme/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
#### onCategoryFilterDockVisible (1)
libpng warning: iCCP: known incorrect sRGB profile
#### onCategoryDockVisible (1)
########### BrowserWindow :: restoreState (1097 1122)
ThumbLoaderThread :: stop()
BrowserWindow :: restoreState => 1097 1122 
                              => 835 763 
BrowserWindow :: restoreState ok => 835 763 
### 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/Daten/Filme/>
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(0)
[New Thread 0x7fffa512f6c0 (LWP 3463)]
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 1b798c0 
######ThumbLoaderThread :: forever : 1b798c0 
 ** start condition wait
### ThumbLoaderThread :: setFileList() after wait
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 1b798c0 
CHECK <0> 
######ThumbLoaderThread :: forever : 1b798c0 
 ** start condition wait
## OPEN FOLDER
## Check folder
  ## Check companion  0
  ## Check companion ok  0
  ## OPEN DB FOLDER ok  1
  ## UPDATE DB FOLDER ok  1
  ## OPEN FOLDER ok  1
## updateLabel  1
## updateLabels ok  6
ThumbLoaderThread :: stop()
SORT the list...
STD::SORT... 0
  STL::SORT... 0
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 /
Create children /mnt/
Create children /mnt/Daten/
Create children /mnt/Daten/Filme/


###### CHECK CHILDRENS 34
==>  6 (lib32)  ->  9 (lost+found)
==>  2 (Books-Temp)  ->  2 (Books-Temp)
  dataChanged2 ==>  12 (none)  ->  15 (root)
  ###### CHECK CHILDRENS ok (8)

## OPEN FOLDER done  32
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList(1)
ThumbLoaderThread :: stop()
 ** start condition wake one 2
### ThumbLoaderThread :: setFileList ok
######ThumbLoaderThread :: forever 2 : 1b798c0 
CHECK <1> 
### BrowserWindow :: finish
### START 1 
######ThumbLoaderThread :: start : 1     -1 -1
######ThumbLoaderThread :: forever : 1b798c0 
 ** start condition wait


###### CHECK CHILDRENS 0
  ###### CHECK CHILDRENS ok (0)

BookmarksModel-GETICON /mnt/Daten/Filme/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
BookmarksModel-GETICON /home/mikel/Schreibtisch/Neuer Ordner/  2
sizeHints : 128 
SORT the list...
STD::SORT... 0
  STL::SORT... 0
SORT the list... 0 
SORT the list... 0 
### ThumbLoaderThread :: updateFileList
ThumbLoaderThread :: stop()
### ThumbLoaderThread :: updateFileList ok
sizeHints : 128 
### ThumbLoaderThread :: setFirstItemToLoad
 ** start condition wake one 3
### ThumbLoaderThread :: setFirstItemToLoad ok
######### CategoryModel :: checkAndSave()
MyView::set LOAD FULL /mnt/Daten/Filme/1.mp4 
BitmapLoadThread :: stop()
## MyView::onLoaded </mnt/Daten/Filme/1.mp4> </mnt/Daten/Filme/1.mp4> </mnt/Daten/Filme/1.mp4> (0) 
## MyView::onLoaded ok 
######ThumbLoaderThread :: forever 2 : 1b798c0 
CHECK <1> 
MyView::change /mnt/Daten/Filme/1.mp4 
OPEN player /mnt/Daten/Filme/1.mp4
### START 1 
######ThumbLoaderThread :: start : 1     0 -1
######ThumbLoaderThread :: forever : 1b798c0 
 ** start condition wait
[New Thread 0x7fffa492e6c0 (LWP 3548)]
[New Thread 0x7fff77fff6c0 (LWP 3552)]
[New Thread 0x7fff777fe6c0 (LWP 3553)]
[New Thread 0x7fff76ffd6c0 (LWP 3557)]
#MDK SDK : 0.21.1 (git 402153b) - Multimedia Development Kit. Copyright (c) 2016-2023 WangBin(QtAV author) <wbsecg1 at gmail.com>
Build for: Linux x86_64; Clang16.0.6 (++20230610113458+7cbf1a259152-1~exp1~20230610233511.102)GCC4.2.1; libc++160006; 14:28:52 Jun 30 2023


[New Thread 0x7fff767fc6c0 (LWP 3558)]
[New Thread 0x7fff75ffb6c0 (LWP 3559)]
QMDKWidget setMedia /mnt/Daten/Filme/1.mp4 
#MDK SDK : default FrameReader0x1d692c0 state: 0=>0=>0, 0

#MDK SDK : default0x1d692c0 virtual void mdk::FrameReader::stop(), current state: 0

#MDK SDK : default FrameReader0x1d692c0 state: 0=>0=>0, 0

#MDK SDK : default0x1d692c0 virtual void mdk::FrameReader::stop(), current state: 0

#MDK SDK : AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Eingabe-/Ausgabefehler

#MDK SDK : 
#MDK SDK : 0x2234d40 MediaControl.prepare(0, ...) /mnt/Daten/Filme/1.mp4

#MDK SDK : default 0x1d692c0 FrameReader.start(0, ...)

#MDK SDK : default 0x1d692c0 FrameReader::update MediaStatus 0=>0X2

#MDK SDK : default FrameReader0x1d692c0 state: 0=>0=>1, 0

#MDK SDK : default FrameReader0x1d692c0 state: 0=>1=>1, 0

[New Thread 0x7fff757fa6c0 (LWP 3560)]
#MDK SDK : ERROR! Unable to seek unloaded media

#MDK SDK : unloaded media's position 0

#MDK SDK : start frame reader thread: 140735164688064

#MDK SDK : try to load av module: /opt/XnView/lib/libffmpeg.so.6



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

Create Tree : Datei
#MDK SDK : ffmpeg loaded: /opt/XnView/lib/libffmpeg.so.6

#MDK SDK : Selected avformat runtime version: 60.9.100 (build: 60.9.100), license: LGPL version 2.1 or later

#MDK SDK : Selected avformat runtime configuration: --extra-version=avbuild --disable-doc --disable-debug --disable-static --enable-shared --enable-runtime-cpudetect --enable-libvpl --enable-libdrm --disable-postproc --ranlib=llvm-ranlib-16 --nm=llvm-nm-16 --ar=llvm-ar-16 --nvcc=clang-16 --toolchain=hardened --enable-cross-compile --target-os=linux --arch=amd64 --pkg-config=pkg-config --sysroot='$SYSROOT' --cc=clang-16 --enable-lto --enable-pic --extra-cflags='-Wa,--noexecstack -fdata-sections -ffunction-sections -fstack-protector-strong -I/home/runner/work/avbuild/avbuild/tools/Vulkan-Headers/include -I=/usr/include/libdrm -I/tmp/dep/include -Wa,--noexecstack -fdata-sections -ffunction-sections -fstack-protector-strong --target=x86_64-linux-gnu' --extra-ldflags='-s -fuse-ld=lld -Wl,--gc-sections -Wl,--gc-sections --target=x86_64-linux-gnu' --extra-libs=-lrt --disable-stripping --enable-small --disable-outdevs --disable-filters --enable-filter='*null*,afade,*fifo,*format,*resample,aeval,allrgb,allyuv,atempo,pan,*bars,color,*key,crop,draw*,eq*,framerate,*_qsv,*_vaapi,*v4l2*,hw*,scale,volume,test*' --disable-muxers --disable-encoders --disable-decoders --disable-demuxers --enable-wolfssl --enable-decoder='*sub*,movtext,*web*,aac*,*ac3*,alac*,ape,ass,av1*,ccaption,cook,dca,dnxhd,eac3*,exr,truehd,ff*,*yuv*,flv,flac,gif,h26[3-4]*,hevc*,hap,mp[1-3]*,prores,*peg*,mlp,mpl2,nellymoser,opus,pcm*,qtrle,*png*,tiff,rawvideo,sami,srt,ssa,v210*,vc1*,vorbis,vp[6-9]*,wm*,wrapped_avframe,rv*' --enable-demuxer='*sub*,*ac3,*ac,*peg*,*web*,ape,ass,avi,concat,dnxhd,dts*,*dash*,*flv,gif,hls,h264,hevc,kux,matroska,mov,mp3,mxf,ogg,pcm*,rawvideo,rt*p,spdif,srt,vc1,v210*,wav,*pipe,image2,mlv,nsv,nut' --enable-encoder='aac,dnxhd,exr,ff*,*yuv*,gif,h26[3-4]*,av1*,hevc*,mjpeg*,*png,opus,pcm*,prores*,rawvideo,spdif,speedhq,*jpeg,*png,tiff,vp[8-9]*,wrapped_avframe,*nvenc,*qsv,*v4l2m2m,*vaapi,vorbis' --enable-muxer='*jpeg,dnxhd,fifo,flv,gif,hls,h264,hevc,image2,mov,mp4,mpegts,matroska,null,og*,pcm*,rawvideo,spdif,*pipe,*segment,webm,wav,dash,nu*'

#MDK SDK : avformat_version0x7fff5f78b900

#MDK SDK : Trying MediaIO FFmpeg for protocol ""

#MDK SDK : 0x7fff640015b0 open url: /mnt/Daten/Filme/1.mp4

#MDK SDK : 0x7fff640015b0 url opened

#MDK SDK : default 0x1d692c0 FrameReader::update MediaStatus 0X2=>0X2

#MDK SDK : Selected avcodec runtime version: 60.21.100 (build: 60.21.100), license: LGPL version 2.1 or later

#MDK SDK : av_packet_alloc0x7fff5f5e11ca

#MDK SDK : Selected avutil runtime version: 58.13.101 (build: 58.13.101), license: LGPL version 2.1 or later

#MDK SDK : av_dict_copy0x7fff5f863dc8

#MDK SDK : before avformat_open_input. io: 0x7fff640015b0(FFmpeg/pb: 0x7fff6400dc40, url: /mnt/Daten/Filme/1.mp4

#MDK SDK : FFmpeg/Libav runtime git-2023-06-27-9b6d191-avbuild

#MDK SDK : [FFmpeg:mov,mp4,m4a,3gp,3g2,mj2] st: 0 edit list: 1 Missing key frame while searching for timestamp: 0

#MDK SDK : [FFmpeg:mov,mp4,m4a,3gp,3g2,mj2] st: 0 edit list 1 Cannot find an index entry before timestamp: 0.

#MDK SDK : after avformat_open_input. pb: 0x7fff6400dc40, iformat: 0x7fff5f95df18 context flags: 2097280, input format flags: 67141640

#MDK SDK : supports 205 ffmpeg sw pixel formats. unsupported: uyyvyy411 x2rgb10be x2bgr10be p212be p212le p412be p412le

#MDK SDK : Format: mov,mp4,m4a,3gp,3g2,mj2, range: 0 +221452ms, bitrate: 14579948, size: 0
Metadata:
  creation_time: 2023-05-19T09:04:45.000000Z
  encoder: vlc 3.0.18 stream output
  encoder-eng: vlc 3.0.18 stream output
  minor_version: 0
  compatible_brands: mp41avc1
  major_brand: isom
Streams: 2
 Video:
  stream#0, range: 0 +221447ms, frames: 486
  codec: h264 tag: 'avc1' profile: 100 level: 30, yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0, bitrate: 4328, 720x480 par: 0.888889, fps: 2.19466, bframes: 2, primaries: bt470bg, matrix: bt470bg, range: narrow
  extra data(52): 01 64 00 1E FF E1 00 1F 67 64 00 1E AC D9 40 B4 3D BF F0 00 80 00 96 A0 A0 40 A8 00 00 1F 48 00 07 53 04 78 B1 6C B0 01 00 06 68 EB E3 CB 22 C0 FD F8 F8 00 
  Metadata:
   handler_name: VideoHandler
   vendor_id: [0][0][0][0]
   language: eng
   creation_time: 2023-05-19T09:04:45.000000Z
 Audio:
  stream#1, range: 742 +220711ms, frames: 961934
  codec: mp2 tag: 'mp4a' profile: -99 level: -99, sample size: 0/32, block align: 0, frame_size: 1152, f32p stereo(2) @44100Hz, bitrate: 169215
  Metadata:
   handler_name: SoundHandler
   vendor_id: [0][0][0][0]
   language: eng
   creation_time: 2023-05-19T09:04:45.000000Z


#MDK SDK : default FrameReader0x1d692c0 request to pause 1, loaded: 0.

#MDK SDK : default FrameReader0x1d692c0 state: 0=>1=>2, 0

#MDK SDK : default FrameReader0x1d692c0 state requested: 2, current: 0

#MDK SDK : AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Eingabe-/Ausgabefehler

#MDK SDK : 
#MDK SDK : default 0x1d692c0 FrameReader::update MediaStatus 0X2=>0X4

#MDK SDK : ***buffering progress 0%***

#MDK SDK : default 0x1d692c0 FrameReader::update MediaStatus 0X4=>0X14

#MDK SDK : AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Eingabe-/Ausgabefehler

#MDK SDK : 
#MDK SDK : ++++++++++++BUFFERING START++++++++++++

#MDK SDK : 
#MDK SDK : default FrameReader0x1d692c0 state: 0=>2=>1, 1

#MDK SDK : default FrameReader0x1d692c0 update state: 0=>1

[New Thread 0x7fff5e3fe6c0 (LWP 3561)]
#MDK SDK : default FrameReader0x1d692c0 state: 1=>1=>2, 1

#MDK SDK : default FrameReader0x1d692c0 update state: 1=>2

#MDK SDK : starting decode loop thread mdk.vdec0@140734774634176

#MDK SDK : video stream#0 starting decoding loop from decoder index 0...

[New Thread 0x7fff5dbfd6c0 (LWP 3562)]
#MDK SDK : creating video decoder: VAAPI...

#MDK SDK : opening video decoder: VAAPI...

#MDK SDK : opening ffmpeg video decoder: h264 ...

#MDK SDK : starting decode loop thread mdk.adec1@140734766241472

#MDK SDK : audio stream#1 starting decoding loop from decoder index 0...

#MDK SDK : creating audio decoder: auto...

#MDK SDK : opening audio decoder: FFmpeg...

#MDK SDK : opening ffmpeg audio decoder: mp2 ...

#MDK SDK : AVCodec.Audio[mp2.] decoder: 1 Single threads

#MDK SDK : mp2 s16p, stereo @44100Hz

#MDK SDK : ***buffering progress 100%***

#MDK SDK : default 0x1d692c0 FrameReader::update MediaStatus 0X14=>0X124

#MDK SDK : AudioBackendALSA ERROR@285>>> snd_pcm_pause(pcm_, value) (fffffffb): Eingabe-/Ausgabefehler

#MDK SDK : 
#MDK SDK : ++++++++++++BUFFERING END++++++++++++

#MDK SDK : 
#MDK SDK : audio stream#1 sending 1 invalid AOT frame @0,741609s. seeking: 0

#MDK SDK : 0x2234d40 1st audio frame @0,741609

#MDK SDK : 0x2234d40 seek end audio frame @0,741609 seek_pos_: -1, sync_ao_ 1

#MDK SDK : Selected avfilter runtime version: 9.8.102 (build: 9.8.102), license: LGPL version 2.1 or later

#MDK SDK : AudioRenderer format: s16, stereo @44100Hz, requested: s16p, stereo @44100Hz

#MDK SDK : AudioRenderer format changed and reinitialize

#MDK SDK : virtual bool mdk::AudioBackendALSA::close() @214

#MDK SDK : AudioBackendALSA ERROR@216>>> snd_pcm_drop(pcm_) (fffffffb): Eingabe-/Ausgabefehler

#MDK SDK : 
#MDK SDK : buffer time(us): 1451~23777234, period time(us): 725~11888617, perdiods: 2~1024

#MDK SDK : snd_pcm_hw_params_set_buffer_time_near 92864

#MDK SDK : snd_pcm_hw_params_set_buffer_time_near ret 92857

#MDK SDK : buffer_size dt: 5804, request periods: 16

#MDK SDK : snd_pcm_hw_params_set_periods_near 16

#MDK SDK : snd_pcm_hw_params_set_periods_near ret 16

#MDK SDK : trying va from x11 display: (nil)

#MDK SDK : open x11 display: :0, result: 0x7fff540c22f0

#MDK SDK : use internal x11 display: 0x7fff540c22f0

#MDK SDK : 0x7fff540c1f00 VA-API INFO: VA-API version 1.17.0


#MDK SDK : period size: 255, time: 5783

#MDK SDK : Using audio backend: ALSA

#MDK SDK : 0x7fff540c1f00 VA-API INFO: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so


#MDK SDK : 0x7fff540c1f00 VA-API INFO: Found init function __vaDriverInit_1_17


#MDK SDK : 0x7fff540c1f00 VA-API INFO: va_openDriver() returns 0


#MDK SDK : libva version: 1.17. Vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ()

#MDK SDK : VAImageFormat.fcc: 0x41524742 'BGRA', lsb: 1, bpp: 32, depth: 32, mask: 65280,16711680,4278190080,255

#MDK SDK : VAImageFormat.fcc: 0x42475241 'ARGB', lsb: 1, bpp: 32, depth: 32, mask: 16711680,65280,255,4278190080

#MDK SDK : VAImageFormat.fcc: 0x41424752 'RGBA', lsb: 1, bpp: 32, depth: 32, mask: 4278190080,16711680,65280,255

#MDK SDK : VAImageFormat.fcc: 0x52474241 'ABGR', lsb: 1, bpp: 32, depth: 32, mask: 255,65280,16711680,4278190080

#MDK SDK : VAImageFormat.fcc: 0x58524742 'BGRX', lsb: 1, bpp: 32, depth: 24, mask: 65280,16711680,4278190080,0

#MDK SDK : VAImageFormat.fcc: 0x42475258 'XRGB', lsb: 1, bpp: 32, depth: 24, mask: 16711680,65280,255,0

#MDK SDK : VAImageFormat.fcc: 0x58424752 'RGBX', lsb: 1, bpp: 32, depth: 24, mask: 4278190080,16711680,65280,0

#MDK SDK : VAImageFormat.fcc: 0x52474258 'XBGR', lsb: 1, bpp: 32, depth: 24, mask: 255,65280,16711680,0

#MDK SDK : VAImageFormat.fcc: 0x30335241 'AR30', lsb: 1, bpp: 32, depth: 30, mask: 1072693248,1047552,1023,805306368

#MDK SDK : VAImageFormat.fcc: 0x30334241 'AB30', lsb: 1, bpp: 32, depth: 30, mask: 1023,1047552,1072693248,805306368

#MDK SDK : VAImageFormat.fcc: 0x30335258 'XR30', lsb: 1, bpp: 32, depth: 30, mask: 1072693248,1047552,1023,0

#MDK SDK : VAImageFormat.fcc: 0x30334258 'XB30', lsb: 1, bpp: 32, depth: 30, mask: 1023,1047552,1072693248,0

#MDK SDK : VAImageFormat.fcc: 0x36314752 'RG16', lsb: 1, bpp: 16, depth: 16, mask: 63488,2016,31,0

#MDK SDK : VAImageFormat.fcc: 0x56555941 'AYUV', lsb: 1, bpp: 32, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x56555958 'XYUV', lsb: 1, bpp: 32, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x30303859 'Y800', lsb: 1, bpp: 8, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x3231564e 'NV12', lsb: 1, bpp: 12, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x3132564e 'NV21', lsb: 1, bpp: 12, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x32595559 'YUY2', lsb: 1, bpp: 16, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x59565955 'UYVY', lsb: 1, bpp: 16, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x32315659 'YV12', lsb: 1, bpp: 12, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x30323449 'I420', lsb: 1, bpp: 12, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x50313134 '411P', lsb: 1, bpp: 12, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x48323234 '422H', lsb: 1, bpp: 16, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x56323234 '422V', lsb: 1, bpp: 16, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x50343434 '444P', lsb: 1, bpp: 24, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x33434d49 'IMC3', lsb: 1, bpp: 16, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x30313050 'P010', lsb: 1, bpp: 24, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x32313050 'P012', lsb: 1, bpp: 24, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x36313050 'P016', lsb: 1, bpp: 24, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x30313259 'Y210', lsb: 1, bpp: 32, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x32313259 'Y212', lsb: 1, bpp: 32, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x36313259 'Y216', lsb: 1, bpp: 32, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x30313459 'Y410', lsb: 1, bpp: 32, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x32313459 'Y412', lsb: 1, bpp: 64, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x36313459 'Y416', lsb: 1, bpp: 64, depth: 0, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x50424752 'RGBP', lsb: 1, bpp: 24, depth: 24, mask: 0,0,0,0

#MDK SDK : VAImageFormat.fcc: 0x50524742 'BGRP', lsb: 1, bpp: 24, depth: 24, mask: 0,0,0,0

[New Thread 0x7fff5d3fc6c0 (LWP 3563)]
[New Thread 0x7fff5cbfb6c0 (LWP 3564)]
[New Thread 0x7fff5aaf66c0 (LWP 3565)]
[New Thread 0x7fff5a2f56c0 (LWP 3566)]
[New Thread 0x7fff59af46c0 (LWP 3567)]
[New Thread 0x7fff592f36c0 (LWP 3568)]
[New Thread 0x7fff58af26c0 (LWP 3569)]
[New Thread 0x7fff515ff6c0 (LWP 3570)]
[New Thread 0x7fff50dfe6c0 (LWP 3571)]
[New Thread 0x7fff4bfff6c0 (LWP 3572)]
[New Thread 0x7fff4b7fe6c0 (LWP 3573)]
[New Thread 0x7fff4affd6c0 (LWP 3574)]
[New Thread 0x7fff4a7fc6c0 (LWP 3575)]
[New Thread 0x7fff49ffb6c0 (LWP 3576)]
[New Thread 0x7fff497fa6c0 (LWP 3577)]
[New Thread 0x7fff48ff96c0 (LWP 3578)]
#MDK SDK : AVCodec.Video[h264.] decoder: 16 Frame threads

#MDK SDK : h264 yuv420p, bpc:8, bpp:12(8,8,8), channels:(1,1,1), map: 0 1 2 0 720x480

#MDK SDK : decode stored recovery packets: 0

#MDK SDK : h264 codec pixel format list: (expected vaapi)

#MDK SDK : vdpau

#MDK SDK : vulkan

#MDK SDK : cuda

#MDK SDK : vaapi (selected)

#MDK SDK : yuv420p

#MDK SDK : no sw format is requested, and no special option is required for hw frames context. using AVHWFramesContext created by avcodec

#MDK SDK : hwdec hw output pixel format: vaapi

Create Tree : Video
Create Tree : Musik
resizeGL>>>>>dpr: 1.750000, logical dpi: (96.000000,96.000000), phy dpi: (88.176582,87.065556)


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

Create Tree : Datei

Thread 1 "XnView" received signal SIGSEGV, Segmentation fault.
0x00007fff74739ff8 in MediaInfoLib::MediaInfo::Option(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&, std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) ()
   from /lib/x86_64-linux-gnu/libmediainfo.so.0
(gdb) 

One difference to a standard installation of Debian12:
I had replaced pulseaudio with pipewire
MP 1.5.0 x64: Debian 12 (KDE); Manjaro (KDE); Windows 10 x64
User avatar
winnylinny
Posts: 167
Joined: Fri Apr 17, 2020 5:35 pm

Re: 1.5.0 Crash (segmentation fault) with video or audio files

Post by winnylinny »

Friedrich wrote: Fri Jul 28, 2023 7:53 am
Most recent update:
Operating System: Manjaro Linux
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.1.41-1-MANJARO (64-bit)
Graphics Platform: X11

All Videos play fine and no segfaults at all.
Same system and software as yours. Opening images and videos, there are no issues.

The only time there's a random chance for a segfault is when I open up XnViewMP. (Without opening up a file.)
Friedrich
Posts: 27
Joined: Tue Jul 09, 2013 2:36 am

Re: 1.5.0 Crash (segmentation fault) with video or audio files

Post by Friedrich »

Solved with version 1.64. under Debian 12.
Thanks, Pierre!
MP 1.5.0 x64: Debian 12 (KDE); Manjaro (KDE); Windows 10 x64