Bug 354947 - Kate segfaults when opening session with too many files
Summary: Kate segfaults when opening session with too many files
Status: RESOLVED DUPLICATE of bug 349558
Alias: None
Product: kate
Classification: Applications
Component: application (other bugs)
Version First Reported In: 5.0.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-06 14:12 UTC by Vit Pelcak
Modified: 2016-04-05 19:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
session file (11.87 KB, text/plain)
2016-02-21 09:11 UTC, Marian Kyral
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vit Pelcak 2015-11-06 14:12:30 UTC
# rpm -qv kate
kate-15.08.2-1.1.x86_64

I have session with dozens of files. Whenever I open it, Kate crashes with Segmentation fault.

Starting program: /usr/bin/kate 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
using qt5ct plugin
[New Thread 0x7fffd312d700 (LWP 11417)]
Detaching after fork from child process 11420.
[New Thread 0x7fffd292c700 (LWP 11418)]
Detaching after fork from child process 11426.
Detaching after fork from child process 11427.
The font for use in the terminal has not been matched exactly. Perhaps it has not been found properly.
The font for use in the terminal has not been matched exactly. Perhaps it has not been found properly.
Detaching after fork from child process 11428.
The font for use in the terminal has not been matched exactly. Perhaps it has not been found properly.
The font for use in the terminal has not been matched exactly. Perhaps it has not been found properly.
Detaching after fork from child process 11447.
[New Thread 0x7fffbb7fe700 (LWP 11425)]
[New Thread 0x7fffbbfff700 (LWP 11424)]
[New Thread 0x7fffd0928700 (LWP 11423)]
[New Thread 0x7fffd1129700 (LWP 11422)]
[New Thread 0x7fffd192a700 (LWP 11421)]
[New Thread 0x7fffd212b700 (LWP 11419)]
[New Thread 0x7fffe070b700 (LWP 11409)]

Program received signal SIGSEGV, Segmentation fault.
QWidget::hide (this=0x0) at kernel/qwidget.cpp:7922
7922    kernel/qwidget.cpp: Adresář nebo soubor neexistuje.
(gdb) bt full
#0  QWidget::hide (this=0x0) at kernel/qwidget.cpp:7922
No locals.
#1  0x00007ffff7b8f7da in KateTabBar::removeTab (this=0xa9ad00, id=0) at /usr/src/debug/kate-15.08.2/kate/src/katetabbar.cpp:178
        tabButton = 0x0
        position = -1
#2  0x00007ffff7b86146 in KateViewSpace::removeTab (this=this@entry=0xefe920, doc=0x1449750, 
    documentDestroyed=documentDestroyed@entry=false) at /usr/src/debug/kate-15.08.2/kate/src/kateviewspace.cpp:366
        id = <optimized out>
        removeIndex = <optimized out>
#3  0x00007ffff7b86fcc in KateViewSpace::registerDocument (this=this@entry=0xefe920, doc=doc@entry=0x1623870, 
    append=append@entry=true) at /usr/src/debug/kate-15.08.2/kate/src/kateviewspace.cpp:443
        docToHide = <optimized out>
        insertIndex = <optimized out>
#4  0x00007ffff7b88363 in KateViewSpace::restoreConfig (this=0xefe920, viewMan=viewMan@entry=0x9536e0, 
    config=config@entry=0x765150, groupname=...) at /usr/src/debug/kate-15.08.2/kate/src/kateviewspace.cpp:635
        index = <optimized out>
        doc = 0x1623870
        i = 59
        group = {<KConfigBase> = {_vptr.KConfigBase = 0x7ffff4f56210 <vtable for KConfigGroup+16>}, d = {d = 0xe785b0}}
        lruList = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {
                    atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0xadbf80}, 
              d = 0xadbf80}}, <No data fields>}
        fn = {static null = {<No data fields>}, d = 0x9536e0}
