Opened 19 years ago

Closed 19 years ago

#423 closed defect (wontfix)

Internal player (ffmpeg) segfaults with some HD-clips

Reported by: Oscar Carlsson Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythvideo Version: head
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Isaac Richards)

This backtrace doesn't look very useful to me, or am I wrong? This also happens with Xv enabled, so that's not the cause.

2005-10-06 02:06:27.062 Attempting to change from None to WatchingPreRecorded
2005-10-06 02:06:27.249 Disable DPMS
[New Thread 147461 (LWP 14298)]
[New Thread 163846 (LWP 14299)]
[avi @ 0xb7a01780]Parser not found for Codec Id: 74 !
0: start_time: 0.000 duration: 0.209
1: start_time: 0.000 duration: 418.092
stream: start_time: 0.000 duration: 8710.586 bitrate=6764 kb/s
2005-10-06 02:06:28.628 AVFD: Stream #0, has id 0x0 codec id WMV3, type Video at 0x0x91d4f40
2005-10-06 02:06:28.630 detectInterlace(Detect Scan, Detect Scan, 23.976, 720) ->Progressive Scan
2005-10-06 02:06:28.630 Interlaced: Progressive Scan  video_height: 720  fps: 23.976
2005-10-06 02:06:28.630 AVFD: Looking for decoder for WMV3
2005-10-06 02:06:28.631 AVFD: Opened codec 0x91d50b0, id(WMV3) type(Video)
2005-10-06 02:06:28.632 AVFD: Stream #1, has id 0x1 codec id AC3, type Audio at 0x0x91d7080
2005-10-06 02:06:28.632 AVFD: Looking for decoder for AC3
2005-10-06 02:06:28.632 AVFD: Opened codec 0x91d6800, id(AC3) type(Audio)
2005-10-06 02:06:28.638 Opening audio device 'default'.
[New Thread 180231 (LWP 14302)]
2005-10-06 02:06:29.140 Estimated bitrate = 384
2005-10-06 02:06:29.141 Resyncing position map. posmapStarted = 0 livetv(0) watchingRec(0)
2005-10-06 02:06:29.153 SyncPositionMap prerecorded, from DB: 0 entries
2005-10-06 02:06:29.154 recording has no position -- using libavformat
2005-10-06 02:06:29.167 AvFormatDecoder: Successfully opened decoder for file: "/home/oscar/Film/High Definition/Minority Report [16x9-1280x720-HDDVD].avi". novideo(0)
2005-10-06 02:06:29.213 VideoOutputXv()
2005-10-06 02:06:29.254 Over/underscan. V: 0, H: 0, XOff: 0, YOff: 0
2005-10-06 02:06:29.323 @ j=3 Looking for flag[s]: XvInputMask XvImageMask
2005-10-06 02:06:29.323 No suitible XVideo port found
2005-10-06 02:06:29.323 Could not find suitable XVideo surface.
2005-10-06 02:06:29.323 Falling back to X shared memory.
2005-10-06 02:06:29.324       *** May be slow ***
2005-10-06 02:06:29.326 Created data @0xaf4e3008->0xaf63480a
2005-10-06 02:06:29.328 Created data @0xaf391008->0xaf4e280a
2005-10-06 02:06:29.330 Created data @0xaf23f008->0xaf39080a
2005-10-06 02:06:29.332 Created data @0xaf0ed008->0xaf23e80a
2005-10-06 02:06:29.334 Created data @0xaef9b008->0xaf0ec80a
2005-10-06 02:06:29.336 Created data @0xb2171008->0xb22c280a
2005-10-06 02:06:29.338 Created data @0xb201f008->0xb217080a
2005-10-06 02:06:29.341 Created data @0xb1e06008->0xb1f5780a
2005-10-06 02:06:29.343 Created data @0xb1afe008->0xb1c4f80a
2005-10-06 02:06:29.345 Created data @0xb19ac008->0xb1afd80a
2005-10-06 02:06:29.347 Created data @0xb185a008->0xb19ab80a
2005-10-06 02:06:29.349 Created data @0xb1708008->0xb185980a
2005-10-06 02:06:29.352 Created data @0xb15b6008->0xb170780a
2005-10-06 02:06:29.354 Created data @0xb1464008->0xb15b580a
2005-10-06 02:06:29.357 Created data @0xaedbe008->0xaef0f80a
2005-10-06 02:06:29.359 Created data @0xaec6c008->0xaedbd80a
2005-10-06 02:06:29.363 Created data @0xaeb1a008->0xaec6b80a
2005-10-06 02:06:29.365 Created data @0xae7ae008->0xae8ff80a
2005-10-06 02:06:29.367 Created data @0xae65c008->0xae7ad80a
2005-10-06 02:06:29.369 Created data @0xae50a008->0xae65b80a
2005-10-06 02:06:29.372 Created data @0xae3b8008->0xae50980a
2005-10-06 02:06:29.374 Created data @0xae266008->0xae3b780a
2005-10-06 02:06:29.376 Created data @0xae114008->0xae26580a
2005-10-06 02:06:29.389 Created data @0xadfc2008->0xae11380a
2005-10-06 02:06:29.391 Created data @0xade70008->0xadfc180a
2005-10-06 02:06:29.395 Created data @0xadd1e008->0xade6f80a
2005-10-06 02:06:29.398 Created data @0xadbcc008->0xadd1d80a
2005-10-06 02:06:29.402 Created data @0xada7a008->0xadbcb80a
2005-10-06 02:06:29.405 Created data @0xad928008->0xada7980a
2005-10-06 02:06:29.409 Created data @0xad7d6008->0xad92780a
2005-10-06 02:06:29.411 Created data @0xad684008->0xad7d580a
2005-10-06 02:06:29.414 Created data @0xad532008->0xad68380a
2005-10-06 02:06:29.434 Image size. dispxoff 0, dispyoff: 75, dispwoff: 800, disphoff: 450
2005-10-06 02:06:29.434 Image size. imgx 0, imgy: 0, imgw: 1280, imgh: 720
2005-10-06 02:06:30.472 TV::StartPlayer: took 2146 ms to start player.
[New Thread 196616 (LWP 14303)]
2005-10-06 02:06:30.472 Changing from None to WatchingPreRecorded
2005-10-06 02:06:30.479 Realtime priority would require SUID as root.
2005-10-06 02:06:30.480 nVidiaVideoSync: Could not open device /dev/nvidia0, Filen eller katalogen finns inte
2005-10-06 02:06:30.480 DRMVideoSync: Could not open device /dev/dri/card0, Filen eller katalogen finns inte
2005-10-06 02:06:30.480 RTCVideoSync: Could not set RTC frequency, Åtkomst nekas.
2005-10-06 02:06:30.481 Using audio as timebase
2005-10-06 02:06:30.481 Video timing method: USleep with busy wait
2005-10-06 02:06:30.481 Refresh rate: 41708, frame interval: 41708
2005-10-06 02:06:30.495 waiting for prebuffer... 0
2005-10-06 02:06:30.496 positionMap[ 0 ] == 34268.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 147461 (LWP 14298)]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0xb7654311 in ff_h263_round_chroma () from /usr/local/lib/libmythavcodec-0.18.so.0
#2  0x091d50b0 in ?? ()
#3  0x091eeae0 in ?? ()
#4  0xb68aca00 in __after_morecore_hook () from /lib/libc.so.6
#5  0xb69990fd in __pthread_alt_unlock () from /lib/libpthread.so.0
Previous frame inner to this frame (corrupt stack?)
(gdb) thread apply all bt full

Thread 14 (Thread 196616 (LWP 14303)):
#0  0xb699b0b6 in nanosleep () from /lib/libpthread.so.0
No symbol table info available.
#1  0x00000000 in ?? ()
No symbol table info available.
#2  0xb6997a98 in __pthread_timedsuspend_new () from /lib/libpthread.so.0
No symbol table info available.
#3  0xb6993fda in pthread_cond_timedwait_relative () from /lib/libpthread.so.0
No symbol table info available.
#4  0xacc7ec58 in ?? ()
No symbol table info available.
#5  0x091d4d40 in ?? ()
No symbol table info available.
#6  0xb6993c94 in pthread_cond_destroy@GLIBC_2.0 () from /lib/libpthread.so.0
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)

Change History (2)

comment:1 Changed 19 years ago by Isaac Richards

Description: modified (diff)

comment:2 Changed 19 years ago by Isaac Richards

Resolution: wontfix
Status: newclosed

Ffmpeg doesn't support wmv3/wmv9/vc1/etc yet. Things tend to die when it tries to decode it.

Note: See TracTickets for help on using tickets.