Bug 209203 - ChoqoK crashing after creating a post [QString::operator=, TwitterApiMicroBlog::readPostFromDomElement, TwitterApiMicroBlog::readPostFromXml]
Summary: ChoqoK crashing after creating a post [QString::operator=, TwitterApiMicroBlo...
Status: RESOLVED FIXED
Alias: None
Product: choqok
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Mehrdad Momeny
URL:
Keywords:
: 210790 213501 220826 224031 224844 224962 227691 228232 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-02 12:53 UTC by MaXeR
Modified: 2010-02-27 08:30 UTC (History)
9 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (6.16 KB, text/plain)
2010-02-24 21:15 UTC, Rich Johnson
Details
choqok data via valgrind (192.61 KB, text/plain)
2010-02-24 22:32 UTC, Rich Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MaXeR 2009-10-02 12:53:04 UTC
Version:           0.9.2 (using KDE 4.3.1)
OS:                Linux
Installed from:    Ubuntu Packages

.kcrash file:

Application: Choqok (choqok), signal: Segmentation fault
[KCrash Handler]
#6  0xb74d308a in QString::operator= () from /usr/lib/libQtCore.so.4
#7  0xb39a2fdb in TwitterApiMicroBlog::readPostFromDomElement () from /usr/lib/libtwitterapihelper.so.0
#8  0xb399672e in TwitterApiMicroBlog::readPostFromXml () from /usr/lib/libtwitterapihelper.so.0
#9  0xb399c518 in TwitterApiMicroBlog::slotCreatePost () from /usr/lib/libtwitterapihelper.so.0
#10 0xb3996242 in TwitterApiMicroBlog::qt_metacall () from /usr/lib/libtwitterapihelper.so.0
#11 0xb39b68c2 in ?? () from /usr/lib/kde4/choqok_laconica.so
#12 0xb7592b33 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb7593782 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0xb77b70b3 in KJob::result () from /usr/lib/libkdecore.so.5
#15 0xb77b7559 in KJob::emitResult () from /usr/lib/libkdecore.so.5
#16 0xb7a79995 in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.5
#17 0xb7a7a2d3 in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.5
#18 0xb7a7687b in KIO::TransferJob::qt_metacall () from /usr/lib/libkio.so.5
#19 0xb7a76baa in KIO::StoredTransferJob::qt_metacall () from /usr/lib/libkio.so.5
#20 0xb7592b33 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb7593782 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb7b3f8d7 in KIO::SlaveInterface::finished () from /usr/lib/libkio.so.5
#23 0xb7b43617 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#24 0xb7b3fdb7 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#25 0xb7b31b2d in KIO::Slave::gotInput () from /usr/lib/libkio.so.5
#26 0xb7b33fc3 in KIO::Slave::qt_metacall () from /usr/lib/libkio.so.5
#27 0xb7592b33 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb7593782 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb7a3d697 in KIO::Connection::readyRead () from /usr/lib/libkio.so.5
#30 0xb7a3f003 in ?? () from /usr/lib/libkio.so.5
#31 0xb7a3f3e6 in KIO::Connection::qt_metacall () from /usr/lib/libkio.so.5
#32 0xb758c33b in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#33 0xb758de10 in QObject::event () from /usr/lib/libQtCore.so.4
#34 0xb6a60814 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#35 0xb6a6897e in QApplication::notify () from /usr/lib/libQtGui.so.4
#36 0xb7dec85d in KApplication::notify () from /usr/lib/libkdeui.so.5
#37 0xb757d9cb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#38 0xb757e60e in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#39 0xb757e7ed in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#40 0xb75a8c0f in ?? () from /usr/lib/libQtCore.so.4
#41 0xb62e8d78 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#42 0xb62ec620 in ?? () from /usr/lib/libglib-2.0.so.0
#43 0xb62ec753 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#44 0xb75a8858 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#45 0xb6afffd5 in ?? () from /usr/lib/libQtGui.so.4
#46 0xb757c01a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#47 0xb757c462 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#48 0xb757e8b9 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#49 0xb6a60697 in QApplication::exec () from /usr/lib/libQtGui.so.4
#50 0x08054ae8 in _start ()
Comment 1 Dario Andres 2009-10-17 21:50:19 UTC
Bug 210790 says this was caused by a "quick post"
Comment 2 Dario Andres 2009-10-17 21:50:23 UTC
*** Bug 210790 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-11-11 02:40:20 UTC
From bug 213501:
---
What I was doing when the application crashed:
When I tried to send a quick update to both twitter and identi.ca, choqok
crashed. 

I had a is.gd/... URL in the update.
---

A complete backtrace:
---

Thread 1 (Thread 0x7f399cb66740 (LWP 24204)):
[KCrash Handler]
#5  QString::operator= (this=0xf8d0e0, other=@0x7fffcbcbfed0) at
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#6  0x00007f398da5c6f9 in ChoqokId::operator= (this=0xf8d0e0) at
/var/tmp/portage/net-im/choqok-0.9.4/work/choqok-0.9.4/libchoqok/choqokid.h:36
#7  0x00007f398da56eeb in TwitterApiMicroBlog::readPostFromDomElement
(this=0x1059f10, theAccount=0xee2d60, root=<value optimized out>,
post=0xf8d0b0)
    at
/var/tmp/portage/net-im/choqok-0.9.4/work/choqok-0.9.4/helperlibs/twitterapihelper/twitterapimicroblog.cpp:691
#8  0x00007f398da577fb in TwitterApiMicroBlog::readPostFromXml (this=0x1059f10,
theAccount=0xee2d60, buffer=<value optimized out>, post=0xf8d0b0)
    at
