[mythtv-commits] Ticket #6544: DB Connection related segfault

MythTV mythtv at cvs.mythtv.org
Mon Oct 12 18:38:29 UTC 2009


#6544: DB Connection related segfault
------------------------------+---------------------------------------------
 Reporter:  stuartm           |        Owner:  ijr    
     Type:  defect            |       Status:  closed 
 Priority:  major             |    Milestone:  0.22   
Component:  MythTV - General  |      Version:  head   
 Severity:  medium            |   Resolution:  invalid
  Mlocked:  0                 |  
------------------------------+---------------------------------------------
Changes (by danielk):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 From the backtrace it looks like the Qt bug where ~QSqlQuery which
 eventually calls mysql_next_result() in QMYSQLResult with a NULL handle.
 This only happens with a MYSQL_VERSION_ID >= 40100 when we have an invalid
 DB connection.

 Note: This does appear to be fixed upstream though I don't know when, see
 http://qt.gitorious.org/qt/qt/blobs/master/src/sql/drivers/mysql/qsql_mysql.cpp
 On line 420 they have added two null pointer checks.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/6544#comment:2>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list