[kile] [Bug 384665] Kile occasionally segfaults on backward search

2018-01-17 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=384665

Christoph Feck  changed:

   What|Removed |Added

 CC||didier.heris...@gmail.com

--- Comment #8 from Christoph Feck  ---
*** Bug 388762 has been marked as a duplicate of this bug. ***

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

[kile] [Bug 384665] Kile occasionally segfaults on backward search

2017-11-25 Thread Michel Ludwig
https://bugs.kde.org/show_bug.cgi?id=384665

Michel Ludwig  changed:

   What|Removed |Added

 CC||llan.x...@foxmail.com

--- Comment #7 from Michel Ludwig  ---
*** Bug 387176 has been marked as a duplicate of this bug. ***

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

[kile] [Bug 384665] Kile occasionally segfaults on backward search

2017-11-24 Thread Michel Ludwig
https://bugs.kde.org/show_bug.cgi?id=384665

Michel Ludwig  changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/kil
   ||e/1255af8b3bf7a835a09768dea
   ||61f9351e6da75a9
 Status|UNCONFIRMED |RESOLVED
 Resolution|--- |FIXED

--- Comment #6 from Michel Ludwig  ---
Git commit 1255af8b3bf7a835a09768dea61f9351e6da75a9 by Michel Ludwig.
Committed on 25/11/2017 at 07:40.
Pushed by mludwig into branch 'master'.

Avoid crashing when trying to open a directory

M  +36   -3src/kiledocmanager.cpp

https://commits.kde.org/kile/1255af8b3bf7a835a09768dea61f9351e6da75a9

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

[kile] [Bug 384665] Kile occasionally segfaults on backward search

2017-11-16 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=384665

ree...@gmail.com changed:

   What|Removed |Added

 CC||ree...@gmail.com

--- Comment #5 from ree...@gmail.com ---
Using backwards search, the journal shows a complaint from KDirWatch on the
line immediately preceding the segfault.

Tach 16 18:40:55 MyComputer kile[1818]: org.kde.kcoreaddons: KDirWatch: "" is a directory. Use addDir!
Tach 16 18:40:55 MyComputer kernel: kile[1818]: segfault at 98 ip
7f3c0506b9c0 sp 7ffc552e2038 error 4 in
libkdeinit5_kile.so[7f3c04f19000+3db000]
Tach 16 18:40:55 MyComputer systemd[1]: Created slice
system-systemd\x2dcoredump.slice.
Tach 16 18:40:55 MyComputer systemd[1]: Started Process Core Dump (PID
10102/UID 0).
Tach 16 18:40:56 MyComputer kwin_x11[1208]: QXcbConnection: XCB error: 3
(BadWindow), sequence: 34509, resource id: 67108877, major code: 15
(QueryTree), minor code: 0
Tach 16 18:40:56 MyComputer systemd-coredump[10103]: Process 1818 (kile) of
user 1000 dumped core.

 Stack trace of thread
1818:
 #0  0x7f3c0506b9c0
n/a (libkdeinit5_kile.so)
 #1  0x7f3c050cabd2
n/a (libkdeinit5_kile.so)
 #2  0x7f3c050cb24b
n/a (libkdeinit5_kile.so)
 #3  0x7f3c050cb441
n/a (libkdeinit5_kile.so)
 #4  0x7f3c050a2182
n/a (libkdeinit5_kile.so)
 #5  0x7f3c05207a4a
n/a (libkdeinit5_kile.so)
 #6  0x7f3bffca7abd
n/a (libQt5DBus.so.5)
 #7  0x7f3bffcacf29
n/a (libQt5DBus.so.5)
 #8  0x7f3bffcad4f8
n/a (libQt5DBus.so.5)
 #9  0x7f3bffcafd0e
n/a (libQt5DBus.so.5)
 #10 0x7f3bfe897662
_ZN7QObject5eventEP6QEvent (libQt5Core.so.5)
 #11 0x7f3bff5c513c
_ZN7QWidget5eventEP6QEvent (libQt5Widgets.so.5)
 #12 0x7f3bff6dd264
_ZN11QMainWindow5eventEP6QEvent (libQt5Widgets.so.5)
 #13 0x7f3c023533bb
_ZN11KMainWindow5eventEP6QEvent (libKF5XmlGui.so.5)
 #14 0x7f3c023a4ca6
_ZN13KXmlGuiWindow5eventEP6QEvent (libKF5XmlGui.so.5)
 #15 0x7f3bff584f2c
_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5)
 #16 0x7f3bff58ca06
_ZN12QApplication6notifyEP7QObjectP6QEvent (libQt5Widgets.so.5)
 #17 0x7f3bfe867060
_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5)
 #18 0x7f3bfe8698b6
_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData
(libQt5Core.so.5)
 #19 0x7f3bfe8c26e4
n/a (libQt5Core.so.5)
 #20 0x7f3bf6cad270
g_main_context_dispatch (libglib-2.0.so.0)
 #21 0x7f3bf6caef69
n/a (libglib-2.0.so.0)
 #22 0x7f3bf6caefae
g_main_context_iteration (libglib-2.0.so.0)
 #23 0x7f3bfe8c1cd1
_ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE
(libQt5Core.so.5)
 #24 0x7f3bfe86548b
_ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5)
 #25 0x7f3bfe86e4d8
_ZN16QCoreApplication4execEv (libQt5Core.so.5)
 #26 0x7f3c05150d94