/var/tmp/portage/net-im/choqok-0.9.4/work/choqok-0.9.4/helperlibs/twitterapihelper/twitterapimicroblog.cpp:660
#9  0x00007f398da590c8 in TwitterApiMicroBlog::slotCreatePost (this=0x1059f10,
job=0xce6160)
    at
/var/tmp/portage/net-im/choqok-0.9.4/work/choqok-0.9.4/helperlibs/twitterapihelper/twitterapimicroblog.cpp:332
#10 0x00007f398da54f3b in TwitterApiMicroBlog::qt_metacall (this=0x1059f10,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcbcc03d0)
    at
/var/tmp/portage/net-im/choqok-0.9.4/work/choqok-0.9.4_build/helperlibs/twitterapihelper/twitterapimicroblog.moc:129
#11 0x00007f399ae3be69 in QMetaObject::activate (sender=0xce6160,
from_signal_index=<value optimized out>, to_signal_index=7,
argv=0x7f399b102800) at kernel/qobject.cpp:3101
#12 0x00007f399b451632 in KJob::result (this=0xf8d0e0, _t1=0xce6160) at
/var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3_build/kdecore/kjob.moc:188
#13 0x00007f399b451a33 in KJob::emitResult (this=0xce6160) at
/var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3/kdecore/jobs/kjob.cpp:304
#14 0x00007f399bd563fa in KIO::SimpleJob::slotFinished (this=0xce6160) at
/var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3/kio/kio/job.cpp:477
#15 0x00007f399bd5680b in KIO::TransferJob::slotFinished (this=0xce6160) at
/var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3/kio/kio/job.cpp:948
#16 0x00007f399bd5c8a5 in KIO::TransferJob::qt_metacall (this=0xce6160,
_c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffcbcc07e0)
    at
/var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3_build/kio/jobclasses.moc:343
#17 0x00007f399bd5cb25 in KIO::StoredTransferJob::qt_metacall (this=0xf8d0e0,
_c=3419143888, _id=12999681, _a=0x7f399b102800)
    at
