[SailfishDevel] Fwd: QtCreator issues

Stijn Devriendt highguy at gmail.com
Wed Jul 16 21:41:58 UTC 2014


Hi Juha,

Been debugging a bit more until I got this:
Breakpoint 1, 0x00007fffeb54bd40 in QTime::QTime(int, int, int, int)@plt ()
from /usr/lib64/libkdecore.so.5
(gdb) bt
#0  0x00007fffeb54bd40 in QTime::QTime(int, int, int, int)@plt () from
/usr/lib64/libkdecore.so.5
#1  0x00007ffff7de9be6 in call_init () from /lib64/ld-linux-x86-64.so.2
#2  0x00007ffff7de9cca in _dl_init_internal () from
/lib64/ld-linux-x86-64.so.2
#3  0x00007ffff7dedd99 in dl_open_worker () from /lib64/ld-linux-x86-64.so.2
#4  0x00007ffff7de9a26 in _dl_catch_error () from
/lib64/ld-linux-x86-64.so.2
#5  0x00007ffff7ded5d9 in _dl_open () from /lib64/ld-linux-x86-64.so.2
#6  0x00007ffff539f1e6 in dlopen_doit () from /lib64/libdl.so.2
#7  0x00007ffff7de9a26 in _dl_catch_error () from
/lib64/ld-linux-x86-64.so.2
#8  0x00007ffff539f78c in _dlerror_run () from /lib64/libdl.so.2
#9  0x00007ffff539f281 in dlopen () from /lib64/libdl.so.2
#10 0x00007ffff6546ac5 in QLibraryPrivate::load_sys() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
#11 0x00007ffff653fd94 in QLibraryPrivate::load() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
#12 0x00007ffff6540aad in QLibraryPrivate::loadPlugin() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
#13 0x00007ffff65397fd in QFactoryLoader::instance(QString const&) const ()
from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
#14 0x00007ffff6f025bc in createReadHandlerHelper(QIODevice*, QByteArray
const&, bool, bool) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#15 0x00007ffff6f03f24 in QImageReaderPrivate::initHandler() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#16 0x00007ffff6f056b0 in QImageReader::read(QImage*) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#17 0x00007ffff6f058ac in QImageReader::read() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#18 0x00007ffff6f1b4bc in QPixmapData::fromFile(QString const&, char
const*, QFlags<Qt::ImageConversionFlag>) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#19 0x00007ffff6f164a5 in QPixmap::load(QString const&, char const*,
QFlags<Qt::ImageConversionFlag>) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#20 0x00007ffff6f16917 in QPixmap::QPixmap(QString const&, char const*,
QFlags<Qt::ImageConversionFlag>) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#21 0x00007ffff71a1e52 in
QRenderRule::QRenderRule(QVector<QCss::Declaration> const&, QWidget const*)
() from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#22 0x00007ffff71aae9d in QStyleSheetStyle::renderRule(QWidget const*, int,
unsigned long long) const () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#23 0x00007ffff71ac673 in QStyleSheetStyle::renderRule(QWidget const*,
QStyleOption const*, int) const () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#24 0x00007ffff71b6c57 in QStyleSheetStyle::styleHint(QStyle::StyleHint,
QStyleOption const*, QWidget const*, QStyleHintReturn*) const () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#25 0x00007ffff7307c17 in QToolButton::changeEvent(QEvent*) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#26 0x00007ffff6e82a75 in QWidget::event(QEvent*) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#27 0x00007ffff6e2a5dc in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#28 0x00007ffff6e3150d in QApplication::notify(QObject*, QEvent*) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#29 0x00007ffff655600c in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
#30 0x00007ffff6e887a3 in QWidgetPrivate::setStyle_helper(QStyle*, bool,
bool) () from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
#31 0x00007fffec4ff95c in ?? () from
/home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
#32 0x00007fffec4ffa37 in ?? () from
/home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
#33 0x00007fffec5005fc in ?? () from
/home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
#34 0x00007fffec44e768 in ?? () from
/home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
#35 0x00007fffec4b98ee in ?? () from
/home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
#36 0x00007fffec4b99bd in qt_plugin_instance () from
/home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
#37 0x00007ffff6538272 in QPluginLoader::instance() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
#38 0x00007ffff7bc3490 in
ExtensionSystem::Internal::PluginSpecPrivate::loadLibrary() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libExtensionSystem.so.1
#39 0x00007ffff7bbf335 in
ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*,
ExtensionSystem::PluginSpec::State) () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libExtensionSystem.so.1
#40 0x00007ffff7bbf5cf in
ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins() () from
/home/stijn/SailfishOS/bin/../lib/qtcreator/libExtensionSystem.so.1
#41 0x000000000040eb85 in ?? ()
#42 0x00007ffff55c6c45 in __libc_start_main () from /lib64/libc.so.6
#43 0x0000000000406fd9 in ?? ()
#44 0x00007fffffffd6c8 in ?? ()
#45 0x0000000000000000 in ?? ()
(gdb) stepi
0x00000000000a1d46 in ?? ()


