0.33 and 0.34 versions problem on linux

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

Post Reply
ueliash
Posts: 16
Joined: Sat Jan 09, 2010 6:31 pm

0.33 and 0.34 versions problem on linux

Post by ueliash » Sun Jan 02, 2011 9:46 am

I installed versions 0.33 and later 0.34 of http://download.xnview.com/XnViewMP-linux.tgz
on Fedora 14, followed the instructions in README and also tried to erase .xnviewmp
Nevertheless, there is a problem with these versions:
=======================================================
[elias ~]> XnViewMP-034/xnview.sh
XNVIEW restoreGeometry before : 640 480
XNVIEW restoreGeometry after : 1034 798
w.init
XNVIEW SIZE 1034 798
########### BrowserWindow :: BrowserWindow
MENU install : 8f56d90
### 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 (1034 798)
XNVIEW resize : 1034 798
## MyTabWidget :: resizeEvent : 1034 798
## RESIZE: 914 494
### MyBitmapView (8ffcaa0) :: resizeEvent 100 84
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
^
XnViewMP-034/xnview.sh: line 5: 10744 Segmentation fault (core dumped) "$dirname"/xnview "$@"
=====================================================
Version 0.32 continues to run properly. Any idea what to do?
Thanks,
UE

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

Re: 0.33 and 0.34 versions problem on linux

Post by xnview » Mon Jan 03, 2011 1:54 pm

And no problem with 0.32?
Pierre.

ueliash
Posts: 16
Joined: Sat Jan 09, 2010 6:31 pm

Re: 0.33 and 0.34 versions problem on linux

Post by ueliash » Mon Jan 03, 2011 3:11 pm

0.32 runs correctly. From Help --> About:
Version 0.32 beta (unstable) (Dec 3 2010)
Libformat version 5.76

UE

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

Re: 0.33 and 0.34 versions problem on linux

Post by xnview » Mon Jan 03, 2011 3:15 pm

Same folder viewed? .xnviewmp removed?
Pierre.

ueliash
Posts: 16
Joined: Sat Jan 09, 2010 6:31 pm

Re: 0.33 and 0.34 versions problem on linux

Post by ueliash » Tue Jan 04, 2011 11:25 am

I cant know which folder was viewed, it crashes immediately.
Tried again: removed .xnviewmp and installed fresh 0.34. Again
===================================================================
[elias ~]> XnViewMP-034/xnview.sh
XNVIEW restoreGeometry before : 640 480
XNVIEW restoreGeometry after : 800 620
w.init
XNVIEW SIZE 800 620

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

MENU install : 91426a8
### 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 (800 620)
XNVIEW resize : 800 620
## MyTabWidget :: resizeEvent : 800 620
## RESIZE: 914 559
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/elias/XnViewMP-034/xnview: free(): invalid pointer: 0x00660065 ***
======= Backtrace: =========
/lib/libc.so.6(+0x20bee4)[0x8c79ee4]
/home/elias/XnViewMP-034/xnview[0x844dc04]
/usr/lib/libxml2.so.2[0x35b084e]
/usr/lib/libxml2.so.2(xmlFreeParserInputBuffer+0x4e)[0x35b1d7e]

(many lines) ....

/home/elias/XnViewMP-034/xnview[0x8233a89]
/lib/libc.so.6(__libc_start_main+0xe6)[0x8c1ee16]
/home/elias/XnViewMP-034/xnview(_ZN9QListView10paintEventEP11QPaintEvent+0x675)[0x807e721]
======= Memory map: ========
00101000-00108000 r-xp 00000000 08:02 914678 /usr/lib/libfam.so.0.0.0
00108000-00109000 rw-p 00006000 08:02 914678 /usr/lib/libfam.so.0.0.0

(many lines) ....

01a84000-01a87000 rw-p 00078000 08:02 824619 /lib/libgcrypt.so.11.5.3
01a87000-01a8b000 r-xp 00000000 08:02 914910 /usr/lib/libORBitCosNaming-2.so.0.1.0
01a8b000-01a8c000 rw-p 00004000 08:02 914910 /usr/lib/libORBitCosNamingXnViewMP-034/xnview.sh: line 5: 6544 Aborted (core dumped) "$dirname"/xnview "$@"
=======================================================================

UE

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

Re: 0.33 and 0.34 versions problem on linux

Post by xnview » Tue Jan 04, 2011 1:22 pm

The strange thing is "I/O error : No such file or directory"
Could you try xnview.sh my_pathname
Pierre.

ueliash
Posts: 16
Joined: Sat Jan 09, 2010 6:31 pm

Re: 0.33 and 0.34 versions problem on linux

Post by ueliash » Tue Jan 04, 2011 3:03 pm

[elias ~]> XnViewMP-034/xnview.sh /home/elias
XNVIEW restoreGeometry before : 640 480
XNVIEW restoreGeometry after : 800 620
w.init
XNVIEW resize : 800 620
## MyTabWidget :: resizeEvent : 800 620

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

MENU install : 969c4c0
### 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)
## RESIZE: 800 620
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

^
XnViewMP-034/xnview.sh: line 5: 7071 Segmentation fault (core dumped) "$dirname"/xnview "$@"
[elias ~]>
====================================================================
If I try
[elias ~]> XnViewMP-034/xnview.sh /home/elias/05633.jpg
it displays the image. But later esc --> Browse or esc --> Settings --Startup dir --> Specified --> Choose
leads to crash with the same final output lines.

Thank you for the attention,
UE

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

Re: 0.33 and 0.34 versions problem on linux

Post by xnview » Tue Jan 04, 2011 9:17 pm

If you start on a folder with only a picture file?
Pierre.

ueliash
Posts: 16
Joined: Sat Jan 09, 2010 6:31 pm

Re: 0.33 and 0.34 versions problem on linux

Post by ueliash » Thu Jan 06, 2011 9:30 am

Every reading of a directory leads to crash:
[elias ~]> XnViewMP-034/xnview.sh /usr/bin
[elias ~]> XnViewMP-034/xnview.sh EXPERIMENT/
both crash, but
[elias ~]> XnViewMP-034/xnview.sh EXPERIMENT/04451.jpg
runs until I touch "File" or "Browse". I can also do Image -> Flip -> Save as successfully.
Thanks,
UE

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

Re: 0.33 and 0.34 versions problem on linux

Post by xnview » Thu Jan 06, 2011 2:50 pm

I've installed a FC14, and i've the crash...
Pierre.

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

Re: 0.33 and 0.34 versions problem on linux

Post by xnview » Fri Jan 07, 2011 8:31 am

Ok, the crash is in QT :-( Since 0.32, QT use default gtk theme... It seems that there is a problem on FC...

EDIT: Ok, the problem is with zlib 1.2.5
Pierre.

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

Re: 0.33 and 0.34 versions problem on linux

Post by xnview » Thu Jan 20, 2011 9:05 am

Ok, please download these libs, and untar them in XnViewMP/lib
Pierre.

ueliash
Posts: 16
Joined: Sat Jan 09, 2010 6:31 pm

Re: 0.33 and 0.34 versions problem on linux

Post by ueliash » Sun Jan 23, 2011 2:04 pm

I extracted the extralibs into XnViewMP-035/libs and version 0.35 works now fine. Great!

Thank you,
U. Elias

Post Reply