[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2021-01-15 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=379854

Bug Janitor Service  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |WORKSFORME
 Status|NEEDSINFO   |RESOLVED

--- Comment #17 from Bug Janitor Service  ---
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2020-12-31 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=379854

--- Comment #16 from Bug Janitor Service  ---
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2020-12-16 Thread Justin Zobel
https://bugs.kde.org/show_bug.cgi?id=379854

Justin Zobel  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #15 from Justin Zobel  ---
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm
if this issue is still occurring or if this bug report can be marked as
resolved.

I have set the bug status to "needsinfo" pending your response, please change
back to "reported" or "resolved/worksforme" when you respond, thank you.

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-06-01 Thread Ian Haber
https://bugs.kde.org/show_bug.cgi?id=379854

--- Comment #14 from Ian Haber  ---
yea, i cant run valgrind on the appimage.  luckily this is a crash that is
totally avoidable.

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-06-01 Thread Milian Wolff
https://bugs.kde.org/show_bug.cgi?id=379854

Milian Wolff  changed:

   What|Removed |Added

 Status|NEEDSINFO   |UNCONFIRMED
 Resolution|BACKTRACE   |---

--- Comment #13 from Milian Wolff  ---
changing status

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-06-01 Thread Milian Wolff
https://bugs.kde.org/show_bug.cgi?id=379854

--- Comment #12 from Milian Wolff  ---
Hm ok DocumentController::activeDocument actually contains a dynamic_cast, but
I wonder how that can crash here. I think we'll need to valgrind this - which
is probably not possible with the AppImage.

Someone will have to be able to reproduce this without the AppImage and then
launch kdevelop through valgrind (or compile the code with ASAN) and see why
the dynamic cast breaks apart.

Just by looking at the code, I don't see how this can fail here...

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-05-31 Thread Ian Haber
https://bugs.kde.org/show_bug.cgi?id=379854

--- Comment #11 from Ian Haber  ---
Yes, thread 1 is the one that crashed. 

it doesn't matter which filetype i open. i have tried .c, .cpp, cmakelists.txt,
.gitignore, .csv.

i dont really have any special formatter settings, especially not for txt and
csv files.

Thread 1 "kdevelop" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fb07cb94740 (LWP 29681)]
0x7fb0764a6ff0 in __dynamic_cast ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
bt
#0  0x7fb0764a6ff0 in __dynamic_cast ()
   from /usr/lib/x86_64-linux-gnu/libstdc++.so.6
#1  0x7fb07c610348 in KDevelop::DocumentController::activeDocument() const
() from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformShell.so.10
#2  0x7fb07c64781e in
KDevelop::SourceFormatterController::updateFormatTextAction() () from
/tmp/.mount_kP4amF/usr/lib/libKDevPlatformShell.so.10
#3  0x7fb07c64e672 in QtPrivate::FunctorCall,
QtPrivate::List<>, void, void
(KDevelop::SourceFormatterController::*)()>::call(void
(KDevelop::SourceFormatterController::*)(),
KDevelop::SourceFormatterController*, void**) () from
/tmp/.mount_kP4amF/usr/lib/libKDevPlatformShell.so.10
#4  0x7fb07c64e2af in void QtPrivate::FunctionPointer::call, void>(void
(KDevelop::SourceFormatterController::*)(),
KDevelop::SourceFormatterController*, void**) ()
   from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformShell.so.10
#5  0x7fb07c64d7dd in QtPrivate::QSlotObject, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
   from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformShell.so.10
#6  0x7fb076a3a5b6 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /tmp/.mount_kP4amF/usr/lib/libQt5Core.so.5
#7  0x7fb07af42547 in
KDevelop::IDocumentController::documentClosed(KDevelop::IDocument*) ()
   from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformInterfaces.so.10
---Type  to continue, or q  to quit---
#8  0x7fb07c60ed86 in
KDevelop::DocumentController::notifyDocumentClosed(Sublime::Document*) () from
/tmp/.mount_kP4amF/usr/lib/libKDevPlatformShell.so.10
#9  0x7fb07c61b08e in QtPrivate::FunctorCall,
QtPrivate::List, void, void
(KDevelop::DocumentController::*)(Sublime::Document*)>::call(void
(KDevelop::DocumentController::*)(Sublime::Document*),
KDevelop::DocumentController*, void**) ()
   from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformShell.so.10