/var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3_build/kio/jobclasses.moc:447
#18 0x00007f399ae3be69 in QMetaObject::activate (sender=0x889f20,
from_signal_index=<value optimized out>, to_signal_index=8,
argv=0x7f399b102800) at kernel/qobject.cpp:3101
#19 0x00007f399bdf1c2b in KIO::SlaveInterface::dispatch (this=0x889f20,
_cmd=104, rawdata=<value optimized out>)
    at
/var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3/kio/kio/slaveinterface.cpp:175
#20 0x00007f399bdf1f73 in KIO::SlaveInterface::dispatch (this=0x889f20) at
/var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3/kio/kio/slaveinterface.cpp:91
#21 0x00007f399bde708a in KIO::Slave::gotInput (this=0x889f20) at
/var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3/kio/kio/slave.cpp:322
#22 0x00007f399bde8160 in KIO::Slave::qt_metacall (this=0x889f20,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fffcbcc0b90)
    at
/var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3_build/kio/slave.moc:76
#23 0x00007f399ae3be69 in QMetaObject::activate (sender=0x12dd690,
from_signal_index=<value optimized out>, to_signal_index=4,
argv=0x7f399b102800) at kernel/qobject.cpp:3101
#24 0x00007f399bd2efac in KIO::ConnectionPrivate::dequeue (this=0x1194410) at
/var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3/kio/kio/connection.cpp:82
#25 0x00007f399bd2fd32 in KIO::Connection::qt_metacall (this=0x12dd690,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xf7e200)
    at
/var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3_build/kio/connection.moc:73
#26 0x00007f399ae36a61 in QObject::event (this=0x12dd690, e=0xfc1bb0) at
kernel/qobject.cpp:1099
#27 0x00007f3999c0f6dd in QApplicationPrivate::notify_helper (this=0x63f900,
receiver=0x12dd690, e=0xfc1bb0) at kernel/qapplication.cpp:4065
#28 0x00007f3999c1800e in QApplication::notify (this=0x7fffcbcc15d0,
receiver=0x12dd690, e=0xfc1bb0) at kernel/qapplication.cpp:4030
#29 0x00007f399c5770f1 in KApplication::notify (this=0x7fffcbcc15d0,
receiver=0x12dd690, event=0xfc1bb0)
    at
/var/tmp/portage/kde-base/kdelibs-4.3.3/work/kdelibs-4.3.3/kdeui/kernel/kapplication.cpp:302
#30 0x00007f399ae26d03 in QCoreApplication::notifyInternal
(this=0x7fffcbcc15d0, receiver=0x12dd690, event=0xfc1bb0) at
kernel/qcoreapplication.cpp:606
#31 0x00007f399ae2a225 in QCoreApplicationPrivate::sendPostedEvents
(receiver=0x0, event_type=0, data=0x61a060) at kernel/qcoreapplication.h:213
#32 0x00007f399ae4e043 in postEventSourceDispatch (s=<value optimized out>) at
kernel/qcoreapplication.h:218
#33 0x00007f399544ef41 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#34 0x00007f39954524d8 in g_main_context_iterate () from
/usr/lib/libglib-2.0.so.0
#35 0x00007f399545268c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#36 0x00007f399ae4dd9f in QEventDispatcherGlib::processEvents (this=0x63f2d0,
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#37 0x00007f3999c9b28f in QGuiEventDispatcherGlib::processEvents
(this=0xf8d0e0, flags=<value optimized out>) at
kernel/qguieventdispatcher_glib.cpp:202
#38 0x00007f399ae259c2 in QEventLoop::processEvents (this=<value optimized
out>, flags={i = -875817728}) at kernel/qeventloop.cpp:149
#39 0x00007f399ae25b5c in QEventLoop::exec (this=0x7fffcbcc1540, flags={i =
-875817648}) at kernel/qeventloop.cpp:197
#40 0x00007f399ae2a4d6 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:888
#41 0x000000000040de7e in main (argc=1, argv=0x7fffcbcc1918) at
/var/tmp/portage/net-im/choqok-0.9.4/work/choqok-0.9.4/choqok/main.cpp:56
Comment 4 Dario Andres 2009-11-11 02:40:22 UTC
*** Bug 213501 has been marked as a duplicate of this bug. ***
Comment 5 Dario Andres 2009-12-31 18:59:56 UTC
*** Bug 220826 has been marked as a duplicate of this bug. ***
Comment 6 Dario Andres 2010-01-24 14:40:08 UTC
Updated backtrace from bug 224031 (choqok 0.9.45):
---

