Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Crash when open settings #8

Closed
arcan1s opened this Issue · 8 comments

2 participants

@arcan1s

What I did?
1) install the plugin and dependencies
2) run kate and enable the plugin
3) open plugin settings
4) and I have kate crash (segfault):
kate(22266)/Kate (App) KateConfigDialog::slotCurrentPageChanged: creating config page
KCrash: Application 'kate' crashing...

System:
uname -r: 3.10.10-1-ARCH
clang: 3.3
Qt: 4.8.5
KDE: 4.11.00
Kate: 3.11.0

@zaufi
Owner

Hmm... do you have a backtrace?

@arcan1s

Here is the backtrace from gdb:
http://pastebin.com/w5H0PkdK
I have a backtrace from valgrind also, but it crashed on start the application =)
Now Im trying to compile kate with debug flags and send to you additional backtraces if it will need

@zaufi
Owner

yep, compiling w/ debug symbols will help to discover exact location instead of

#0  0x00007fffe3f79fea in ?? () from /usr/lib/kde4/katecpphelperplugin.so
#1  0x00007fffe3f7e3b1 in ?? () from /usr/lib/kde4/katecpphelperplugin.so
#2  0x00007fffe3f8fee9 in ?? () from /usr/lib/kde4/katecpphelperplugin.so
#3  0x00007ffff645bea2 in ?? () from /usr/lib/libkateinterfaces.so.4

to do so just run cmake -DCMAKE_BUILD_TYPE=DebugFull <path-to-sources>

@zaufi
Owner

and FYI I can run valgrind on kate (w/ this plugin enabled) w/o any crash... it seems smth wrong in your system

@arcan1s

tnx for reply. Here is gdb log from kate which compiled with DebugFull flag:
http://pastebin.com/AvEM5Cr9
I found that valgrind crashes on load this plugin.
And when I compile the plugin with the same flag, there was not error =) Default compile flags in ArchLinux are:
cmake -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4 -DBUILD_TESTING=OFF -DCMAKE_INSTALL_PREFIX=/usr
There is the error when compile with Debug or Release flag.

@arcan1s

Er...
There isn't error on kate and the plugin both compiled with DebugFull flag only...

@zaufi
Owner

the bug confirmed :( I'll fix it when get some free time (hope soon)

Thread 1 (Thread 0x7f9fc80d67c0 (LWP 31445)):
[KCrash Handler]
#6  0x00007f9fc4cd60fa in kate::CppHelperPluginConfigPage::findBinary(QString const&) const () from /home/zaufi/.kde4/lib64/kde4/katecpphelperplugin.so
#7  0x00007f9fc4cda4c1 in kate::CppHelperPluginConfigPage::CppHelperPluginConfigPage(QWidget*, kate::CppHelperPlugin*) () from /home/zaufi/.kde4/lib64/kde4/katecpphelperplugin.so
#8  0x00007f9fc4cec589 in kate::CppHelperPlugin::configPage(unsigned int, QWidget*, char const*) () from /home/zaufi/.kde4/lib64/kde4/katecpphelperplugin.so
@zaufi zaufi closed this issue from a commit
@zaufi Resolve #8 7e7b863
@zaufi zaufi closed this in 7e7b863
@zaufi
Owner

Thanks for the report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.