Project

General

Profile

Bug #174

malloc error on core exit

Added by EgS almost 12 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Quassel Core
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Version:
0.13.0
OS:
Any

Description

Sometimes a clean core shutdown fails with a malloc error

Additional information:

Caught signal 2 - exiting.
quasselcore(89004,0xb0081000) malloc: *** error for object 0x77f5a0: incorrect checksum for freed object - object was probably modified after being freed.
  • set a breakpoint in malloc_error_break to debug
    [Switching to process 89004 thread 0x1b07]

Breakpoint 1, 0x95f94661 in malloc_error_break ()
(gdb) bt
#0 0x95f94661 in malloc_error_break ()
#1 0x95f8f64f in szone_error ()
#2 0x95eb736e in tiny_free_list_add_ptr ()
#3 0x95eb43fa in szone_free ()
#4 0x95eb8af4 in szone_realloc ()
#5 0x95eb814e in malloc_zone_realloc ()
#6 0x95eb80c1 in realloc ()
#7 0x004baba0 in QListData::realloc ()
#8 0x004baca7 in QListData::append ()
#9 0x0007c1b0 in QList<IrcUser*>::append (this=0xb00805cc, t=@0x78261c) at qlist.h:427
#10 0x0007d7ba in QHash<QString, IrcUser*>::values (this=0x76f854) at qhash.h:681
#11 0x00077fd6 in Network::ircUsers (this=0x76f820) at ../../src/common/network.cpp:361
#12 0x00078e31 in Network::removeChansAndUsers (this=0x76f820) at ../../src/common/network.cpp:338
#13 0x00079053 in Network::setConnected (this=0x76f820, connected=false) at ../../src/common/network.cpp:527
#14 0x0001de8e in NetworkConnection::socketDisconnected (this=0x771fc0) at ../../src/core/networkconnection.cpp:369
#15 0x000524e1 in NetworkConnection::qt_metacall (this=0x771fc0, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xb008075c) at core/moc_networkconnection.cpp:192
#16 0x0058ec40 in QMetaObject::activate ()
#17 0x003cecd2 in QAbstractSocket::disconnected ()
#18 0x003ec960 in QSslSocket::qt_metacall ()
#19 0x0058ec40 in QMetaObject::activate ()
#20 0x003cecd2 in QAbstractSocket::disconnected ()
#21 0x003d393d in QAbstractSocket::disconnectFromHostImplementation ()
#22 0x003d3c9b in QAbstractSocket::qt_metacall ()
#23 0x005864db in QMetaObject::invokeMethod ()
#24 0x003cf589 in QAbstractSocket::disconnectFromHost ()
#25 0x003cf8ef in QAbstractSocket::close ()
#26 0x003d2b55 in QAbstractSocket::abort ()
#27 0x003d2c35 in QAbstractSocket::~QAbstractSocket ()
#28 0x003d4da8 in QTcpSocket::~QTcpSocket ()
#29 0x003e7de5 in QSslSocket::~QSslSocket ()
#30 0x000202fd in NetworkConnection::~NetworkConnection (this=0x771fc0) at ../../src/core/networkconnection.cpp:110
#31 0x00014b38 in CoreSession::~CoreSession (this=0x755290) at ../../src/core/coresession.cpp:99
#32 0x0004e7aa in SessionThread::run (this=0x7554a0) at ../../src/core/sessionthread.cpp:82
#33 0x004939bf in QThreadPrivate::start ()
#34 0x95edec55 in _pthread_start ()
#35 0x95edeb12 in thread_start ()

History

#1 Updated by EgS over 11 years ago

fixed

Also available in: Atom PDF