#5  0x00007f1bfd086790 in QString::operator=(QString const&) () from
/usr/lib/libQtCore.so.4
#6  0x00007f1bec99c02f in TwitterApiMicroBlog::readPostFromDomElement
(this=0x2e12040, theAccount=0x2e55450, root=..., post=0x36c4ad0)
    at
/home/shadeslayer/unstable/svn/choqok/helperlibs/twitterapihelper/twitterapimicroblog.cpp:731
#7  0x00007f1bec99bcb6 in TwitterApiMicroBlog::readPostFromXml (this=0x2e12040,
theAccount=0x2e55450, buffer=..., post=0x36c4ad0)
    at
/home/shadeslayer/unstable/svn/choqok/helperlibs/twitterapihelper/twitterapimicroblog.cpp:704
#8  0x00007f1bec99879f in TwitterApiMicroBlog::slotCreatePost (this=0x2e12040,
job=0x2d5fcd0) at
/home/shadeslayer/unstable/svn/choqok/helperlibs/twitterapihelper/twitterapimicroblog.cpp:349
#9  0x00007f1bec9a18b2 in TwitterApiMicroBlog::qt_metacall (this=0x2e12040,
_c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fffba31ccf0)
    at
/home/shadeslayer/unstable/svn/choqok/build/helperlibs/twitterapihelper/twitterapimicroblog.moc:135
...
Comment 7 Dario Andres 2010-01-24 14:40:14 UTC
*** Bug 224031 has been marked as a duplicate of this bug. ***
Comment 8 Dario Andres 2010-01-30 04:21:13 UTC
From bug 224844:
-- Information about the crash:
When i try to post in choqok the music of my amarok, it crash :S
Comment 9 Dario Andres 2010-01-30 04:21:17 UTC
*** Bug 224844 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2010-01-31 13:32:38 UTC
*** Bug 224962 has been marked as a duplicate of this bug. ***
Comment 11 Mehrdad Momeny 2010-02-19 16:19:20 UTC
My last commit have something for this bug!
Can someone test if latest svn trunk still has this bug!? (This didn't happen for me never)
Comment 12 Dario Andres 2010-02-19 22:51:38 UTC
*** Bug 227691 has been marked as a duplicate of this bug. ***
Comment 13 Dario Andres 2010-02-23 23:49:11 UTC
From bug 228232 (today's SVN checkout, choqok 0.9.50):

-- Information about the crash:
When i try to quick post via choqok,it crashes

 -- Backtrace:
#5  QBasicAtomicInt::deref (this=0x202a258, other=...) at
../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#6  QString::operator= (this=0x202a258, other=...) at tools/qstring.cpp:1281
#7  0x00007f1e016290d4 in QString::clear (this=0x202a258) at
/usr/include/qt4/QtCore/qstring.h:722
#8  0x00007f1e0163448e in ChoqokId::operator= (this=0x202a258, other=...) at
/home/shadeslayer/unstable/Svn/choqok/libchoqok/choqokid.cpp:85
#9  0x00007f1df235f757 in TwitterApiMicroBlog::readPostFromDomElement
(this=0xbf0e30, theAccount=0xd599d0, root=..., post=0x202a250)
    at
/home/shadeslayer/unstable/Svn/choqok/helperlibs/twitterapihelper/twitterapimicroblog.cpp:736
#10 0x00007f1df235f306 in TwitterApiMicroBlog::readPostFromXml (this=0xbf0e30,
theAccount=0xd599d0, buffer=..., post=0x202a250)
    at
/home/shadeslayer/unstable/Svn/choqok/helperlibs/twitterapihelper/twitterapimicroblog.cpp:707
#11 0x00007f1df235bdd7 in TwitterApiMicroBlog::slotCreatePost (this=0xbf0e30,
job=0x1fbeb80) at
/home/shadeslayer/unstable/Svn/choqok/helperlibs/twitterapihelper/twitterapimicroblog.cpp:351
#12 0x00007f1df2364d86 in TwitterApiMicroBlog::qt_metacall (this=0xbf0e30,
_c=QMetaObject::InvokeMetaMethod, _id=11, _a=0x7fff1faff6e0)
    at