#10 0x7fb07c61ac6d in void QtPrivate::FunctionPointer::call,
void>(void (KDevelop::DocumentController::*)(Sublime::Document*),
KDevelop::DocumentController*, void**) ()
   from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformShell.so.10
#11 0x7fb07c61a117 in QtPrivate::QSlotObject, void>::impl(int,
QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) ()
   from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformShell.so.10
#12 0x7fb076a3a5b6 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /tmp/.mount_kP4amF/usr/lib/libQt5Core.so.5
#13 0x7fb07b88c777 in Sublime::Document::aboutToDelete(Sublime::Document*)
() from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformSublime.so.10
#14 0x7fb07b88cca9 in Sublime::DocumentPrivate::removeView(Sublime::View*)
() from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformSublime.so.10
#15 0x7fb07b88be86 in
Sublime::Document::createView()::{lambda(QObject*)#1}:---Type  to
continue, or q  to quit---
:operator()(QObject*) const ()
   from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformSublime.so.10
#16 0x7fb07b88cbbd in QtPrivate::FunctorCall,
QtPrivate::List, void,
Sublime::Document::createView()::{lambda(QObject*)#1}>::call({lambda(QObject*)#1}&,
void**) ()
   from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformSublime.so.10
#17 0x7fb07b88cb47 in void
QtPrivate::Functor::call, void>({lambda(QObject*)#1}&, void*,
{lambda(QObject*)#1}&*) ()
   from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformSublime.so.10
#18 0x7fb07b88cae2 in
QtPrivate::QFunctorSlotObject, void>::impl(int, QtPrivate::QSlotObjectBase*,
QObject*, void**, bool*) ()
   from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformSublime.so.10
#19 0x7fb076a3a5b6 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /tmp/.mount_kP4amF/usr/lib/libQt5Core.so.5
#20 0x7fb076a3ac8f in QObject::destroyed(QObject*) ()
   from /tmp/.mount_kP4amF/usr/lib/libQt5Core.so.5
#21 0x7fb076a417c5 in QObject::~QObject() ()
   from /tmp/.mount_kP4amF/usr/lib/libQt5Core.so.5
#22 0x7fb07b89e229 in Sublime::View::~View() ()
   from /tmp/.mount_kP4amF/usr/lib/libKDevPlatformSublime.so.10
#23 0x7fb07c607807 in KDevelop::TextView::~TextView() ()
---Type  to continue, or q  to quit---
   from 

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-05-31 Thread Milian Wolff
https://bugs.kde.org/show_bug.cgi?id=379854

--- Comment #10 from Milian Wolff  ---
is it thread 1 that crashed? gdb should tell you that on the segfault. I
wonder, b/c the function you point to does not contain a dynamic_cast, so i
really wonder what is going on there...

I also wonder why I cannot reproduce this locally... Maybe it relates to the
source formatter. What kind of file do you open? I.e. what mimetype does it
have? Do you have any special source code formatter settings?

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-05-30 Thread Ian Haber
https://bugs.kde.org/show_bug.cgi?id=379854

--- Comment #9 from Ian Haber  ---
got the backtrace finally.

(gdb) thread apply all bt

Thread 17 (Thread 0x7fbef089e700 (LWP 25024)):
#0  0x7fbf4c4bcb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x7fbf4d2ec1c2 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#2  0x7fbf4d2ed8aa in
QEventDispatcherUNIX::processEvents(QFlags) ()
from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#3  0x7fbf4d29e7fa in
QEventLoop::exec(QFlags) () from
/tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#4  0x7fbf4d0d2d6c in QThread::exec() ()
   from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#5  0x7fbf4a4f5e18 in KDevelop::CompletionWorkerThread::run() ()
   from /tmp/.mount_vF1m0a/usr/lib/libKDevPlatformLanguage.so.10
#6  0x7fbf4d0d76a6 in ?? () from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#7  0x7fbf453976ba in start_thread (arg=0x7fbef089e700)
at pthread_create.c:333
#8  0x7fbf4c4c882d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 16 (Thread 0x7fbef9b92700 (LWP 25023)):
#0  0x7fbf4c4bcb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x7fbf4d2ec1c2 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
---Type  to continue, or q  to quit---
#2  0x7fbf4d2ed8aa in
QEventDispatcherUNIX::processEvents(QFlags) ()
from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#3  0x7fbf4d29e7fa in
QEventLoop::exec(QFlags) () from
/tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#4  0x7fbf4d0d2d6c in QThread::exec() ()
   from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#5  0x7fbf4a4f5e18 in KDevelop::CompletionWorkerThread::run() ()
   from /tmp/.mount_vF1m0a/usr/lib/libKDevPlatformLanguage.so.10
#6  0x7fbf4d0d76a6 in ?? () from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#7  0x7fbf453976ba in start_thread (arg=0x7fbef9b92700)
at pthread_create.c:333
#8  0x7fbf4c4c882d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 15 (Thread 0x7fbefb7fe700 (LWP 25014)):
#0  0x7fbf4c4bcb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x7fbf4d2ec1c2 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#2  0x7fbf4d2ed8aa in
QEventDispatcherUNIX::processEvents(QFlags) ()
from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#3  0x7fbf4d29e7fa in
QEventLoop::exec(QFlags) () from
/tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#4  0x7fbf4d0d2d6c in QThread::exec() ()
---Type  to continue, or q  to quit---
   from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#5  0x7fbf4a4f5e18 in KDevelop::CompletionWorkerThread::run() ()
   from /tmp/.mount_vF1m0a/usr/lib/libKDevPlatformLanguage.so.10
#6  0x7fbf4d0d76a6 in ?? () from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#7  0x7fbf453976ba in start_thread (arg=0x7fbefb7fe700)
at pthread_create.c:333
#8  0x7fbf4c4c882d in clone ()
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 13 (Thread 0x7fbf12d60700 (LWP 24987)):
#0  0x7fbf4c4bcb5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x7fbf4d2ec1c2 in qt_safe_poll(pollfd*, unsigned long, timespec const*)
() from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#2  0x7fbf4d2ed8aa in
QEventDispatcherUNIX::processEvents(QFlags) ()
from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#3  0x7fbf4d29e7fa in
QEventLoop::exec(QFlags) () from
/tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#4  0x7fbf4d0d2d6c in QThread::exec() ()
   from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#5  0x7fbf4d0d76a6 in ?? () from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#6  0x7fbf453976ba in start_thread (arg=0x7fbf12d60700)
at pthread_create.c:333
#7  0x7fbf4c4c882d in clone ()
---Type  to continue, or q  to quit---
at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 12 (Thread 0x7fbefbfff700 (LWP 24984)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x7fbf4d0d847b in QWaitCondition::wait(QMutex*, unsigned long) ()
   from /tmp/.mount_vF1m0a/usr/lib/libQt5Core.so.5
#2  0x7fbf49278a47 in
ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*,
bool, bool, bool) ()
   from /tmp/.mount_vF1m0a/usr/lib/libKF5ThreadWeaver.so.5
#3  0x7fbf4927c6d8 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) ()
from /tmp/.mount_vF1m0a/usr/lib/libKF5ThreadWeaver.so.5
#4  0x7fbf49277cc9 in
ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () from
/tmp/.mount_vF1m0a/usr/lib/libKF5ThreadWeaver.so.5
#5  0x7fbf4927c722 in
ThreadWeaver::WorkingHardState::applyForWork(ThreadWeaver::Thread*, bool) ()
from /tmp/.mount_vF1m0a/usr/lib/libKF5ThreadWeaver.so.5
#6  0x7fbf49277cc9 in

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-05-30 Thread Ian Haber
https://bugs.kde.org/show_bug.cgi?id=379854

--- Comment #8 from Ian Haber  ---
Thread 1 "kdevelop" received signal SIGSEGV, Segmentation fault.
[Switching to LWP 24069]
0x1fe0af93 in ?? ()
(gdb) thread apply all bt

Thread 16 (LWP 24142):
#0  0x1f591b5d in ?? ()
Backtrace stopped: Cannot access memory at address 0xb7ffec50

Thread 15 (LWP 24133):
#0  0x1f591b5d in ?? ()
Backtrace stopped: Cannot access memory at address 0xd13d5c50

Thread 14 (LWP 24132):
#0  0x1f591b5d in ?? ()
Backtrace stopped: Cannot access memory at address 0xd233dc50

Thread 13 (LWP 24127):
#0  0x1f591b5d in ?? ()
Backtrace stopped: Cannot access memory at address 0xee6c8d10

Thread 12 (LWP 24121):
#0  0x18472360 in ?? ()
Backtrace stopped: Cannot access memory at address 0xd2ffcbf0

Thread 11 (LWP 24120):
#0  0x18472360 in ?? ()
---Type  to continue, or q  to quit---
Backtrace stopped: Cannot access memory at address 0xd37fdb30

Thread 10 (LWP 24119):
#0  0x18472360 in ?? ()
Backtrace stopped: Cannot access memory at address 0xd3ffeb90

Thread 9 (LWP 24118):
#0  0x18472360 in ?? ()
Backtrace stopped: Cannot access memory at address 0xed6c6a10

Thread 8 (LWP 24117):
#0  0x18472360 in ?? ()
Backtrace stopped: Cannot access memory at address 0xf4afec50

Thread 7 (LWP 24116):
#0  0x18472360 in ?? ()
Backtrace stopped: Cannot access memory at address 0xedec7d10

Thread 6 (LWP 24115):
#0  0x18472360 in ?? ()
Backtrace stopped: Cannot access memory at address 0xecec5cb0

Thread 5 (LWP 24078):
---Type  to continue, or q  to quit---
#0  0x1f591b5d in ?? ()
Backtrace stopped: Cannot access memory at address 0xf73c5c50

Thread 4 (LWP 24077):
#0  0x18472709 in ?? ()
Backtrace stopped: Cannot access memory at address 0x142de0

Thread 3 (LWP 24071):
#0  0x1f591b5d in ?? ()
Backtrace stopped: Cannot access memory at address 0xbb09ce0

Thread 2 (LWP 24070):
#0  0x1f591b5d in ?? ()

Thread 1 (LWP 24069):
#0  0x1fe0af93 in ?? ()
Backtrace stopped: Cannot access memory at address 0xb2641c20


maybe it is stack corruption?

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-05-30 Thread Milian Wolff
https://bugs.kde.org/show_bug.cgi?id=379854

--- Comment #7 from Milian Wolff  ---
try the nightly build:
http://kfunk.ddns.net:8080/job/kdevelop-appimage-centos/lastSuccessfulBuild/artifact/KDevelop-git-x86_64.AppImage

launch it normally, then attach GDB, then reproduce the crash and get us a
backtrace (thread apply all bt)

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-05-30 Thread Ian Haber
https://bugs.kde.org/show_bug.cgi?id=379854

--- Comment #6 from Ian Haber  ---
is there a way for you guys to build a debug version of the appimage? that
might help out a lot. 

I cant build the master atm. my two versions of qt are incompatible. the
version of qt that is in the 16.04 repo is too low for QProcess::errorOccurred.
the version i develop with is to new and doesnt have QtWebkit.

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-05-30 Thread Ian Haber
https://bugs.kde.org/show_bug.cgi?id=379854

--- Comment #5 from Ian Haber  ---
nope, just says it cant access the memory for the backtrace.

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-05-30 Thread Milian Wolff
https://bugs.kde.org/show_bug.cgi?id=379854

--- Comment #4 from Milian Wolff  ---
try attaching to the kdevelop process with gdb after launching it through
appimage, does this work?

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-05-30 Thread Ian Haber
https://bugs.kde.org/show_bug.cgi?id=379854

--- Comment #3 from Ian Haber  ---
it still crashes in 5.1.1. I'm currently building from master atm. Is there any
way to actually get the backtrace from the appimage? i run it through gdb but
whenever it crashes it just says no backtrace.

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-05-30 Thread Milian Wolff
https://bugs.kde.org/show_bug.cgi?id=379854

Milian Wolff  changed:

   What|Removed |Added

 Resolution|--- |BACKTRACE
 Status|UNCONFIRMED |NEEDSINFO

--- Comment #2 from Milian Wolff  ---
Can you supply a backtrace please? I just followed your steps and it does not
crash for me. Maybe it was fixed with 5.1.1? Can you try an updated kdevelop
build from https://www.kdevelop.org/download please?

thanks

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

[kdevelop] [Bug 379854] kdevelop crashes after closing splitview

2017-05-15 Thread Ian Haber
https://bugs.kde.org/show_bug.cgi?id=379854

--- Comment #1 from Ian Haber  ---
only crashes if the splitview is the only thing open when it closes.

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