[mythtv] Cannot work out mtd crash

Nigel Pearson nigel at ind.tansu.com.au
Mon May 21 08:47:31 UTC 2007


% gdb mtd
...
(gdb) run -v all
...
libdvdread: Encrypted DVD support unavailable.
2007-05-20 23:17:11.674 MSqlQuery: SELECT intid FROM dvdinput WHERE  
hsize = 720 and vsize = 576 and ar_num = 16 and ar_denom = 9 and  
fr_code = 3 and letterbox = 0 and v_format = 'pal';

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0xafffd474
[Switching to process 24823 thread 0x3003]
0xb22da422 in QString::replace ()
(gdb) where
#0  0xb22da422 in QString::replace ()
#1  0xb22da90c in QString::replace ()
#2  0xb2264509 in QSqlDriver::formatValue ()
#3  0xb2271e25 in QMYSQLDriver::formatValue ()
#4  0xb225a316 in QSqlQuery::exec ()
#5  0x0003b5e5 in MSqlQuery::exec (this=0xb0001c94) at ../../../../../ 
build/include/mythtv/mythdbcon.h:109
#6  0xc6022756 in MythContext::GetSetting (this=0x110d960,  
key=@0xb0001d9c, defaultval=@0xb0001d5c) at mythcontext.cpp:1936
#7  0xc602326c in MythContext::GetNumSetting (this=0x110d960,  
key=@0xb0001d9c, defaultval=0) at mythcontext.cpp:1982
#8  0x0001e8fb in RipFile::RipFile (this=0xb0101df8,  
a_base=@0x11235bc, an_extension=@0xb0101e50, auto_remove_bad=true) at  
fileobs.cpp:25
#9  0x00014114 in DVDISOCopyThread::copyFullDisc (this=0x1123550) at  
jobthread.cpp:681
#10 0x0001499d in DVDISOCopyThread::run (this=0x1123550) at  
jobthread.cpp:644
#11 0xb203110f in QThreadInstance::start ()
#12 0x90024147 in _pthread_body ()


This is not the first MSqlQuery that mtd has run,
just the first one that has done something strange
with memory and/or threads. I was trying to avoid
building a debug Qt if I could avoid it.

Recent SVN, qt-mac-free-3.3.6

Any ideas?


--
Nigel Pearson, nigel at ind.tansu.com.au|"Beware - I am a carrier
Telstra Net. Eng., Sydney, Australia |          of surrealism"
Office: 9202 3900    Fax:  9261 3912 |       D  A
Mobile: 0408 664435  Home: 9792 6998 |       L  I



More information about the mythtv-dev mailing list