/home/shadeslayer/unstable/Svn/choqok/build/helperlibs/twitterapihelper/twitterapimicroblog.moc:135
#13 0x00007f1df259d959 in TwitterMicroBlog::qt_metacall (this=0xbf0e30,
_c=QMetaObject::InvokeMetaMethod, _id=26, _a=0x7fff1faff6e0)
    at
/home/shadeslayer/unstable/Svn/choqok/build/microblogs/twitter/twittermicroblog.moc:64
...
Comment 14 Dario Andres 2010-02-23 23:49:17 UTC
*** Bug 228232 has been marked as a duplicate of this bug. ***
Comment 15 Rich Johnson 2010-02-24 21:15:46 UTC
Created attachment 41067 [details]
New crash information added by DrKonqi

Using Subversion checkout (Revision: 1095667). I stated it happens some of the time, for example on average, I would say 90% of the time, it is easily reproducible. I have a twitter and identi.ca account set up, using https.
Comment 16 Rich Johnson 2010-02-24 21:30:48 UTC
I just wanted to add, this only happens when I quickpost.
Comment 17 Christian Mangold 2010-02-24 21:37:43 UTC
I can confirm that choqok crashes when sending quick posts to both identi.ca and twitter for choqok from git 20100202 (our current version in Kubuntu 10.04).
Comment 18 Rich Johnson 2010-02-24 22:18:16 UTC
Interesting. Running Choqok through gdb, and you still get the seg fault, all of the time, but sometimes the app doesn't crash (ie. it doesn't close out and provide you with the crash handler dialog). Doing further testing to try and help here, so I might spam this report with another post or two. The backtrace is exactly the same.  Here is the data from gdb:

=============

choqok(18934) Choqok::UI::QuickPost::submitPost:
choqok(18934) TwitterApiMicroBlog::createPost:
choqok(18934) TwitterApiMicroBlog::createPost:
choqok(18934) TwitterApiMicroBlog::slotCreatePost:
choqok(18934) SysTrayIcon::slotJobDone:
choqok(18934) TwitterApiMicroBlog::slotCreatePost:

Program received signal SIGSEGV, Segmentation fault.
QString::operator= (this=0x1816ae0, other=...) at tools/qstring.cpp:1281
1281    tools/qstring.cpp: No such file or directory.
        in tools/qstring.cpp
(gdb) thread apply all backtrace

