mythfrontend crashes when switching live TV channels (during malloc)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mythtv (Ubuntu) |
Fix Released
|
Low
|
Kees Cook |
Bug Description
When changing channel in livetv, mythfrontend aborted.
Program received signal SIGABRT, Aborted.
[Switching to Thread 1099422032 (LWP 10878)]
0x00002adddde5247b in raise () from /lib/libc.so.6
(gdb) bt
#0 0x00002adddde5247b in raise () from /lib/libc.so.6
#1 0x00002adddde53da0 in abort () from /lib/libc.so.6
#2 0x00002adddde8953b in __libc_message () from /lib/libc.so.6
#3 0x00002adddde8eab3 in malloc_consolidate () from /lib/libc.so.6
#4 0x00002adddde90f9d in _int_malloc () from /lib/libc.so.6
#5 0x00002adddde926dd in malloc () from /lib/libc.so.6
#6 0x00002adddda4fe8d in operator new () from /usr/lib/
#7 0x00002adddda4ffa9 in operator new[] () from /usr/lib/
#8 0x00002adddcd392d0 in QGDict::init () from /usr/lib/
#9 0x00002adddcd394a0 in QGDict::QGDict () from /usr/lib/
#10 0x00002adddcc9ea35 in QIntDict<
#11 0x00002adddcd5475c in QRegExpEngine:
#12 0x00002adddcd54931 in QRegExpEngine:
#13 0x00002adddcd54eff in QRegExp:
#14 0x00002adddcd54f59 in QRegExp:
#15 0x00002adddcd5510e in QRegExp::search () from /usr/lib/
#16 0x00002adddcd551be in QRegExp::search () from /usr/lib/
#17 0x00002adddcd5ef0b in QString::find () from /usr/lib/
#18 0x00002addd94339a6 in ProgramInfo::ToMap () from /usr/lib/
#19 0x00002addd96d0576 in TV::UpdateOSDPr
#20 0x00002addd96d495d in TV::UnpauseLiveTV () from /usr/lib/
#21 0x00002addd96e44d6 in TV::ChangeChannel () from /usr/lib/
#22 0x00002addd96e4c66 in TV::CommitQueue
#23 0x00002addd96f2224 in TV::RunTV () from /usr/lib/
#24 0x00002addd96f257d in TV::EventThread () from /usr/lib/
#25 0x00002adddd8823ca in start_thread () from /lib/libpthread
#26 0x00002addddeef55d in clone () from /lib/libc.so.6
#27 0x0000000000000000 in ?? ()
As it's a malloc abort, I'll try valgrind next.
Another abort, not inside gdb this time.
2006-11-04 20:23:58.312 DPMS Deactivated so.6(__ libc_free+ 0x17a)[ 0x2ac9137969aa] libqt-mt. so.3(_ZN7QGArra yD2Ev+0x76) [0x2ac91263aef8 ] libmythtv- 0.20.so. 0(_ZN9QMemArray IcED1Ev+ 0x27)[0x2ac90ee 67719] libqt-mt. so.3(_ZN7QBuffe rD0Ev+0x2b) [0x2ac912628031 ] libqt-mt. so.3(_ZN11QData StreamD1Ev+ 0x53)[0x2ac9126 30b83] libqt-mt. so.3(_ZNK11QTra nslator11findMe ssageEPKcS1_ S1_+0x49b) [0x2ac91234bdc1 ] libqt-mt. so.3(_ZNK12QApp lication9transl ateEPKcS1_ S1_NS_8Encoding E+0xe5) [0x2ac9122fca31 ] libqt-mt. so.3(_ZN7QObjec t2trEPKcS1_ +0x4e)[ 0x2ac9126cce56] libmythtv- 0.20.so. 0(_ZNK11Program Info5ToMapER4QM apI7QStringS1_ Eb+0x1cb0) [0x2ac90ed3b476 ] 0x462e1f] 0x463faa] 0x464504] libqt-mt. so.3(_ZN7QWidge t5eventEP6QEven t+0x5ca) [0x2ac912394932 ] libqt-mt. so.3(_ZN12QAppl ication14intern alNotifyEP7QObj ectP6QEvent+ 0x25e)[ 0x2ac9122fb2d6] libqt-mt. so.3(_ZN12QAppl ication6notifyE P7QObjectP6QEve nt+0xd40) [0x2ac9122fdb4a ] libqt-mt. so.3(_ZN12QAppl ication20sendSp ontaneousEventE P7QObjectP6QEve nt+0x5e) [0x2ac91228deb4 ] libqt-mt. so.3(_ZN9QETWid get19translateP aintEventEPK7_ XEvent+ 0x3d4)[ 0x2ac91227d648] libqt-mt. so.3(_ZN12QAppl ication15x11Pro cessEventEP7_ XEvent+ 0xc78)[ 0x2ac91228ad20] libqt-mt. so.3(_ZN10QEven tLoop13processE ventsEj+ 0x110)[ 0x2ac9122a156a] libqt-mt. so.3(_ZN10QEven tLoop9enterLoop Ev+0x73) [0x2ac91231480b ] libqt-mt. so.3(_ZN12QAppl ication10enter_ loopEv+ 0x22)[0x= ====== Backtrace: ========= so.6(__ libc_free+ 0x17a)[ 0x2ac9137969aa] libqt-mt. so.3(_ZN7QGArra yD2Ev+0x76) [0x2ac91263aef8 ] libmyth- 0.20.so. 0(_ZN10MythDial og4execEv+ 0x73)[0x2ac9106 0a3ff] libmythtv- 0.20.so. 0(_ZN9QMemArray IcED1Ev+ 0x27)[0x2ac90ee 67719] libqt-mt. so.3(_ZN7QBuffe rD0Ev+0x2b) [0x2ac912628031 ] 0x437da0] libqt-mt. so.3mythfronten d[0x438cfe] amD1Ev+ 0x53)[0x2ac9126 30b83/usr/ lib/libmythui- 0.20.so. 0(_ZN21MythThem edMenuPrivate12 handleActionERK 7QString+ 0x107a) [0x2ac91091f2f0 ] libmythui- 0.20.so. 0(_ZN21MythThem edMenuPrivate10 keyHandlerER11Q StringListb+ 0x5be)[ 0x2ac91091f8c8] libmythui- 0.20.so. 0(_ZN21MythThem edMenuPrivate15 keyPressHandler EP9QKeyEvent+ 0x92)[0x2ac9109 20022] libmythui- 0.20.so. 0(_ZN14MythThem edMenu13keyPres sEventEP9QKeyEv ent+0x53) [0x2ac9109200af ] libmythui- 0.20.so. 0(_ZN14MythMain Window11eventFi lterEP7QObjectP 6QEvent+ 0x221)[ 0x2ac9108d969b] libqt-mt. so.3(_ZN7QObjec t16activate_ filtersEP6QEven t+0x6b) [0x2ac91235f375 ] libqt-mt. so.3(_ZN7QObjec t5eventEP6QEven t+0x42) [0x2ac91235f3ee ] libqt-mt. so.3(_ZN7QWidge t5eventEP6QEven t+0x2d) [0x2ac912394395 ]
2006-11-04 20:24:56.991 TV: Attempting to change from WatchingPreRecorded to None
2006-11-04 20:24:57.436 TV: Changing from WatchingPreRecorded to None
2006-11-04 20:24:57.767 DPMS Reactivated.
*** glibc detected *** mythfrontend: munmap_chunk(): invalid pointer: 0x00002aaaaae5274f ***
*** glibc detected *** mythfrontend: munmap_chunk(): invalid pointer: 0x00002aaaaae5274f ***
======= Backtrace: =========
/lib/libc.
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
mythfrontend[
mythfrontend[
mythfrontend[
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/lib/libc.
2ac9122fcd3a]
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
mythfrontend[
/usr/lib/
(_ZN11QDataStre
]
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
...