[kate] [Bug 453795] Kate crashed when opening settings

2022-07-04 Thread Techokami
https://bugs.kde.org/show_bug.cgi?id=453795

--- Comment #8 from Techokami  ---
Created attachment 150400
  --> https://bugs.kde.org/attachment.cgi?id=150400&action=edit
New crash information added by DrKonqi

kate (22.04.1) using Qt 5.15.3

- What I was doing when the application crashed:
I was simply going to the Settings menu, and the application completely crashed
and took my work with it.

-- Backtrace (Reduced):
#4  0x7ff57da5fdae in QMapData::findNode(KEntryKey
const&) const () from /lib64/libKF5ConfigCore.so.5
#6  0x7ff57da5f7e2 in KConfigPrivate::lookupData(QByteArray const&, char
const*, QFlags, bool*) const () from
/lib64/libKF5ConfigCore.so.5
#7  0x7ff57da6bf95 in KConfigGroup::readEntry(char const*, QString const&)
const () from /lib64/libKF5ConfigCore.so.5
#8  0x7ff57da6c1af in KConfigGroup::readEntry(char const*, char const*)
const () from /lib64/libKF5ConfigCore.so.5
#9  0x7ff569abd212 in KDirOperator::readConfig(KConfigGroup const&) () from
/lib64/libKF5KIOFileWidgets.so.5

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 453795] Kate crashed when opening settings

2022-07-04 Thread Techokami
https://bugs.kde.org/show_bug.cgi?id=453795

Techokami  changed:

   What|Removed |Added

 CC||techok...@holenet.info

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 453795] Kate crashed when opening settings

2022-05-28 Thread İsmail
https://bugs.kde.org/show_bug.cgi?id=453795

--- Comment #7 from İsmail  ---
Created attachment 149281
  --> https://bugs.kde.org/attachment.cgi?id=149281&action=edit
New crash information added by DrKonqi

kate (22.04.1) using Qt 5.15.2

- What I was doing when the application crashed:
I clicked "Configure Kate Application" from the "Settings" menu.

But here is an important detail. This crash happens only when I create
new user and try to open configuraton of Kate while in the newly created
user's session. Interestingly this is not happening in the session of the user
which is created in system installation. Hope this detail help you to catch
the bug.

-- Backtrace (Reduced):
#4  QFlags::operator|= (other=,
this=) at
/usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfig.cpp:1058
#5  KConfigPrivate::lookupData (this=0x30008000b, group=..., key=0x7ff8df855f7b
"View Style", flags=..., expand=0x7fffd7aeed67) at
/usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfig.cpp:1059
#6  0x7ff8e641a7a1 in KConfigGroup::readEntry
(this=this@entry=0x560980715240, key=key@entry=0x7ff8df855f7b "View Style",
aDefault=...) at
/usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfiggroup.cpp:674
#7  0x7ff8e641a9bb in KConfigGroup::readEntry
(this=this@entry=0x560980715240, key=key@entry=0x7ff8df855f7b "View Style",
aDefault=aDefault@entry=0x7ff8df855f70 "DetailTree") at
/usr/src/debug/kconfig-5.94.0-1.1.x86_64/src/core/kconfiggroup.cpp:659
#8  0x7ff8df7efd5e in KDirOperator::readConfig (this=0x56098321d3a0,
configGroup=...) at
/usr/src/debug/kio-5.94.0-1.1.x86_64/src/filewidgets/kdiroperator.cpp:2436

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 453795] Kate crashed when opening settings

2022-05-28 Thread İsmail
https://bugs.kde.org/show_bug.cgi?id=453795

İsmail  changed:

   What|Removed |Added

 CC||ismailsahillio...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 453795] Kate crashed when opening settings

2022-05-16 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=453795

Christoph Cullmann  changed:

   What|Removed |Added

   Version Fixed In||22.04.2

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 453795] Kate crashed when opening settings

2022-05-16 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=453795

--- Comment #6 from Christoph Cullmann  ---
Reverted in 22.04 and master.

Better pay price on startup then having random crashes.

I am not able to reproduce the crash after my previous fix, but I guess the
point is just that we can't ensure the KConfigGroup is still usable given we
have no idea if the base KConfig object it relies on is still around and
kicking.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 453795] Kate crashed when opening settings

2022-05-16 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=453795

Christoph Cullmann  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/util |https://invent.kde.org/util
   |ities/kate/commit/e002696b0 |ities/kate/commit/36ede44fc
   |673dff7ec9584e00b1546d2f850 |7bef479e94f76121309a900bee2
   |121c|b29f

--- Comment #5 from Christoph Cullmann  ---
Git commit 36ede44fc7bef479e94f76121309a900bee2b29f by Christoph Cullmann.
Committed on 16/05/2022 at 17:49.
Pushed by cullmann into branch 'release/22.04'.

