Opened 12 years ago

Last modified 8 years ago

#874 closed defect (invalid)

Mencoder hangs while quitting

Reported by: kratz00@… Owned by: reimar
Priority: normal Component: core
Version: HEAD Severity: normal
Keywords: Cc: compn
Blocked By: Blocking:
Reproduced by developer: Analyzed by developer:

Description

If a record a stream and I press "Ctrl+c" to quit mencoder it hangs.

MEncoder SVN-r23728 (C) 2000-2007 MPlayer Team

mencoder mms://giga.streamed.by.ngz-server.de.esl-tv.net/GIGA -ovc copy -oac copy -o output.avi

After pressing "Ctrl+c"

kratz00 3671 0.8 8.3 194320 173680 pts/1 S+ 20:55 0:43 mencoder mms://giga.streamed.by.ngz-server.de.esl-tv.net/GIGA -ovc copy -oac copy -o output.avi
kratz00 3674 0.1 0.0 0 0 pts/1 Z+ 20:55 0:05 [mencoder] <defunct>

I attached gdb, here is the backtrace:
#0 0xb7f05410 in kernel_vsyscall ()
#1 0xb7d7eb20 in
nanosleep_nocancel () from /lib/libpthread.so.0
#2 0x0864ac13 in usec_sleep ()
#3 0x00000000 in ?? ()

The only way to quit mencode if its hanging is: killall -5 mencoder

If I use the parameter "-endpos" it quits nicely after it recorded for the specified time.

Change History (2)

comment:1 Changed 11 years ago by kratz00@…

MPlayer version changed URL of Giga changed but the result is the same :(

mencoder mms://stream.giga.de/GIGA -ovc copy -oac copy -o output.avi

MEncoder 1.0rc2-4.1.2 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 2.13GHz (Family: 6, Model: 13, Stepping: 8)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

comment:2 Changed 8 years ago by compn

  • Resolution set to invalid
  • Status changed from new to closed, patriotact@gmail.com

stream url is dead again... (hey i'm only 3 years late!)
might be fixed by the tcp timeout that was applied.

Note: See TracTickets for help on using tickets.