[kdevelop] [Bug 475924] New: kdevelop recently crashing while editing

2023-10-21 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=475924

Bug ID: 475924
   Summary: kdevelop recently crashing while editing
Classification: Applications
   Product: kdevelop
   Version: unspecified
  Platform: Debian stable
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: kdevelop-bugs-n...@kde.org
  Reporter: deb...@gruz.net
  Target Milestone: ---

Application: kdevelop (5.13.231170 (23.11.70))

Qt Version: 5.15.8
Frameworks Version: 5.103.0
Operating System: Linux 6.1.0-13-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux 12 (bookworm)
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
Recently seen repeated crashes while editing code. Every few hours. 
In the last week or two, have seen the top crash trace entries seem to been
dealing with an atomic value whenever I looked at the trace. I'm guessing it is
the same error.
compiled from git master on clang-16 on debian stable. 
Happy to supply any info or do any tests, as I love kdevelop.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault

[KCrash Handler]
#4  std::__atomic_base::load (__m=std::memory_order_relaxed,
this=0x2a0038) at /usr/include/c++/12/bits/atomic_base.h:486
#5  QAtomicOps::loadRelaxed (_q_value=) at
../../include/QtCore/../../src/corelib/thread/qatomic_cxx11.h:239
#6  QBasicAtomicInteger::loadRelaxed (this=0x2a0038) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:107
#7  QWeakPointer::internalData (this=0x55ff79472470) at
../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:698
#8  QPointer::data (this=0x55ff79472470) at
../../include/QtCore/../../src/corelib/kernel/qpointer.h:77
#9  QPointer::operator QObject* (this=0x55ff79472470) at
../../include/QtCore/../../src/corelib/kernel/qpointer.h:83
#10 QAccessibleObject::object (this=0x55ff79472440) at
accessible/qaccessibleobject.cpp:100
#11 0x7f2b003b618a in QAccessibleWidget::isValid (this=0x55ff79472440) at
accessible/qaccessiblewidget.cpp:219
#12 0x7f2aff906848 in QAccessibleEvent::accessibleInterface
(this=0x7ffcb4b13610) at accessible/qaccessible.cpp:1764
#13 0x7f2aff906d6d in QAccessible::updateAccessibility
(event=0x7ffcb4b13610) at accessible/qaccessible.cpp:861
#14 0x7f2afcdf84ae in KateViewInternal::cursorMoved (this=)
at ./src/view/kateviewinternal.cpp:4637
#15 KateViewInternal::cursorMoved (this=) at
./src/view/kateviewinternal.cpp:4630
#16 0x7f2afcdfefb6 in KateViewInternal::updateCursor
(this=this@entry=0x55ff76c472d0, newCursor=newCursor@entry=...,
force=force@entry=false, center=center@entry=false,
calledExternally=calledExternally@entry=false, scroll=scroll@entry=true) at
./src/view/kateviewinternal.cpp:2786
#17 0x7f2afce01378 in KateViewInternal::placeCursor (this=0x55ff76c472d0,
p=..., keepSelection=, updateSelection=) at
./src/view/kateviewinternal.cpp:3051
#18 0x7f2afce069f8 in KateViewInternal::mousePressEvent
(this=0x55ff76c472d0, e=0x7ffcb4b13c90) at ./src/view/kateviewinternal.cpp:3498
#19 0x7f2b001a4db8 in QWidget::event (this=0x55ff76c472d0,
event=0x7ffcb4b13c90) at kernel/qwidget.cpp:9044
#20 0x7f2b00162fae in QApplicationPrivate::notify_helper
(this=this@entry=0x55ff72e99760, receiver=receiver@entry=0x55ff76c472d0,
e=e@entry=0x7ffcb4b13c90) at kernel/qapplication.cpp:3640
#21 0x7f2b0016b552 in QApplication::notify (this=,
receiver=0x55ff76c472d0, e=) at kernel/qapplication.cpp:3084
#22 0x7f2aff4b16f8 in QCoreApplication::notifyInternal2
(receiver=0x55ff76c472d0, event=0x7ffcb4b13c90) at
kernel/qcoreapplication.cpp:1064
#23 0x7f2aff4b18ce in QCoreApplication::sendSpontaneousEvent
(receiver=, event=) at
kernel/qcoreapplication.cpp:1474
#24 0x7f2b0016965e in QApplicationPrivate::sendMouseEvent
(receiver=receiver@entry=0x55ff76c472d0, event=event@entry=0x7ffcb4b13c90,
alienWidget=, nativeWidget=0x55ff735528d0,
buttonDown=buttonDown@entry=0x7f2b006a69f0 ,
lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at
kernel/qapplication.cpp:2622
#25 0x7f2b001bdbd8 in QWidgetWindow::handleMouseEvent
(this=this@entry=0x55ff746eec00, event=event@entry=0x7ffcb4b13f40) at
kernel/qwidgetwindow.cpp:683
#26 0x7f2b001c0f60 in QWidgetWindow::event (this=0x55ff746eec00,
event=0x7ffcb4b13f40) at kernel/qwidgetwindow.cpp:300
#27 0x7f2b00162fae in QApplicationPrivate::notify_helper (this=, receiver=0x55ff746eec00, e=0x7ffcb4b13f40) at
kernel/qapplication.cpp:3640
#28 0x7f2aff4b16f8 in QCoreApplication::notifyInternal2
(receiver=0x55ff746eec00, event=0x7ffcb4b13f40) at
kernel/qcoreapplication.cpp:1064
#29 0x7f2aff4b18ce in QCoreApplication::sendSpontaneousEvent
(receiver=, event=) at
kernel/qcoreapplication.cpp:1474
#30 0x7f2aff93d3ed in QGuiApplicationPrivate::processMouseEvent