#5  0x00007ffff7b8202b in KateViewManager::restoreSplitter (this=this@entry=0x9536e0, configBase=0x765150, group=..., 
    parent=parent@entry=0x9536e0, viewConfGrp=...) at /usr/src/debug/kate-15.08.2/kate/src/kateviewmanager.cpp:1095
        vs = 0xefe920
        it = {i = 0x687100}
        config = {<KConfigBase> = {_vptr.KConfigBase = 0x7ffff4f56210 <vtable for KConfigGroup+16>}, d = {d = 0x61fcc0}}
        children = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {
                    atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x6870f0}, 
              d = 0x6870f0}}, <No data fields>}
#6  0x00007ffff7b82367 in KateViewManager::restoreViewConfiguration (this=0x9536e0, config=...)
    at /usr/src/debug/kate-15.08.2/kate/src/kateviewmanager.cpp:998
        lastViewSpace = <optimized out>
#7  0x00007ffff7b771f3 in KateMainWindow::readProperties (this=this@entry=0x8543d0, config=...)
    at /usr/src/debug/kate-15.08.2/kate/src/katemainwindow.cpp:991
        configBase = 0x765150
#8  0x00007ffff7b93fc2 in KateSessionManager::loadSession (this=this@entry=0x7c7890, session=...)
    at /usr/src/debug/kate-15.08.2/kate/src/session/katesessionmanager.cpp:202
        i = 0
        cfg = 0x765150
        delete_cfg = <optimized out>
        sharedConfig = {d = 0x6fa610}
        sc = <optimized out>
        loadDocs = <optimized out>
        c = {<KConfigBase> = {_vptr.KConfigBase = 0x7ffff4f56210 <vtable for KConfigGroup+16>}, d = {d = 0xe032a0}}
#9  0x00007ffff7b94deb in KateSessionManager::activateSession (this=this@entry=0x7c7890, session=..., 
    closeAndSaveLast=closeAndSaveLast@entry=true, loadNew=loadNew@entry=true)
    at /usr/src/debug/kate-15.08.2/kate/src/session/katesessionmanager.cpp:161
No locals.
#10 0x00007ffff7b95356 in KateSessionManager::activateSession (this=0x7c7890, name=..., 
    closeAndSaveLast=closeAndSaveLast@entry=true, loadNew=loadNew@entry=true)
    at /usr/src/debug/kate-15.08.2/kate/src/session/katesessionmanager.cpp:223
No locals.
#11 0x00007ffff7b918b2 in KateSessionsAction::openSession (this=0x932370, action=<optimized out>)
    at /usr/src/debug/kate-15.08.2/kate/src/session/katesessionsaction.cpp:69
        name = {static null = {<No data fields>}, d = 0x7fb390}
#12 0x00007ffff7bac02c in KateSessionsAction::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, 
    _a=<optimized out>) at /usr/src/debug/kate-15.08.2/build/kate/src/moc_katesessionsaction.cpp:80
        _t = <optimized out>
#13 0x00007ffff2fe7d79 in QObject::event (this=0x932370, e=<optimized out>) at kernel/qobject.cpp:1239
        mce = <optimized out>
        sw = {receiver = 0x932370, previousSender = 0x0, currentSender = {sender = 0x943dc0, signal = 3, ref = 1}, 
          switched = true}
#14 0x00007ffff43a5e41 in QAction::event (this=<optimized out>, e=<optimized out>) at kernel/qaction.cpp:1094
No locals.
#15 0x00007ffff43ac8cc in QApplicationPrivate::notify_helper (this=this@entry=0x629340, receiver=receiver@entry=0x932370, 
    e=e@entry=0xd12aa0) at kernel/qapplication.cpp:3716
        consumed = <optimized out>
#16 0x00007ffff43b19d6 in QApplication::notify (this=0x7fffffffdbb0, receiver=0x932370, e=0xd12aa0)
    at kernel/qapplication.cpp:3499
        w = 0x932370
        extra = <optimized out>
        isProxyWidget = <optimized out>
        res = false
#17 0x00007ffff2fb9cf3 in QCoreApplication::notifyInternal (this=0x7fffffffdbb0, receiver=0x932370, event=event@entry=0xd12aa0)
    at kernel/qcoreapplication.cpp:965
        result = false
        cbdata = {0x932370, 0xd12aa0, 0x7fffffffd64f}
        d = <optimized out>
        threadData = 0x6207d0
        loopLevelCounter = {threadData = 0x6207d0}
