[mythtv-commits] Ticket #7796: mythtranscode memcpy segmentation fault

MythTV mythtv at cvs.mythtv.org
Thu Dec 31 15:55:22 UTC 2009


#7796: mythtranscode memcpy segmentation fault
-----------------------------------------------------+----------------------
 Reporter:  Andrea Giuliano <sarkiaponius@…>         |        Owner:  ijr    
     Type:  defect                                   |       Status:  closed 
 Priority:  major                                    |    Milestone:  0.22   
Component:  MythTV - Mythtranscode                   |      Version:  0.22   
 Severity:  medium                                   |   Resolution:  invalid
  Mlocked:  0                                        |  
-----------------------------------------------------+----------------------

Comment(by florian@…):

 Hi,

 same problem here.. Debian sid, mythtv-0.22-fixes SVN Today
 compiled with debug flag

 GDB trace

 Nagios:~/mythtv-0-22/mythtv/programs/mythtranscode# gdb -x
 /root/gdbcommands --args ./mythtranscode -i
 /mythstorage1/17403_20091230183700.mpg -o /tmp/bla
 GNU gdb (GDB) 7.0-debian
 Copyright (C) 2009 Free Software Foundation, Inc.
 License GPLv3+: GNU GPL version 3 or later
 <http://gnu.org/licenses/gpl.html>
 This is free software: you are free to change and redistribute it.
 There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
 and "show warranty" for details.
 This GDB was configured as "i486-linux-gnu".
 For bug reporting instructions, please see:
 <http://www.gnu.org/software/gdb/bugs/>...
 Reading symbols from
 /root/mythtv-0-22/mythtv/programs/mythtranscode/mythtranscode...done.
 Function "qFatal" not defined.
 Breakpoint 1 (qFatal) pending.
 [Thread debugging using libthread_db enabled]


 2009-12-31 16:47:48.533 Using runtime prefix = /usr
 2009-12-31 16:47:48.533 Using configuration directory = /root/.mythtv
 2009-12-31 16:47:48.608 Empty LocalHostName.
 [New Thread 0xb31aab70 (LWP 13907)]
 [Thread 0xb31aab70 (LWP 13907) exited]
 2009-12-31 16:47:48.844 New DB connection, total: 1
 2009-12-31 16:47:49.056 Closing DB connection named 'DBManager0'
 2009-12-31 16:47:49.056 Enabled verbose msgs: important
 2009-12-31 16:47:49.082 New DB connection, total: 2
 2009-12-31 16:47:49.085 New DB connection, total: 3
 2009-12-31 16:47:49.514 Using protocol version 50
 [New Thread 0xb31aab70 (LWP 13908)]
 2009-12-31 16:47:49.956 Transcode: Looking for autodetect profile:
 Autodetect from 576i
 2009-12-31 16:47:50.035 Transcode: Using autodetect profile: MPEG2
 2009-12-31 16:47:50.035 Switching to MPEG-2 transcoder.
 [New Thread 0xb24a9b70 (LWP 13909)]

 Program received signal SIGSEGV, Segmentation fault.
 0xb4ed0a66 in memcpy () from /lib/i686/cmov/libc.so.6

 Thread 4 (Thread 0xb24a9b70 (LWP 13909)):
 #0  0xb7fe1424 in __kernel_vsyscall ()
 No symbol table info available.
 #1  0xb623c0a5 in pthread_cond_wait@@GLIBC_2.3.2 () from
 /lib/i686/cmov/libpthread.so.0
 No symbol table info available.
 #2  0x08072599 in MPEG2replex::Start (this=0xb270a4a0) at mpeg2fix.cpp:545
         ext_ok = {0 <repeats 32 times>}
         video_ok = 0
         video_delay = 0
         start = 1
         mx = {fd_out = 0, otype = 0, startup = 0, finish = 0, video_delay
 = 0, audio_delay = 0, pack_size = 0, data_size = 0, audio_buffer_size = 0,
 video_buffer_size = 0, mux_rate = 0, muxr = 0, navpack = 0 '\000',
 frame_timestamps = 0, VBR = 0, is_ts = 0, reset_clocks = 0,
 write_end_codes = 0, set_broken_link = 0, vsize = 0, extsize = 0,
 extra_clock = 0, SCR = 0, oldSCR = 0, SCRinc = 0, viu = {active = 0
 '\000', length = 0, start = 0, pts = 0, dts = 0, seq_header = 0 '\000',
 seq_end = 0 '\000', gop = 0 '\000', end_seq = 0 '\000', frame = 0 '\000',
 gop_off = 0 '\000', frame_off = 0 '\000', frame_start = 0 '\000', err = 0
 '\000', framesize = 0, ptsrate = 0}, vdbuf = {size = 0, fill = 0,
 time_index = {read_pos = 0, write_pos = 0, size = 0, buffer = 0x0},
 data_index = {read_pos = 0, write_pos = 0, size = 0, buffer = 0x0}}, ext =
 {{iu = {active = 0 '\000', length = 0, start = 0, pts = 0, dts = 0,
 seq_header = 0 '\000', seq_end = 0 '\000', gop = 0 '\000', end_seq = 0
 '\000', frame = 0 '\000', gop_off = 0 '\000', frame_off = 0 '\000',
 frame_start = 0 '\000', err = 0 '\000', framesize = 0, ptsrate = 0}, pts =
 0, pts_off = 0, type = 0, strmnum = 0, frmperpkt = 0, language =
 "\000\000\000", dbuf = {size = 0, fill = 0, time_index = {read_pos = 0,
 write_pos = 0, size = 0, buffer = 0x0}, data_index = {read_pos = 0,
 write_pos = 0, size = 0, buffer = 0x0}}} <repeats 32 times>}, extcnt = 0,
 extrbuffer = 0x0, index_extrbuffer = 0x0, vrbuffer = 0x0, index_vrbuffer =
 0x0, fill_buffers = 0, priv = 0xb270a4a0}
         audio_delay = 0
         fd_out = 14
 #3  0x08072493 in MPEG2fixup::ReplexStart (data=0xb270a4a0) at
 mpeg2fix.cpp:513
         m2f = 0xb270a4a0
 #4  0xb6238585 in start_thread () from /lib/i686/cmov/libpthread.so.0
 No symbol table info available.
 #5  0xb4f2a2be in clone () from /lib/i686/cmov/libc.so.6
 No symbol table info available.

 Thread 3 (Thread 0xb31aab70 (LWP 13908)):
 #0  0xb7fe1424 in __kernel_vsyscall ()
 No symbol table info available.
 #1  0xb4f235b1 in select () from /lib/i686/cmov/libc.so.6
 No symbol table info available.
 #2  0xb660e37f in MythSocketThread::run() () from
 /usr/lib/libmythdb-0.22.so.0
 No symbol table info available.
 #3  0xb512c5e2 in ?? () from /usr/lib/libQtCore.so.4
 No symbol table info available.
 #4  0xb6238585 in start_thread () from /lib/i686/cmov/libpthread.so.0
 No symbol table info available.
 #5  0xb4f2a2be in clone () from /lib/i686/cmov/libc.so.6
 No symbol table info available.

 Thread 1 (Thread 0xb359e930 (LWP 13895)):
 #0  0xb4ed0a66 in memcpy () from /lib/i686/cmov/libc.so.6
 No symbol table info available.
 #1  0x08051ed0 in ?? ()
 No symbol table info available.
 #2  0xb4e71b55 in __libc_start_main () from /lib/i686/cmov/libc.so.6
 No symbol table info available.
 #3  0x08051ef1 in _start ()
 No symbol table info available.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7796#comment:6>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list