Summary: | Blogilo crashing on stylesheet downloading [KBlog::BlogPost::postId, KBlog::GDataPrivate::slotFetchPost] | ||
---|---|---|---|
Product: | [Applications] blogilo | Reporter: | Michał Zając <michal.zajac+kde.org> |
Component: | general | Assignee: | Mehrdad Momeny <mehrdad.momeny> |
Status: | RESOLVED FIXED | ||
Severity: | crash | CC: | andresbajotierra, christian_weilbach, dequire, hsaltiel, jreinaldo, lissandro.sosa, molostoff, monetypolskie, mykel.alvis, ruurd, shane, sputnikshock, tcech |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Ubuntu | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: |
Patch for KBlog!
New crash information added by DrKonqi |
Description
Michał Zając
2010-02-01 12:03:32 UTC
*** Bug 224188 has been marked as a duplicate of this bug. *** I can confirm this bug. I am running the final release of KDE SC 4.4 on Arch Linux. My blog is hosted with blogspot as well and the behavior is as the original post describes. It can be reproduced every time. Hope it is fixed for 4.4.1 and 4.5. Works for me now, but the backend does a lot of pointer copies I don't understand really since I am not a Blogilo dev. Created attachment 40746 [details]
Patch for KBlog!
This happens for me sometimes!
But I have a patch that fixes it for me! I know, It seems a bit silly that this will fix the problem! but It fixes it for me :-/
It's for KBlog, because I found crash happens there!
Could you check it Christian!?
*** Bug 227875 has been marked as a duplicate of this bug. *** Created attachment 40996 [details]
New crash information added by DrKonqi
Im was writing a post for my blog! the style for the Post Preview is old, and I wanna update the style, when I Pres get blog style, the apps crashed!
@Mehrdad: I have applied your proposed changes to trunk and 4.4. Though it makes actually sense to fetch the postId first and than work with a string copy internally it cannot fix the problem really. The crash happened at post->postId in the for loop and now you say it is fixed for you. Actually this means to me that the post gets deleted somewhere inbetween. I have patched Blogilo in trunk and 4.4 and commented a delete call in backend.cpp as it fixed the bug for me. I guess that due to multithreading the post gets deleted there first and your proposed patch simply covers that race condition. Please prove me wrong if I am. I don't really understand the backend code. Maybe you could try to track/debug the lifetime of the stylegetter post on a blogger.com account and fix it properly. *** Bug 228552 has been marked as a duplicate of this bug. *** *** Bug 235956 has been marked as a duplicate of this bug. *** *** Bug 226421 has been marked as a duplicate of this bug. *** *** Bug 237574 has been marked as a duplicate of this bug. *** *** Bug 238478 has been marked as a duplicate of this bug. *** *** Bug 235318 has been marked as a duplicate of this bug. *** *** Bug 268366 has been marked as a duplicate of this bug. *** [Comment from a bug triager] - Is bug 260589 related to this? (is that the fix for this bug report ?) Thanks (In reply to comment #15) > [Comment from a bug triager] > - Is bug 260589 related to this? (is that the fix for this bug report ?) > Thanks No Dario, that bug does not relate to this |