Opened 19 years ago

Closed 19 years ago

Last modified 19 years ago

#180 closed defect (invalid)

mplayer started in bash and ^z'd and bg to background process does not end when moviedoes

Reported by: carl.wyles@… Owned by: alex@…
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

how to repeat:

in a bash shell start playing a movie (mplayer video.avi)

use Ctrl-Z to pause it and get a bash shell prompt(movie pauses)

use bash cmd bg to put in background( movie starts playing again)

now advance movie to the end or just let it finish playing

now when you look at nplayer with 'ps ax' parent job is status 'T' and shild
process has ended(must now kill with -9)

sending the parent -sigcont will not cause the process to finish

Using debian testing and mplayer testing


MPlayer dev-CVS--3.3.4 (C) 2000-2004 MPlayer Team

CPU: Intel Pentium 4/Xeon/Celeron Foster 2993 MHz (Family: 8, Stepping: 9)
Detected cache-line size is 64 bytes
MMX2 supported but disabled
SSE supported but disabled
SSE2 supported but disabled
CPUflags: MMX: 1 MMX2: 0 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX

Change History (1)

comment:1 by reimar, 19 years ago

Resolution: invalid
Status: newclosed

AFAIK this is how it should behave (actually it is probable that you will run
into more problems when backgrounding MPlayer).
You can use -noconsolecontrols to make it behave differently (not read from
stdin that is), but you can't control it from the terminal then.
Putting it in the foreground again will also cause it to finish.

Note: See TracTickets for help on using tickets.