Bug 310151

Summary: drkonqi duplicate search has not worked for a few months
Product: [Applications] drkonqi Reporter: Johannes Obermayr <johannesobermayr>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: dennis.schridde, mail, sitter, sven
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Backtrace

Description Johannes Obermayr 2012-11-15 15:26:24 UTC
Error fetching the bug report list<nl/><message>%1.</message><nl/>Please wait some time and try again.
%1 = Invalid bug list: corrupted data

It happens on all crashing apps (they have slots on bko).

If it is definitely not an issue of drkonqi/bko please assign it to an openSUSE KDE maintainer (e.g. tittiatcoke) to check whether they changed sth. in KUSC.

Reproducible: Always
Comment 1 Johannes Obermayr 2012-11-15 15:27:00 UTC
Created attachment 75283 [details]
Backtrace
Comment 2 Jekyll Wu 2013-01-18 23:48:03 UTC
#18 0x000000000041bf9a in BugzillaManager::searchBugsJobFinished (this=0x27a2830, job=<optimized out>) at /usr/src/debug/kde-runtime-4.9.40_20121027/drkonqi/bugzillalib.cpp:262

            emit searchError(i18nc("@info","Invalid bug list: corrupted data"));

So that line means the KIO job is done successfully but drkonqi finds some error when parsing the received data in CSV format. 

Could be that bugs.kde.org returns incomplete data for that query , or drkonqi has some problem with its parsing logic. 

No idea how to investigate it without seeing one example of the corrupted data, and I just don't have this problem when testing drkonqi  from time to time. Also I don't find similar reports .

Is that still reproduciable for you ?
Comment 3 Johannes Obermayr 2013-02-10 13:44:59 UTC
Still reproducible on two openSUSE 12.2 systems. Maybe this can help.

(gdb) bt full
#0  BugzillaManager::searchBugs (this=0x1797b70, products=..., severity=..., date_start=..., date_end=..., comment=...) at /usr/src/debug/kde-runtime-4.10.40_20130111/drkonqi/bugzillalib.cpp:134
        product = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0, data = 0x6769ba <QString::shared_null+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          static shared_empty = {ref = {_q_value = 112}, alloc = 0, size = 0, data = 0x7f0b42f8b8da <QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x1ad3eb0, 
          static codecForCStrings = 0x0}
        url = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0, data = 0x6769ba <QString::shared_null+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          static shared_empty = {ref = {_q_value = 112}, alloc = 0, size = 0, data = 0x7f0b42f8b8da <QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x17976f0, 
          static codecForCStrings = 0x0}
#1  0x00000000004346b1 in BugzillaDuplicatesPage::performSearch (this=0x1833390) at /usr/src/debug/kde-runtime-4.10.40_20130111/drkonqi/reportassistantpages_bugzilla_duplicates.cpp:235
        startDateStr = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0, data = 0x6769ba <QString::shared_null+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          static shared_empty = {ref = {_q_value = 112}, alloc = 0, size = 0, data = 0x7f0b42f8b8da <QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x1a2dad0, 
          static codecForCStrings = 0x0}
        endDateStr = {static null = {<No data fields>}, static shared_null = {ref = {_q_value = 1}, alloc = 0, size = 0, data = 0x6769ba <QString::shared_null+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, 
          static shared_empty = {ref = {_q_value = 112}, alloc = 0, size = 0, data = 0x7f0b42f8b8da <QString::shared_empty+26>, clean = 0, simpletext = 0, righttoleft = 0, asciiCache = 0, capacity = 0, reserved = 0, array = {0}}, d = 0x1b1ed80, 
          static codecForCStrings = 0x0}
        report = {m_isValid = false, m_status = BugReport::UnknownStatus, m_resolution = BugReport::UnknownResolution, m_dataMap = {{d = 0x1a648e0, e = 0x1a648e0}}, m_commentList = {<QList<QString>> = {{p = {static shared_null = {ref = {_q_value = 1}, alloc = 0, 
                    begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x676b80 <QListData::shared_null>}, d = 0x676b80 <QListData::shared_null>}}, <No data fields>}}
Comment 4 Sven Eden 2013-03-06 20:28:43 UTC
I can confirm that for my Gentoo Linux system. DrKonqi did not get the duplicates list since I upgraded to 4.8.x, I do not remember which.

Currently installed:
qt-4.8.4, KDE-4.10.0

It did not work through all 4.9.x versions I had (4.9.1 to 4.9.5) and still does not work.

Unfortunately I have no idea how to produce such a backtrace, DrKonqi itself is working fine.
Comment 5 Sven Eden 2013-05-03 06:39:31 UTC
Just for the record, DrKonqi still can not search duplicates on KDE-4.10.2 ; with a fresh and shiny user account.
Comment 6 Sven Eden 2013-06-07 20:46:34 UTC
Still not working with KDE-4.10.3

Does anybody care at all, though?
Comment 7 Sven Eden 2013-11-08 15:23:31 UTC
Still not working with KDE-4.11.3
Nope, nobody cares.
Comment 8 Sven Eden 2015-10-05 08:26:23 UTC
I just wanted to report that DrKonqi works fine again on my machine:

DrKonqi-4.14.3
kdelibs-4.14.12
QT-4.8.7
Comment 9 Harald Sitter 2019-07-02 13:01:48 UTC
Should be fixed in 5.17 at the latest as a new backend API is used to talk to bugzilla.