[Pkg-kde-extras] Bug#919030: kile: Crash when saving upon closing

Bernhard Übelacker bernhardu at mailbox.org
Thu Jan 17 19:49:59 GMT 2019


Control: tags 919030 + upstream


Dear Maintainer, hello John Scott,
I had a look and think I have found the issue.

Each open document has a object of type
KileDocument::TextInfo::TextInfo.
That contains a QMap "m_dictStructLevel".

This map is given by reference to the parser thread
in an object of type KileParser::LaTeXParserInput.

Unfortunately if timing is bad the main thread
destructs the TextInfo object and thereby the QMap too.

But in the queue in the parser thread is still
an element with a reference to that QMap.
Now it looks like the memory gets allocated again
and something written to it.

When now the parser thread tries to access the
QMap m_dictStructLevel it crashes.

Find attached a file containing some description and
the most descriptive debug session at the bottom.

I have not found an upstream bug describing this situation.


Kind regards,
Bernhard
-------------- next part --------------

# Buster amd64 qemu VM 20190117

apt update
apt dist-upgrade

apt install systemd-coredump xserver-xorg lightdm openbox gdb valgrind mc kile kile-dbgsym
apt install dpkg-dev devscripts




mkdir source/kile/orig -p
cd    source/kile/orig
apt source kile
cd




systemctl start lightdm





export DISPLAY=:0
kile

- File - New
- Book
- (not save)
- File - Quit
- Save - (filename test)





set width 0
set pagination off
directory /home/benutzer/source/kile/orig/kile-2.9.92





##########



$ LANG=C kile
kf5.kservice.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 16054, result = 0
No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit5: Communication error with launcher. Exiting!
QFSFileEngine::open: No file name specified
kf5.kservice.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
Speicherzugriffsfehler (Speicherabzug geschrieben)


[  851.008751] traps: KileParser::Doc[16038] general protection ip:7fcc44c21ae7 sp:7fcc337fda00 error:0 in libkdeinit5_kile.so[7fcc449e8000+3ba000]


# coredumpctl list
TIME                            PID   UID   GID SIG COREFILE  EXE
Thu 2019-01-17 18:25:56 CET   16034  1000  1000  11 present   /usr/bin/kile


# coredumpctl gdb 16034
           PID: 16034 (kile)
           UID: 1000 (benutzer)
           GID: 1000 (benutzer)
        Signal: 11 (SEGV)
     Timestamp: Thu 2019-01-17 18:25:56 CET (1min 1s ago)
  Command Line: kile
    Executable: /usr/bin/kile
 Control Group: /user.slice/user-1000.slice/session-3.scope
          Unit: session-3.scope
         Slice: user-1000.slice
       Session: 3
     Owner UID: 1000 (benutzer)
       Boot ID: fc256e8509ee45d8b7b3143e6d2a0a2b
    Machine ID: 32f43b50ac8c4b21941bc0b02f8e7811
      Hostname: debian
       Storage: /var/lib/systemd/coredump/core.kile.1000.fc256e8509ee45d8b7b3143e6d2a0a2b.16034.1547745956000000.lz4
       Message: Process 16034 (kile) of user 1000 dumped core.
                
                Stack trace of thread 16038:
                #0  0x00007fcc44c21ae7 n/a (libkdeinit5_kile.so)
                #1  0x00007fcc44c1e4dc n/a (libkdeinit5_kile.so)
                #2  0x00007fcc44c246cd n/a (libkdeinit5_kile.so)
                #3  0x00007fcc41d36cd7 n/a (libQt5Core.so.5)
                #4  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #5  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16034:
                #0  0x00007fcc423751f4 _ZN9QTextLine13layout_helperEi (libQt5Gui.so.5)
                #1  0x00007fcc423764c9 _ZN9QTextLine12setLineWidthEd (libQt5Gui.so.5)
                #2  0x00007fcc424e21fe n/a (libQt5Gui.so.5)
                #3  0x00007fcc424e2cb0 n/a (libQt5Gui.so.5)
                #4  0x00007fcc4234e511 _ZNK12QFontMetrics12boundingRectERK5QRectiRK7QStringiPi (libQt5Gui.so.5)
                #5  0x00007fcc42982ad2 n/a (libQt5Widgets.so.5)
                #6  0x00007fcc42982e35 _ZNK6QLabel15minimumSizeHintEv (libQt5Widgets.so.5)
                #7  0x00007fcc42875224 _Z13qSmartMinSizePK7QWidget (libQt5Widgets.so.5)
                #8  0x00007fcc429f6814 _ZN10QStatusBar5eventEP6QEvent (libQt5Widgets.so.5)
                #9  0x00007fcc42857491 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
                #10 0x00007fcc4285ead0 _ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
                #11 0x00007fcc41edf479 _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
                #12 0x00007fcc41ee246b _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5)
                #13 0x00007fcc41f31b23 n/a (libQt5Core.so.5)
                #14 0x00007fcc3ede4e0e g_main_context_dispatch (libglib-2.0.so.0)
                #15 0x00007fcc3ede50a8 n/a (libglib-2.0.so.0)
                #16 0x00007fcc3ede513c g_main_context_iteration (libglib-2.0.so.0)
                #17 0x00007fcc41f31153 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #18 0x00007fcc3994b861 n/a (libQt5XcbQpa.so.5)
                #19 0x00007fcc41ede14b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #20 0x00007fcc41ee62c2 _ZN16QCoreApplication4execEv (libQt5Core.so.5)
                #21 0x00007fcc44c14979 kdemain (libkdeinit5_kile.so)
                #22 0x00007fcc4484b09b __libc_start_main (libc.so.6)
                #23 0x000055e7caab776a _start (kile)
                
                Stack trace of thread 16035:
                #0  0x00007fcc44915b39 __GI___poll (libc.so.6)
                #1  0x00007fcc3f9facf7 n/a (libxcb.so.1)
                #2  0x00007fcc3f9fc91a xcb_wait_for_event (libxcb.so.1)
                #3  0x00007fcc398b8519 n/a (libQt5XcbQpa.so.5)
                #4  0x00007fcc41d36cd7 n/a (libQt5Core.so.5)
                #5  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #6  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16049:
                #0  0x00007fcc41ac3fac futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fcc23ab8c3b n/a (swrast_dri.so)
                #2  0x00007fcc23ab8ab7 n/a (swrast_dri.so)
                #3  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #4  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16045:
                #0  0x00007fcc41ac3fac futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fcc23ab8c3b n/a (swrast_dri.so)
                #2  0x00007fcc23ab8ab7 n/a (swrast_dri.so)
                #3  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #4  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16039:
                #0  0x00007fcc41ac3fac futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fcc41d3748b _ZN14QWaitCondition4waitEP6QMutexm (libQt5Core.so.5)
                #2  0x00007fcc44c24475 n/a (libkdeinit5_kile.so)
                #3  0x00007fcc41d36cd7 n/a (libQt5Core.so.5)
                #4  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #5  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16040:
                #0  0x00007fcc41ac3fac futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fcc23ab8c3b n/a (swrast_dri.so)
                #2  0x00007fcc23ab8ab7 n/a (swrast_dri.so)
                #3  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #4  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16041:
                #0  0x00007fcc41ac3fac futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fcc23ab8c3b n/a (swrast_dri.so)
                #2  0x00007fcc23ab8ab7 n/a (swrast_dri.so)
                #3  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #4  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16050:
                #0  0x00007fcc41ac3fac futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fcc23ab8c3b n/a (swrast_dri.so)
                #2  0x00007fcc23ab8ab7 n/a (swrast_dri.so)
                #3  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #4  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16042:
                #0  0x00007fcc41ac3fac futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fcc23ab8c3b n/a (swrast_dri.so)
                #2  0x00007fcc23ab8ab7 n/a (swrast_dri.so)
                #3  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #4  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16044:
                #0  0x00007fcc41ac3fac futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fcc23ab8c3b n/a (swrast_dri.so)
                #2  0x00007fcc23ab8ab7 n/a (swrast_dri.so)
                #3  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #4  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16051:
                #0  0x00007fcc41ac3fac futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fcc23ab8c3b n/a (swrast_dri.so)
                #2  0x00007fcc23ab8ab7 n/a (swrast_dri.so)
                #3  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #4  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16043:
                #0  0x00007fcc41ac3fac futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fcc23ab8c3b n/a (swrast_dri.so)
                #2  0x00007fcc23ab8ab7 n/a (swrast_dri.so)
                #3  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #4  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16036:
                #0  0x00007fcc44915b39 __GI___poll (libc.so.6)
                #1  0x00007fcc3ede5016 n/a (libglib-2.0.so.0)
                #2  0x00007fcc3ede513c g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007fcc41f31153 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5)
                #4  0x00007fcc41ede14b _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
                #5  0x00007fcc41d2d106 _ZN7QThread4execEv (libQt5Core.so.5)
                #6  0x00007fcc42d66545 n/a (libQt5DBus.so.5)
                #7  0x00007fcc41d36cd7 n/a (libQt5Core.so.5)
                #8  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #9  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16047:
                #0  0x00007fcc41ac3fac futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fcc23ab8c3b n/a (swrast_dri.so)
                #2  0x00007fcc23ab8ab7 n/a (swrast_dri.so)
                #3  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #4  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16048:
                #0  0x00007fcc41ac3fac futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fcc23ab8c3b n/a (swrast_dri.so)
                #2  0x00007fcc23ab8ab7 n/a (swrast_dri.so)
                #3  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #4  0x00007fcc449207ef __clone (libc.so.6)
                
                Stack trace of thread 16046:
                #0  0x00007fcc41ac3fac futex_wait_cancelable (libpthread.so.0)
                #1  0x00007fcc23ab8c3b n/a (swrast_dri.so)
                #2  0x00007fcc23ab8ab7 n/a (swrast_dri.so)
                #3  0x00007fcc41abdfa3 start_thread (libpthread.so.0)
                #4  0x00007fcc449207ef __clone (libc.so.6)

