Summary: | Kopete crashes randomly when no Kopete windows have focus | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | Kevin Dean <kevin> |
Component: | general | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | crash | CC: | f_marass |
Priority: | NOR | ||
Version First Reported In: | 0.12.3 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Kevin Dean
2006-12-27 23:30:43 UTC
Kopete crashes when attempting to allocate memory. you'll need to run kopete from a terminal window and provide the last 100 lines or so of output from that terminal the next time kopete crashes. My gut tells me that this isn't a problem with kopete exactly. My initial guess would be that you're somehow running out of memory or some other sort of condition like that. Here is the terminal output. *** kopete (oscar - raw protocol): [void MessageReceiverTask::handleType1Message()] Got features tlv. length: 1 data: [01 ] kopete (oscar - raw protocol): [void MessageReceiverTask::handleType1Message()] Message charset: 3 message subcharset: 0 kopete (oscar - raw protocol): [void Client::receivedMessage(const Oscar::Message&)] Emitting receivedMessage kopete (oscar/aim): [virtual void AIMAccount::messageReceived(const Oscar::Message&)] Got a message, calling OscarAccount::messageReceived kopete (oscar/aim): [virtual QString AIMAccount::sanitizedMessage(const QString&)] error from dom document conversion: unexpected character kopete (oscar/aim): [virtual void AIMAccount::messageReceived(const Oscar::Message&)] Checking to see if I'm online.. kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 4062 has color mediumpurple libkopete: [virtual Kopete::MessageEvent::~MessageEvent()] kopete (msn - raw protocol): [virtual void MSNSocket::slotReadyWrite()] Sending command: PNG kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] QNG 50 kopete (msn): [virtual void MSNNotifySocket::parseCommand(const QString&, uint, const QString&)] timerTimeout=50sec kopete (groupwise): [virtual void AIMContact::slotSendMsg(Kopete::Message&, Kopete::ChatSession*)] sending Short, sweet, to the point. kopete (oscar - raw protocol): [void SendMessageTask::addChannel1Data(Buffer*)] Sending outgoing message in per-contact encoding kopete (oscar - raw protocol): [virtual void SendMessageTask::onGo()] SENDING: kopete (oscar - raw protocol): kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 2453 has color steelblue libkopete: [virtual Kopete::MessageEvent::~MessageEvent()] kopete (oscar - raw protocol): [void CoreProtocol::addIncomingData(const QByteArray&)] Received 36 bytes. kopete (oscar - raw protocol): [virtual Transfer* SnacProtocol::parse(const QByteArray&, uint&)] family: 4 subtype: 12 flags: 0 id: 50505 kopete (oscar - raw protocol): [void Connection::distribute(Transfer*) const] root task refused transfer kopete (groupwise): [virtual void AIMContact::slotSendMsg(Kopete::Message&, Kopete::ChatSession*)] sending I'd be a bit more rude. ;P kopete (oscar - raw protocol): [void SendMessageTask::addChannel1Data(Buffer*)] Sending outgoing message in per-contact encoding kopete (oscar - raw protocol): [virtual void SendMessageTask::onGo()] SENDING: kopete (oscar - raw protocol): kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 2453 has color steelblue libkopete: [virtual Kopete::MessageEvent::~MessageEvent()] kopete (oscar - raw protocol): [void CoreProtocol::addIncomingData(const QByteArray&)] Received 36 bytes. kopete (oscar - raw protocol): [virtual Transfer* SnacProtocol::parse(const QByteArray&, uint&)] family: 4 subtype: 12 flags: 0 id: 50508 kopete (oscar - raw protocol): [void Connection::distribute(Transfer*) const] root task refused transfer kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] UBX the.lovely.neira@hotmail.com 208 <Data><PSM></PSM><CurrentMedia>ITunes\0Music\01\0{0} - {1}\0Vindicated\0Dashboard Confessional\0Spider-Man 2 Soundtrack\0</CurrentMedia><MachineGuid>{F3CEA813-5972-4156-BDC2-CD3F21CF5AB9}</MachineGuid></Data> kopete (msn): [void MSNNotifySocket::slotReadMessage(const QByteArray&)] Personnal Message received: kopete (msn): [void MSNNotifySocket::slotReadMessage(const QByteArray&)] XML CurrentMedia: ITunes\0Music\01\0{0} - {1}\0Vindicated\0Dashboard Confessional\0Spider-Man 2 Soundtrack\0 kopete: Current Media received: Now Listening: ♫ Vindicated - Dashboard Confessional ♫ libkopete: [void Kopete::ContactList::setSelectedItems(QPtrList<Kopete::MetaContact>, QPtrList<Kopete::Group>)] 1 metacontacts, 0 groups selected kopete: [void ChatMessagePart::writeTemplate()] QFont::setPointSize: Point size <= 0 (-1) QFont::setPointSize: Point size <= 0 (-1) QFont::setPointSize: Point size <= 0 (-1) QFont::setPointSize: Point size <= 0 (-1) libkopete: [void Kopete::ContactList::setSelectedItems(QPtrList<Kopete::MetaContact>, QPtrList<Kopete::Group>)] 0 metacontacts, 0 groups selected libkopete: [void Kopete::ContactList::setSelectedItems(QPtrList<Kopete::MetaContact>, QPtrList<Kopete::Group>)] 1 metacontacts, 0 groups selected kopete: [void ChatMessagePart::writeTemplate()] QFont::setPointSize: Point size <= 0 (-1) QFont::setPointSize: Point size <= 0 (-1) QFont::setPointSize: Point size <= 0 (-1) QFont::setPointSize: Point size <= 0 (-1) libkopete: [void Kopete::ContactList::setSelectedItems(QPtrList<Kopete::MetaContact>, QPtrList<Kopete::Group>)] 0 metacontacts, 0 groups selected libkopete: [void Kopete::ContactList::setSelectedItems(QPtrList<Kopete::MetaContact>, QPtrList<Kopete::Group>)] 1 metacontacts, 0 groups selected kopete: [void ChatMessagePart::writeTemplate()] QFont::setPointSize: Point size <= 0 (-1) QFont::setPointSize: Point size <= 0 (-1) QFont::setPointSize: Point size <= 0 (-1) QFont::setPointSize: Point size <= 0 (-1) libkopete: [void Kopete::ContactList::setSelectedItems(QPtrList<Kopete::MetaContact>, QPtrList<Kopete::Group>)] 0 metacontacts, 0 groups selected QFont::setPointSize: Point size <= 0 (-1) QFont::setPointSize: Point size <= 0 (-1) kopete: [virtual ChatMessagePart::~ChatMessagePart()] libkopete: [void Kopete::ChatSessionManager::removeSession(Kopete::ChatSession*)] QFont::setPointSize: Point size <= 0 (-1) QFont::setPointSize: Point size <= 0 (-1) kopete: [virtual ChatMessagePart::~ChatMessagePart()] libkopete: [void Kopete::ChatSessionManager::removeSession(Kopete::ChatSession*)] QFont::setPointSize: Point size <= 0 (-1) QFont::setPointSize: Point size <= 0 (-1) kopete: [virtual ChatMessagePart::~ChatMessagePart()] libkopete: [void Kopete::ChatSessionManager::removeSession(Kopete::ChatSession*)] kopete (oscar - raw protocol): [void CoreProtocol::addIncomingData(const QByteArray&)] Received 38 bytes. kopete (oscar - raw protocol): [virtual Transfer* SnacProtocol::parse(const QByteArray&, uint&)] family: 4 subtype: 20 flags: 0 id: 2554715649 kopete (oscar - raw protocol): [void TypingNotifyTask::handleNotification()] lkeskywkr has started typing kopete (oscar - raw protocol): [void CoreProtocol::addIncomingData(const QByteArray&)] Received 264 bytes. kopete (oscar - raw protocol): [virtual Transfer* SnacProtocol::parse(const QByteArray&, uint&)] family: 4 subtype: 7 flags: 0 id: 2554716012 kopete (oscar - raw protocol): [virtual bool MessageReceiverTask::take(Transfer*)] icbm cookie is [ca 41 05 30 41 2b b5 67 ] kopete (oscar - raw protocol): [virtual bool MessageReceiverTask::take(Transfer*)] channel is 1 kopete (oscar - raw protocol): [void UserDetails::fill(Buffer*)] Got user info for lkeskywkr kopete (oscar - raw protocol): [void MessageReceiverTask::handleType1Message()] Got features tlv. length: 1 data: [01 ] kopete (oscar - raw protocol): [void MessageReceiverTask::handleType1Message()] Message charset: 0 message subcharset: 0 kopete (oscar - raw protocol): [void Client::receivedMessage(const Oscar::Message&)] Emitting receivedMessage kopete (oscar/aim): [virtual void AIMAccount::messageReceived(const Oscar::Message&)] Got a message, calling OscarAccount::messageReceived kopete (oscar/aim): [virtual QString AIMAccount::sanitizedMessage(const QString&)] error from dom document conversion: unexpected character kopete (oscar/aim): [virtual void AIMAccount::messageReceived(const Oscar::Message&)] Checking to see if I'm online.. kopete: [QString ChatMessagePart::formatStyleKeywords(const QString&, const Kopete::Message&)] 4062 has color mediumpurple libkopete: [virtual Kopete::MessageEvent::~MessageEvent()] kopete (msn - raw protocol): [virtual void MSNSocket::slotReadyWrite()] Sending command: PNG kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] QNG 48 kopete (msn): [virtual void MSNNotifySocket::parseCommand(const QString&, uint, const QString&)] timerTimeout=48sec kopete (oscar - raw protocol): [void CoreProtocol::addIncomingData(const QByteArray&)] Received 153 bytes. kopete (oscar - raw protocol): [virtual Transfer* SnacProtocol::parse(const QByteArray&, uint&)] family: 3 subtype: 11 flags: 0 id: 2554726372 kopete (oscar - raw protocol): [void UserDetails::fill(Buffer*)] Got user info for SageRaynn kopete (oscar - raw protocol): [Oscar::DWORD Oscar::parseCapabilities(Buffer&, QString&)] CAPS: CAP_SENDFILE CAP_IMIMAGE CAP_BUDDYICON kopete (oscar): Buffer::getByte(): mBuffer empty kopete (oscar): Buffer::getByte(): mBuffer empty kopete (oscar - raw protocol): [void UserDetails::fill(Buffer*)] Unknown TLV, type=38, length=4 in userinfo kopete (oscar - raw protocol): [virtual void AIMContact::userInfoUpdated(const QString&, const UserDetails&)] SageRaynn kopete (oscar - raw protocol): [virtual void AIMContact::userInfoUpdated(const QString&, const UserDetails&)] Contact: SageRaynn is online. terminate called after throwing an instance of 'std::bad_alloc' what(): St9bad_alloc KCrash: Application 'kopete' crashing... *** Bug 141044 has been marked as a duplicate of this bug. *** My random crashes have not been on conditions of exhausted memory. The system was acting normal and responsive at the time. I also use the system memory taskbar applet and swap was not filled up. To be honest, I'm not sure we can fix this. We have to be able to expect that we can allocate memory. Not to mention that it's crashing in a call to the Qt library, which is outside of Kopete's source code anyways. Looks like its crashing when trying to receive a message. Have newer versions of Kopete helped any at all? I can't really contribute too much more that's useful to this bug; I've since stopped using Kopete on a daily basis, and I've replaced the machine that this bug was a constant problem with. No way to reproduce, reopen if you can provide this. |