With stepi:
0x00007ffff7de9be4 in call_init () from /lib64/ld-linux-x86-64.so.2
(gdb)
0x00007fffeb554a80 in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb554a84 in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb554a8d in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb554a92 in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb554a94 in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb554a99 in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb554aa2 in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb554aa4 in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb554aab in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb554aae in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb554ab0 in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb554ab2 in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb554ab4 in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb554ab8 in _GLOBAL__sub_I_kdatetime.cpp () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00007fffeb54bd40 in QTime::QTime(int, int, int, int)@plt () from
/usr/lib64/libkdecore.so.5
(gdb)
0x00000000000a1d46 in ?? ()

My guess is that this is the construction of:

QTime <http://doc.trolltech.com/4.6/qtime.html> KDateTimePrivate::sod(0,0,0);

in
http://api.kde.org/4.0-api/kdelibs-apidocs/kdecore/html/kdatetime_8cpp_source.html

Some extra info:
(gdb) disas 0x00007fffeb554a80
Dump of assembler code for function _GLOBAL__sub_I_kdatetime.cpp:
   0x00007fffeb554a80 <+0>:     sub    $0x18,%rsp
   0x00007fffeb554a84 <+4>:     mov    %fs:0x28,%rax
   0x00007fffeb554a8d <+13>:    mov    %rax,0x8(%rsp)
   0x00007fffeb554a92 <+18>:    xor    %eax,%eax
   0x00007fffeb554a94 <+20>:    mov    0x8(%rsp),%rax
   0x00007fffeb554a99 <+25>:    xor    %fs:0x28,%rax
   0x00007fffeb554aa2 <+34>:    jne    0x7fffeb554abd
<_GLOBAL__sub_I_kdatetime.cpp+61>
   0x00007fffeb554aa4 <+36>:    lea    0x47798d(%rip),%rdi        #
0x7fffeb9cc438 <_ZN16KDateTimePrivate3sodE>
   0x00007fffeb554aab <+43>:    xor    %r8d,%r8d
   0x00007fffeb554aae <+46>:    xor    %ecx,%ecx
   0x00007fffeb554ab0 <+48>:    xor    %edx,%edx
   0x00007fffeb554ab2 <+50>:    xor    %esi,%esi
   0x00007fffeb554ab4 <+52>:    add    $0x18,%rsp
   0x00007fffeb554ab8 <+56>:    jmpq   0x7fffeb54bd40 <_ZN5QTimeC1Eiiii at plt>
   0x00007fffeb554abd <+61>:    callq  0x7fffeb54fc50 <__stack_chk_fail at plt>
End of assembler dump.
(gdb) disas 0x00007fffeb54bd40
Dump of assembler code for function _ZN5QTimeC1Eiiii at plt:
   0x00007fffeb54bd40 <+0>:     jmpq   *0x47a40a(%rip)        #
0x7fffeb9c6150
   0x00007fffeb54bd46 <+6>:     pushq  $0x1d2
   0x00007fffeb54bd4b <+11>:    jmpq   0x7fffeb54a010
