[mythtv] mythtranscode floating point error

Martin Moeller martin at martinm-76.dk
Sat Jun 12 08:44:54 EDT 2004


Hello all, and especially Geoffrey :)

I have experimented with a great many settings as they became available,
include IDCT(?) in encoding video. That proved to be a bad idea with my
card (saa7134). I have since reverted from this, but I seem to have at
least one show left I would like to export that is suffering from this.

When I try to transcode it (outside of mythtv - the commercial cutting
part worked (i.e. start and end cuts) I get a floating point error.
I have not compiled with debugging symbols just yet, but maybe the
following is enough to give a clue. If more is needed, please let me
know:

Dump:
-----
martin at monsterpc:~> LC_ALL=en_US ; rm /tmp/encode/* ; gdb mythtranscode
rm: kan ikke fjerne '/tmp/encode/*': Ingen sådan fil eller filkatalog
GNU gdb 6.1
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "i586-suse-linux"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".

(gdb) run -c 2 -s 2004-06-04T01:20:00 -p autodetect -l --fifodir
/tmp/encode
Starting program: /usr/local/bin/mythtranscode -c 2 -s
2004-06-04T01:20:00 -p autodetect -l --fifodir /tmp/encode
[Thread debugging using libthread_db enabled]
[New Thread 1103306688 (LWP 13580)]
2004-06-12 14:34:18 Transcoding from
/vol/TV/2_20040604012000_20040604021000.nuv to
/vol/TV/2_20040604012000_20040604021000.nuv.tmp
2004-06-12 14:34:19 Created video fifo: /tmp/encode/vidout
[New Thread 1123015600 (LWP 13598)]
2004-06-12 14:34:19 Created audio fifo: /tmp/encode/audout
[New Thread 1129622448 (LWP 13599)]
2004-06-12 14:34:19 Video 352x288 at 25fps Audio rate: 44100
2004-06-12 14:34:19 Created fifos. Waiting for connection.

Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 1103306688 (LWP 13580)]
0x08063555 in AudioReencodeBuffer::AddSamples ()
(gdb) thread apply all bt full

Thread 3 (Thread 1129622448 (LWP 13599)):
#0  0xffffe410 in ?? ()
No symbol table info available.
#1  0x00000001 in ?? ()
No symbol table info available.
#2  0x00000000 in ?? ()
No symbol table info available.
#3  0x00000000 in ?? ()
No symbol table info available.
#4  0x4137b720 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/tls/libpthread.so.0
No symbol table info available.
#5  0x4033b7ea in FIFOWriter::FIFOWriteThread ()
   from /usr/local/lib/libmythtv-0.15.so.0
No symbol table info available.
#6  0x4033b97b in FIFOWriter::FIFOStartThread ()
   from /usr/local/lib/libmythtv-0.15.so.0
No symbol table info available.
#7  0x413799dd in start_thread () from /lib/tls/libpthread.so.0
No symbol table info available.
#8  0x41521ffa in clone () from /lib/tls/libc.so.6
---Type <return> to continue, or q <return> to quit---
No symbol table info available.

Thread 2 (Thread 1123015600 (LWP 13598)):
#0  0xffffe410 in ?? ()
No symbol table info available.

Thread 1 (Thread 1103306688 (LWP 13580)):
#0  0x08063555 in AudioReencodeBuffer::AddSamples ()
No symbol table info available.
#1  0x401a8ea3 in NuppelVideoPlayer::AddAudioData ()
   from /usr/local/lib/libmythtv-0.15.so.0
No symbol table info available.
#2  0x402a106b in NuppelDecoder::GetFrame ()
   from /usr/local/lib/libmythtv-0.15.so.0
No symbol table info available.
#3  0x401a4c5a in NuppelVideoPlayer::TranscodeGetNextFrame ()
   from /usr/local/lib/libmythtv-0.15.so.0
No symbol table info available.
#4  0x0805ee14 in Transcode::TranscodeFile ()
No symbol table info available.
#5  0x0805590b in main ()
No symbol table info available.

Oh, BTW: When everything works fine it (mythtranscode) always ends with
a segmentation fault. Any idea why?
-- 
Martin Moeller <martin at martinm-76.dk>



More information about the mythtv-dev mailing list