Revert "Create filebrowser on demand"

This reverts commit 7caed2681d18d9ea08c35f160e88fb44a2e52769.

revert full lazy loading, doesn't work this way

M  +0-2addons/filebrowser/katefilebrowser.cpp
M  +11   -30   addons/filebrowser/katefilebrowserplugin.cpp
M  +7-7addons/filebrowser/katefilebrowserplugin.h

https://invent.kde.org/utilities/kate/commit/36ede44fc7bef479e94f76121309a900bee2b29f

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 453795] Kate crashed when opening settings

2022-05-16 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=453795

Christoph Cullmann  changed:

   What|Removed |Added

 Resolution|DUPLICATE   |FIXED
  Latest Commit||https://invent.kde.org/util
   ||ities/kate/commit/e002696b0
   ||673dff7ec9584e00b1546d2f850
   ||121c

--- Comment #4 from Christoph Cullmann  ---
Git commit e002696b0673dff7ec9584e00b1546d2f850121c by Christoph Cullmann.
Committed on 16/05/2022 at 17:47.
Pushed by cullmann into branch 'release/22.04'.

Revert "fix crash on file browser activation"

This reverts commit a28624c877cfe6db6ae6ab257f95af36213b25e0.

=> this fix is not enough, the KConfigGroup is just not valid anymore here
in some cases

M  +3-6addons/filebrowser/katefilebrowserplugin.cpp

https://invent.kde.org/utilities/kate/commit/e002696b0673dff7ec9584e00b1546d2f850121c

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 453795] Kate crashed when opening settings

2022-05-16 Thread Christoph Cullmann
https://bugs.kde.org/show_bug.cgi?id=453795

Christoph Cullmann  changed:

   What|Removed |Added

 CC||cullm...@kde.org

--- Comment #3 from Christoph Cullmann  ---
Hmm, that is strange, my commit should be in 22.04.1 :(

Perhaps that was still not good enough and the KConfigGroup is just not valid
there.

I will remove the whole delaying, if one has the file browser active, one
better pays for the loading of the config instead of having some crash.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 453795] Kate crashed when opening settings

2022-05-16 Thread Cristiano Kieling
https://bugs.kde.org/show_bug.cgi?id=453795

Cristiano Kieling  changed:

   What|Removed |Added

 CC||cristiano.kieling@protonmai
   ||l.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 453795] Kate crashed when opening settings

2022-05-16 Thread Cristiano Kieling
https://bugs.kde.org/show_bug.cgi?id=453795

--- Comment #2 from Cristiano Kieling  ---
Created attachment 148886
  --> https://bugs.kde.org/attachment.cgi?id=148886&action=edit
New crash information added by DrKonqi

kate (22.04.1) using Qt 5.15.3

- What I was doing when the application crashed:
Just opened Settings after fresh install of KDE Neon. Before instaling Kate, i
just updated everything with pkcon refresh and update e instaled kate with
pkcon install kate. After opening the program, first thing i clicked was
settings (configure kate) and everytime de program closes.

-- Backtrace (Reduced):
#4  0x7fb402208c98 in QFlags::operator|=
(other=, this=) at ./src/core/kconfig.cpp:1045
#5  KConfigPrivate::lookupData (this=this@entry=0x200030002, group=...,
key=key@entry=0x7fb3fb36ab26 "View Style", flags=flags@entry=...,
expand=expand@entry=0x7ffeee87abd7) at ./src/core/kconfig.cpp:1046
#6  0x7fb40221ba04 in KConfigGroup::readEntry
(this=this@entry=0x557fbf15b9b0, key=key@entry=0x7fb3fb36ab26 "View Style",
aDefault=...) at /usr/include/c++/9/bits/atomic_base.h:326
#7  0x7fb40221bc40 in KConfigGroup::readEntry (this=0x557fbf15b9b0,
key=0x7fb3fb36ab26 "View Style", aDefault=0x7fb3fb36ab1b "DetailTree") at
/usr/include/x86_64-linux-gnu/qt5/QtCore/qstring.h:706
#8  0x7fb3fb2f4021 in KDirOperator::readConfig(KConfigGroup const&) () from
/lib/x86_64-linux-gnu/libKF5KIOFileWidgets.so.5

-- 
You are receiving this mail because:
You are watching all bug changes.

[kate] [Bug 453795] Kate crashed when opening settings

2022-05-14 Thread Waqar Ahmed
https://bugs.kde.org/show_bug.cgi?id=453795

Waqar Ahmed  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 CC||waqar@gmail.com
 Resolution|--- |DUPLICATE

--- Comment #1 from Waqar Ahmed  ---


*** This bug has been marked as a duplicate of bug 453234 ***

-- 
You are receiving this mail because:
You are watching all bug changes.