End of assembler dump.
(gdb) x/64 0x00007fffeb9c6150
0x7fffeb9c6150: 0xa1d46 0x0     0xa1d56 0x0
0x7fffeb9c6160: 0xa1d66 0x0     0xa1d76 0x0
0x7fffeb9c6170: 0xa1d86 0x0     0xa1d96 0x0
0x7fffeb9c6180: 0xa1da6 0x0     0xa1db6 0x0
0x7fffeb9c6190: 0xa1dc6 0x0     0xa1dd6 0x0
0x7fffeb9c61a0: 0xa1de6 0x0     0xa1df6 0x0
0x7fffeb9c61b0: 0xa1e06 0x0     0xa1e16 0x0
0x7fffeb9c61c0: 0xa1e26 0x0     0xa1e36 0x0
0x7fffeb9c61d0: 0xa1e46 0x0     0xa1e56 0x0
0x7fffeb9c61e0: 0xa1e66 0x0     0xa1e76 0x0
0x7fffeb9c61f0: 0xa1e86 0x0     0xa1e96 0x0
0x7fffeb9c6200: 0xa1ea6 0x0     0xa1eb6 0x0
0x7fffeb9c6210: 0xa1ec6 0x0     0xa1ed6 0x0
0x7fffeb9c6220: 0xa1ee6 0x0     0xa1ef6 0x0
0x7fffeb9c6230: 0xa1f06 0x0     0xa1f16 0x0
0x7fffeb9c6240: 0xa1f26 0x0     0xa1f36 0x0


So this looks like a linker issue...?
Unfortunately my x86 knowledge is a bit lacking here...

During debugging I saw plenty of QTime constructors passing by - so it's
definitely
not an issue with the QTime-supplying library itself...

Regards,
Stijn


On Wed, Jul 16, 2014 at 10:48 PM, Stijn Devriendt <highguy at gmail.com> wrote:

> Hi Juha,
>
> I just had a look at the backtrace (apparently some of the libs aren't
> (completely) stripped):
>
> #0  0x00000000000a1d46 in ?? ()
> #1  0x00007f5e4944abe6 in call_init () from /lib64/ld-linux-x86-64.so.2
> #2  0x00007f5e4944acca in _dl_init_internal () from
> /lib64/ld-linux-x86-64.so.2
> #3  0x00007f5e4944ed99 in dl_open_worker () from
> /lib64/ld-linux-x86-64.so.2
> #4  0x00007f5e4944aa26 in _dl_catch_error () from
> /lib64/ld-linux-x86-64.so.2
> #5  0x00007f5e4944e5d9 in _dl_open () from /lib64/ld-linux-x86-64.so.2
> #6  0x00007f5e46a001e6 in dlopen_doit () from /lib64/libdl.so.2
> #7  0x00007f5e4944aa26 in _dl_catch_error () from
> /lib64/ld-linux-x86-64.so.2
> #8  0x00007f5e46a0078c in _dlerror_run () from /lib64/libdl.so.2
> #9  0x00007f5e46a00281 in dlopen () from /lib64/libdl.so.2
> #10 0x00007f5e47ba7ac5 in QLibraryPrivate::load_sys() () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
> #11 0x00007f5e47ba0d94 in QLibraryPrivate::load() () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
> #12 0x00007f5e47ba1aad in QLibraryPrivate::loadPlugin() () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
> #13 0x00007f5e47b9a7fd in QFactoryLoader::instance(QString const&) const
> () from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
> #14 0x00007f5e485635bc in createReadHandlerHelper(QIODevice*, QByteArray
> const&, bool, bool) () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #15 0x00007f5e48564f24 in QImageReaderPrivate::initHandler() () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #16 0x00007f5e485666b0 in QImageReader::read(QImage*) () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #17 0x00007f5e485668ac in QImageReader::read() () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #18 0x00007f5e4857c4bc in QPixmapData::fromFile(QString const&, char
> const*, QFlags<Qt::ImageConversionFlag>) () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #19 0x00007f5e485774a5 in QPixmap::load(QString const&, char const*,
> QFlags<Qt::ImageConversionFlag>) () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #20 0x00007f5e48577917 in QPixmap::QPixmap(QString const&, char const*,
> QFlags<Qt::ImageConversionFlag>) () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #21 0x00007f5e48802e52 in
> QRenderRule::QRenderRule(QVector<QCss::Declaration> const&, QWidget const*)
> () from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #22 0x00007f5e4880be9d in QStyleSheetStyle::renderRule(QWidget const*,
> int, unsigned long long) const () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #23 0x00007f5e4880d673 in QStyleSheetStyle::renderRule(QWidget const*,
> QStyleOption const*, int) const () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #24 0x00007f5e48817c57 in QStyleSheetStyle::styleHint(QStyle::StyleHint,
> QStyleOption const*, QWidget const*, QStyleHintReturn*) const () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #25 0x00007f5e48968c17 in QToolButton::changeEvent(QEvent*) () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #26 0x00007f5e484e3a75 in QWidget::event(QEvent*) () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #27 0x00007f5e4848b5dc in QApplicationPrivate::notify_helper(QObject*,
> QEvent*) () from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #28 0x00007f5e4849250d in QApplication::notify(QObject*, QEvent*) () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #29 0x00007f5e47bb700c in QCoreApplication::notifyInternal(QObject*,
> QEvent*) () from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
> #30 0x00007f5e484e97a3 in QWidgetPrivate::setStyle_helper(QStyle*, bool,
> bool) () from /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> #31 0x00007f5e3ccd195c in ?? () from
> /home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
> #32 0x00007f5e3ccd1a37 in ?? () from
> /home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
> #33 0x00007f5e3ccd25fc in ?? () from
> /home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
> #34 0x00007f5e3cc20768 in ?? () from
> /home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
> #35 0x00007f5e3cc8b8ee in ?? () from
> /home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
> #36 0x00007f5e3cc8b9bd in qt_plugin_instance () from
> /home/stijn/SailfishOS/lib/qtcreator/plugins/QtProject/libCore.so
> #37 0x00007f5e47b99272 in QPluginLoader::instance() () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
> #38 0x00007f5e49224490 in
> ExtensionSystem::Internal::PluginSpecPrivate::loadLibrary() () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libExtensionSystem.so.1
> #39 0x00007f5e49220335 in
> ExtensionSystem::Internal::PluginManagerPrivate::loadPlugin(ExtensionSystem::PluginSpec*,
> ExtensionSystem::PluginSpec::State) () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libExtensionSystem.so.1
> #40 0x00007f5e492205cf in
> ExtensionSystem::Internal::PluginManagerPrivate::loadPlugins() () from
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libExtensionSystem.so.1
> #41 0x000000000040eb85 in ?? ()
> #42 0x00007f5e46c27c45 in __libc_start_main () from /lib64/libc.so.6
> #43 0x0000000000406fd9 in ?? ()
> #44 0x00007fffd6ced288 in ?? ()
> #45 0x0000000000000000 in ?? ()
>
> So it looks like it's trying to load a plugin to read a particular image
> format when applying QT styling.
> I tried changing KDE style, but that didn't help.
>
> Using LD_DEBUG I found that it's loading kimg_dds.so and crashes when
> running libkdecore.so.5's init function...
>
>      32426:     file=/usr/lib64/kde4/plugins/imageformats/kimg_dds.so [0];
>  dynamically loaded by
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4 [0]
>      32426:     file=/usr/lib64/kde4/plugins/imageformats/kimg_dds.so [0];
>  generating link map
>      32426:       dynamic: 0x00007fe7d63c5b58  base: 0x00007fe7d61be000
> size: 0x0000000000208030
>      32426:         entry: 0x00007fe7d61c0a90  phdr: 0x00007fe7d61be040
>  phnum:                  7
>      32426:
>      32426:     checking for version `GLIBC_2.2.5' in file
> /lib64/libm.so.6 [0] required by file
> /usr/lib64/kde4/plugins/imageformats/kimg_dds.so [0]
>      32426:     checking for version `GCC_3.0' in file
> /lib64/libgcc_s.so.1 [0] required by file
> /usr/lib64/kde4/plugins/imageformats/kimg_dds.so [0]
>      32426:     checking for version `GLIBC_2.4' in file /lib64/libc.so.6
> [0] required by file /usr/lib64/kde4/plugins/imageformats/kimg_dds.so [0]
>      32426:     checking for version `GLIBC_2.14' in file /lib64/libc.so.6
> [0] required by file /usr/lib64/kde4/plugins/imageformats/kimg_dds.so [0]
>      32426:     checking for version `GLIBC_2.2.5' in file
> /lib64/libc.so.6 [0] required by file
> /usr/lib64/kde4/plugins/imageformats/kimg_dds.so [0]
>      32426:     checking for version `GLIBCXX_3.4' in file
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6 [0] required by file
> /usr/lib64/kde4/plugins/imageformats/kimg_dds.so [0]
>      32426:     checking for version `CXXABI_1.3' in file
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6 [0] required by file
> /usr/lib64/kde4/plugins/imageformats/kimg_dds.so [0]
>      32426:     object=/usr/lib64/kde4/plugins/imageformats/kimg_dds.so [0]
>      32426:      scope 0: ./qtcreator
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libExtensionSystem.so.1
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libAggregation.so.1
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtNetwork.so.4
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
> /lib64/libpthread.so.0
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6 /lib64/libm.so.6
> /lib64/libgcc_s.so.1 /lib64/libc.so.6 /lib64/libdl.so.2
> /usr/lib64/libgthread-2.0.so.0 /lib64/librt.so.1
> /usr/lib64/libglib-2.0.so.0 /usr/lib64/libfreetype.so.6
> /usr/lib64/libgobject-2.0.so.0 /usr/lib64/libSM.so.6 /usr/lib64/libICE.so.6
> /usr/lib64/libXrender.so.1 /usr/lib64/libfontconfig.so.1
> /usr/lib64/libXext.so.6 /usr/lib64/libX11.so.6 /lib64/ld-linux-x86-64.so.2
> /lib64/libz.so.1 /lib64/libbz2.so.1 /usr/lib64/libpng16.so.16
> /usr/lib64/libffi.so.6 /lib64/libuuid.so.1 /usr/lib64/libbsd.so.0
> /usr/lib64/libexpat.so.1 /usr/lib64/libxcb.so.1 /usr/lib64/libXau.so.6
> /usr/lib64/libXdmcp.so.6
>      32426:      scope 1: /usr/lib64/kde4/plugins/imageformats/kimg_dds.so
> /usr/lib64/libkdecore.so.5
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6 /lib64/libm.so.6
> /lib64/libc.so.6 /lib64/libgcc_s.so.1 /lib64/libpthread.so.0
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtNetwork.so.4
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtDBus.so.4 /lib64/libz.so.1
> /lib64/libbz2.so.1 /usr/lib64/libfam.so.0 /usr/lib64/libgthread-2.0.so.0
> /lib64/librt.so.1 /usr/lib64/libglib-2.0.so.0 /usr/lib64/libfreetype.so.6
> /usr/lib64/libgobject-2.0.so.0 /usr/lib64/libSM.so.6 /usr/lib64/libICE.so.6
> /usr/lib64/libXrender.so.1 /usr/lib64/libfontconfig.so.1
> /usr/lib64/libXext.so.6 /usr/lib64/libX11.so.6 /lib64/libdl.so.2
> /lib64/ld-linux-x86-64.so.2
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtXml.so.4
> /usr/lib64/libpng16.so.16 /usr/lib64/libffi.so.6 /lib64/libuuid.so.1
> /usr/lib64/libbsd.so.0 /usr/lib64/libexpat.so.1 /usr/lib64/libxcb.so.1
> /usr/lib64/libXau.so.6 /usr/lib64/libXdmcp.so.6
>      32426:
>      32426:
>      32426:     relocation processing:
> /usr/lib64/kde4/plugins/imageformats/kimg_dds.so
>      32426:     symbol=_ZTVN10__cxxabiv120__si_class_type_infoE;  lookup
> in file=./qtcreator [0]
>      32426:     binding file
> /usr/lib64/kde4/plugins/imageformats/kimg_dds.so [0] to ./qtcreator [0]:
> normal symbol `_ZTVN10__cxxabiv120__si_class_type_infoE' [CXXABI_1.3]
>      32426:     symbol=_ZTI15QImageIOHandler;  lookup in file=./qtcreator
> [0]
> ... (don't mind PID changing here - multiple runs)...
>      32400:
>      32400:
>      32400:     calling init: /usr/lib64/libfam.so.0
>      32400:
>      32400:
>      32400:     calling init:
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtDBus.so.4
>      32400:
>      32400:     symbol=__cxa_atexit;  lookup in file=./qtcreator [0]
>      32400:     symbol=__cxa_atexit;  lookup in
> file=/home/stijn/SailfishOS/bin/../lib/qtcreator/libExtensionSystem.so.1 [0]
>      32400:     symbol=__cxa_atexit;  lookup in
> file=/home/stijn/SailfishOS/bin/../lib/qtcreator/libAggregation.so.1 [0]
>      32400:     symbol=__cxa_atexit;  lookup in
> file=/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtGui.so.4 [0]
>      32400:     symbol=__cxa_atexit;  lookup in
> file=/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtNetwork.so.4 [0]
>      32400:     symbol=__cxa_atexit;  lookup in
> file=/home/stijn/SailfishOS/bin/../lib/qtcreator/libQtCore.so.4 [0]
>      32400:     symbol=__cxa_atexit;  lookup in
> file=/lib64/libpthread.so.0 [0]
>      32400:     symbol=__cxa_atexit;  lookup in
> file=/usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/libstdc++.so.6 [0]
>      32400:     symbol=__cxa_atexit;  lookup in file=/lib64/libm.so.6 [0]
>      32400:     symbol=__cxa_atexit;  lookup in file=/lib64/libgcc_s.so.1
> [0]
>      32400:     symbol=__cxa_atexit;  lookup in file=/lib64/libc.so.6 [0]
>      32400:     binding file
> /home/stijn/SailfishOS/bin/../lib/qtcreator/libQtDBus.so.4 [0] to
> /lib64/libc.so.6 [0]: normal symbol `__cxa_atexit' [GLIBC_2.2.5]
>      32400:
>      32400:     calling init: /usr/lib64/libkdecore.so.5
>      32400:
>
> I'll look a bit further if this is a known KDE problem.
>
> Thanks,
> Stijn
>
>
>
> On Wed, Jul 16, 2014 at 10:18 PM, Juha Kallioinen <
> juha.kallioinen at jolla.com> wrote:
>
>>  Hi,
>>
>>  thanks for the logs! I'll check them tomorrow.
>>
>>  We don't ship debug symbols for the installer binaries anywhere, sorry.
>>
>>  If you want to build your own qt creator, its sources are here (master
>> branch)
>>
>>  https://github.com/sailfish-sdk/sailfish-qtcreator
>>
>>  Here are the build scripts used to build it (buildqtc.sh). The readme
>> lists required build deps in the old linux environment.
>>
>>  https://github.com/sailfish-sdk/sdk-build-tools
>>
>>  If you choose to build your own version, specify the variant with the
>> buildqtc.sh script option -v SailfishAlpha4 so that it uses the same
>> configuration directory as the one from the installer.
>>
>>  I'm leaving on my summer vacation on Friday, so I won't be around for
>> about a month to debug this :-)
>>
>>  Best regards,
>>  Juha
>>
>>  ------------------------------
>> *From:* Stijn Devriendt [highguy at gmail.com]
>> *Sent:* Wednesday, July 16, 2014 10:50 PM
>> *To:* Juha Kallioinen
>> *Subject:* Re: [SailfishDevel] Fwd: QtCreator issues
>>
>>   Hi Juha,
>>
>>  Please find the coredump and strace output attached.
>> This is the first version I'm trying at all.
>> The Sabayon variant is KDE-based (4.13).
>>
>>  I do embedded Linux during the dayjob; I'm familiar
>> with debugging and stuff so I should be fine if you need
>> me to do some advanced stuff.
>>
>>  Does Jolla ship debug symbols for the tools somewhere?
>>
>>  Thanks,
>> Stijn
>>
>>
>>
>> On Wed, Jul 16, 2014 at 9:26 PM, Juha Kallioinen <
>> juha.kallioinen at jolla.com> wrote:
>>
>>>  Hi,
>>>
>>>  sorry to hear that.
>>>
>>>  Did the previous version 1406 or some earlier version work for you in
>>> the same host?
>>>
>>>  Please send core dump to me and if you could also provide an strace
>>> log of starting Qt Creator:
>>>
>>>  $ strace -o output.log -s 512 installdir/bin/qtcreator
>>>
>>>  Also please mention which Sabayon variant do you use, gnome/kde/xfce?
>>>
>>>  Best regards,
>>>  Juha
>>>
>>>  ------------------------------
>>> *From:* devel-bounces at lists.sailfishos.org [
>>> devel-bounces at lists.sailfishos.org] on behalf of Stijn Devriendt [
>>> highguy at gmail.com]
>>> *Sent:* Wednesday, July 16, 2014 7:50 PM
>>> *To:* devel at lists.sailfishos.org
>>> *Subject:* [SailfishDevel] Fwd: QtCreator issues
>>>
>>>     Hi,
>>>
>>>  I'm having segfaults when starting the Qt Creator from the July SDK:
>>> kernel: qtcreator[3217]: segfault at a1d46 ip 00000000000a1d46 sp
>>> 00007fff634493e8 error 14 in qtcreator[400000+13000]
>>>
>>>  Issue is reproducible; OS is the latest Sabayon Linux 64bit.
>>> I can send coredump on request.
>>>
>>>  Let me know if I can be of further assistance.
>>>
>>>  Regards,
>>> Stijn
>>>
>>> _______________________________________________
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to
>>> devel-unsubscribe at lists.sailfishos.org
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140716/34399289/attachment-0001.html>


More information about the Devel mailing list