#18 0x00007ffff2fbc016 in sendEvent (event=0xd12aa0, receiver=<optimized out>) at kernel/qcoreapplication.h:224
No locals.
#19 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x6207d0)
    at kernel/qcoreapplication.cpp:1593
        e = 0xd12aa0
        pe = <optimized out>
        r = <optimized out>
        unlocker = {m = <synthetic pointer>}
        event_deleter = {d = 0xd12aa0}
        locker = {val = 6424568}
        startOffset = 0
        i = @0x6207ec: 11
        cleanup = {receiver = 0x0, event_type = 0, data = 0x6207d0, exceptionCaught = true}
#20 0x00007ffff2fbc4f8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0)
    at kernel/qcoreapplication.cpp:1451
        data = <optimized out>
#21 0x00007ffff300d103 in postEventSourceDispatch (s=0x6601e0) at kernel/qeventdispatcher_glib.cpp:271
        source = 0x6601e0
#22 0x00007fffee7b1097 in g_main_dispatch (context=0x7fffd80016f0) at gmain.c:3154
---Type <return> to continue, or q <return> to quit---
        dispatch = 0x7ffff300d0f0 <postEventSourceDispatch(GSource*, GSourceFunc, gpointer)>
        prev_source = 0x0
        was_in_call = 0
        user_data = 0x0
        callback = 0x0
        cb_funcs = <optimized out>
        cb_data = <optimized out>
        need_destroy = <optimized out>
        source = 0x6601e0
        current = 0x61d670
        i = 0
#23 g_main_context_dispatch (context=context@entry=0x7fffd80016f0) at gmain.c:3769
No locals.
#24 0x00007fffee7b12c8 in g_main_context_iterate (context=context@entry=0x7fffd80016f0, block=block@entry=1, 
    dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3840
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = 6
        fds = 0x9fb1f0
#25 0x00007fffee7b136c in g_main_context_iteration (context=0x7fffd80016f0, may_block=may_block@entry=1) at gmain.c:3901
        retval = <optimized out>
#26 0x00007ffff300d50f in QEventDispatcherGlib::processEvents (this=0x6669b0, flags=...) at kernel/qeventdispatcher_glib.cpp:418
        d = 0x6c5010
        canWait = true
        savedFlags = {i = 0}
        result = <optimized out>
#27 0x00007ffff2fb763a in QEventLoop::exec (this=this@entry=0x7fffffffd900, flags=..., flags@entry=...)
    at kernel/qeventloop.cpp:204
        d = 0xd17ac0
        locker = {val = 6424768}
        ref = {d = 0xd17ac0, locker = @0x7fffffffd890, exceptionCaught = true}
