Linux - XnViewMP 0.35 - Crash on startup

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

Post Reply
mykurtaccount
Posts: 21
Joined: Sat Oct 18, 2008 7:40 am

Linux - XnViewMP 0.35 - Crash on startup

Post by mykurtaccount »

I'm having the same problem as was described in the following thread (for Linux versions 33 & 34) but for version 0.35

http://newsgroup.xnview.com/viewtopic.php?f=60&t=21546

./xnview.sh
XNVIEW restoreGeometry before : 640 480
XNVIEW restoreGeometry after : 1672 997
w.init
XNVIEW SIZE 1672 997


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

MENU install : a7150f8
### ThumbLoaderThread :: stop()
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
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
########### BrowserWindow :: ok create (640 480)
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
########### BrowserWindow :: restoreState (1672 997)
XNVIEW resize : 1672 997
## MyTabWidget :: resizeEvent : 1672 997
## RESIZE: 754 528
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
I/O error : No such file or directory
/usr/share/mime/inode/directory.xml:1: parser error : Extra content at the end of the document

^
./xnview.sh: line 6: 5945 Segmentation fault "$dirname"/xnview
User avatar
xnview
Author of XnView
Posts: 33911
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by xnview »

I think that you have FC14? with zlib 1.2.5
Pierre.
mykurtaccount
Posts: 21
Joined: Sat Oct 18, 2008 7:40 am

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by mykurtaccount »

xnview wrote:I think that you have FC14? with zlib 1.2.5
Although I do have zlib 1.2.5 installed I'm not running Fedora but ArchLinux
User avatar
xnview
Author of XnView
Posts: 33911
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by xnview »

mykurtaccount wrote:
xnview wrote:I think that you have FC14? with zlib 1.2.5
Although I do have zlib 1.2.5 installed I'm not running Fedora but ArchLinux
Ok, please download these libs, and untar them in XnViewMP/lib
Pierre.
mykurtaccount
Posts: 21
Joined: Sat Oct 18, 2008 7:40 am

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by mykurtaccount »

xnview wrote:
mykurtaccount wrote:
xnview wrote:I think that you have FC14? with zlib 1.2.5
Although I do have zlib 1.2.5 installed I'm not running Fedora but ArchLinux
Ok, please download these libs, and untar them in XnViewMP/lib
That seems to have cleared up my problems - Thankyou
Roumano
Posts: 115
Joined: Sun Oct 10, 2010 6:20 pm

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by Roumano »

Hi,

Same problem for me, but same problem with lib downloaded on my fedora14 64 Bits:
Any idea why ?

yum list installed|grep zlib
zlib.x86_64 1.2.5-2.fc14 @fedora/$releasever

roumano@Roumano:~/bin/XnViewMP-035/lib$ tar xvf XnViewMP-linux-extralib.tgz
libxml2.so
libxml2.so.2
libxml2.so.2.6.31
libz.so
libz.so.1
libz.so.1.2.3.3
roumano@Roumano:~/bin/XnViewMP-035/lib$ ls
codecs libQtNetworkXn.so.4 libQtXmlXn.so.4
imageformats libQtNetworkXn.so.4.7.1 libQtXmlXn.so.4.7.1
libphonon.so.4 libQtSvg.so.4 libxml2.so
libphononXn.so.4 libQtSvgXn.so.4 libxml2.so.2
libphononXn.so.4.4.0 libQtSvgXn.so.4.7.1 libxml2.so.2.6.31
libQtCore.so.4 libQtWebKit.so.4 libz.so
libQtCoreXn.so.4 libQtWebKitXn.so.4 libz.so.1
libQtCoreXn.so.4.7.1 libQtWebKitXn.so.4.7.1 libz.so.1.2.3.3
libQtGui.so.4 libQtXmlPatterns.so.4 phonon_backend
libQtGuiXn.so.4 libQtXmlPatternsXn.so.4 XnViewMP-linux-extralib.tgz
libQtGuiXn.so.4.7.1 libQtXmlPatternsXn.so.4.7.1
libQtNetwork.so.4 libQtXml.so.4
roumano@Roumano:~/bin/XnViewMP-035/lib$ /home/roumano/bin/XnViewMP-035/xnview.sh
XN 2 4 8
XNVIEW restoreGeometry before : 640 480
XNVIEW restoreGeometry after : 1351 386
w.init
XNVIEW SIZE 1351 386


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