[kdevelop] [Bug 438249] fresh kdevelop build from git master source crashes while importing a project

2023-02-27 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=438249

Arthur Gruzauskas  changed:

   What|Removed |Added

Version|unspecified |git master
   Platform|Debian stable   |Debian testing

--- Comment #27 from Arthur Gruzauskas  ---
Have been using kdevelop git master successfully for the last 8 months with the
following patch suggested by Igor:

---
--- kdevelop-22.04.1-orig/plugins/clang/duchain/builder.cpp 2022-06-01
21:11:28.907037431 +0300
+++ kdevelop-22.04.1/plugins/clang/duchain/builder.cpp  2022-06-01
21:12:48.177035132 +0300
@@ -1080,7 +1080,7 @@
 #endif

 #if CINDEX_VERSION_MINOR >= 16
-decl->setBitWidth(clang_getFieldDeclBitWidth(cursor));
+decl->setBitWidth(-1);
 #endif

 if (clang_isCursorDefinition(cursor)) {
---

The other day had to reinstall Debian testing, and again the same crash on a
freshly compiled kdevelop git master doing an initial source parse. The above
patch worked yet again.

Happy to supply any info, or do any suggested bug hunting.

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

[kdevelop] [Bug 438249] fresh kdevelop build from git master source crashes while importing a project

2022-06-02 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=438249

--- Comment #12 from Arthur Gruzauskas  ---
Hi Igor,

Delays in responding to your problem solving request.

Having issues trying to compile clang13 with debian  'apt build-dep', 
which is my first approach as I am somewhat familiar with it.

=> "No ffs implementation found" is the current temporary roadblock. My 
problem, not yours. Unless you already know an obvious solution, of course.

I'm not after any hand holding, I am not just presenting you with the 
original issue and then whining at every small roadblock and then going 
away leaving you with my problem. I'm just saying your request for a 
debugging clang13 requires me to to fill in my own gaps in knowledge, 
which will take as long as it takes.

My motivation is I want a native kdevelop, not some bloody AppImage!

Sorry for the waffling, you can always skim past it 

Arthur, who babbles when on an intellectual hunt


On 2/6/22 5:12 pm, Igor Kushnir wrote:
> https://bugs.kde.org/show_bug.cgi?id=438249
>
> --- Comment #7 from Igor Kushnir  ---
> Could someone try to get the backtrace of this crash with assertions enabled?
> (NDEBUG not defined)
> When I navigate through the crash call stacks from
> https://code.woboq.org/llvm/clang/tools/libclang/CXType.cpp.html#374, I see
> several assert() calls, especially here:
> https://code.woboq.org/llvm/clang/lib/AST/ExprConstant.cpp.html#_ZNK5clang4Expr21EvaluateKnownConstIntERKNS_10ASTContextEPN4llvm15SmallVectorImplISt4pairINS_14SourceLocationENS_17PartialDiagnostic
>

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

[kdevelop] [Bug 438249] fresh kdevelop build from git master source crashes while importing a project

2022-06-01 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=438249

--- Comment #6 from Arthur Gruzauskas  ---
Igor,

I don't use wxWidgets.

What was installed before the crash with the latest debian kdevelop:

2022-05-29 17:57:53 install libkf5configqml5:amd64  5.94.0-3
2022-05-29 17:57:54 install libkf5kcmutilscore5:amd64  5.94.0-2
2022-05-31 01:06:36 install qtbase5-examples:amd64  5.15.2+dfsg-16+b1
2022-05-31 10:05:07 install libqt6multimedia6:amd64  6.2.4-2
2022-05-31 10:05:07 install libqt6multimediaquick6:amd64  6.2.4-2
2022-05-31 10:05:08 install libqt6multimediawidgets6:amd64  6.2.4-2
2022-05-31 10:05:08 install qt6-image-formats-plugins:amd64  6.2.4-2
2022-05-31 10:05:08 install qt6-multimedia-dev:amd64  6.2.4-2
2022-05-31 10:05:08 install qt6-xdgdesktopportal-platformtheme:amd64 
 6.2.4+dfsg-5
2022-06-01 15:45:09 install libsnapd-glib1:amd64  1.60-1
2022-06-01 15:45:10 install kdevelop58-libs:amd64  4:22.04.1-2
2022-06-01 15:45:13 install libkf5prisonscanner5:amd64  5.94.0-2
2022-06-01 16:01:40 install kdevelop-dbgsym:amd64  4:22.04.1-2
2022-06-01 16:01:42 install kdevelop-pg-qt-dbgsym:amd64  2.2.1-2
2022-06-01 16:01:42 install plasma-kdevelop-dbgsym:amd64  4:22.04.1-2
2022-06-01 16:37:47 install kdevelop-data:all  4:22.04.1-2
2022-06-01 16:37:47 install kdevelop58-libs:amd64  4:22.04.1-2
2022-06-01 16:37:48 install kdevelop:amd64  4:22.04.1-2
2022-06-01 16:37:48 install kdevelop-dbgsym:amd64  4:22.04.1-2
2022-06-01 16:37:49 install kdevelop58-libs-dbgsym:amd64  4:22.04.1-2
2022-06-01 16:51:11 install libclang-common-13-dev-dbgsym:amd64  
1:13.0.1-4
2022-06-01 16:51:11 install libclang1-13-dbgsym:amd64  1:13.0.1-4
2022-06-01 16:51:12 install libkf5threadweaver5-dbgsym:amd64  
5.94.0-1
2022-06-01 16:51:12 install libkf5xmlgui-bin-dbgsym:amd64  5.94.0-1
2022-06-01 16:51:12 install libkf5xmlgui-dev-dbgsym:amd64  5.94.0-1
2022-06-01 16:51:13 install libqt5dbus5-dbgsym:amd64  
5.15.2+dfsg-16+b1
2022-06-01 16:51:13 install libqt5qmlmodels5-dbgsym:amd64  
5.15.2+dfsg-10
2022-06-01 16:51:13 install libqt5qmlworkerscript5-dbgsym:amd64  
5.15.2+dfsg-10
2022-06-01 16:51:13 install libqt5widgets5-dbgsym:amd64  
5.15.2+dfsg-16+b1
2022-06-01 16:51:13 install libusbmuxd6-dbgsym:amd64  2.0.2-3
2022-06-01 16:51:13 install qml-module-qtquick-xmllistmodel-dbgsym:amd64 
 5.15.2-3

Arthur

On 2/6/22 5:25 am, Igor Kushnir wrote:
> https://bugs.kde.org/show_bug.cgi?id=438249
>
> --- Comment #5 from Igor Kushnir  ---
>> Hi, I assume the workaround was applying this patch:
> Yes, thank you for confirming.
>
> Since blaming some specific LLVM versions does not figure, we need to find
> something else in common that may be the root cause of this crash. The 
> reporter
> of Bug 431811 indicated that the crash occurred with wxWidgets-3.1.4 but not
> wxWidgets-3.0.4. Arthur, Andrei, do your projects use wxWidgets? Also, when 
> you
> write that the crash started occurring after an update/rebuild of KDevelop,
> were your projects or some libraries they use updated at the same time too?
>
On 2/6/22 5:25 am, Igor Kushnir wrote:
> https://bugs.kde.org/show_bug.cgi?id=438249
>
> --- Comment #5 from Igor Kushnir  ---
>> Hi, I assume the workaround was applying this patch:
> Yes, thank you for confirming.
>
> Since blaming some specific LLVM versions does not figure, we need to find
> something else in common that may be the root cause of this crash. The 
> reporter
> of Bug 431811 indicated that the crash occurred with wxWidgets-3.1.4 but not
> wxWidgets-3.0.4. Arthur, Andrei, do your projects use wxWidgets? Also, when 
> you
> write that the crash started occurring after an update/rebuild of KDevelop,
> were your projects or some libraries they use updated at the same time too?
>

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

[kdevelop] [Bug 454685] updated kdevelop on debian today, crashed while parsing a just imported project

2022-06-01 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=454685

--- Comment #4 from Arthur Gruzauskas  ---
Well Igor, that worked! 

Patched builder.cpp in my updated master git clone as suggested, compiled with
LLVM13 on debian testing, all dependencies satisfied. Loaded 3 projects,
parsed, compiled, ran all projects. no issues.

Its worked for 45 mins, before it was always 1~5 mins. I'll be using kdevelop
for a couple hours a day for the next few days and will report back if any
problems.

Assuming all is well, is there anything further I need to do to close this?
This looks like an uncommon issue, specific to some systems, perhaps too few
for it to be a priority. If you want to use my system as a crash test dummy,
I'm happy to try any experiments.

Now I really really need to go to bed. Thank you Igor.

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

[kdevelop] [Bug 454685] updated kdevelop on debian today, crashed while parsing a just imported project

2022-06-01 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=454685

--- Comment #3 from Arthur Gruzauskas  ---
I am running KDevelop-5.6.1-x86_64.AppImage, so no source to play with.

I had compiled git master for a decade or so, then a year ago this crashing
while importing started to happen. The above AppImage worked, so I used it. A
few months ago I tried the version in debian testing, which worked perfectly
till an upgrade arrived today.

I suspect I was using LLVM11 a year ago when the crashing started, but not
certain.

It is now past midnight, and I have to stop. Tomorrow I will add your trial fix
to my git clone and will be compiling with LLVM13 and report back.

Thank you for looking at this issue, I love KDevelop!

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

[kdevelop] [Bug 454685] New: updated kdevelop on debian today, crashed while parsing a just imported project

2022-06-01 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=454685

Bug ID: 454685
   Summary: updated kdevelop on debian today, crashed while
parsing a just imported project
   Product: kdevelop
   Version: unspecified
  Platform: Debian testing
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: kdevelop-bugs-n...@kde.org
  Reporter: deb...@gruz.net
  Target Milestone: ---

Application: kdevelop (5.8.220401 (22.04.1))

Qt Version: 5.15.2
Frameworks Version: 5.94.0
Operating System: Linux 5.17.0-1-amd64 x86_64
Windowing System: X11
Distribution: Debian GNU/Linux bookworm/sid
DrKonqi: 5.24.5 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
just updated kdevelop. 
cleared all caches i know about :  rm -r /home/artg/.local/share/kdevelop/; rm
-r /home/artg/.cache/kdevduchain/; rm /home/artg/.config/kdeveloprc'
partway through background parsing it crashed. did this 3 times in a row.
uninstalled kdevelop & dependancies, removed some older versions of libraries.
reinstalled. same crash.

here is the terminal output:

artg~/alocal/ajg_stuff: Qt WebEngine seems to be initialized from a plugin.
Please set Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute
before constructing QGuiApplication.
qrc:/qml/storage.js:10: TypeError: Cannot call method 'openDatabaseSync' of
undefined
qrc:/qml/storage.js:10: TypeError: Cannot call method 'openDatabaseSync' of
undefined
kdevplatform.shell: Could not load plugin "kdevperforce" , it reported the
error: "The variable P4CONFIG is not set. Is perforce installed on the system?"
Disabling the plugin now.
Qt WebEngine seems to be initialized from a plugin. Please set
Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before
constructing QGuiApplication.
/usr/bin/cat:
/home/artg/.local/share/kdevelop/sessions/{8c305343-2f93-407d-9ede-6483394887e6}/default.sh:
No such file or directory
qrc:/qml/storage.js:10: TypeError: Cannot call method 'openDatabaseSync' of
undefined
qrc:/qml/storage.js:10: TypeError: Cannot call method 'openDatabaseSync' of
undefined
Running kdevelop instance (PID: 12,873) detected, making this one visible
instead of starting a new one
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2245, resource
id: 27263325, major code: 40 (TranslateCoords), minor code: 0
register count: 0, destroy count: 0
kdevplatform.shell: Could not load plugin "kdevperforce" , it reported the
error: "The variable P4CONFIG is not set. Is perforce installed on the system?"
Disabling the plugin now.
Qt WebEngine seems to be initialized from a plugin. Please set
Qt::AA_ShareOpenGLContexts using QCoreApplication::setAttribute before
constructing QGuiApplication.
/usr/bin/cat:
/home/artg/.local/share/kdevelop/sessions/{23506f92-cb71-44c5-aafe-efb135d50319}/default.sh:
No such file or directory
qrc:/qml/storage.js:10: TypeError: Cannot call method 'openDatabaseSync' of
undefined
qrc:/qml/storage.js:10: TypeError: Cannot call method 'openDatabaseSync' of
undefined
kf.kio.widgets.kdirmodel: No node found for item that was just removed:
QUrl("file:///home/artg/2021-01-21-09-41-05.086-VBoxSVC-17823.log")
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2823, resource
id: 2726, major code: 40 (TranslateCoords), minor code: 0
kf.kio.slaves.file: copy()
QUrl("file:///home/artg/alocal/ajg_stuff/ajg_stuff.kdev4") to
QUrl("file:///tmp/kdevelop.TWjTqj") mode= -1
kf.kio.slaves.file: the file doesn't have any xattr
kdevelop.plugins.cmake: couldn't open CMakeCache.txt
"/home/artg/alocal/ajg_stuff/build-debug/CMakeCache.txt"
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 
kdevelop.plugins.clang: Unhandled type: Dependent 

[kdevelop] [Bug 454685] updated kdevelop on debian today, crashed while parsing a just imported project

2022-06-01 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=454685

--- Comment #1 from Arthur Gruzauskas  ---
Created attachment 149368
  --> https://bugs.kde.org/attachment.cgi?id=149368=edit
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.

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

[kdevelop] [Bug 438249] fresh kdevelop build from git master source crashes while importing a project

2021-06-14 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=438249

Arthur Gruzauskas  changed:

   What|Removed |Added

 CC||deb...@gruz.net

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

[kdevelop] [Bug 438249] fresh kdevelop build from git master source crashes while importing a project

2021-06-08 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=438249

--- Comment #1 from Arthur Gruzauskas  ---
Created attachment 139104
  --> https://bugs.kde.org/attachment.cgi?id=139104=edit
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.

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

[kdevelop] [Bug 438249] New: fresh kdevelop build from git master source crashes while importing a project

2021-06-08 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=438249

Bug ID: 438249
   Summary: fresh kdevelop build from git master source crashes
while importing a project
   Product: kdevelop
   Version: unspecified
  Platform: Debian stable
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: kdevelop-bugs-n...@kde.org
  Reporter: deb...@gruz.net
  Target Milestone: ---

Application: kdevelop (5.6.40)

Qt Version: 5.15.2
Frameworks Version: 5.78.0
Operating System: Linux 5.10.0-7-amd64 x86_64
Windowing system: X11
Distribution: Debian GNU/Linux 11 (bullseye)

-- Information about the crash:
- What I was doing when the application crashed:

i used 'rm -r $HOME/.local/share/kdevelop/; rm -r /$HOME/.cache/kdevduchain/;
rm $HOME/.config/kdeveloprc' to get rid of all state that I know about.

build kdevelop from git master source using a shell script that has worked for
years. No missing Recommendations.

set my usual defaults in Settings. Then import a known project. Crashes while
importing the project doing an initial source file parse.

Been crashing for months. The same project loaded into a clean environment like
the first line above using KDevelop-5.6.1-x86_64.AppImage works fine. Been
using the AppImage successfully for many months now.

The help page in the crash handler was not clear to me, but today worked out
how to find the dbgsym files needed for this report.

I'm happy to help with any info or testing, I love kdevelop!

Arthur

The crash can be reproduced every time.

-- Backtrace (Reduced):
#4  __memmove_avx_unaligned_erms () at
../sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:405
#5  0x7fbf02cd02d7 in APInt () at
/build/llvm-toolchain-11-HMpQvg/llvm-toolchain-11-11.0.1/llvm/include/llvm/ADT/APInt.h:325
#6  APSInt () at
/build/llvm-toolchain-11-HMpQvg/llvm-toolchain-11-11.0.1/llvm/include/llvm/ADT/APSInt.h:21
#7  EvaluateKnownConstInt() () at
/build/llvm-toolchain-11-HMpQvg/llvm-toolchain-11-11.0.1/clang/lib/AST/ExprConstant.cpp:14368
#8  0x7fbf02c76345 in getBitWidthValue() () at
/build/llvm-toolchain-11-HMpQvg/llvm-toolchain-11-11.0.1/clang/lib/AST/Decl.cpp:4030


Possible duplicates by query: bug 436863, bug 434799, bug 431811, bug 410586,
bug 386527.

Reported using DrKonqi

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

[kdevelop] [Bug 409561] kdevelop crashes while using the menu item Commit...

2019-07-06 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=409561

Arthur Gruzauskas  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #2 from Arthur Gruzauskas  ---
a kdevelop update just minutes ago, which included a patchreview update, seems
to have resolved this issue.

Thank you,

Arthur

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

[kdevelop] [Bug 409561] kdevelop crashes while using the menu item Commit...

2019-07-06 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=409561

--- Comment #1 from Arthur Gruzauskas  ---
running kdevelop from git master. this crash is consistently happening the last
few weeks.

Im on debian buster. tried recompiling from a fresh git master, same crash.

Previous crashes generated ~300k files, so couldn't send due to the 65K limit
for a bug report. Crash seems to be in the same place in those larger files.

doing a commit via gitk works, so may not be a git issue directly.

Happy to help with more info.

Arthur

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

[kdevelop] [Bug 409561] New: kdevelop crashes while using the menu item Commit...

2019-07-06 Thread Arthur Gruzauskas
https://bugs.kde.org/show_bug.cgi?id=409561

Bug ID: 409561
   Summary: kdevelop crashes while using the menu item Commit...
   Product: kdevelop
   Version: unspecified
  Platform: Debian stable
OS: Linux
Status: REPORTED
  Keywords: drkonqi
  Severity: crash
  Priority: NOR
 Component: general
  Assignee: kdevelop-bugs-n...@kde.org
  Reporter: deb...@gruz.net
  Target Milestone: ---

Application: kdevelop (5.3.40)

Qt Version: 5.11.3
Frameworks Version: 5.54.0
Operating System: Linux 4.19.0-5-amd64 x86_64
Distribution: Debian GNU/Linux 10 (buster)

-- Information about the crash:
- What I was doing when the application crashed:

start up kdevelop, wait for any parsing to finish, attempt Commit..., and it
crashes

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fe6ba3471c0 (LWP 57624))]

