Apply in Preferences dialog in Kompare crash
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KDE Software Development Kit |
Fix Released
|
High
|
|||
kdesdk (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Intrepid |
Fix Released
|
Medium
|
Jonathan Thomas |
Bug Description
*Below added by Jonathan Thomas*
Stable Release Update (SRU) infos:
-Impact: Anybody who tries to change Kompare's settings will encounter this bug
-Addressed by: This bug has been addressed by adding an upstream patch committed for KDE 4.2.1 that fixes the infinite recursion that causes this bug.
-Testcase: Install kompare. Start kompare. Go to Settings -> Configure Kompare. Change any setting and hit apply
-Patch/regression potential: Small. The changes aren't invasive and it can hardly get worse than it already is.
#######
Run:
kompare dir1 dir2
Open the preferences dialog... Settings, Configure Kompare. Then press the Apply button. The program just hangs and after a while seg faults. It seems to be stuck in a loop, here is the gdb stack trace:
(gdb) where
#0 0xb733d989 in QByteArrayMatch
#1 0xb733bea3 in QByteArray::replace () from /usr/lib/
#2 0xb733c409 in QByteArray::replace () from /usr/lib/
#3 0xb7583dd3 in ?? () from /usr/lib/
#4 0xb7587311 in KConfigGroup:
#5 0xb7dfbe9b in ?? () from /usr/lib/
#6 0xb7587512 in KConfigGroup:
#7 0xb8087f20 in ViewSettings:
#8 0xb808dfdd in ViewPage::apply () from /usr/lib/
#9 0xb47fe1e5 in ?? () from /usr/lib/
#10 0xb47fdf5b in ?? () from /usr/lib/
#11 0xb743ba60 in QMetaObject:
#12 0xb743c7e2 in QMetaObject:
#13 0xb7e13287 in KDialog:
#14 0xb47fe201 in ?? () from /usr/lib/
#15 0xb47fdf5b in ?? () from /usr/lib/
#16 0xb743ba60 in QMetaObject:
#17 0xb743c7e2 in QMetaObject:
#18 0xb7e13287 in KDialog:
#19 0xb47fe201 in ?? () from /usr/lib/
#20 0xb47fdf5b in ?? () from /usr/lib/
#21 0xb743ba60 in QMetaObject:
#22 0xb743c7e2 in QMetaObject:
#23 0xb7e13287 in KDialog:
... over and over again ...
This used to work in Ubuntu 8.04. Details:
william@
Description: Ubuntu 8.10
Release: 8.10
william@
kompare:
Installed: 4:4.1.2-0ubuntu1.1
Candidate: 4:4.1.2-0ubuntu1.1
Version table:
*** 4:4.1.2-0ubuntu1.1 0
500 http://
100 /var/lib/
4:
500 http://
william@
Related branches
Changed in kdesdk: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in kdesdk: | |
status: | Unknown → New |
Changed in kdesdk: | |
status: | New → Confirmed |
Changed in kdesdk: | |
status: | Confirmed → Fix Released |
Changed in kdesdk: | |
milestone: | none → jaunty-alpha-5 |
Changed in kdesdk: | |
assignee: | nobody → echidnaman |
importance: | Undecided → Medium |
milestone: | none → intrepid-updates |
status: | New → In Progress |
Changed in kdesdk: | |
importance: | Unknown → High |
A fix has been committed upstream in trunk. I'm guessing it'll be backported to the 4.2 series to be released with KDE 4.2.1. (If not it will be quite easy to do)
Since this is such an easy-to-trigger bug a SRU should probably be prepared for Intrepid's KDE 4.1 packages. I'll look into this once KDE 4.1.4 is pushed in to intrepid-updates.