kdemain (libkdeinit5_kile.so)
 #27 0x7f3c04b81f6a
__libc_start_main (libc.so.6)
 #28 0x560f585b776a
_start (kile)

 Stack trace of thread
1819:
 #0  0x7f3c04c4cf7b
__poll (libc.so.6)
 

[kile] [Bug 384665] Kile occasionally segfaults on backward search

2017-10-12 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=384665

Christoph Feck  changed:

   What|Removed |Added

 Status|NEEDSINFO   |UNCONFIRMED
 Resolution|WORKSFORME  |---

--- Comment #4 from Christoph Feck  ---
Indeed it crashes when passed a directory.

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

[kile] [Bug 384665] Kile occasionally segfaults on backward search

2017-10-02 Thread Flupp
https://bugs.kde.org/show_bug.cgi?id=384665

--- Comment #3 from Flupp  ---
After some further investigations I suspect the problem is not related to
backward search at all.

If kile is passed a folder on the command line, then kile segfaults:

% /usr/bin/kile /home
zsh: segmentation fault (core dumped)  /usr/bin/kile /home
return value 139

For some reason okular occasionally tries to open a specific line in a folder
on backward search, but this is another issue.

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

[kile] [Bug 384665] Kile occasionally segfaults on backward search

2017-09-30 Thread Michel Ludwig
https://bugs.kde.org/show_bug.cgi?id=384665

Michel Ludwig  changed:

   What|Removed |Added

 Resolution|--- |WORKSFORME
 Status|UNCONFIRMED |NEEDSINFO

--- Comment #2 from Michel Ludwig  ---
Can you try to create a small test file that demonstrates the problem?

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

[kile] [Bug 384665] Kile occasionally segfaults on backward search

2017-09-28 Thread Christoph Feck
https://bugs.kde.org/show_bug.cgi?id=384665

Christoph Feck  changed:

   What|Removed |Added

   Severity|normal  |crash

--- Comment #1 from Christoph Feck  ---
Relevant part for backtrace searches:

(gdb) run
Starting program: /usr/bin/kile 

Thread 1 "kile" received signal SIGSEGV, Segmentation fault.

(gdb) backtrace 
#0  0x7791f190 in KileDocument::TextInfo::getDoc() () at
src/documentinfo.cpp:427
#1  0x7797b8d2 in KileDocument::Manager::loadDocumentAndViewSettings
(this=this@entry=0x55813420, textInfo=textInfo@entry=0x0) at
src/kiledocmanager.cpp:2376
#2  0x7797bf7b in KileDocument::Manager::fileOpen (this=0x55813420,
url=..., encoding=..., index=index@entry=-1) at src/kiledocmanager.cpp:925
#3  0x7797c171 in KileDocument::Manager::fileSelected (this=, url=...) at src/kiledocmanager.cpp:828
#4  0x77951de2 in Kile::openDocument (url=..., this=0x5580c600) at
src/kile.cpp:1384
#5  Kile::openDocument (this=0x5580c600, s=...) at src/kile.cpp:1389
#6  0x77ab1d84 in MainAdaptor::qt_static_metacall (_a=0x7fffd420,
_id=2, _c=QMetaObject::InvokeMetaMethod, _o=0x56b4d090) at
build/src/mainadaptor.moc:159
#7  MainAdaptor::qt_metacall (this=0x56b4d090,
_c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffd420) at
build/src/mainadaptor.moc:160
#8  0x72566add in ?? () from /usr/lib/libQt5DBus.so.5
#9  0x7256bf49 in ?? () from /usr/lib/libQt5DBus.so.5
#10 0x7256c518 in ?? () from /usr/lib/libQt5DBus.so.5
#11 0x7256ed2e in ?? () from /usr/lib/libQt5DBus.so.5
#12 0x711441d2 in QObject::event(QEvent*) () from
/usr/lib/libQt5Core.so.5
#13 0x71e7d49c in QWidget::event(QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#14 0x71f6f5e4 in QMainWindow::event(QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#15 0x74c1345b in KMainWindow::event(QEvent*) () from
/usr/lib/libKF5XmlGui.so.5
#16 0x74c65156 in KXmlGuiWindow::event(QEvent*) () from
/usr/lib/libKF5XmlGui.so.5
#17 0x71e3ae4c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib/libQt5Widgets.so.5
#18 0x71e42926 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQt5Widgets.so.5
#19 0x71113bd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib/libQt5Core.so.5
#20 0x71116426 in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#21 0x7116ea74 in ?? () from /usr/lib/libQt5Core.so.5
#22 0x7fffe954fa57 in g_main_context_dispatch () from
/usr/lib/libglib-2.0.so.0
#23 0x7fffe954fc88 in ?? () from /usr/lib/libglib-2.0.so.0
#24 0x7fffe954fd1c in g_main_context_iteration () from
/usr/lib/libglib-2.0.so.0
#25 0x7116e061 in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib/libQt5Core.so.5
#26 0x7ffb in
QEventLoop::exec(QFlags) () from
/usr/lib/libQt5Core.so.5
#27 0x7111b048 in QCoreApplication::exec() () from
/usr/lib/libQt5Core.so.5
#28 0x77a00d89 in kdemain (argc=, argv=)
at src/main.cpp:179
#29 0x77439f6a in __libc_start_main () from /usr/lib/libc.so.6
#30 0x478a in _start ()

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