Thread 1 (Thread 0x7ffff7fb87f0 (LWP 18934)):
#0  QString::operator= (this=0x1816ae0, other=...) at tools/qstring.cpp:1281
#1  0x00007fffe7b99746 in TwitterApiMicroBlog::readPostFromDomElement (this=0x95e4a0, theAccount=0x9635d0, root=<value optimized out>, post=0x1816ac0) at /home/nixternal/src/choqok/helperlibs/twitterapihelper/twitterapimicroblog.cpp:735
#2  0x00007fffe7b94010 in TwitterApiMicroBlog::readPostFromXml (this=0x95e4a0, theAccount=0x9635d0, buffer=<value optimized out>, post=0x1816ac0) at /home/nixternal/src/choqok/helperlibs/twitterapihelper/twitterapimicroblog.cpp:707
#3  0x00007fffe7ba34ed in TwitterApiMicroBlog::slotCreatePost (this=0x95e4a0, job=0x11ca0e0) at /home/nixternal/src/choqok/helperlibs/twitterapihelper/twitterapimicroblog.cpp:351
#4  0x00007fffe7b9d38e in TwitterApiMicroBlog::qt_metacall (this=0x95e4a0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffcf20) at /home/nixternal/src/choqok/build/helperlibs/twitterapihelper/twitterapimicroblog.moc:135
#5  0x00007ffff4f8ed3f in QMetaObject::activate (sender=0x11ca0e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x320020) at kernel/qobject.cpp:3275
#6  0x00007ffff560fc92 in KJob::result (this=0x1816ae0, _t1=0x11ca0e0) at ./kjob.moc:194
#7  0x00007ffff560ff30 in KJob::emitResult (this=0x11ca0e0) at ../../kdecore/jobs/kjob.cpp:312
#8  0x00007ffff7165843 in KIO::SimpleJob::slotFinished (this=0x11ca0e0) at ../../kio/kio/job.cpp:486
#9  0x00007ffff7166207 in KIO::TransferJob::slotFinished (this=0x11ca0e0) at ../../kio/kio/job.cpp:1058
#10 0x00007ffff7164181 in KIO::TransferJob::qt_metacall (this=0x11ca0e0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffd350) at ./jobclasses.moc:367
#11 0x00007ffff7164430 in KIO::StoredTransferJob::qt_metacall (this=0x1816ae0, _c=4294953616, _id=28688897, _a=0x320020) at ./jobclasses.moc:477
#12 0x00007ffff4f8ed3f in QMetaObject::activate (sender=0x118dae0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x320020) at kernel/qobject.cpp:3275
#13 0x00007ffff7224c11 in KIO::SlaveInterface::dispatch (this=0x118dae0, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#14 0x00007ffff7221f83 in KIO::SlaveInterface::dispatch (this=0x118dae0) at ../../kio/kio/slaveinterface.cpp:91
#15 0x00007ffff72162e6 in KIO::Slave::gotInput (this=0x118dae0) at ../../kio/kio/slave.cpp:324
#16 0x00007ffff72164cc in KIO::Slave::qt_metacall (this=0x118dae0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffffffd770) at ./slave.moc:82
#17 0x00007ffff4f8ed3f in QMetaObject::activate (sender=0x116ffd0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x320020) at kernel/qobject.cpp:3275
#18 0x00007ffff7134aa7 in KIO::ConnectionPrivate::dequeue (this=0xcab360) at ../../kio/kio/connection.cpp:82
#19 0x00007ffff7134bcd in KIO::Connection::qt_metacall (this=0x116ffd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x1251d60) at ./connection.moc:79
#20 0x00007ffff4f8bc79 in QObject::event (this=0x116ffd0, e=0xcc9ee0) at kernel/qobject.cpp:1248
#21 0x00007ffff60e3fac in QApplicationPrivate::notify_helper (this=0x64e700, receiver=0x116ffd0, e=0xcc9ee0) at kernel/qapplication.cpp:4298
#22 0x00007ffff60ea59b in QApplication::notify (this=0x7fffffffe270, receiver=0x116ffd0, e=0xcc9ee0) at kernel/qapplication.cpp:4181
#23 0x00007ffff79c8d16 in KApplication::notify (this=0x7fffffffe270, receiver=0x116ffd0, event=0xcc9ee0) at ../../kdeui/kernel/kapplication.cpp:302
#24 0x00007ffff4f7bf3c in QCoreApplication::notifyInternal (this=0x7fffffffe270, receiver=0x116ffd0, event=0xcc9ee0) at kernel/qcoreapplication.cpp:704
#25 0x00007ffff4f7e6b7 in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x622cb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x622cb0) at kernel/qcoreapplication.cpp:1345
#27 0x00007ffff4fa5923 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#28 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:276
#29 0x00007ffff16d4bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#30 0x00007ffff16d8598 in ?? () from /lib/libglib-2.0.so.0
#31 0x00007ffff16d86c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#32 0x00007ffff4fa5463 in QEventDispatcherGlib::processEvents (this=0x6227f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#33 0x00007ffff61937ee in QGuiEventDispatcherGlib::processEvents (this=0x1816ae0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007ffff4f7a862 in QEventLoop::processEvents (this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
#35 0x00007ffff4f7ac3c in QEventLoop::exec (this=0x7fffffffe1c0, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:201
#36 0x00007ffff4f7e97b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#37 0x000000000040ddf8 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/nixternal/src/choqok/choqok/main.cpp:56
Comment 19 Rich Johnson 2010-02-24 22:32:59 UTC
Created attachment 41073 [details]
choqok data via valgrind