GNU gdb (Debian 8.2-1) 8.2
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/kile...(no debugging symbols found)...done.
[New LWP 16038]
[New LWP 16034]
[New LWP 16035]
[New LWP 16049]
[New LWP 16045]
[New LWP 16039]
[New LWP 16040]
[New LWP 16041]
[New LWP 16050]
[New LWP 16042]
[New LWP 16044]
[New LWP 16051]
[New LWP 16043]
[New LWP 16036]
[New LWP 16047]
[New LWP 16048]
[New LWP 16046]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `kile'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fcc44c21ae7 in ?? () from /usr/lib/x86_64-linux-gnu/libkdeinit5_kile.so
[Current thread is 1 (Thread 0x7fcc337fe700 (LWP 16038))]
(gdb) bt
#0  0x00007fcc44c21ae7 in ?? () from /usr/lib/x86_64-linux-gnu/libkdeinit5_kile.so
#1  0x00007fcc44c1e4dc in ?? () from /usr/lib/x86_64-linux-gnu/libkdeinit5_kile.so
#2  0x00007fcc44c246cd in ?? () from /usr/lib/x86_64-linux-gnu/libkdeinit5_kile.so
#3  0x00007fcc41d36cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#5  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95




(gdb) bt
#0  QMapData<QString, KileStructData>::findNode (this=0x207465677261745f, akey=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:286
#1  0x00007fcc44c1e4dc in QMap<QString, KileStructData>::constFind (akey=..., this=0x55e7ccf81c90) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:869
#2  KileParser::LaTeXParser::parse (this=0x7fcc240025c0) at ./src/parser/latexparser.cpp:186
#3  0x00007fcc44c246cd in KileParser::ParserThread::run (this=0x55e7cc3a4a80) at ./src/parser/parserthread.cpp:193
#4  0x00007fcc41d36cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95




(gdb) set width 0
(gdb) set pagination off
(gdb) thread apply all bt

Thread 17 (Thread 0x7fcc1d856700 (LWP 16046)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55e7cc68df68) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e7cc68df18, cond=0x55e7cc68df40) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e7cc68df40, mutex=0x55e7cc68df18) at pthread_cond_wait.c:655
#3  0x00007fcc23ab8c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fcc23ab8ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 16 (Thread 0x7fcc1c854700 (LWP 16048)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55e7cc68e228) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e7cc68e1d8, cond=0x55e7cc68e200) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e7cc68e200, mutex=0x55e7cc68e1d8) at pthread_cond_wait.c:655
#3  0x00007fcc23ab8c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fcc23ab8ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 15 (Thread 0x7fcc1d055700 (LWP 16047)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55e7cc68e0c8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e7cc68e078, cond=0x55e7cc68e0a0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e7cc68e0a0, mutex=0x55e7cc68e078) at pthread_cond_wait.c:655
#3  0x00007fcc23ab8c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fcc23ab8ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 14 (Thread 0x7fcc33fff700 (LWP 16036)):
#0  0x00007fcc44915b39 in __GI___poll (fds=0x7fcc2c004db0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fcc3ede5016 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcc3ede513c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcc41f31153 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcc41ede14b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcc41d2d106 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcc42d66545 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007fcc41d36cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#9  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 13 (Thread 0x7fcc1e858700 (LWP 16043)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55e7cc68db48) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e7cc68daf8, cond=0x55e7cc68db20) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e7cc68db20, mutex=0x55e7cc68daf8) at pthread_cond_wait.c:655
#3  0x00007fcc23ab8c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fcc23ab8ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 12 (Thread 0x7fcc16ffd700 (LWP 16051)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55e7cc68e648) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e7cc68e5f8, cond=0x55e7cc68e620) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e7cc68e620, mutex=0x55e7cc68e5f8) at pthread_cond_wait.c:655
#3  0x00007fcc23ab8c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fcc23ab8ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 11 (Thread 0x7fcc1e057700 (LWP 16044)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55e7cc68dca8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e7cc68dc58, cond=0x55e7cc68dc80) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e7cc68dc80, mutex=0x55e7cc68dc58) at pthread_cond_wait.c:655
#3  0x00007fcc23ab8c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fcc23ab8ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 10 (Thread 0x7fcc1f059700 (LWP 16042)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55e7cc68d9e8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e7cc68d998, cond=0x55e7cc68d9c0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e7cc68d9c0, mutex=0x55e7cc68d998) at pthread_cond_wait.c:655
#3  0x00007fcc23ab8c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fcc23ab8ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 9 (Thread 0x7fcc177fe700 (LWP 16050)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55e7cc68e4e8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e7cc68e498, cond=0x55e7cc68e4c0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e7cc68e4c0, mutex=0x55e7cc68e498) at pthread_cond_wait.c:655
#3  0x00007fcc23ab8c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fcc23ab8ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 8 (Thread 0x7fcc1f85a700 (LWP 16041)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55e7cc68d888) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e7cc68d838, cond=0x55e7cc68d860) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e7cc68d860, mutex=0x55e7cc68d838) at pthread_cond_wait.c:655
#3  0x00007fcc23ab8c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fcc23ab8ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7fcc30cb4700 (LWP 16040)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55e7cc68d728) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e7cc68d6d8, cond=0x55e7cc68d700) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e7cc68d700, mutex=0x55e7cc68d6d8) at pthread_cond_wait.c:655
#3  0x00007fcc23ab8c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fcc23ab8ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7fcc32ffd700 (LWP 16039)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55e7cc3a9080) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e7cc3a9030, cond=0x55e7cc3a9058) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e7cc3a9058, mutex=0x55e7cc3a9030) at pthread_cond_wait.c:655
#3  0x00007fcc41d3748b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007fcc44c24475 in KileParser::ParserThread::run (this=0x55e7cc3a8eb0) at ./src/parser/parserthread.cpp:169
#5  0x00007fcc41d36cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#7  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7fcc15856700 (LWP 16045)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55e7cc68de08) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e7cc68ddb8, cond=0x55e7cc68dde0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e7cc68dde0, mutex=0x55e7cc68ddb8) at pthread_cond_wait.c:655
#3  0x00007fcc23ab8c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fcc23ab8ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fcc17fff700 (LWP 16049)):
#0  futex_wait_cancelable (private=0, expected=0, futex_word=0x55e7cc68e388) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55e7cc68e338, cond=0x55e7cc68e360) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55e7cc68e360, mutex=0x55e7cc68e338) at pthread_cond_wait.c:655
#3  0x00007fcc23ab8c3b in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007fcc23ab8ab7 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fcc38fa5700 (LWP 16035)):
#0  0x00007fcc44915b39 in __GI___poll (fds=0x7fcc38fa4c38, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007fcc3f9facf7 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fcc3f9fc91a in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fcc398b8519 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#4  0x00007fcc41d36cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fcc399ff880 (LWP 16034)):
#0  0x00007fcc423751f4 in QTextLine::layout_helper(int) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#1  0x00007fcc423764c9 in QTextLine::setLineWidth(double) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#2  0x00007fcc424e21fe in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#3  0x00007fcc424e2cb0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#4  0x00007fcc4234e511 in QFontMetrics::boundingRect(QRect const&, int, QString const&, int, int*) const () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#5  0x00007fcc42982ad2 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#6  0x00007fcc42982e35 in QLabel::minimumSizeHint() const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#7  0x00007fcc42875224 in qSmartMinSize(QWidget const*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007fcc429f6814 in QStatusBar::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007fcc42857491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#10 0x00007fcc4285ead0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#11 0x00007fcc41edf479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007fcc41ee246b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007fcc41f31b23 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007fcc3ede4e0e in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fcc3ede50a8 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fcc3ede513c in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007fcc41f31153 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007fcc3994b861 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#19 0x00007fcc41ede14b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007fcc41ee62c2 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007fcc44c14979 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:199
#22 0x00007fcc4484b09b in __libc_start_main (main=0x55e7caab7730 <main>, argc=1, argv=0x7ffdf74720e8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdf74720d8) at ../csu/libc-start.c:308
#23 0x000055e7caab776a in _start ()

Thread 1 (Thread 0x7fcc337fe700 (LWP 16038)):
#0  QMapData<QString, KileStructData>::findNode (this=0x207465677261745f, akey=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:286
#1  0x00007fcc44c1e4dc in QMap<QString, KileStructData>::constFind (akey=..., this=0x55e7ccf81c90) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:869
#2  KileParser::LaTeXParser::parse (this=0x7fcc240025c0) at ./src/parser/latexparser.cpp:186
#3  0x00007fcc44c246cd in KileParser::ParserThread::run (this=0x55e7cc3a4a80) at ./src/parser/parserthread.cpp:193
#4  0x00007fcc41d36cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007fcc41abdfa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007fcc449207ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95




(gdb) disassemble $pc-0x10,$pc+0x10
Dump of assembler code from 0x7fcc44c21ad7 to 0x7fcc44c21af7:
   0x00007fcc44c21ad7 <KileParser::LaTeXParserInput::~LaTeXParserInput()+39>:   jrcxz  0x7fcc44c21ad8 <KileParser::LaTeXParserInput::~LaTeXParserInput()+40>
   0x00007fcc44c21ad9:  nopl   0x0(%rax)
   0x00007fcc44c21ae0 <QMapData<QString, KileStructData>::findNode(QString const&) const+0>:    push   %r12
   0x00007fcc44c21ae2 <QMapData<QString, KileStructData>::findNode(QString const&) const+2>:    push   %rbp
   0x00007fcc44c21ae3 <QMapData<QString, KileStructData>::findNode(QString const&) const+3>:    xor    %r12d,%r12d
   0x00007fcc44c21ae6 <QMapData<QString, KileStructData>::findNode(QString const&) const+6>:    push   %rbx
=> 0x00007fcc44c21ae7 <QMapData<QString, KileStructData>::findNode(QString const&) const+7>:    mov    0x10(%rdi),%rbx
   0x00007fcc44c21aeb <QMapData<QString, KileStructData>::findNode(QString const&) const+11>:   mov    %rsi,%rbp
   0x00007fcc44c21aee <QMapData<QString, KileStructData>::findNode(QString const&) const+14>:   test   %rbx,%rbx
   0x00007fcc44c21af1 <QMapData<QString, KileStructData>::findNode(QString const&) const+17>:   jne    0x7fcc44c21b04 <QMapData<QString, KileStructData>::findNode(QString const&) const+36>
   0x00007fcc44c21af3 <QMapData<QString, KileStructData>::findNode(QString const&) const+19>:   jmp    0x7fcc44c21b40 <QMapData<QString, KileStructData>::findNode(QString const&) const+96>
   0x00007fcc44c21af5 <QMapData<QString, KileStructData>::findNode(QString const&) const+21>:   nopl   (%rax)
End of assembler dump.

(gdb) print/x $rdi
$1 = 0x207465677261745f

(gdb) info reg
rax            0x55e7ccf81c90      94454064618640
rbx            0x0                 0
rcx            0x0                 0
rdx            0x2                 2
rsi            0x7fcc337fdb28      140515014073128
rdi            0x207465677261745f  2338605601487156319
rbp            0x7fcc337fdcc0      0x7fcc337fdcc0
rsp            0x7fcc337fda00      0x7fcc337fda00
r8             0x7fcc24000020      140514754035744
r9             0x7fcc2400dec0      140514754092736
r10            0x5                 5
r11            0x40                64
r12            0x0                 0
r13            0x7fcc337fdaf8      140515014073080
r14            0x7fcc240025c0      140514754045376
r15            0x7fcc41f9a660      140515256936032
rip            0x7fcc44c21ae7      0x7fcc44c21ae7 <QMapData<QString, KileStructData>::findNode(QString const&) const+7>
eflags         0x10246             [ PF ZF IF RF ]
cs             0x33                51
ss             0x2b                43
ds             0x0                 0
es             0x0                 0
fs             0x0                 0
gs             0x0                 0




(gdb) up
#1  0x00007fcc44c1e4dc in QMap<QString, KileStructData>::constFind (akey=..., this=0x55e7ccf81c90) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:869
869     in /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h

(gdb) disassemble $pc-0x30,$pc+0x30
Dump of assembler code from 0x7fcc44c1e4ac to 0x7fcc44c1e50c:
   0x00007fcc44c1e4ac <KileParser::LaTeXParser::parse()+2588>:  add    %cl,-0x77(%rbp)
   0x00007fcc44c1e4af <KileParser::LaTeXParser::parse()+2591>:  in     $0x48,%eax
   0x00007fcc44c1e4b1 <KileParser::LaTeXParser::parse()+2593>:  mov    %ecx,%edi
   0x00007fcc44c1e4b3 <KileParser::LaTeXParser::parse()+2595>:  mov    %rcx,-0x1e8(%rbp)
   0x00007fcc44c1e4ba <KileParser::LaTeXParser::parse()+2602>:  mov    %rax,-0x200(%rbp)
   0x00007fcc44c1e4c1 <KileParser::LaTeXParser::parse()+2609>:  callq  0x7fcc44a52960 <_ZN7QRegExp3capEi at plt>
   0x00007fcc44c1e4c6 <KileParser::LaTeXParser::parse()+2614>:  mov    -0x200(%rbp),%rax
   0x00007fcc44c1e4cd <KileParser::LaTeXParser::parse()+2621>:  mov    -0x1e8(%rbp),%rsi
   0x00007fcc44c1e4d4 <KileParser::LaTeXParser::parse()+2628>:  mov    (%rax),%rdi
   0x00007fcc44c1e4d7 <KileParser::LaTeXParser::parse()+2631>:  callq  0x7fcc44c21ae0 <QMapData<QString, KileStructData>::findNode(QString const&) const>
=> 0x00007fcc44c1e4dc <KileParser::LaTeXParser::parse()+2636>:  test   %rax,%rax
   0x00007fcc44c1e4df <KileParser::LaTeXParser::parse()+2639>:  mov    %rax,-0x1e8(%rbp)
   0x00007fcc44c1e4e6 <KileParser::LaTeXParser::parse()+2646>:  je     0x7fcc44c1edc0 <KileParser::LaTeXParser::parse()+4912>
   0x00007fcc44c1e4ec <KileParser::LaTeXParser::parse()+2652>:  mov    -0x198(%rbp),%rdi
   0x00007fcc44c1e4f3 <KileParser::LaTeXParser::parse()+2659>:  mov    (%rdi),%eax
   0x00007fcc44c1e4f5 <KileParser::LaTeXParser::parse()+2661>:  test   %eax,%eax
   0x00007fcc44c1e4f7 <KileParser::LaTeXParser::parse()+2663>:  je     0x7fcc44c1ec38 <KileParser::LaTeXParser::parse()+4520>
   0x00007fcc44c1e4fd <KileParser::LaTeXParser::parse()+2669>:  cmp    $0xffffffff,%eax
   0x00007fcc44c1e500 <KileParser::LaTeXParser::parse()+2672>:  je     0x7fcc44c1e513 <KileParser::LaTeXParser::parse()+2691>
   0x00007fcc44c1e502 <KileParser::LaTeXParser::parse()+2674>:  lock subl $0x1,(%rdi)
   0x00007fcc44c1e506 <KileParser::LaTeXParser::parse()+2678>:  mov    -0x198(%rbp),%rdi
End of assembler dump.

(gdb) print/x $rax
$2 = 0x55e7ccf81c90
(gdb) x/1xg $rax
0x55e7ccf81c90: 0x207465677261745f

(gdb) print this
$3 = (const QMap<QString, KileStructData> * const) 0x55e7ccf81c90
(gdb) print *this
$4 = {d = 0x207465677261745f}
(gdb) print this->d
$5 = (QMapData<QString, KileStructData> *) 0x207465677261745f
(gdb) print *this->d
Cannot access memory at address 0x207465677261745f




(gdb) directory /home/benutzer/source/kile/orig/kile-2.9.92
Source directories searched: /home/benutzer/source/kile/orig/kile-2.9.92:$cdir:$cwd
(gdb) up
#2  KileParser::LaTeXParser::parse (this=0x7fcc240025c0) at ./src/parser/latexparser.cpp:186
186                     it = m_dictStructLevel.constFind(reCommand.cap(1));

(gdb) print m_dictStructLevel
$6 = (const QMap<QString, KileStructData> &) @0x55e7ccf81c90: {d = 0x207465677261745f}
(gdb) print m_dictStructLevel->d
$7 = (QMapData<QString, KileStructData> *) 0x207465677261745f
(gdb) print this
$8 = (KileParser::LaTeXParser * const) 0x7fcc240025c0
(gdb) print *this
$9 = {<KileParser::Parser> = {<QObject> = {<No data fields>}, static staticMetaObject = {d = {superdata = 0x7fcc4215da40 <QObject::staticMetaObject>, 
        stringdata = 0x7fcc44d2baa0 <qt_meta_stringdata_KileParser__Parser>, data = 0x7fcc44d2ba60 <qt_meta_data_KileParser__Parser>, 
        static_metacall = 0x7fcc44cc9f60 <KileParser::Parser::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, 
    m_parserThread = 0x55e7cc3a4a80}, static staticMetaObject = {d = {superdata = 0x7fcc44fb6180 <KileParser::Parser::staticMetaObject>, 
      stringdata = 0x7fcc44d2bb20 <qt_meta_stringdata_KileParser__LaTeXParser>, data = 0x7fcc44d2bae0 <qt_meta_data_KileParser__LaTeXParser>, 
      static_metacall = 0x7fcc44cc9f50 <KileParser::LaTeXParser::qt_static_metacall(QObject*, QMetaObject::Call, int, void**)>, relatedMetaObjects = 0x0, extradata = 0x0}}, 
  m_extensions = 0x55e7cc70f7a0, m_textLines = {<QList<QString>> = {<QListSpecialMethods<QString>> = {<No data fields>}, {p = {static shared_null = {ref = {atomic = {
                _q_value = {<std::__atomic_base<int>> = {static _S_alignment = 4, _M_i = -1}, <No data fields>}}}, alloc = 0, begin = 0, end = 0, array = {0x0}}, d = 0x55e7cd2c9380}, 
        d = 0x55e7cd2c9380}}, <No data fields>}, m_dictStructLevel = @0x55e7ccf81c90, m_showSectioningLabels = false, m_showStructureTodo = true}



0x207465677261745f
0x 20 74 65 67 72 61 74 5f
      t  e  g  r  a  t  _


(gdb) x/30xc 0x55e7ccf81c90-0x10
0x55e7ccf81c80: 112 'p' -82 '\256'      44 ','  -51 '\315'      -25 '\347'      85 'U'  0 '\000'        0 '\000'
0x55e7ccf81c88: -64 '\300'      -5 '\373'       45 '-'  -51 '\315'      -25 '\347'      85 'U'  0 '\000'        0 '\000'
0x55e7ccf81c90: 95 '_'  116 't' 97 'a'  114 'r' 103 'g' 101 'e' 116 't' 32 ' '
0x55e7ccf81c98: 33 '!'  0 '\000'        0 '\000'        0 '\000'        0 '\000'        0 '\000'

(gdb) print (char*)0x55e7ccf81c90
$10 = 0x55e7ccf81c90 "_target !"



#########



valgrind -> no crash, no obvious error



#########




LANG=C gdb -q \
     -ex 'set width 0' \
     -ex 'set pagination off' \
     -ex 'directory /home/benutzer/source/kile/orig/kile-2.9.92' \
     -ex 'b main' \
     -ex 'run' \
     -ex 'dele 1' \
     -ex 'b KileParser::LaTeXParser::LaTeXParser' \
     -ex 'b KileParser::LaTeXParser::~LaTeXParser' \
     -ex 'cont' \
     --args kile



benutzer at debian:~$ LANG=C gdb -q \
>     -ex 'set width 0' \
>     -ex 'set pagination off' \
>     -ex 'directory /home/benutzer/source/kile/orig/kile-2.9.92' \
>     -ex 'b main' \
>     -ex 'run' \
>     -ex 'dele 1' \
>     -ex 'b KileParser::LaTeXParser::LaTeXParser' \
>     -ex 'b KileParser::LaTeXParser::~LaTeXParser' \
>     -ex 'cont' \
>     --args kile
Reading symbols from kile...Reading symbols from /usr/lib/debug/.build-id/c6/1ccd761a99251e312f3ce1c635fd7889b19c3d.debug...done.
done.
Source directories searched: /home/benutzer/source/kile/orig/kile-2.9.92:$cdir:$cwd
Breakpoint 1 at 0x730
Starting program: /usr/bin/kile 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, 0x0000555555554730 in main ()
Breakpoint 2 at 0x7ffff7c20a20: file ./src/parser/latexparser.cpp, line 52.
Breakpoint 3 at 0x7ffff7c208e0: KileParser::LaTeXParser::~LaTeXParser. (2 locations)
Continuing.
[New Thread 0x7fffebfac700 (LWP 29603)]
[New Thread 0x7fffeb564700 (LWP 29604)]
[Detaching after fork from child process 29605]
[New Thread 0x7fffead3b700 (LWP 29606)]
[New Thread 0x7fffea53a700 (LWP 29607)]
[New Thread 0x7fffdae66700 (LWP 29608)]
[New Thread 0x7fffda665700 (LWP 29609)]
[New Thread 0x7fffd9e64700 (LWP 29610)]
[New Thread 0x7fffd9663700 (LWP 29611)]
[New Thread 0x7fffd8e62700 (LWP 29612)]
[New Thread 0x7fffbbfff700 (LWP 29613)]
[New Thread 0x7fffb77fe700 (LWP 29614)]
[New Thread 0x7fffbb7fe700 (LWP 29615)]
[New Thread 0x7fffbaffd700 (LWP 29616)]
[New Thread 0x7fffba7fc700 (LWP 29617)]
[New Thread 0x7fffb9ffb700 (LWP 29618)]
[New Thread 0x7fffb97fa700 (LWP 29619)]
kf5.kservice.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
[Detaching after fork from child process 29620]
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 29622, result = 0
No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit5: Communication error with launcher. Exiting!
[Detaching after fork from child process 29626]
[Detaching after fork from child process 29628]
QFSFileEngine::open: No file name specified
kf5.kservice.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
[Detaching after fork from child process 29632]
[New Thread 0x7fffb8ff9700 (LWP 29635)]
[Thread 0x7fffb8ff9700 (LWP 29635) exited]
[New Thread 0x7fffb8ff9700 (LWP 29636)]
[Thread 0x7fffb8ff9700 (LWP 29636) exited]
[Switching to Thread 0x7fffead3b700 (LWP 29606)]

Thread 4 "KileParser::Doc" hit Breakpoint 2, KileParser::LaTeXParser::LaTeXParser (this=0x7fffe00025c0, parserThread=0x555555924740, input=0x55555696bc40, parent=0x0) at ./src/parser/latexparser.cpp:52
52      LaTeXParser::LaTeXParser(ParserThread *parserThread, LaTeXParserInput *input,
(gdb) bt
#0  KileParser::LaTeXParser::LaTeXParser (this=0x7fffe00025c0, parserThread=0x555555924740, input=0x55555696bc40, parent=0x0) at ./src/parser/latexparser.cpp:52
#1  0x00007ffff7c26dc9 in KileParser::DocumentParserThread::createParser (this=0x555555924740, input=<optimized out>) at ./src/parser/parserthread.cpp:220
#2  0x00007ffff7c276b8 in KileParser::ParserThread::run (this=0x555555924740) at ./src/parser/parserthread.cpp:189
#3  0x00007ffff4d39cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4ac0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#5  0x00007ffff79237ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) cont
Continuing.

Thread 4 "KileParser::Doc" hit Breakpoint 3, KileParser::LaTeXParser::~LaTeXParser (this=0x7fffe00025c0, __in_chrg=<optimized out>) at ./src/parser/latexparser.cpp:63
63      LaTeXParser::~LaTeXParser()
(gdb) bt
#0  KileParser::LaTeXParser::~LaTeXParser (this=0x7fffe00025c0, __in_chrg=<optimized out>) at ./src/parser/latexparser.cpp:63
#1  0x00007ffff7c276f6 in KileParser::ParserThread::run (this=0x555555924740) at ./src/parser/parserthread.cpp:197
#2  0x00007ffff4d39cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff4ac0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#4  0x00007ffff79237ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) cont
Continuing.

Thread 4 "KileParser::Doc" hit Breakpoint 3, KileParser::LaTeXParser::~LaTeXParser (this=0x7fffe00025c0, __in_chrg=<optimized out>) at ./src/parser/latexparser.cpp:63
63      LaTeXParser::~LaTeXParser()
(gdb) bt
#0  KileParser::LaTeXParser::~LaTeXParser (this=0x7fffe00025c0, __in_chrg=<optimized out>) at ./src/parser/latexparser.cpp:63
#1  0x00007ffff7c20999 in KileParser::LaTeXParser::~LaTeXParser (this=0x7fffe00025c0, __in_chrg=<optimized out>) at ./src/parser/latexparser.cpp:66
#2  0x00007ffff7c276f6 in KileParser::ParserThread::run (this=0x555555924740) at ./src/parser/parserthread.cpp:197
#3  0x00007ffff4d39cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4ac0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#5  0x00007ffff79237ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) cont
Continuing.

Thread 4 "KileParser::Doc" hit Breakpoint 2, KileParser::LaTeXParser::LaTeXParser (this=0x7fffe00025c0, parserThread=0x555555924740, input=0x555555cf63f0, parent=0x0) at ./src/parser/latexparser.cpp:52
52      LaTeXParser::LaTeXParser(ParserThread *parserThread, LaTeXParserInput *input,
(gdb) bt
#0  KileParser::LaTeXParser::LaTeXParser (this=0x7fffe00025c0, parserThread=0x555555924740, input=0x555555cf63f0, parent=0x0) at ./src/parser/latexparser.cpp:52
#1  0x00007ffff7c26dc9 in KileParser::DocumentParserThread::createParser (this=0x555555924740, input=<optimized out>) at ./src/parser/parserthread.cpp:220
#2  0x00007ffff7c276b8 in KileParser::ParserThread::run (this=0x555555924740) at ./src/parser/parserthread.cpp:189
#3  0x00007ffff4d39cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ffff4ac0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#5  0x00007ffff79237ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) cont
Continuing.

Thread 4 "KileParser::Doc" received signal SIGSEGV, Segmentation fault.
QMapData<QString, KileStructData>::findNode (this=0x207465677261745f, akey=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:286
286     /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h: No such file or directory.
(gdb) bt
#0  QMapData<QString, KileStructData>::findNode (this=0x207465677261745f, akey=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:286
#1  0x00007ffff7c214dc in QMap<QString, KileStructData>::constFind (akey=..., this=0x555556288f60) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:869
#2  KileParser::LaTeXParser::parse (this=0x7fffe00025c0) at ./src/parser/latexparser.cpp:186
#3  0x00007ffff7c276cd in KileParser::ParserThread::run (this=0x555555924740) at ./src/parser/parserthread.cpp:193
#4  0x00007ffff4d39cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4ac0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007ffff79237ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95





benutzer at debian:~$ LANG=C QT_LOGGING_RULES="*.debug=false;org.kde.kile.parser=true" kile
org.kde.kile.parser: 
org.kde.kile.parser: starting up...
org.kde.kile.parser: going to sleep...
org.kde.kile.parser: starting up...
org.kde.kile.parser: going to sleep...
kf5.kservice.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 29939, result = 0
No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit5: Communication error with launcher. Exiting!
QFSFileEngine::open: No file name specified
kf5.kservice.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
org.kde.kile.parser: KileDocument::LaTeXInfo(0x5581d2a3a300)
org.kde.kile.parser: KileDocument::LaTeXInfo(0x5581d2a3a300)
org.kde.kile.parser: KileDocument::LaTeXInfo(0x5581d2a3a300)
org.kde.kile.parser: KileDocument::LaTeXInfo(0x5581d2a3a300)
org.kde.kile.parser: KileDocument::LaTeXInfo(0x5581d2a3a300)
org.kde.kile.parser: KileDocument::LaTeXInfo(0x5581d2a3a300)

    # here new document - quit - save

org.kde.kile.parser: KileDocument::LaTeXInfo(0x5581d2a3a300)
org.kde.kile.parser: KileDocument::LaTeXInfo(0x5581d2a3a300)
org.kde.kile.parser: 0x5581d2ff4300
org.kde.kile.parser: trying to obtain m_parserMutex
org.kde.kile.parser: adding to the end
org.kde.kile.parser: woken up...
org.kde.kile.parser: queue length 1
org.kde.kile.parser: ("\\documentclass[a4paper,10pt]{book}", "\\usepackage[utf8]{inputenc}", "", "\\begin{document}", "", "\\end{document}", "")
org.kde.kile.parser: KileDocument::LaTeXInfo(0x5581d2a3a300)
org.kde.kile.parser: KileDocument::LaTeXInfo(0x5581d2a3a300)
org.kde.kile.parser: 0x5581d3348520
org.kde.kile.parser: trying to obtain m_parserMutex
org.kde.kile.parser: re-parsing document
org.kde.kile.parser: stopping...
org.kde.kile.parser: 
org.kde.kile.parser: 
org.kde.kile.parser: queue length 1
org.kde.kile.parser: ("\\documentclass[a4paper,10pt]{book}", "\\usepackage[utf8]{inputenc}", "", "\\begin{document}", "", "\\end{document}", "")
org.kde.kile.parser:    setting m_bIsRoot to true
Speicherzugriffsfehler (Speicherabzug geschrieben)






#############





benutzer at debian:~$ LANG=C QT_LOGGING_RULES="*.debug=false;org.kde.kile.parser=true" gdb -q \
>      -ex 'set width 0' \
>      -ex 'set pagination off' \
>      -ex 'directory /home/benutzer/source/kile/orig/kile-2.9.92' \
>      -ex 'b main' \
>      -ex 'run' \
>      -ex 'dele 1' \
>      -ex 'b ParserThread::addParserInput' \
>      -ex 'b KileParser::DocumentParserThread::createParser' \
>      -ex 'b KileDocument::TextInfo::~TextInfo' \
>      -ex 'cont' \
>      --args kile
Reading symbols from kile...Reading symbols from /usr/lib/debug/.build-id/c6/1ccd761a99251e312f3ce1c635fd7889b19c3d.debug...done.
done.
Source directories searched: /home/benutzer/source/kile/orig/kile-2.9.92:$cdir:$cwd
Breakpoint 1 at 0x730
Starting program: /usr/bin/kile 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Breakpoint 1, 0x0000555555554730 in main ()
Breakpoint 2 at 0x7ffff7c27ed0: file ./src/parser/parserthread.cpp, line 60.
Breakpoint 3 at 0x7ffff7c26d70: file ./src/parser/parserthread.cpp, line 218.
Breakpoint 4 at 0x7ffff7b3a1c0: KileDocument::TextInfo::~TextInfo. (2 locations)
Continuing.
[New Thread 0x7fffebfac700 (LWP 30400)]
[New Thread 0x7fffeb564700 (LWP 30401)]
[Detaching after fork from child process 30402]
org.kde.kile.parser: 
[New Thread 0x7fffead3b700 (LWP 30403)]
[New Thread 0x7fffea53a700 (LWP 30404)]
org.kde.kile.parser: starting up...
org.kde.kile.parser: going to sleep...
org.kde.kile.parser: starting up...
org.kde.kile.parser: going to sleep...
[New Thread 0x7fffdae66700 (LWP 30405)]
[New Thread 0x7fffda665700 (LWP 30406)]
[New Thread 0x7fffd9e64700 (LWP 30407)]
[New Thread 0x7fffd9663700 (LWP 30408)]
[New Thread 0x7fffd8e62700 (LWP 30409)]
[New Thread 0x7fffc3fff700 (LWP 30410)]
[New Thread 0x7fffc37fe700 (LWP 30411)]
[New Thread 0x7fffc2ffd700 (LWP 30412)]
[New Thread 0x7fffc27fc700 (LWP 30413)]
[New Thread 0x7fffc1ffb700 (LWP 30414)]
[New Thread 0x7fffc17fa700 (LWP 30415)]
[New Thread 0x7fffc0ff9700 (LWP 30416)]
kf5.kservice.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
org.kde.solid.udisks2: Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.ServiceUnknown" 
 "The name org.freedesktop.UDisks2 was not provided by any .service files"
[Detaching after fork from child process 30417]
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/libexec/kf5/klauncher'
kdeinit5: Launched KLauncher, pid = 30419, result = 0
No DBUS session-bus found. Check if you have started the DBUS server.
kdeinit5: Communication error with launcher. Exiting!
[Detaching after fork from child process 30423]
[Detaching after fork from child process 30425]
QFSFileEngine::open: No file name specified
kf5.kservice.services: KServiceTypeTrader: serviceType "ThumbCreator" not found
[Detaching after fork from child process 30429]
org.kde.kile.parser: KileDocument::LaTeXInfo(0x555556007a30)
org.kde.kile.parser: KileDocument::LaTeXInfo(0x555556007a30)
[New Thread 0x7fff9ffff700 (LWP 30432)]
[Thread 0x7fff9ffff700 (LWP 30432) exited]
org.kde.kile.parser: KileDocument::LaTeXInfo(0x555556007a30)
org.kde.kile.parser: KileDocument::LaTeXInfo(0x555556007a30)
org.kde.kile.parser: KileDocument::LaTeXInfo(0x555556007a30)
org.kde.kile.parser: KileDocument::LaTeXInfo(0x555556007a30)
[New Thread 0x7fff9ffff700 (LWP 30433)]
[Thread 0x7fff9ffff700 (LWP 30433) exited]
org.kde.kile.parser: KileDocument::LaTeXInfo(0x555556007a30)
org.kde.kile.parser: KileDocument::LaTeXInfo(0x555556007a30)

Thread 1 "kile" hit Breakpoint 2, KileParser::ParserThread::addParserInput (this=this at entry=0x55555592f350, input=input at entry=0x55555656e490) at ./src/parser/parserthread.cpp:60
60      {
(gdb) print &(((KileParser::LaTeXParserInput*) 0x55555656e490)->dictStructLevel.d)              
$1 = (QMapData<QString, KileStructData> **) 0x555556007a90
(gdb) bt
#0  KileParser::ParserThread::addParserInput (this=this at entry=0x55555592f350, input=input at entry=0x55555656e490) at ./src/parser/parserthread.cpp:60
#1  0x00007ffff7c285b6 in KileParser::DocumentParserThread::addDocument (this=0x55555592f350, textInfo=<optimized out>) at ./src/parser/parserthread.cpp:248
#2  0x00007ffff7c25e76 in KileParser::Manager::parseDocument (this=0x55555592efa0, textInfo=textInfo at entry=0x555556007a30) at ./src/parser/parsermanager.cpp:61
#3  0x00007ffff7b383f8 in KileDocument::LaTeXInfo::updateStruct (this=0x555556007a30) at ./src/documentinfo.cpp:1074
#4  0x00007ffff7c852a2 in KileWidget::StructureWidget::update (this=0x555555d11e30, docinfo=<optimized out>, forceParsing=<optimized out>) at ./src/widgets/structurewidget.cpp:984
#5  0x00007ffff7bfac77 in KileView::Manager::updateStructure (this=0x555555930610, parse=<optimized out>, docinfo=<optimized out>) at ./src/kileviewmanager.cpp:692
#6  0x00007ffff4f0b820 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff7cc786e in KileDocument::Manager::updateStructure (this=this at entry=0x5555557bb630, _t1=<optimized out>, _t1 at entry=false, _t2=<optimized out>, _t2 at entry=0x0) at ./obj-x86_64-linux-gnu/src/kdeinit_kile_autogen/EWIEGA46WW/moc_kiledocmanager.cpp:944
#8  0x00007ffff7b91bac in KileDocument::Manager::fileSaveAll (this=0x5555557bb630, disUntitled=disUntitled at entry=false) at ./src/kiledocmanager.cpp:916
#9  0x00007ffff7c0d52b in KileTool::LivePreviewManager::compilePreview (this=this at entry=0x55555635b7f0, latexInfo=<optimized out>, latexInfo at entry=0x555556007a30, view=view at entry=0x555555d501c0) at ./src/livepreview.cpp:901
#10 0x00007ffff7c1076d in KileTool::LivePreviewManager::showPreviewCompileIfNecessary (this=this at entry=0x55555635b7f0, latexInfo=latexInfo at entry=0x555556007a30, view=view at entry=0x555555d501c0) at ./src/livepreview.cpp:849
#11 0x00007ffff7c10b04 in KileTool::LivePreviewManager::handleDocumentSavedOrUploaded (this=0x55555635b7f0, doc=<optimized out>, savedAs=<optimized out>) at ./src/livepreview.cpp:528
#12 0x00007ffff4f0b820 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007ffff6b0e250 in KTextEditor::Document::documentSavedOrUploaded(KTextEditor::Document*, bool) () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#14 0x00007ffff699c056 in KTextEditor::DocumentPrivate::slotCompleted() () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#15 0x00007ffff6b18ba2 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#16 0x00007ffff4f0b6cb in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff67d01a4 in KParts::ReadWritePart::saveToUrl() () from /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#18 0x00007ffff67d04aa in KParts::ReadWritePart::save() () from /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#19 0x00007ffff67d05d1 in KParts::ReadWritePart::saveAs(QUrl const&) () from /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#20 0x00007ffff699c4a5 in KTextEditor::DocumentPrivate::saveAs(QUrl const&) () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#21 0x00007ffff699d814 in KTextEditor::DocumentPrivate::slotQueryClose_save(bool*, bool*) () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#22 0x00007ffff6b18b02 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#23 0x00007ffff4f0b6cb in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#24 0x00007ffff67cf12b in KParts::ReadWritePart::sigQueryClose(bool*, bool*) () from /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#25 0x00007ffff699da4e in KTextEditor::DocumentPrivate::queryClose() () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#26 0x00007ffff67cf8cd in KParts::ReadWritePart::closeUrl() () from /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#27 0x00007ffff69a92fc in KTextEditor::DocumentPrivate::closeUrl() () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#28 0x00007ffff7b9bbe8 in KileDocument::Manager::fileClose (this=this at entry=0x5555557bb630, doc=0x55555668ec60, closingproject=closingproject at entry=false) at ./src/kiledocmanager.cpp:1253
#29 0x00007ffff7b9bfa0 in KileDocument::Manager::fileCloseAll (this=0x5555557bb630) at ./src/kiledocmanager.cpp:1175
#30 0x00007ffff7b85901 in Kile::queryClose (this=0x5555557b9a30) at ./src/kile.cpp:1582
#31 0x00007ffff63f7325 in KMainWindow::closeEvent(QCloseEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#32 0x00007ffff58987c8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007ffff599eed4 in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007ffff63f755b in KMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#35 0x00007ffff6440585 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#36 0x00007ffff585a491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007ffff5861ad0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ffff4ee2479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007ffff5893a62 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007ffff4f0b820 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007ffff5853ee2 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007ffff58564f0 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007ffff59c6e1c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007ffff59ce3f0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007ffff59cf41b in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#46 0x00007ffff58987c8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#47 0x00007ffff59d1aab in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#48 0x00007ffff585a491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#49 0x00007ffff5861d18 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#50 0x00007ffff4ee2479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#51 0x00007ffff59cef1d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#52 0x00007ffff59cf206 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#53 0x00007ffff58987c8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#54 0x00007ffff59d1aab in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#55 0x00007ffff585a491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#56 0x00007ffff5861d18 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#57 0x00007ffff4ee2479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#58 0x00007ffff5861019 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#59 0x00007ffff58b36c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#60 0x00007ffff58b5e8e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#61 0x00007ffff585a491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#62 0x00007ffff5861ad0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#63 0x00007ffff4ee2479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#64 0x00007ffff528db1b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#65 0x00007ffff528fa15 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#66 0x00007ffff5269d7b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#67 0x00007fffec94d86b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#68 0x00007ffff4ee114b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#69 0x00007ffff4ee92c2 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#70 0x00007ffff7c17979 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:199
#71 0x00007ffff784e09b in __libc_start_main (main=0x555555554730 <main>, argc=1, argv=0x7fffffffe598, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe588) at ../csu/libc-start.c:308
#72 0x000055555555476a in _start ()
(gdb) cont
Continuing.
org.kde.kile.parser: 0x55555656e490
org.kde.kile.parser: trying to obtain m_parserMutex
org.kde.kile.parser: adding to the end
org.kde.kile.parser: woken up...
org.kde.kile.parser: queue length 1
[Switching to Thread 0x7fffead3b700 (LWP 30403)]

Thread 4 "KileParser::Doc" hit Breakpoint 3, KileParser::DocumentParserThread::createParser (this=0x55555592f350, input=0x55555656e490) at ./src/parser/parserthread.cpp:218
218     {
(gdb) bt
#0  KileParser::DocumentParserThread::createParser (this=0x55555592f350, input=0x55555656e490) at ./src/parser/parserthread.cpp:218
#1  0x00007ffff7c276b8 in KileParser::ParserThread::run (this=0x55555592f350) at ./src/parser/parserthread.cpp:189
#2  0x00007ffff4d39cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff4ac0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#4  0x00007ffff79237ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) cont
Continuing.
org.kde.kile.parser: KileDocument::LaTeXInfo(0x555556007a30)
org.kde.kile.parser: KileDocument::LaTeXInfo(0x555556007a30)
[Switching to Thread 0x7fffeca02880 (LWP 30396)]

Thread 1 "kile" hit Breakpoint 2, KileParser::ParserThread::addParserInput (this=this at entry=0x55555592f350, input=input at entry=0x555556934100) at ./src/parser/parserthread.cpp:60
60      {
(gdb) print &(((KileParser::LaTeXParserInput*) 0x555556934100)->dictStructLevel.d)              
$2 = (QMapData<QString, KileStructData> **) 0x555556007a90
(gdb) bt
#0  KileParser::ParserThread::addParserInput (this=this at entry=0x55555592f350, input=input at entry=0x555556934100) at ./src/parser/parserthread.cpp:60
#1  0x00007ffff7c285b6 in KileParser::DocumentParserThread::addDocument (this=0x55555592f350, textInfo=<optimized out>) at ./src/parser/parserthread.cpp:248
#2  0x00007ffff7c25e76 in KileParser::Manager::parseDocument (this=0x55555592efa0, textInfo=textInfo at entry=0x555556007a30) at ./src/parser/parsermanager.cpp:61
#3  0x00007ffff7b383f8 in KileDocument::LaTeXInfo::updateStruct (this=0x555556007a30) at ./src/documentinfo.cpp:1074
#4  0x00007ffff7c852a2 in KileWidget::StructureWidget::update (this=0x555555d11e30, docinfo=<optimized out>, forceParsing=forceParsing at entry=false) at ./src/widgets/structurewidget.cpp:984
#5  0x00007ffff7c85487 in KileWidget::StructureWidget::update (this=<optimized out>, docinfo=<optimized out>) at ./src/widgets/structurewidget.cpp:961
#6  0x00007ffff7cd0944 in KileWidget::StructureWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/src/kdeinit_kile_autogen/IMAN36LHMA/moc_structurewidget.cpp:257
#7  0x00007ffff4f0b6cb in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ffff7cc7272 in KileDocument::Info::completed (this=<optimized out>, _t1=<optimized out>) at ./obj-x86_64-linux-gnu/src/kdeinit_kile_autogen/EWIEGA46WW/moc_documentinfo.cpp:284
#9  0x00007ffff7b364bc in KileDocument::Info::slotCompleted (this=<optimized out>) at ./src/documentinfo.cpp:398
#10 0x00007ffff7cd03b5 in KileDocument::Info::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/src/kdeinit_kile_autogen/EWIEGA46WW/moc_documentinfo.cpp:135
#11 0x00007ffff4f0b6cb in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ffff67d01a4 in KParts::ReadWritePart::saveToUrl() () from /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#13 0x00007ffff67d04aa in KParts::ReadWritePart::save() () from /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#14 0x00007ffff67d05d1 in KParts::ReadWritePart::saveAs(QUrl const&) () from /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#15 0x00007ffff699c4a5 in KTextEditor::DocumentPrivate::saveAs(QUrl const&) () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#16 0x00007ffff699d814 in KTextEditor::DocumentPrivate::slotQueryClose_save(bool*, bool*) () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#17 0x00007ffff6b18b02 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#18 0x00007ffff4f0b6cb in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#19 0x00007ffff67cf12b in KParts::ReadWritePart::sigQueryClose(bool*, bool*) () from /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#20 0x00007ffff699da4e in KTextEditor::DocumentPrivate::queryClose() () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#21 0x00007ffff67cf8cd in KParts::ReadWritePart::closeUrl() () from /usr/lib/x86_64-linux-gnu/libKF5Parts.so.5
#22 0x00007ffff69a92fc in KTextEditor::DocumentPrivate::closeUrl() () from /usr/lib/x86_64-linux-gnu/libKF5TextEditor.so.5
#23 0x00007ffff7b9bbe8 in KileDocument::Manager::fileClose (this=this at entry=0x5555557bb630, doc=0x55555668ec60, closingproject=closingproject at entry=false) at ./src/kiledocmanager.cpp:1253
#24 0x00007ffff7b9bfa0 in KileDocument::Manager::fileCloseAll (this=0x5555557bb630) at ./src/kiledocmanager.cpp:1175
#25 0x00007ffff7b85901 in Kile::queryClose (this=0x5555557b9a30) at ./src/kile.cpp:1582
#26 0x00007ffff63f7325 in KMainWindow::closeEvent(QCloseEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#27 0x00007ffff58987c8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff599eed4 in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff63f755b in KMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#30 0x00007ffff6440585 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#31 0x00007ffff585a491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff5861ad0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007ffff4ee2479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#34 0x00007ffff5893a62 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007ffff4f0b820 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#36 0x00007ffff5853ee2 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007ffff58564f0 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ffff59c6e1c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#39 0x00007ffff59ce3f0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007ffff59cf41b in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007ffff58987c8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007ffff59d1aab in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007ffff585a491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007ffff5861d18 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#45 0x00007ffff4ee2479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#46 0x00007ffff59cef1d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#47 0x00007ffff59cf206 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#48 0x00007ffff58987c8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#49 0x00007ffff59d1aab in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#50 0x00007ffff585a491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#51 0x00007ffff5861d18 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#52 0x00007ffff4ee2479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#53 0x00007ffff5861019 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#54 0x00007ffff58b36c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#55 0x00007ffff58b5e8e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#56 0x00007ffff585a491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#57 0x00007ffff5861ad0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#58 0x00007ffff4ee2479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#59 0x00007ffff528db1b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#60 0x00007ffff528fa15 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#61 0x00007ffff5269d7b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#62 0x00007fffec94d86b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#63 0x00007ffff4ee114b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#64 0x00007ffff4ee92c2 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#65 0x00007ffff7c17979 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:199
#66 0x00007ffff784e09b in __libc_start_main (main=0x555555554730 <main>, argc=1, argv=0x7fffffffe598, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe588) at ../csu/libc-start.c:308
#67 0x000055555555476a in _start ()
(gdb) cont
Continuing.
org.kde.kile.parser: ("\\documentclass[a4paper,10pt]{book}", "\\usepackage[utf8]{inputenc}", "", "\\begin{document}", "", "\\end{document}", "")
org.kde.kile.parser:    setting m_bIsRoot to true
org.kde.kile.parser: 0x555556934100
org.kde.kile.parser: trying to obtain m_parserMutex
org.kde.kile.parser: re-parsing document
org.kde.kile.parser:    found \begin{document}
org.kde.kile.parser: stopping...
org.kde.kile.parser: 
org.kde.kile.parser: 

Thread 1 "kile" hit Breakpoint 4, KileDocument::TextInfo::~TextInfo (this=0x555556007a30, __in_chrg=<optimized out>) at ./src/documentinfo.cpp:416
416     TextInfo::~TextInfo()
(gdb) bt
#0  KileDocument::TextInfo::~TextInfo (this=0x555556007a30, __in_chrg=<optimized out>) at ./src/documentinfo.cpp:416
#1  0x00007ffff7b3a399 in KileDocument::LaTeXInfo::~LaTeXInfo (this=0x555556007a30, __in_chrg=<optimized out>) at ./src/documentinfo.cpp:871
#2  0x00007ffff7b9482e in KileDocument::Manager::removeTextDocumentInfo (this=this at entry=0x5555557bb630, docinfo=<optimized out>, docinfo at entry=0x555556007a30, closingproject=closingproject at entry=false) at ./src/kiledocmanager.cpp:504
#3  0x00007ffff7b9bcd5 in KileDocument::Manager::fileClose (this=this at entry=0x5555557bb630, doc=0x55555668ec60, closingproject=closingproject at entry=false) at ./src/kiledocmanager.cpp:1271
#4  0x00007ffff7b9bfa0 in KileDocument::Manager::fileCloseAll (this=0x5555557bb630) at ./src/kiledocmanager.cpp:1175
#5  0x00007ffff7b85901 in Kile::queryClose (this=0x5555557b9a30) at ./src/kile.cpp:1582
#6  0x00007ffff63f7325 in KMainWindow::closeEvent(QCloseEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#7  0x00007ffff58987c8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007ffff599eed4 in QMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#9  0x00007ffff63f755b in KMainWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#10 0x00007ffff6440585 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libKF5XmlGui.so.5
#11 0x00007ffff585a491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#12 0x00007ffff5861ad0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#13 0x00007ffff4ee2479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#14 0x00007ffff5893a62 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#15 0x00007ffff4f0b820 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff5853ee2 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#17 0x00007ffff58564f0 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#18 0x00007ffff59c6e1c in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ffff59ce3f0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#20 0x00007ffff59cf41b in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#21 0x00007ffff58987c8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#22 0x00007ffff59d1aab in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#23 0x00007ffff585a491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#24 0x00007ffff5861d18 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#25 0x00007ffff4ee2479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ffff59cef1d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#27 0x00007ffff59cf206 in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#28 0x00007ffff58987c8 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#29 0x00007ffff59d1aab in QMenu::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ffff585a491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ffff5861d18 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ffff4ee2479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#33 0x00007ffff5861019 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007ffff58b36c3 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007ffff58b5e8e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ffff585a491 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007ffff5861ad0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ffff4ee2479 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007ffff528db1b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#40 0x00007ffff528fa15 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#41 0x00007ffff5269d7b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#42 0x00007fffec94d86b in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#43 0x00007ffff4ee114b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#44 0x00007ffff4ee92c2 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007ffff7c17979 in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:199
#46 0x00007ffff784e09b in __libc_start_main (main=0x555555554730 <main>, argc=1, argv=0x7fffffffe598, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe588) at ../csu/libc-start.c:308
#47 0x000055555555476a in _start ()
(gdb) print this
$3 = (KileDocument::TextInfo * const) 0x555556007a30
(gdb) print this->m_dictStructLevel
$4 = {d = 0x55555679a740}
(gdb) print &(this->m_dictStructLevel)
$5 = (QMap<QString, KileStructData> *) 0x555556007a90
(gdb) cont
Continuing.
org.kde.kile.parser: queue length 1
[Switching to Thread 0x7fffead3b700 (LWP 30403)]

Thread 4 "KileParser::Doc" hit Breakpoint 3, KileParser::DocumentParserThread::createParser (this=0x55555592f350, input=0x555556934100) at ./src/parser/parserthread.cpp:218
218     {
(gdb) bt
#0  KileParser::DocumentParserThread::createParser (this=0x55555592f350, input=0x555556934100) at ./src/parser/parserthread.cpp:218
#1  0x00007ffff7c276b8 in KileParser::ParserThread::run (this=0x55555592f350) at ./src/parser/parserthread.cpp:189
#2  0x00007ffff4d39cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#3  0x00007ffff4ac0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#4  0x00007ffff79237ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) cont
Continuing.
org.kde.kile.parser: ("\\documentclass[a4paper,10pt]{book}", "\\usepackage[utf8]{inputenc}", "", "\\begin{document}", "", "\\end{document}", "")
org.kde.kile.parser:    setting m_bIsRoot to true

Thread 4 "KileParser::Doc" received signal SIGSEGV, Segmentation fault.
QMapData<QString, KileStructData>::findNode (this=0x207465677261745f, akey=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:286
286     /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h: No such file or directory.
(gdb) bt
#0  QMapData<QString, KileStructData>::findNode (this=0x207465677261745f, akey=...) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:286
#1  0x00007ffff7c214dc in QMap<QString, KileStructData>::constFind (akey=..., this=0x555556007a90) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qmap.h:869
#2  KileParser::LaTeXParser::parse (this=0x7fffe000e7b0) at ./src/parser/latexparser.cpp:186
#3  0x00007ffff7c276cd in KileParser::ParserThread::run (this=0x55555592f350) at ./src/parser/parserthread.cpp:193
#4  0x00007ffff4d39cd7 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ffff4ac0fa3 in start_thread (arg=<optimized out>) at pthread_create.c:486
#6  0x00007ffff79237ef in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) detach
Detaching from program: /usr/bin/kile, process 30396
[Inferior 1 (process 30396) detached]
(gdb) q



root at debian:~# coredumpctl list
TIME                            PID   UID   GID SIG COREFILE  EXE
Thu 2019-01-17 20:33:48 CET   30396  1000  1000  11 present   /usr/bin/kile


[ 4827.405644] traps: KileParser::Doc[29923] general protection ip:7fdde9df1ae7 sp:7fdddcf07a00 error:0 in libkdeinit5_kile.so[7fdde9bb8000+3ba000]





#############





LANG=C QT_LOGGING_RULES="*.debug=false;org.kde.kile.parser=true" gdb -q \
     -ex 'set width 0' \
     -ex 'set pagination off' \
     -ex 'directory /home/benutzer/source/kile/orig/kile-2.9.92' \
     -ex 'b main' \
     -ex 'run' \
     -ex 'dele 1' \
     -ex 'b ParserThread::addParserInput' \
     -ex 'b KileParser::DocumentParserThread::createParser' \
     -ex 'b KileDocument::TextInfo::~TextInfo' \
     -ex 'cont' \
     --args kile


More information about the pkg-kde-extras mailing list