Opened 11 years ago

Closed 11 years ago

#7034 closed defect (wontfix)

mythbackend crashed with SIGSEGV in free()

Reported by: mrand@… Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: MythTV - General Version: 0.21-fixes
Severity: medium Keywords:
Cc: Ticket locked: no


Since the expiration code has changed so very little since then, submitting even though this is 0.21 and QT3. Feel free to close if it is not worth pursuing or if you believe it to be somehow fixed by QT4.

Package: mythtv-backend 0.21.0+fixes16838-0ubuntu3.1
ProcAttrCurrent: unconfined
ProcCmdline: /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/
ProcEnviron: PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
Signal: 11
SourcePackage: mythtv
#0  0xb5b9b4ac in free () from /lib/tls/i686/cmov/
#1  0xb5d62b11 in operator delete (ptr=0x9)
    at ../../../../src/libstdc++-v3/libsupc++/
No locals.
#2  0xb5d62b6d in operator delete[] (ptr=0x11)
    at ../../../../src/libstdc++-v3/libsupc++/
No locals.
#3  0xb6605d30 in ~QStringData (this=0x822c5b0) at tools/qstring.h:366
No locals.
#4  0xb65fd3af in QStringData::deleteSelf (this=0x822c5b0)
    at tools/qstring.cpp:1561
No locals.
#5  0xb6c71ee4 in MSqlDatabase::isOpen (this=0x82e40d8)
    at /usr/include/qt3/qstring.h:851
No locals.
#6  0xb6c71f82 in MSqlQuery (this=0xb245a280, qi=@0xb245a290)
    at mythdbcon.cpp:287
No locals.
#7  0x08059394 in AutoExpire::UpdateDontExpireSet (this=0x82834a8)
    at autoexpire.cpp:1072
	query = {<QSqlQuery> = {_vptr.QSqlQuery = 0xb6e42128, d = 0x8254748}, 
  m_db = 0x82e40d8, m_isConnected = false, m_returnConnection = true}
	curTime = {d = {jd = 0}, t = {ds = 2990908036}}
#8  0x08068555 in AutoExpire::RunExpirer (this=0x82834a8)
    at autoexpire.cpp:283
	timer = {ds = 64259236}
	curTime = {d = {jd = 2454956}, t = {ds = 64259228}}
	next_expire = {d = {jd = 2454956}, t = {ds = 64259190}}
#9  0x080689cf in AutoExpire::ExpirerThread (param=0x82834a8)
    at autoexpire.cpp:587
No locals.
#10 0xb5da44fb in start_thread () from /lib/tls/i686/cmov/
#11 0xb5c02e5e in clone () from /lib/tls/i686/cmov/
Title: mythbackend crashed with SIGSEGV in free()
Uname: Linux 2.6.24-23-generic i686

More info can be found here:

Change History (1)

comment:1 Changed 11 years ago by sphery

Resolution: wontfix
Status: newclosed

QString handling has changed significantly in trunk due to the Qt4 port and work to improve handling of shared QStrings, and (as you mentioned) with the impending release of 0.22, we will no longer be using Qt3. Please open a new ticket if you see any similar problems in trunk (or 0.22, once released). Thanks for taking the time to report the issue and get a backtrace.

Note: See TracTickets for help on using tickets.