Re: Rev standalone app stays in memory on my Xubuntu 9.10

2010-03-29 Thread Len Morgan
It sounds to me like you've got an open socket or file laying around in 
the program that is preventing it from closing.  Check your sockets and 
open files when you quit (handle the quit stack message).  Maybe a 
driver on one machine is not releasing the socket and so your program 
stays around waiting.


len


On 3/29/2010 12:02 AM, hmspot...@googlemail.com wrote:

Hello,

I have a standalone application made by Revolution 4.0. It works fine in
most cases, but it fails to quit cleanly on my laptop running Xubuntu
9.10. When I try it on another computer also running Xubuntu 9.10, it
runs and quits fine, but on my laptop it stays open as a process taking
up a chunk of memory. To make it worse, every instance of app launch
remains in the memory as an independent process. Right-clicking on the
process in System Monitor and choosing 'Open Files' displays the following:
FD  Type Object
0   file /dev/null
1   file /home/megumi/.xsession-errors
2   file /home/megumi/.xsession-errors
3   local socket
4   local socket
5   pipe
6   pipe


This question is probably more about Xubuntu than about Revolution, but
it does relate to using Revolution. I am particularly puzzled, because
another standalone app (also made by Revolution) runs and quits fine on
the same laptop. I hope someone here will be able to help me, as I do
not know what to do.

I originally posted this athttp://forums.runrev.com/phpBB2/
viewtopic.php?f=20t=5087  with a sample stack, but the thread came to
what seems like a dead-end. The last post on the thread suggested that I
should subscribe to this list and ask for help from Linux experts on the list.

I would appreciate any help.

Thanks.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


   


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev standalone app stays in memory on my Xubuntu 9.10

2010-03-29 Thread hmspotato
Hello Len,

Thank you for responding to my question.

I hope I am a little better than an average computer user, but I have a
very long way to go before qualifying to be a geek. Could you explain
what it means to have an open socket in the program?

I am a mere teacher, and my program is a simple app to keep students
record according to their class. All data is saved locally inside data
stacks. There is no network connection or connection to external
database. Before quitting, all open stacks are closed.

My program works (i.e. quits cleanly) on other computers running Xubuntu
9.10, Mac OS X or Windows. The anomaly occurs only on my laptop running
Xubuntu 9.10. I would think that my coding in Revolution must be ok, but
something is not right on my laptop, on which my app fails to quit
cleanly. However, oddly, on the same laptop, another app I made quits
cleanly.

Can you suggest what I should change on my laptop?

Megumi

It sounds to me like you've got an open socket or file laying around in
the program that is preventing it from closing.  Check your sockets and
open files when you quit (handle the quit stack message).  Maybe a
driver on one machine is not releasing the socket and so your program
stays around waiting.

len


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Rev standalone app stays in memory on my Xubuntu 9.10

2010-03-29 Thread J. Landman Gay

hmspot...@googlemail.com wrote:


My program works (i.e. quits cleanly) on other computers running Xubuntu
9.10, Mac OS X or Windows. The anomaly occurs only on my laptop running
Xubuntu 9.10. I would think that my coding in Revolution must be ok, but
something is not right on my laptop, on which my app fails to quit
cleanly. However, oddly, on the same laptop, another app I made quits
cleanly. 


In general, Rev won't quit if any drivers, sockets, or pending messages 
are open. Your report mentioned sockets, so that seems a likely 
candidate. But I don't know why it works on other machines.


To everyone: RR tried to reproduce this and couldn't, so it's something 
on that particular machine. If anyone has a clue, I'd like to know too.


--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Rev standalone app stays in memory on my Xubuntu 9.10

2010-03-28 Thread hmspotato
Hello,

I have a standalone application made by Revolution 4.0. It works fine in
most cases, but it fails to quit cleanly on my laptop running Xubuntu
9.10. When I try it on another computer also running Xubuntu 9.10, it
runs and quits fine, but on my laptop it stays open as a process taking
up a chunk of memory. To make it worse, every instance of app launch
remains in the memory as an independent process. Right-clicking on the
process in System Monitor and choosing 'Open Files' displays the following:
FD  Type Object
0   file /dev/null
1   file /home/megumi/.xsession-errors
2   file /home/megumi/.xsession-errors
3   local socket
4   local socket
5   pipe
6   pipe


This question is probably more about Xubuntu than about Revolution, but
it does relate to using Revolution. I am particularly puzzled, because
another standalone app (also made by Revolution) runs and quits fine on
the same laptop. I hope someone here will be able to help me, as I do
not know what to do.

I originally posted this at http://forums.runrev.com/phpBB2/
viewtopic.php?f=20t=5087 with a sample stack, but the thread came to
what seems like a dead-end. The last post on the thread suggested that I
should subscribe to this list and ask for help from Linux experts on the list.

I would appreciate any help.

Thanks.


___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution