crash while submitting post on blogspot

Bug #425220 reported by Fabien V
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bilbo Blogger
New
Medium
Mehrdad Momeny

Bug Description

After having added a blogspot blog on bilbo.
updating the entry list is working correctly and I can see posts in bilbo.
However when it comes to submit modifications or newposts, Bilbo crashes and here is the backtrace :

Application: Bilbo Blogger (bilbo), signal: Segmentation fault
[KCrash Handler]
#5 QString (this=0x7fff15e0ff00, other=@0x10) at /usr/include/QtCore/qstring.h:711
#6 0x00007ff2f05daf31 in KBlog::BlogPost::postId (this=<value optimized out>) at /home/hcooh/Applis/bilbo-blogger/src/bilbo/bilbokblog/blogpost.cpp:146
#7 0x00007ff2f05e5abb in KBlog::GDataPrivate::slotFetchPost (this=<value optimized out>, loader=0x2d5be30, feed=<value optimized out>, status=<value optimized out>)
at /home/hcooh/Applis/bilbo-blogger/src/bilbo/bilbokblog/gdata.cpp:781
#8 0x00007ff2f05e3364 in KBlog::GData::qt_metacall (this=<value optimized out>, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff15e10170)
at /home/hcooh/Applis/bilbo-blogger/src/build/bilbokblog/gdata.moc:133
#9 0x00007ff2eefbbdec in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0x00007ff2ea8f42f2 in Syndication::Loader::loadingComplete () from /usr/lib/libsyndication.so.4
#11 0x00007ff2ea8f539d in Syndication::Loader::slotRetrieverDone () from /usr/lib/libsyndication.so.4
#12 0x00007ff2ea8f57ed in Syndication::Loader::qt_metacall () from /usr/lib/libsyndication.so.4
#13 0x00007ff2eefbbdec in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0x00007ff2ea8f7823 in Syndication::DataRetriever::dataRetrieved () from /usr/lib/libsyndication.so.4
#15 0x00007ff2ea8f85df in Syndication::FileRetriever::slotResult () from /usr/lib/libsyndication.so.4
#16 0x00007ff2ea8f8763 in Syndication::FileRetriever::qt_metacall () from /usr/lib/libsyndication.so.4
#17 0x00007ff2eefbbdec in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0x00007ff2ef601722 in KJob::result () from /usr/lib/libkdecore.so.5
#19 0x00007ff2ef601a9f in KJob::emitResult () from /usr/lib/libkdecore.so.5
#20 0x00007ff2efce38c3 in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.5
#21 0x00007ff2efce3d83 in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.5
#22 0x00007ff2efce2691 in KIO::TransferJob::qt_metacall () from /usr/lib/libkio.so.5
#23 0x00007ff2eefbbdec in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0x00007ff2efda4381 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#25 0x00007ff2efda0c33 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#26 0x00007ff2efd93a5d in KIO::Slave::gotInput () from /usr/lib/libkio.so.5
#27 0x00007ff2efd95b7c in KIO::Slave::qt_metacall () from /usr/lib/libkio.so.5
#28 0x00007ff2eefbbdec in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0x00007ff2efcb0ae7 in KIO::ConnectionPrivate::dequeue () from /usr/lib/libkio.so.5
#30 0x00007ff2efcb0c0d in KIO::Connection::qt_metacall () from /usr/lib/libkio.so.5
#31 0x00007ff2eefb6109 in QObject::event () from /usr/lib/libQtCore.so.4
#32 0x00007ff2edcdc69c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#33 0x00007ff2edce396e in QApplication::notify () from /usr/lib/libQtGui.so.4
#34 0x00007ff2f17e38d6 in KApplication::notify () from /usr/lib/libkdeui.so.5
#35 0x00007ff2eefa6cec in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#36 0x00007ff2eefa78ca in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#37 0x00007ff2eefcf543 in ?? () from /usr/lib/libQtCore.so.4
#38 0x00007ff2eb81edbe in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#39 0x00007ff2eb822568 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#40 0x00007ff2eb822690 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#41 0x00007ff2eefcf1b6 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#42 0x00007ff2edd6f64e in ?? () from /usr/lib/libQtGui.so.4
#43 0x00007ff2eefa55f2 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#44 0x00007ff2eefa59c4 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#45 0x00007ff2eefa7b79 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#46 0x0000000000422130 in main (argc=<value optimized out>, argv=<value optimized out>) at /home/hcooh/Applis/bilbo-blogger/src/bilbo/bilbo/main.cpp:57

The post is still sent to the server...

Revision history for this message
Mehrdad Momeny (mehrdad-momeny) wrote :

Hmm, It seems that the problem occurs at fetching post after publish, I have added a check to src, to prevent it to crash.
Hope it works good, If you want to try it, just fetch the bilbo-stable repository src...

