[mythtv-commits] Ticket #3748: mythtranscode - segfault at end of run
MythTV
mythtv at cvs.mythtv.org
Wed Jul 18 02:31:58 UTC 2007
#3748: mythtranscode - segfault at end of run
---------------------------+------------------------------------------------
Reporter: anonymous | Owner: ijr
Type: defect | Status: new
Priority: minor | Milestone: unknown
Component: mythtranscode | Version: head
Severity: medium | Mlocked: 0
---------------------------+------------------------------------------------
When running mythtranscode, either from within mytharchive or standalone,
the application segfaults at the very end of the run.
Running strace, it appears that it might be due to a double-free (but I'm
not sure):
{{{
open("/mnt/store/tmp/mytharchive/work/1/newfile.map",
O_WRONLY|O_CREAT|O_TRUNC, 0666) = 9
fstat(9, {st_mode=S_IFREG|0644, st_size=0, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x2aaab35dc000
write(9, "Type: 9\n0 14\n15 665614\n30 132916"..., 1116) = 1116
close(9) = 0
munmap(0x2aaab35dc000, 4096) = 0
munmap(0x2aaab2fa6000, 1224704) = 0
munmap(0x2aaab30d1000, 1224704) = 0
brk(0xd90000) = 0xd90000
munmap(0x2aaab31fc000, 3383296) = 0
munmap(0x2aaab3536000, 679936) = 0
ioctl(4, FIONREAD, [1]) = 0
poll([{fd=7, events=POLLIN|POLLPRI}], 1, 0) = 0
write(7, "\1\0\0\0\1", 5) = 5
shutdown(7, 2 /* send and receive */) = 0
close(7) = 0
poll([{fd=6, events=POLLIN|POLLPRI}], 1, 0) = 0
write(6, "\1\0\0\0\1", 5) = 5
shutdown(6, 2 /* send and receive */) = 0
close(6) = 0
munmap(0x2aaab22e4000, 2149664) = 0
munmap(0x3c6d200000, 3607584) = 0
munmap(0x2aaab2515000, 2306432) = 0
munmap(0x2aaab2749000, 2194096) = 0
munmap(0x3c6b400000, 2395424) = 0
munmap(0x330a200000, 3434264) = 0
munmap(0x3c6b000000, 2283888) = 0
munmap(0x3c6a800000, 2694336) = 0
munmap(0x3309e00000, 2103032) = 0
munmap(0x2aaab2961000, 2247176) = 0
munmap(0x3c6ac00000, 2127504) = 0
munmap(0x330b600000, 2102672) = 0
munmap(0x2aaab2b86000, 2181896) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
}}}
Using svn version 13967, compiled x86_64 for AMD Athlon 64 x2 with
--compile-type=debug (same results without the option)
I've attached the output of a gdb run per the "Debugging with gdb" section
of the mythtv.org website. Please let me know if I can add anything else
useful.
--
Ticket URL: <http://svn.mythtv.org/trac/ticket/3748>
MythTV <http://svn.mythtv.org/trac>
MythTV
More information about the mythtv-commits
mailing list