MENU install : 2d345c0
### ThumbLoaderThread :: stop()
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
########### BrowserWindow :: ok create (640 480)
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
########### BrowserWindow :: restoreState (1351 386)
XNVIEW resize : 1351 386
## MyTabWidget :: resizeEvent : 1351 386
## RESIZE: 1113 346
I/O error : No such file or directory
/usr/share/mime/inode/directory.xml:1: parser error : Extra content at the end of the document

^
*** glibc detected *** /home/roumano/bin/XnViewMP-035/xnview: free(): invalid pointer: 0x0000000000000011 ***
/home/roumano/bin/XnViewMP-035/xnview.sh: line 5: 4518 Erreur de segmentation (core dumped) "$dirname"/xnview "$@"
User avatar
xnview
Author of XnView
Posts: 33911
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by xnview »

Ok, please download these libs
Pierre.
Roumano
Posts: 115
Joined: Sun Oct 10, 2010 6:20 pm

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by Roumano »

Hmmmmmm, not better but different problem : (i have remove the first library download to prevent problem)

2011-02-02 18:11:15 (962 KB/s) - «XnViewMP-linux-extralib64.tgz» sauvegardé [596844/596844]

roumano@Roumano:~/bin/XnViewMP-035/lib$ tar xvf XnViewMP-linux-extralib64.tgz
libz.so.1
libz.so.1.2.3
libxml2.so.2
libxml2.so.2.6.26
roumano@Roumano:~/bin/XnViewMP-035/lib$ ../xnview.sh
XN 2 4 8
XNVIEW restoreGeometry before : 640 480
XNVIEW restoreGeometry after : 1351 386
w.init
XNVIEW SIZE 1351 386


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

MENU install : 132d3d0
### ThumbLoaderThread :: stop()
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
########### BrowserWindow :: ok create (640 480)
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
########### BrowserWindow :: restoreState (1351 386)
XNVIEW resize : 1351 386
## MyTabWidget :: resizeEvent : 1351 386
## RESIZE: 1113 346
I/O error : No such file or directory
/usr/share/mime/inode/directory.xml:1: parser error : Extra content at the end of the document

^
*** glibc detected *** /home/roumano/bin/XnViewMP-035/xnview: free(): invalid pointer: 0x540a6b636f74533d ***
*** glibc detected *** /home/roumano/bin/XnViewMP-035/xnview: free(): invalid pointer: 0x0000003c1e99f5a8 ***
../xnview.sh: line 5: 2390 Erreur de segmentation (core dumped) "$dirname"/xnview "$@"
User avatar
xnview
Author of XnView
Posts: 33911
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by xnview »

Seems that it don't use new lib...
Could you try:

Code: Select all

LD_LIBRARY_PATH=lib; export LD_LIBRARY_PATH; ldd xnview
Pierre.
Roumano
Posts: 115
Joined: Sun Oct 10, 2010 6:20 pm

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by Roumano »

Hi,

Not realy better :

roumano@Roumano:~/bin/XnViewMP-035$ LD_LIBRARY_PATH=lib; export LD_LIBRARY_PATH; ldd xnview
linux-vdso.so.1 => (0x00007fff57bae000)
libQtWebKitXn.so.4 => lib/libQtWebKitXn.so.4 (0x00007f0ae6c96000)
libphononXn.so.4 => lib/libphononXn.so.4 (0x00007f0ae6a3a000)
libQtGuiXn.so.4 => lib/libQtGuiXn.so.4 (0x00007f0ae5d12000)
libQtCoreXn.so.4 => lib/libQtCoreXn.so.4 (0x00007f0ae585b000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x0000003c1ea00000)
libQtSvgXn.so.4 => lib/libQtSvgXn.so.4 (0x00007f0ae55e7000)
libQtXmlXn.so.4 => lib/libQtXmlXn.so.4 (0x00007f0ae539d000)
libQtNetworkXn.so.4 => lib/libQtNetworkXn.so.4 (0x00007f0ae5095000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x0000003c28a00000)
libm.so.6 => /lib64/libm.so.6 (0x0000003c1f600000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x0000003c1fe00000)
libc.so.6 => /lib64/libc.so.6 (0x0000003c1e600000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x0000003c21a00000)
libdl.so.2 => /lib64/libdl.so.2 (0x0000003c1ee00000)
libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x0000003c24a00000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x0000003c23e00000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x0000003c23600000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x0000003c22e00000)
libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x0000003c20a00000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x0000003c20200000)
libz.so.1 => /lib64/libz.so.1 (0x0000003c1fa00000)
libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x0000003c20e00000)
librt.so.1 => /lib64/librt.so.1 (0x0000003c1f200000)
/lib64/ld-linux-x86-64.so.2 (0x0000003c1e200000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x0000003c22200000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x0000003c22a00000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x0000003c21e00000)
roumano@Roumano:~/bin/XnViewMP-035$ ./xnview
XN 2 4 8
XNVIEW restoreGeometry before : 640 480
XNVIEW restoreGeometry after : 1351 386
w.init
XNVIEW SIZE 1351 386


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

