Debian 6 Segmentation fault when loading a file

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

Moderators: XnTriq, helmut, xnview, Dreamer

darxmurf
Posts: 3
Joined: Tue Jul 05, 2011 7:53 am

Debian 6 Segmentation fault when loading a file

Post by darxmurf »

Hi there,

I have a segfault when double clicking images to open them.
I also tried from shell and received this output

Code: Select all

/usr/local/bin/XnViewMP-035/xnview.sh target.jpg 
Gtk-Message: Failed to load module "canberra-gtk-module": /usr/lib/gtk-2.0/modules/libcanberra-gtk-module.so: wrong ELF class: ELFCLASS64

(<unknown>:5459): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so: wrong ELF class: ELFCLASS64

(<unknown>:5459): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so: wrong ELF class: ELFCLASS64

(<unknown>:5459): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so: wrong ELF class: ELFCLASS64

(<unknown>:5459): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so: wrong ELF class: ELFCLASS64

(<unknown>:5459): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so: wrong ELF class: ELFCLASS64

(<unknown>:5459): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so: wrong ELF class: ELFCLASS64

(<unknown>:5459): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so: wrong ELF class: ELFCLASS64

(<unknown>:5459): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so: wrong ELF class: ELFCLASS64

(<unknown>:5459): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so: wrong ELF class: ELFCLASS64

(<unknown>:5459): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so: wrong ELF class: ELFCLASS64

(<unknown>:5459): Gtk-WARNING **: /usr/lib/gtk-2.0/2.10.0/engines/libxfce.so: wrong ELF class: ELFCLASS64
XNVIEW restoreGeometry before : 640 480 
XNVIEW restoreGeometry after : 1680 1050 
w.init
XNVIEW resize : 1680 1050 
## MyTabWidget :: resizeEvent : 1680 1050 
Object::connect: No such slot AbstractViewWindow::onOpen()
##PB connect <1onOpen()>
Object::connect: No such slot AbstractViewWindow::onCut()
##PB connect <1onCut()>
Object::connect: No such slot AbstractViewWindow::onPaste()
##PB connect <1onPaste()>
Object::connect: No such slot AbstractViewWindow::onClear()
##PB connect <1onClear()>
Object::connect: No such slot AbstractViewWindow::onBackColor()
##PB connect <1onBackColor()>
Object::connect: No such slot AbstractViewWindow::onPagePrevious()
##PB connect <1onPagePrevious()>
Object::connect: No such slot AbstractViewWindow::onPageNext()
##PB connect <1onPageNext()>
Object::connect: No such slot AbstractViewWindow::onPageFirst()
##PB connect <1onPageFirst()>
Object::connect: No such slot AbstractViewWindow::onPageLast()
##PB connect <1onPageLast()>
Object::connect: No such slot AbstractViewWindow::onLevels()
##PB connect <1onLevels()>
Object::connect: No such slot AbstractViewWindow::onNormalize2()
##PB connect <1onNormalize2()>
Object::connect: No such slot AbstractViewWindow::onAlign()
##PB connect <1onAlign()>
MENU install : 89cdd98 
### MyBitmapView (89c3e80) :: resizeEvent 1680 964
### MyBitmapView (89c3e80) :: resizeEvent 1680 931
==> 1680 
MyView::change /home/thib/Desktop/target.jpg 
###### LOAD BITMAP </home/thib/Desktop/target.jpg>
Marker : e1  3799
Marker : ed  5584
Marker : e1  3348
Marker : ee  12
### resetViewport (89c3e80)  ==> 1680 931  (660 450) 0 0
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
## OPEN FOLDER
## OPEN FOLDER ok
## updateLabels
## updateLabels ok
### ThumbLoaderThread :: stop()
setCurrentFilename </home/thib/Desktop/target.jpg>
### ThumbLoaderThread :: stop()
### ThumbLoaderThread :: setFileList()
### ThumbLoaderThread :: setFileList() wait
######ThumbLoaderThread :: run : 8aacd70 
######ThumbLoaderThread :: forever : 8aacd70 
### ThumbLoaderThread :: setFileList() ok
### ThumbLoaderThread :: stop()
######ThumbLoaderThread :: start : 8 
ThumbLoaderThread => 8 (8 -1)
DB (91) : 129362 129362 
ThumbLoaderThread - LOADED from DB (91)
Segmentation fault
from root account, it works fine.
file /usr/lib/gio/modules/libgvfsdbus.so is present

I'm under Debian testing/unstable X64
Linux 2.6.39-2-amd64 #1 SMP Wed Jun 8 11:01:04 UTC 2011 x86_64 GNU/Linux
User avatar
xnview
Author of XnView
Posts: 44339
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Debian 6 Segmentation fault when loading a file

Post by xnview »

With F11, crash too?
Pierre.
darxmurf
Posts: 3
Joined: Tue Jul 05, 2011 7:53 am

Re: Debian 6 Segmentation fault when loading a file

Post by darxmurf »

hum quite strange

I launched XNView from menu icon this morning, browsed some folders and pictures in full screen and not.

Now I can open pictures directly and it's not crashing anymore.

So it looks ok now
darxmurf
Posts: 3
Joined: Tue Jul 05, 2011 7:53 am

Re: Debian 6 Segmentation fault when loading a file

Post by darxmurf »

Hum same problem this morning.

in fact before to open the first image of the day I have to launch Xnview from the XFCE Menu then open a file, press F11 to toggle Full-Screen/Normal then close Xnview.
After that I can open files by double clicking them.