Opened 11 years ago

Closed 11 years ago

#6544 closed defect (invalid)

DB Connection related segfault

Reported by: stuartm Owned by: Isaac Richards
Priority: major Milestone: 0.22
Component: MythTV - General Version: head
Severity: medium Keywords:
Cc: Ticket locked: no


Seems to stem from an attempt to use a dead connection, few lines preceeding the segfault in the logs are more interesting than the backtrace itself IMHO

Attachments (1)

db_connection_segfault.txt (33.3 KB) - added by stuartm 11 years ago.
Log and Backtrace

Download all attachments as: .zip

Change History (3)

Changed 11 years ago by stuartm

Attachment: db_connection_segfault.txt added

Log and Backtrace

comment:1 Changed 11 years ago by sphery

Refs #6887

comment:2 Changed 11 years ago by danielk

Resolution: invalid
Status: newclosed

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

On line 420 they have added two null pointer checks.

Note: See TracTickets for help on using tickets.