Opened 16 years ago
Closed 16 years ago
#3748 closed defect (invalid)
mythtranscode - segfault at end of run
Reported by: | anonymous | Owned by: | Isaac Richards |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtranscode | Version: | head |
Severity: | medium | Keywords: | mythtranscode segfault |
Cc: | Ticket locked: | no |
Description
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.
Attachments (1)
Change History (4)
comment:1 follow-up: 2 Changed 16 years ago by
Looks like a broken QT (version 3.3.8): http://www.gossamer-threads.com/lists/mythtv/dev/257269#257269
comment:2 Changed 16 years ago by
I (the initiator of this ticket) can confirm that this is indeed the problem, and that the patch mentioned in the above thread does in fact correct the issue for me (using Fedora 7). Thanks for the quick reply!
comment:3 Changed 16 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
The QT app destructor bug again. Fixed by Tolltech in QT 3.3.9
gdb.txt from debug run