[Qt-creator] Segmentation fault in 15.06.2009 snapshot
Mateusz Adamczyk
matek_a at tlen.pl
Mon Jun 15 20:15:16 CEST 2009
Hello!
I've got class A defined in header file and implemented in source file.
Header file contains:
#ifndef A_HPP
#define A_HPP
#include <set>
class A
{
public:
A();
private:
typedef std::set<unsigned> set1_type;
typedef std::set<set1_type> set2_type;
};
#endif // A_HPP
When writing code for constructor, I've realized that I would write helper
method:
"void A::foo(A::set2_type& p1, A::set1_type::value_type v) const".
After implementing it, I've copied it's declaration and pasted it in
header file as private method. Then I wanted to delete all the unneeded
"A::". I've placed cursor before 'A' in "A::set1_type::value_type v" and
pressed 'Delete' key twice. Then I've got Segmentation fault. If I delete
first or second "A::" in the same way, I've got messages:
<unknown program name>(5710)/ findLibraryInternal: plugins should not have
a 'lib' prefix: "libkfilemodule.so"
<unknown program name>(5710)/ KPluginLoader::load: The plugin
"libkfilemodule" doesn't contain a kde_plugin_verification_data structure
Even if I delete first and second "A::" and then try to delete the third
"A::", I've got a segfault. Is this a bug, or should I install some
additional libraries (I use Kubuntu 9.04)?
Regards,
Mateusz
More information about the Qt-creator-old
mailing list