Changed in bilbo:
assignee: nobody → Mehrdad Momeny (mehrdad-momeny)
importance: Undecided → Medium
Revision history for this message
Fabien V (hcooh) wrote :

I just compile the program with the stable + bugfix branch
And the program still crashes when submitting new post or an update (only on blogspot) ...

Revision history for this message
Mehrdad Momeny (mehrdad-momeny) wrote :

Please paste the new backtrace here.
I have changed the src, so, I need new results. It works well here!

Revision history for this message
Fabien V (hcooh) wrote :
Download full text (4.6 KiB)

Here is the new backtrace :

Application: Bilbo Blogger (bilbo), signal: Segmentation fault
[Current thread is 0 (LWP 8253)]

Thread 2 (Thread 0x7f55d4c8b910 (LWP 8274)):
#0 0x00007f55e750805d in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1 0x00007f55e77772b2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2 0x00007f55e776d412 in ?? () from /usr/lib/libQtCore.so.4
#3 0x00007f55e7776285 in ?? () from /usr/lib/libQtCore.so.4
#4 0x00007f55e750357a in start_thread () from /lib/libpthread.so.0
#5 0x00007f55e59c314d in clone () from /lib/libc.so.6
#6 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f55ea664750 (LWP 8253)):
[KCrash Handler]
#5 QString (this=0x7fff9118f990, other=@0x10) at /usr/include/QtCore/qstring.h:711
#6 0x00007f55e8e8ff31 in KBlog::BlogPost::postId (this=<value optimized out>) at /home/hcooh/Applis/bilbo-bloggerbis/src/bilbo/bilbokblog/blogpost.cpp:146
#7 0x00007f55e8e9aac3 in KBlog::GDataPrivate::slotFetchPost (this=<value optimized out>, loader=0x25f4290, feed=<value optimized out>, status=<value optimized out>)
    at /home/hcooh/Applis/bilbo-bloggerbis/src/bilbo/bilbokblog/gdata.cpp:785
#8 0x00007f55e8e98364 in KBlog::GData::qt_metacall (this=<value optimized out>, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff9118fc10)
    at /home/hcooh/Applis/bilbo-bloggerbis/src/build/bilbokblog/gdata.moc:133
#9 0x00007f55e7870dec in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0x00007f55e31a92f2 in Syndication::Loader::loadingComplete () from /usr/lib/libsyndication.so.4
#11 0x00007f55e31aa39d in Syndication::Loader::slotRetrieverDone () from /usr/lib/libsyndication.so.4
#12 0x00007f55e31aa7ed in Syndication::Loader::qt_metacall () from /usr/lib/libsyndication.so.4
#13 0x00007f55e7870dec in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0x00007f55e31ac823 in Syndication::DataRetriever::dataRetrieved () from /usr/lib/libsyndication.so.4
#15 0x00007f55e31ad5df in Syndication::FileRetriever::slotResult () from /usr/lib/libsyndication.so.4
#16 0x00007f55e31ad763 in Syndication::FileRetriever::qt_metacall () from /usr/lib/libsyndication.so.4
#17 0x00007f55e7870dec in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0x00007f55e7eb6722 in KJob::result () from /usr/lib/libkdecore.so.5
#19 0x00007f55e7eb6a9f in KJob::emitResult () from /usr/lib/libkdecore.so.5
#20 0x00007f55e85988c3 in KIO::SimpleJob::slotFinished () from /usr/lib/libkio.so.5
#21 0x00007f55e8598d83 in KIO::TransferJob::slotFinished () from /usr/lib/libkio.so.5
#22 0x00007f55e8597691 in KIO::TransferJob::qt_metacall () from /usr/lib/libkio.so.5
#23 0x00007f55e7870dec in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0x00007f55e8659381 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#25 0x00007f55e8655c33 in KIO::SlaveInterface::dispatch () from /usr/lib/libkio.so.5
#26 0x00007f55e8648a5d in KIO::Slave::gotInput () from /usr/lib/libkio.so.5
#27 0x00007f55e864ab7c in KIO::Slave::qt_metacall () from /usr/lib/libkio.so.5
#28 0x00007f55e7870dec in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0x00007f55e8565ae7 in KIO::ConnectionPrivate::dequeue ()...

Read more...

Revision history for this message
Mehrdad Momeny (mehrdad-momeny) wrote :

Good,

So we need more tests to know why a string copy job has failed!?

I have created a patch, you have to patch your src:

$ cd /PATH/TO/bilbo/root/source/code/
$ patch -p1 < /PATH/TO/test.diff

and then re make install it.

before run, check if debugging output is enabled, run `kdebugdialog` and check the "0 (generic)" item.

then run bilbo from terminal, do the job, and then give me both terminal output and backtrace. :)

Thanks

Revision history for this message
Fabien V (hcooh) wrote :

Ok, I did what you said, I joined the backtrace.

Revision history for this message
Fabien V (hcooh) wrote :

And here is the output from terminal

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.