#28 0x00007ffff2fbf2fd in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
        threadData = 0x6207d0
        eventLoop = {<QObject> = {_vptr.QObject = 0x7ffff33fd518 <vtable for QEventLoop+16>, static staticMetaObject = {d = {
                superdata = 0x0, stringdata = 0x7ffff310cbe0 <qt_meta_stringdata_QObject>, 
                data = 0x7ffff310cac0 <qt_meta_data_QObject>, 
                static_metacall = 0x7ffff2feec80 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
                relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0xd17ac0}, static staticQtMetaObject = {d = {
                superdata = 0x0, stringdata = 0x7ffff3156d40 <qt_meta_stringdata_Qt>, data = 0x7ffff3154340 <qt_meta_data_Qt>, 
                static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x7ffff33f4bc0 <QObject::staticMetaObject>, 
              stringdata = 0x7ffff316bd00 <qt_meta_stringdata_QEventLoop>, data = 0x7ffff316bca0 <qt_meta_data_QEventLoop>, 
              static_metacall = 0x7ffff3061cc0 <QEventLoop::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
              relatedMetaObjects = 0x0, extradata = 0x0}}}
        returnCode = <optimized out>
#29 0x00007ffff3c0453c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1527
No locals.
#30 0x00007ffff43a8f75 in QApplication::exec () at kernel/qapplication.cpp:2976
No locals.
#31 0x00007ffff7baa0c6 in kdemain (argc=1, argv=<optimized out>) at /usr/src/debug/kate-15.08.2/kate/src/main.cpp:439
        app = {<QGuiApplication> = {<QCoreApplication> = {<QObject> = {
                _vptr.QObject = 0x7ffff4a89248 <vtable for QApplication+16>, static staticMetaObject = {d = {superdata = 0x0, 
                    stringdata = 0x7ffff310cbe0 <qt_meta_stringdata_QObject>, data = 0x7ffff310cac0 <qt_meta_data_QObject>, 
                    static_metacall = 0x7ffff2feec80 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
                    relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x629340}, static staticQtMetaObject = {d = {
                    superdata = 0x0, stringdata = 0x7ffff3156d40 <qt_meta_stringdata_Qt>, 
                    data = 0x7ffff3154340 <qt_meta_data_Qt>, static_metacall = 0x0, relatedMetaObjects = 0x0, 
                    extradata = 0x0}}}, static staticMetaObject = {d = {superdata = 0x7ffff33f4bc0 <QObject::staticMetaObject>, 
                  stringdata = 0x7ffff316bee0 <qt_meta_stringdata_QCoreApplication>, 
                  data = 0x7ffff316bdc0 <qt_meta_data_QCoreApplication>, 
                  static_metacall = 0x7ffff3061e40 <QCoreApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, static self = 0x7fffffffdbb0}, static staticMetaObject = {d = {
                superdata = 0x7ffff33fd660 <QCoreApplication::staticMetaObject>, 
                stringdata = 0x7ffff3f79600 <qt_meta_stringdata_QGuiApplication>, 
                data = 0x7ffff3f79400 <qt_meta_data_QGuiApplication>, 
                static_metacall = 0x7ffff3c0e490 <QGuiApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x7ffff42364e0 <QGuiApplication::staticMetaObject>, 
              stringdata = 0x7ffff472e1e0 <qt_meta_stringdata_QApplication>, data = 0x7ffff472e060 <qt_meta_data_QApplication>, 
              static_metacall = 0x7ffff43af310 <QApplication::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
              relatedMetaObjects = 0x0, extradata = 0x0}}}
        aboutData = {d = 0x66b890}
        parser = {d = 0x6ec260}
        startSessionOption = {d = {d = 0x6ddbf0}}
        startAnonymousSessionOption = {d = {d = 0x6ec7c0}}
        startNewInstanceOption = {d = {d = 0x6ec840}}
        startBlockingOption = {d = {d = 0x6eb650}}
        usePidOption = {d = {d = 0x6ec300}}
        useEncodingOption = {d = {d = 0x6ded80}}
        gotoLineOption = {d = {d = 0x6dec00}}
        gotoColumnOption = {d = {d = 0x6db340}}
        readStdInOption = {d = {d = 0x6ec620}}
        tempfileOption = {d = {d = 0x6de100}}
        kateApp = {<QObject> = {_vptr.QObject = 0x7ffff7dd3de0 <vtable for KateApp+16>, static staticMetaObject = {d = {
                superdata = 0x0, stringdata = 0x7ffff310cbe0 <qt_meta_stringdata_QObject>, 
                data = 0x7ffff310cac0 <qt_meta_data_QObject>, 
                static_metacall = 0x7ffff2feec80 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
                relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0x6f4680}, static staticQtMetaObject = {d = {
                superdata = 0x0, stringdata = 0x7ffff3156d40 <qt_meta_stringdata_Qt>, data = 0x7ffff3154340 <qt_meta_data_Qt>, 
                static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x7ffff33f4bc0 <QObject::staticMetaObject>, stringdata = 0x7ffff7bc4a40 <qt_meta_stringdata_KateApp>, 
              data = 0x7ffff7bc48c0 <qt_meta_data_KateApp>, 
              static_metacall = 0x7ffff7baf7f0 <KateApp::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
              relatedMetaObjects = 0x0, extradata = 0x0}}, static s_self = 0x7fffffffdc00, m_args = @0x7fffffffda50, 
          m_docManager = 0x6f62a0, m_pluginManager = 0x7c6b40, m_sessionManager = 0x7c7890, m_adaptor = 0x761a60, 
          m_mainWindows = {<QListSpecialMethods<KateMainWindow*>> = {<No data fields>}, {p = {static shared_null = {ref = {
                    atomic = {_q_value = -1}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x9ae390}, d = 0x9ae390}}, 
          m_wrapper = 0x6db370}
        dbusService = {<QObject> = {_vptr.QObject = 0x7ffff388fbf0 <vtable for KDBusService+16>, static staticMetaObject = {d = {
---Type <return> to continue, or q <return> to quit---
                superdata = 0x0, stringdata = 0x7ffff310cbe0 <qt_meta_stringdata_QObject>, 
                data = 0x7ffff310cac0 <qt_meta_data_QObject>, 
                static_metacall = 0x7ffff2feec80 <QObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
                relatedMetaObjects = 0x0, extradata = 0x0}}, d_ptr = {d = 0xd12030}, static staticQtMetaObject = {d = {
                superdata = 0x0, stringdata = 0x7ffff3156d40 <qt_meta_stringdata_Qt>, data = 0x7ffff3154340 <qt_meta_data_Qt>, 
                static_metacall = 0x0, relatedMetaObjects = 0x0, extradata = 0x0}}}, static staticMetaObject = {d = {
              superdata = 0x7ffff33f4bc0 <QObject::staticMetaObject>, 
              stringdata = 0x7ffff368de00 <qt_meta_stringdata_KDBusService>, data = 0x7ffff368dce0 <qt_meta_data_KDBusService>, 
              static_metacall = 0x7ffff368bc70 <KDBusService::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, 
              relatedMetaObjects = 0x0, extradata = 0x0}}, d = 0xd145b0}
#32 0x00007ffff77af610 in __libc_start_main (main=0x4007c0 <main(int, char**)>, argc=1, argv=0x7fffffffdd68, 
    init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffdd58) at libc-start.c:289
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 5250660580138310056, 4196304, 140737488346464, 0, 0, 
                -5250660029057836632, -5250641295795660376}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 
              0x4008e0 <__libc_csu_init>, 0x7fffffffdd68}, data = {prev = 0x0, cleanup = 0x0, canceltype = 4196576}}}
        not_first_call = <optimized out>
#33 0x000

Reproducible: Always

Steps to Reproduce:
1. Open too many files (I don't know exact number)
2. Kate will crash.
Comment 1 Marian Kyral 2016-02-21 09:10:38 UTC
I can confirm it.

Gentoo, kate-15.08.3-r1
KDE Frameworks 5.19.0
Qt 5.5.1 (built against 5.5.1)
The xcb windowing system

I have a session with several files. Yesterday I've opened more files. All work correctly. Evening I closed kate. No issues. But today I'm not able to open the saved session any more. It always fails on  SIGSEGV. I have to create a new session to work.

This happen for second time. I had the same issue with the same project on past.

The session contains only 15 files.
[10:08:46 marian@worker sessions]$ grep -c "URL=file" osm%3A%20osmcz.katesession 
15


------------------------------------------------------------------------
Starting program: /usr/bin/kate -s osm:\ osmcz
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffe8757700 (LWP 31656)]
Fontconfig error: "~/.fonts.conf", line 7: junk after document element
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 14: reading configurations from ~/.fonts.conf is deprecated. please move it to /home/marian/.config/fontconfig/fonts.conf manually
Fontconfig error: "local.conf", line 13: junk after document element
[New Thread 0x7fffdffa9700 (LWP 31657)]
[New Thread 0x7fffdf7a8700 (LWP 31658)]
[New Thread 0x7fffdef85700 (LWP 31660)]
[New Thread 0x7fffde784700 (LWP 31661)]
[New Thread 0x7fffddf83700 (LWP 31662)]
[New Thread 0x7fffdd782700 (LWP 31663)]
[New Thread 0x7fffdcf81700 (LWP 31665)]
[New Thread 0x7fffbffff700 (LWP 31666)]
[New Thread 0x7fffbf7fe700 (LWP 31667)]
[New Thread 0x7fffbeffd700 (LWP 31668)]
[New Thread 0x7fffbe7fc700 (LWP 31669)]
[New Thread 0x7fffbdffb700 (LWP 31670)]
[New Thread 0x7fffbd7fa700 (LWP 31671)]
[New Thread 0x7fffbcff9700 (LWP 31672)]
[New Thread 0x7fff9ffff700 (LWP 31673)]
[New Thread 0x7fff9f7fe700 (LWP 31674)]
The font for use in the terminal has not been matched exactly. Perhaps it has not been found properly.
The font for use in the terminal has not been matched exactly. Perhaps it has not been found properly.
The font for use in the terminal has not been matched exactly. Perhaps it has not been found properly.
The font for use in the terminal has not been matched exactly. Perhaps it has not been found properly.

Program received signal SIGSEGV, Segmentation fault.
QWidget::hide (this=0x0) at kernel/qwidget.cpp:7919
7919    kernel/qwidget.cpp: No such file or directory.
(gdb) bt
#0  QWidget::hide (this=0x0) at kernel/qwidget.cpp:7919
#1  0x00007ffff7b8c2c5 in KateTabBar::removeTab (this=0x100a5a0, id=0) at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/katetabbar.cpp:178
#2  0x00007ffff7b83196 in KateViewSpace::removeTab (this=this@entry=0xf437d0, doc=0xe47fd0, documentDestroyed=documentDestroyed@entry=false)
    at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/kateviewspace.cpp:366
#3  0x00007ffff7b83a3c in KateViewSpace::registerDocument (this=this@entry=0xf437d0, doc=doc@entry=0x9db700, append=append@entry=true) at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/kateviewspace.cpp:443
#4  0x00007ffff7b84e07 in KateViewSpace::restoreConfig (this=0xf437d0, viewMan=viewMan@entry=0x1203d80, config=config@entry=0x824460, groupname=...)
    at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/kateviewspace.cpp:635
#5  0x00007ffff7b7e933 in KateViewManager::restoreSplitter (this=this@entry=0x1203d80, configBase=0x824460, group=..., parent=parent@entry=0x1203d80, viewConfGrp=...)
    at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/kateviewmanager.cpp:1095
#6  0x00007ffff7b7ec97 in KateViewManager::restoreViewConfiguration (this=0x1203d80, config=...) at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/kateviewmanager.cpp:998
#7  0x00007ffff7b713b7 in KateMainWindow::KateMainWindow (this=0x90c470, sconfig=0x824460, sgroup=..., __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
    at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/katemainwindow.cpp:158
#8  0x00007ffff7b5ca57 in KateApp::newMainWindow (this=<optimized out>, sconfig_=sconfig_@entry=0x824460, sgroup_=...) at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/kateapp.cpp:350
#9  0x00007ffff7b913e5 in KateSessionManager::loadSession (this=this@entry=0x8a4c60, session=...) at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/session/katesessionmanager.cpp:200
#10 0x00007ffff7b9250b in KateSessionManager::activateSession (this=this@entry=0x8a4c60, session=..., closeAndSaveLast=closeAndSaveLast@entry=false, loadNew=loadNew@entry=true)
    at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/session/katesessionmanager.cpp:161
#11 0x00007ffff7b92996 in KateSessionManager::activateSession (this=0x8a4c60, name=..., closeAndSaveLast=closeAndSaveLast@entry=false, loadNew=loadNew@entry=true)
    at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/session/katesessionmanager.cpp:223
#12 0x00007ffff7b5dcfb in KateApp::startupKate (this=0x7fffffffd6c0) at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/kateapp.cpp:148
#13 0x00007ffff7b5f21d in KateApp::init (this=this@entry=0x7fffffffd6c0) at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/kateapp.cpp:108
#14 0x00007ffff7ba6f1d in kdemain (argc=3, argv=<optimized out>) at /var/tmp/portage/kde-apps/kate-15.08.3-r1/work/kate-15.08.3/kate/src/main.cpp:426
#15 0x00007ffff77b57b0 in __libc_start_main () from /lib64/libc.so.6
#16 0x00000000004007c9 in _start ()
(gdb)
Comment 2 Marian Kyral 2016-02-21 09:11:48 UTC
Created attachment 97325 [details]
session file
Comment 3 Dominik Haumann 2016-04-05 19:13:14 UTC
Fixed in the KDE Applications 15.12 release.

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