Thread 44 (Thread 0x7fe5f97fa700 (LWP 57805)):
#0  0x7fe6cd66a00c in futex_wait_cancelable (private=0, expected=0,
futex_word=0x55979c647f74) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x7fe6cd66a00c in __pthread_cond_wait_common (abstime=0x0,
mutex=0x55979c647f20, cond=0x55979c647f48) at pthread_cond_wait.c:502
#2  0x7fe6cd66a00c in __pthread_cond_wait (cond=0x55979c647f48,
mutex=0x55979c647f20) at pthread_cond_wait.c:655
#3  0x7fe6ce8b825b in QWaitCondition::wait(QMutex*, unsigned long) () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x7fe6d1305d30 in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x7fe6d1309ae8 in  () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x7fe6d1304e3d in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x7fe6d1307bb9 in ThreadWeaver::Thread::run() () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#8  0x7fe6ce8b7aa7 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x7fe6cd663fa3 in start_thread (arg=) at
pthread_create.c:486
#10 0x7fe6ce40a4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 43 (Thread 0x7fe5f9ffb700 (LWP 57804)):
#0  0x7fe6cd66a00c in futex_wait_cancelable (private=0, expected=0,
futex_word=0x55979c647f74) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x7fe6cd66a00c in __pthread_cond_wait_common (abstime=0x0,
mutex=0x55979c647f20, cond=0x55979c647f48) at pthread_cond_wait.c:502
#2  0x7fe6cd66a00c in __pthread_cond_wait (cond=0x55979c647f48,
mutex=0x55979c647f20) at pthread_cond_wait.c:655
#3  0x7fe6ce8b825b in QWaitCondition::wait(QMutex*, unsigned long) () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x7fe6d1305d30 in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x7fe6d1309ae8 in  () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x7fe6d1304e3d in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x7fe6d1307bb9 in ThreadWeaver::Thread::run() () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#8  0x7fe6ce8b7aa7 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x7fe6cd663fa3 in start_thread (arg=) at
pthread_create.c:486
#10 0x7fe6ce40a4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 42 (Thread 0x7fe5fa7fc700 (LWP 57803)):
#0  0x7fe6cd66a00c in futex_wait_cancelable (private=0, expected=0,
futex_word=0x55979c647f74) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  0x7fe6cd66a00c in __pthread_cond_wait_common (abstime=0x0,
mutex=0x55979c647f20, cond=0x55979c647f48) at pthread_cond_wait.c:502
#2  0x7fe6cd66a00c in __pthread_cond_wait (cond=0x55979c647f48,
mutex=0x55979c647f20) at pthread_cond_wait.c:655
#3  0x7fe6ce8b825b in QWaitCondition::wait(QMutex*, unsigned long) () at
/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x7fe6d1305d30 in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#5  0x7fe6d1309ae8 in  () at /lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#6  0x7fe6d1304e3d in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#7  0x7fe6d1307bb9 in ThreadWeaver::Thread::run() () at
/lib/x86_64-linux-gnu/libKF5ThreadWeaver.so.5
#8  0x7fe6ce8b7aa7 in  () at /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x7fe6cd663fa3 in start_thread (arg=) at
pthread_create.c:486
#10 0x7fe6ce40a4cf in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 41 (Thread 0x7fe5faffd700 (LWP 57802)):
#0