| Summary: | kgraphviewer and kgraph editor crashes when loading file | ||
|---|---|---|---|
| Product: | [Applications] kgraphviewer | Reporter: | Lukas Jirkovsky <l.jirkovsky> |
| Component: | general | Assignee: | Gaël de Chalendar (aka Kleag) <kleagg> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | file that triggers crash | ||
since drKonqi doesn't give useful backtrace I tried to run kgrapheditor in gdb.
Resulting backtrace shows that the GraphViz is crashing, not kgrapheditor/viewer.
Interesting thing is that the file can be processed in dot without problems.
kgrapheditor(8390) KGraphViewer::DotGraphView::loadLibrary: ' "file:///home/lukas/enblend.dot" '
kgrapheditor(8390) LoadAGraphThread::loadFile:
[New Thread 0x7fffe8bd3710 (LWP 8394)]
kgrapheditor(8390) LoadAGraphThread::run:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe8bd3710 (LWP 8394)]
0x00007ffff527ab4d in fgets () from /lib/libc.so.6
(gdb) bt
#0 0x00007ffff527ab4d in fgets () from /lib/libc.so.6
#1 0x00007ffff4d96d11 in lex_gets () from /usr/lib/libgraph.so.4
#2 0x00007ffff4d970cb in aglex () from /usr/lib/libgraph.so.4
#3 0x00007ffff4d9875b in agparse () from /usr/lib/libgraph.so.4
#4 0x00007ffff4d96730 in agread () from /usr/lib/libgraph.so.4
#5 0x00007ffff7b270f0 in ?? () from /usr/lib/libkgraphviewer.so.3
#6 0x00007ffff654c485 in ?? () from /usr/lib/libQtCore.so.4
#7 0x00007ffff3322cb0 in start_thread () from /lib/libpthread.so.0
#8 0x00007ffff52e67ad in clone () from /lib/libc.so.6
#9 0x0000000000000000 in ?? ()
Hum, for me it crashes in Qt code, when the fish eye view wants to get info about items to display. If I deactivate the FEV, it can display the graph and navigate with scrollbars, but if you put the mouse in the view, then it crashes. I think it is a Qt bug. I will open a bug report at Qt. |
Created attachment 49595 [details] file that triggers crash Version: unspecified (using KDE 4.4.5) OS: Linux Both kgrapheditor and kgraphviewer crashes when loading attached file. Versions tested: kgraphviewer 2.0.2 kgraphviewer svn 1153904 Reproducible: Always Steps to Reproduce: Open the file in the mentioned applications. Distribution is current Arch Linux 64bit with KDE 4.4.5