MENU install : 2cfee00
### ThumbLoaderThread :: stop()
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
QLayout: Attempting to add QLayout "" to QWidget "", which already has a layout
########### BrowserWindow :: ok create (640 480)
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
BrowserWindow :: changeVisibility()
BrowserWindow :: updateMenu()
########### BrowserWindow :: restoreState (1351 386)
XNVIEW resize : 1351 386
## MyTabWidget :: resizeEvent : 1351 386
## RESIZE: 1113 346
I/O error : No such file or directory
/usr/share/mime/inode/directory.xml:1: parser error : Extra content at the end of the document

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

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by xnview »

And
ldd lib/libQtGuiXn.so.4
ldd lib/libQtCoreXn.so.4
Pierre.
Roumano
Posts: 115
Joined: Sun Oct 10, 2010 6:20 pm

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by Roumano »

roumano@Roumano:~/bin/XnViewMP-035$ ldd lib/libQtGuiXn.so.4
linux-vdso.so.1 => (0x00007fffdd3ff000)
libQtCoreXn.so.4 => lib/libQtCoreXn.so.4 (0x00007f11d4357000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f11d4123000)
libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007f11d3f1f000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f11d3c18000)
libz.so.1 => /lib64/libz.so.1 (0x00007f11d3a00000)
libfreetype.so.6 => /usr/lib64/libfreetype.so.6 (0x00007f11d376b000)
libgobject-2.0.so.0 => /lib64/libgobject-2.0.so.0 (0x00007f11d351d000)
libXrender.so.1 => /usr/lib64/libXrender.so.1 (0x00007f11d3312000)
libfontconfig.so.1 => /usr/lib64/libfontconfig.so.1 (0x00007f11d30dc000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00007f11d2eca000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00007f11d2b8a000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f11d2883000)
libm.so.6 => /lib64/libm.so.6 (0x00007f11d25fe000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f11d23e8000)
libc.so.6 => /lib64/libc.so.6 (0x00007f11d2044000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f11d1e40000)
librt.so.1 => /lib64/librt.so.1 (0x00007f11d1c36000)
/lib64/ld-linux-x86-64.so.2 (0x0000003c1e200000)
libexpat.so.1 => /lib64/libexpat.so.1 (0x00007f11d1a0e000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00007f11d17f2000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00007f11d15ef000)
roumano@Roumano:~/bin/XnViewMP-035$ ldd lib/libQtCoreXn.so.4
linux-vdso.so.1 => (0x00007fff3459f000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f3bd1582000)
libz.so.1 => /lib64/libz.so.1 (0x00007f3bd136b000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f3bd1167000)
libgthread-2.0.so.0 => /lib64/libgthread-2.0.so.0 (0x00007f3bd0f63000)
libglib-2.0.so.0 => /lib64/libglib-2.0.so.0 (0x00007f3bd0c5c000)
librt.so.1 => /lib64/librt.so.1 (0x00007f3bd0a53000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00007f3bd074c000)
libm.so.6 => /lib64/libm.so.6 (0x00007f3bd04c7000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f3bd02b2000)
libc.so.6 => /lib64/libc.so.6 (0x00007f3bcff0e000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3bd179f000)

This information can help you ?
User avatar
xnview
Author of XnView
Posts: 33911
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by xnview »

I'll install a FC 14 x64...
Pierre.
User avatar
xnview
Author of XnView
Posts: 33911
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by xnview »

Sorry the extra libs was for 32bits, so please re-download these libs
Pierre.
Roumano
Posts: 115
Joined: Sun Oct 10, 2010 6:20 pm

Re: Linux - XnViewMP 0.35 - Crash on startup

Post by Roumano »

Hi,
Yes!!!!

It's good, big thanks & Good weekend.

Regards
Post Reply