LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-28-2006, 09:13 AM   #1
dlublink
Member
 
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 330

Rep: Reputation: 30
convert "process stopped"


The following command:

vserver-lublink:/var/www/gallery/officer's mess# convert +profile '*' -filter Lanczos -geometry 80x60 'IMG_0157.JPG' 't_IMG_0157.JPG'

Gives the output:

Processus arrêté

Which is french for 'process stopped'.

I don't know why it's doing this, any ideas?

David
 
Old 09-28-2006, 10:22 AM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
In the same terminal window where you originally started the process (it's "controlling terminal"), type jobs. See what it tells you. Another way to check is to run ps j -e and see if your process has a "T" in the STAT column of the output. If your job is stopped, you can bring it back into the foreground by typing fg.

How did it get stopped in the first place? You might have accidently hit <ctrl>-z or <ctrl>-y (these are standard job control key combinations). Or you might have done something like this: kill -s STOP <pid> from a different terminal window (pretty hard to do that by accident though!) Root could have done this to you as well, if they didn't like what you were doing.
 
Old 09-28-2006, 10:28 AM   #3
dlublink
Member
 
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 330

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by haertig
In the same terminal window where you originally started the process (it's "controlling terminal"), type jobs. See what it tells you. Another way to check is to run ps j -e and see if your process has a "T" in the STAT column of the output. If your job is stopped, you can bring it back into the foreground by typing fg.

How did it get stopped in the first place? You might have accidently hit <ctrl>-z or <ctrl>-y (these are standard job control key combinations). Or you might have done something like this: kill -s STOP <pid> from a different terminal window (pretty hard to do that by accident though!) Root could have done this to you as well, if they didn't like what you were doing.
ps j -e shows that all processes are S, Ss or R+. There are no converts listed.

I do believe I hit ctrl+y or ctrl+z as I have tried several times in several different ways to run it.

I am root on the vserver in question, perhaps the vserver administrator has CPU throttling, but nothing else has ever been interrupted before...

David
 
Old 09-28-2006, 11:08 AM   #4
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by dlublink
Which is french for 'process stopped'.
Maybe your "process stopped" is not the job control "stop" I was thinking about. It could be something internal to the convert program.

I just ran a quick test on my computer and stopped a process, but it only says "Stopped", not "process stopped". So maybe we are talking about different things. What does the STAT column of your "ps j" output tell you about your specific convert process? S and R are typical normal running process states, lowercase s indicates a session leader, and + indicates a foreground process. T indicates a stopped process. If convert is not in a T state, then it's not stopped from a job control standpoint.
Code:
$ vi testfile
... at this point I hit ctrl-z ...
[1]+  Stopped                 vi testfile
$ jobs
[1]+  Stopped                 vi testfile
$ ps j
 PPID   PID  PGID   SID TTY      TPGID STAT   UID   TIME COMMAND
 9825  9827  9827  9827 pts/2     9827 Ss+   1000   0:00 bash
 9825 12892 12892 12892 pts/1    12892 Ss+   1000   0:00 bash
 9825 17972 17972 17972 pts/3    19018 Rs    1000   0:00 bash
17972 19009 19009 17972 pts/3    19018 T     1000   0:00 vi testfile
17972 19018 19018 17972 pts/3    19018 R+    1000   0:00 ps j
$ fg
vi testfile
... then I hit :q! to get out of vi
$
 
Old 09-28-2006, 11:18 AM   #5
dlublink
Member
 
Registered: Oct 2004
Location: Canada
Distribution: Ubuntu
Posts: 330

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by haertig
Maybe your "process stopped" is not the job control "stop" I was thinking about. It could be something internal to the convert program.
I agree with you on this, otherwise there would be something more in ps.

I tried running it with verbose and found nothing.

Any ideas as to what in the program might do this?

Thanks,

David
 
Old 09-28-2006, 11:46 AM   #6
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
Quote:
Originally Posted by dlublink
Any ideas as to what in the program might do this?
Sorry, no. I've never used the program personally. man convert didn't give me any clues, nor did strings /usr/bin/convert. Since you're seeing the message in French, I wouldn't really have expected to find that text string in convert itself. Some language localization library somewhere perhaps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert "string" type to "char * " in c++ pranavojha Programming 18 06-05-2008 03:10 PM
labview stopped at "init tmp resource files" on FC4 baosheng Linux - Software 2 09-28-2007 11:02 AM
User "list" running process "python" TroelsSmit Linux - Newbie 2 02-22-2005 04:55 AM
Mom clicked a button and "it stopped working" antiocles Linux - Software 3 01-02-2005 01:35 PM
evolution stopped working - "CORBA" exception thegreatgatsby Linux - Software 3 03-16-2004 07:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration