[mythtv-commits] Ticket #6358: checkTimeZone() with old backends can crash

MythTV mythtv at cvs.mythtv.org
Sun Mar 15 10:50:39 UTC 2009


#6358: checkTimeZone() with old backends can crash
------------------------------+---------------------------------------------
 Reporter:  nigel             |       Owner:  ijr    
     Type:  defect            |      Status:  new    
 Priority:  minor             |   Milestone:  unknown
Component:  MythTV - General  |     Version:  unknown
 Severity:  medium            |     Mlocked:  0      
------------------------------+---------------------------------------------
 {{{
 % ./mythbackend
 2009-03-15 21:17:12.301 mythbackend version: trunk [20210M] www.mythtv.org
 2009-03-15 21:17:12.305 Using runtime prefix = /Volumes/MythBuild/.osx-
 packager/src/myth-svn/mythtv/programs/Resources
 2009-03-15 21:17:12.305 Using localhost value of macaque.ind.tansu.com.au
 2009-03-15 21:17:12.307 Testing network connectivity to 192.168.0.14
 2009-03-15 21:17:12.343 New DB connection, total: 1
 2009-03-15 21:17:12.359 Connected to database 'mythconverg' at host:
 192.168.0.14
 2009-03-15 21:17:12.359 Closing DB connection named 'DBManager0'
 2009-03-15 21:17:12.360 Connected to database 'mythconverg' at host:
 192.168.0.14
 zsh: bus error  ./mythbackend

 % gdb ./mythbackend
 ...
 (gdb) run -v all
 The program being debugged has been started already.
 Start it from the beginning? (y or n) y
 Starting program: /Volumes/MythBuild/.osx-packager/src/myth-
 svn/mythtv/programs/mythbackend/mythbackend -v all
 2009-03-15 21:18:01.048 mythbackend version: trunk [20210M] www.mythtv.org
 ...
 2009-03-15 21:18:01.106 MSqlQuery::exec() "SELECT data FROM settings WHERE
 value = 'MasterServerPort' AND hostname IS NULL;"
 2009-03-15 21:18:01.107 MythSocket(212c430:9): attempting connect() to
 (192.168.0.14:6543)
 2009-03-15 21:18:01.107 MythSocket(212c430:9): state change Idle ->
 Connected
 2009-03-15 21:18:01.107 write ->  9 21      ANN Monitor tzcheck 0
 2009-03-15 21:18:01.109 read  <-  9 2       OK
 2009-03-15 21:18:01.109 write ->  9 15      QUERY_TIME_ZONE
 2009-03-15 21:18:01.110 read  <-  9 15      UNKNOWN_COMMAND

 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x3220353d
 0x01cfd109 in QLocalePrivate::numberToCLocale ()
 (gdb) where
 #0  0x01cfd109 in QLocalePrivate::numberToCLocale ()
 #1  0x01cfe3d9 in QLocalePrivate::stringToLongLong ()
 #2  0x01d115f5 in QString::toLongLong ()
 #3  0x01d11677 in QString::toInt ()
 #4  0xc60d554d in checkTimeZone ()
 #5  0x02816800 in ?? ()
 Previous frame inner to this frame (corrupt stack?)
 (gdb)
 }}}
 Initial debug looks like something is supplying a bad QStringList to
 checkTimeZone()

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6358>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list