XnView MP 0.21 Linux- crash on link start

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

Moderator: Dreamer

XnView MP 0.21 Linux- crash on link start

Postby BariD42 » Thu Oct 08, 2009 11:15 am

Pierre. First, a massive 'merci' for XnView in general. I use the latest non-MP version as my windows image viewer, and I'll have nothing else. Simply stated, nothing else comes close.

At home, I use Ubuntu GNU/Linux, so I was as happy as a lark when I heard about the MP version in the works. Good luck, and thank you for thinking about the OS minority.

Now that pleasantries are through, I ran into a significant problem with the latest MP 0.21b.

Upon downloading, I unpacked the XnViewMP folder into my home directory, and created a link to run the .sh script from my desktop. Double-clicking the script from within the program folder worked fine. However, trying to run the script from the desktop, my system locked up from all of the RAM being used. I managed to get to my system monitor, and found a LARGE number of xnview instances running. It seems that running from a link causes xnview to respawn over and over, locking up the computer.

System details: HP dv5 laptop running Ubuntu 9.04 Jaunty 64-bit with all updates. I can provide any other package details you may want.

Cheers,

Dave
*************************************
To think the universe came to be of its own accord, without some design or intervention, lies somewhere in the border between lunacy and ignorance.
BariD42
 
Posts: 7
Joined: Fri Oct 03, 2008 3:46 pm
Location: Boyertown

Re: XnView MP 0.21 Linux- crash on link start

Postby xnview » Thu Oct 08, 2009 11:38 am

Ok, use this xnview.sh
Code: Select all
#!/bin/sh
dirname=`dirname $0`
LD_LIBRARY_PATH=$dirname
export LD_LIBRARY_PATH
QT_PLUGIN_PATH=$dirname
export QT_PLUGIN_PATH
$dirname/xnview $@
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 26763
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnView MP 0.21 Linux- crash on link start

Postby BariD42 » Thu Oct 08, 2009 11:41 pm

Pierre,

Same result. New script runs fine from program folder, crashes on multiple instances when linked from desktop.

Dave.
*************************************
To think the universe came to be of its own accord, without some design or intervention, lies somewhere in the border between lunacy and ignorance.
BariD42
 
Posts: 7
Joined: Fri Oct 03, 2008 3:46 pm
Location: Boyertown

Re: XnView MP 0.21 Linux- crash on link start

Postby xnview » Fri Oct 09, 2009 5:49 am

I've tried on ubuntu, and have not multiple instance
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 26763
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnView MP 0.21 Linux- crash on link start

Postby BariD42 » Fri Oct 09, 2009 7:38 pm

Pierre,

What is your process for making a link on the desktop. Perhaps I am doing something wrong.

Dave
*************************************
To think the universe came to be of its own accord, without some design or intervention, lies somewhere in the border between lunacy and ignorance.
BariD42
 
Posts: 7
Joined: Fri Oct 03, 2008 3:46 pm
Location: Boyertown

Re: XnView MP 0.21 Linux- crash on link start

Postby xnview » Sat Oct 10, 2009 7:43 am

BariD42 wrote:What is your process for making a link on the desktop. Perhaps I am doing something wrong.

I use "create launcher"
Pierre.
User avatar
xnview
Author of XnView
 
Posts: 26763
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: XnView MP 0.21 Linux- crash on link start

Postby BariD42 » Sat Oct 10, 2009 1:28 pm

Pierre,

Aha! I had been making things too difficult. I had been using Nautilus, right-clicking on the script and making a link. Then I moved the link to the desktop. Creating a launcher works just fine.

Perhaps it would be good to figure out why my way blew up?

Thank you very much. Merci beaucoup.

Dave.
*************************************
To think the universe came to be of its own accord, without some design or intervention, lies somewhere in the border between lunacy and ignorance.
BariD42
 
Posts: 7
Joined: Fri Oct 03, 2008 3:46 pm
Location: Boyertown

Re: XnView MP 0.21 Linux- crash on link start

Postby marsh » Tue Oct 27, 2009 6:43 pm

BariD42 wrote:Perhaps it would be good to figure out why my way blew up?

Your way will work on older version of Xfce desktop. No crashes here with newer version and 32bit OS, but it also needs 'create launcher'.
marsh
XnThusiast
 
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: XnView MP 0.21 Linux- crash on link start

Postby rra » Fri Nov 27, 2009 1:00 pm

I am totally new to linux,
just playing with Ubuntu 9.10 for a while.

I managed to install XnView MP 0.21 on the system, and I am able to start Xnview,
but only when directly double clicking xnview.sh from the directory where the program has been installed.
When I "create a launcher" double clicking the desktop-icon gives me the popup to select what to do:

run in teminal, display , cancel or run: when I choose run,nothing seems to happen.

Obviously I am doing something wrong.
Who can give me some advice ?

Rene (don't know where the accent-aigu is at a laptop-keyboard)
User avatar
rra
 
Posts: 190
Joined: Thu May 11, 2006 1:46 pm
Location: The Netherlands

Re: XnView MP 0.21 Linux- crash on link start

Postby marsh » Fri Nov 27, 2009 1:27 pm

Greetings, I don't have your OS installed, but I noticed this with Debian testing and xfce:
Don't name launcher/desktop item same as the "scriptname.sh" (as it will be rejected by desktop manager).
Perhaps other desktops reject without notice? Just a guess, of course. Hopefully fellow Ub.9.1 users will discover more.
marsh
XnThusiast
 
Posts: 2443
Joined: Sun May 15, 2005 6:31 am

Re: XnView MP 0.21 Linux- crash on link start

Postby rra » Fri Nov 27, 2009 1:44 pm

Thanks Marsch, but that doesn't help;
my launcher's content is this:

Code: Select all
#!/usr/bin/env xdg-open

[Desktop Entry]
Encoding=UTF-8
Version=1.0
Type=Link
Icon[C]=gnome-panel-launcher
Name[C]=xnv
Exec=/home/ubuntu/XnViewMP/xnview.sh
Name=xnv
Icon=gnome-panel-launcher


when creating the launcher I have chosen the type-option "location" in stead of "application"

Rene
User avatar
rra
 
Posts: 190
Joined: Thu May 11, 2006 1:46 pm
Location: The Netherlands

Re: XnView MP 0.21 Linux- crash on link start

Postby marsh » Sun Nov 29, 2009 11:07 pm

rra wrote:when creating the launcher I have chosen the type-option "location" in stead of "application"

Type=Application is needed according to this reference about ".desktop" files.
marsh
XnThusiast
 
Posts: 2443
Joined: Sun May 15, 2005 6:31 am


Return to New

Who is online

Users browsing this forum: No registered users and 0 guests