Bug 378196 - KDevelop crash (SIGSEGV) at startup
Summary: KDevelop crash (SIGSEGV) at startup
Status: RESOLVED DUPLICATE of bug 378100
Alias: None
Product: kate
Classification: Applications
Component: part (show other bugs)
Version: 16.08
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-03-28 09:19 UTC by Jill
Modified: 2017-03-29 23:52 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jill 2017-03-28 09:19:54 UTC
Application: kdevelop (5.1.0)

Qt Version: 5.8.0
Frameworks Version: 5.32.0
Operating System: Linux 4.10.6-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:
I had Google Chrome and Konsole opened (dev)

I just installed KDevelop and haven't touched config files yet or anything, just installed the package and started it then it crashed…

The crash can be reproduced every time.

-- Backtrace:
Application: KDevelop (kdevelop), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc265bf7c80 (LWP 13472))]

Thread 3 (Thread 0x7fc24254d700 (LWP 13474)):
#0  0x00007fc2629e667d in poll () at /usr/lib/libc.so.6
#1  0x00007fc25a1b07a6 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc25a1b08bc in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc26330d06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fc2632b689a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fc2630d8a73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fc264e0a125 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007fc2630dd6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fc25c3fd2e7 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fc2629f054f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fc244350700 (LWP 13473)):
#0  0x00007fc2629e667d in poll () at /usr/lib/libc.so.6
#1  0x00007fc2528488e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007fc25284a679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007fc246cd6239 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007fc2630dd6d8 in  () at /usr/lib/libQt5Core.so.5
#5  0x00007fc25c3fd2e7 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007fc2629f054f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fc265bf7c80 (LWP 13472)):
[KCrash Handler]
#6  0x00007fc262994cda in __strcmp_sse2_unaligned () at /usr/lib/libc.so.6
#7  0x00007fc24e55568d in lh_insert () at /usr/lib/libcrypto.so.1.0.0
#8  0x00007fc24e484a99 in OBJ_NAME_add () at /usr/lib/libcrypto.so.1.0.0
#9  0x00007fc24a6c8ea5 in  () at /usr/lib/libssl.so.1.1
#10 0x00007fc25c405399 in __pthread_once_slow () at /usr/lib/libpthread.so.0
#11 0x00007fc24a3cc069 in CRYPTO_THREAD_run_once () at /usr/lib/libcrypto.so.1.1
#12 0x00007fc24a6c908b in OPENSSL_init_ssl () at /usr/lib/libssl.so.1.1
#13 0x00007fc2539f7e85 in  () at /usr/lib/libgit2.so.25
#14 0x00007fc2539c8b68 in  () at /usr/lib/libgit2.so.25
#15 0x00007fc25c405399 in __pthread_once_slow () at /usr/lib/libpthread.so.0
#16 0x00007fc2539c8be3 in git_libgit2_init () at /usr/lib/libgit2.so.25
#17 0x00007fc25f8b826b in KTextEditor::EditorPrivate::EditorPrivate(QPointer<KTextEditor::EditorPrivate>&) () at /usr/lib/libKF5TextEditor.so.5
#18 0x00007fc25f8bb0e8 in KTextEditor::EditorPrivate::self() () at /usr/lib/libKF5TextEditor.so.5
#19 0x00007fc2657cabb1 in  () at /usr/lib/libKDevPlatformShell.so.10
#20 0x00007fc2657bf41d in KDevelop::PluginController::PluginController(KDevelop::Core*) () at /usr/lib/libKDevPlatformShell.so.10
#21 0x00007fc2657cd74a in KDevelop::CorePrivate::initialize(KDevelop::Core::Setup, QString) () at /usr/lib/libKDevPlatformShell.so.10
#22 0x00007fc2657cf5e5 in KDevelop::Core::initialize(QObject*, KDevelop::Core::Setup, QString const&) () at /usr/lib/libKDevPlatformShell.so.10
#23 0x000000000040ab5d in  ()
#24 0x00007fc262924511 in __libc_start_main () at /usr/lib/libc.so.6
#25 0x000000000040c32a in _start ()

Reported using DrKonqi
Comment 1 Milian Wolff 2017-03-28 09:23:53 UTC
a bug in libgit2, I guess - used by kdevelop only indirectly through ktexteditor

@Kate people: weren't there some of these issues before?
Comment 2 Jill 2017-03-28 09:55:27 UTC
I just noticed my ktexteditor package was from the testing repository, I "reverted" it back from the one provided by extra repository and it now works fine.
Comment 3 Sven Brauch 2017-03-28 14:38:38 UTC
Should this initialization routine even be called when embedding katepart? We don't need the libgit functionality, we do that ourselves ... at the moment.
Comment 4 Christoph Feck 2017-03-29 23:52:36 UTC

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