Just ran it through valgrind, did 3 posts without a single crash. Totally unlike choqok in its current state. When running without valgrind: run normally crashes right away, run through gdb crashes right away. Interesting! Attaching valgrind info.
Comment 20 Mehrdad Momeny 2010-02-25 13:05:18 UTC
SVN commit 1095978 by momeny:

CCBUG:209203
Note: Sorry, I can't use kde bug tracker website directly! because of some local internet limits and problems :(
But, no problem, I've got its mails about what happens there, and it seems that I can contact with you this way! (Maybe it's the wrong way, forgive me for now)

I want to fix this bug for upcoming release!

There's some works around bug 209203 (actually in my previous commit r1095965)
Some questions:
Can you all confirm that this just happens with QuickPost!? and never happens when you submit a dent/tweet from textbox in main window!?
And does this happens just when you send post to multiple accounts at once!?
Any more information about the situation it happens may be helpful!

Thanks

 M  +1 -1      mainwindow.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1095978
Comment 21 Christian Mangold 2010-02-25 13:15:27 UTC
(In reply to comment #20)

> Can you all confirm that this just happens with QuickPost!? and never happens
> when you submit a dent/tweet from textbox in main window!?

Yes, it never happened so far, when posting from the main window.

> And does this happens just when you send post to multiple accounts at once!?

Yes, sending to a single account is no problem, it only crashes, when I choose "all".
Comment 22 Rich Johnson 2010-02-25 19:29:14 UTC
Yes, it only happens when doing a quick post (ctrl+t) to "All".
Comment 23 Mehrdad Momeny 2010-02-26 14:27:30 UTC
Does anybody tested latest changes on trunk!?

On Thursday 25 February 2010 09:59:20 pm Richard Johnson wrote:
> https://bugs.kde.org/show_bug.cgi?id=209203
> 
> 
> 
> 
> 
> --- Comment #22 from Richard Johnson <rjohnson kde org>  2010-02-25
> 19:29:14 --- Yes, it only happens when doing a quick post (ctrl+t) to
> "All".
Comment 24 Christian Mangold 2010-02-26 15:15:55 UTC
(In reply to comment #23)
> Does anybody tested latest changes on trunk!?

Seems to be fixed.
Comment 25 Mehrdad Momeny 2010-02-26 16:52:00 UTC
SVN commit 1096401 by momeny:

BUG:209203 seems fixed. \o/
Actually, It was fixed with my previous commits: r1095965 and r1096033
removing operator= implementation for ChoqokId because default behaviour will do the job as well!

 M  +6 -6      choqokid.cpp  
 M  +1 -1      choqokid.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1096401
Comment 26 Rich Johnson 2010-02-27 08:30:20 UTC
Mehrdad, you rock! It is definitely fixed, great job on that.