This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Unable to start KDE after scripted build

Tags: None
(comma "," separated)
Tupla
Registered Member
Posts
47
Karma
0
OS
Hello everybody,
First of all sorry if this is the wrong section, it seemed to me the most related to the problem that I have.
As the title says I have built KDE using the kdesrc-build script for a separate user. I managed to fix all the compilation/installation errors and the script finished successfully, but still I have trouble in starting the new (and unstable) KDE.
I'm trying to use the alternative method to start KDE (don't know how to make the installation of xsession in kdesrc-build work), thus I'm creating a .xsession file with the initialization of environment variables and the execution of the proper startkde executable.
I run it by going into a login terminal with ctrl+alt+f1 and doing "startx -- :1", and here comes the problem. The new display is successfully started, but during the loading phase of KDE a window saying "Could not start kdeinit4. Check your installation" appears, and the screen goes back to the console.
These are the last lines of my .xsession-errors:
Code: Select all
Xsession: X session started for kde-devel at sab  6 lug 2013, 15.02.22, CEST
localuser:kde-devel being added to access control list
Script for cjkv started at run_im.
Script for default started at run_im.
Script for cjkv started at run_im.
Script for default started at run_im.
startkde: Starting up...
Aborted (core dumped)
startkde: Could not start kdeinit4. Check your installation.

I don't have any idea of what may cause the problem, and also how to get further debug/logging output for a more useful report of the problem. I'd really appreciate If you could point me in some direction :)
Thanks!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
A kdeinit4 crash is quite unusual. Can you load the *.core file in gdb and generate a backtrace, and post that here?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Tupla
Registered Member
Posts
47
Karma
0
OS
Thanks, this is the output of "gdb -c core"
GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
[New LWP 5074]

warning: no loadable sections found in added symbol-file system-supplied DSO at 0x7fffc45e5000
Core was generated by `/home/kde-devel/kde/bin/kdeinit4 --oom-pipe 4 +kcminit_startup'.
Program terminated with signal 6, Aborted.
#0 0x00007f95a9c98037 in ?? ()

Not very much info compared to xsession-errors, though.
I think I will try to re-run the script and install everything in debugfull mode, to see if the core file is more meaningful...
Tupla
Registered Member
Posts
47
Karma
0
OS
Ok, I tried to start konsole from ssh with X forwarding and got more output relative to kdeinit4 error, with a backtrace:
Code: Select all
kde-devel@rick-desktop:~$ konsole
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QObject::connect: Connecting from QTabBar::tabCloseRequested(int) to COMPAT slot (KTabBar::closeRequest(int))
kde-devel@rick-desktop:~$ *** Error in `/home/kde-devel/kde/bin/kdeinit4': realloc(): invalid pointer: 0x00000000006106a0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7f576)[0x7fc8d5c10576]
/lib/x86_64-linux-gnu/libc.so.6(realloc+0x300)[0x7fc8d5c14da0]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN9QListData7reallocEi+0x26)[0x7fc8d1c0ab86]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_ZN9QListData6appendEi+0x67)[0x7fc8d1c0ac47]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x17dbec)[0x7fc8d1cd7bec]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(_Z21qRegisterResourceDataiPKhS0_S0_+0x116)[0x7fc8d1cd4b16]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x28c433)[0x7fc8d1de6433]
/usr/lib/x86_64-linux-gnu/libQt5Core.so.5(+0x6be39)[0x7fc8d1bc5e39]
/lib64/ld-linux-x86-64.so.2(+0xf876)[0x7fc8d8a68876]
/lib64/ld-linux-x86-64.so.2(+0xf930)[0x7fc8d8a68930]
/lib64/ld-linux-x86-64.so.2(+0x168a)[0x7fc8d8a5a68a]
======= Memory map: ========
00400000-00410000 r-xp 00000000 08:06 19936392                           /home/kde-devel/kde/bin/kdeinit4
0060f000-00610000 r--p 0000f000 08:06 19936392                           /home/kde-devel/kde/bin/kdeinit4
00610000-00611000 rw-p 00010000 08:06 19936392                           /home/kde-devel/kde/bin/kdeinit4
00611000-00613000 rw-p 00000000 00:00 0
0210e000-0212f000 rw-p 00000000 00:00 0                                  [heap]
7fc8cf510000-7fc8d067f000 r-xp 00000000 08:05 531907                     /usr/lib/x86_64-linux-gnu/libicudata.so.48.1.1
7fc8d067f000-7fc8d087e000 ---p 0116f000 08:05 531907                     /usr/lib/x86_64-linux-gnu/libicudata.so.48.1.1
7fc8d087e000-7fc8d087f000 r--p 0116e000 08:05 531907                     /usr/lib/x86_64-linux-gnu/libicudata.so.48.1.1
7fc8d087f000-7fc8d0880000 rw-p 0116f000 08:05 531907                     /usr/lib/x86_64-linux-gnu/libicudata.so.48.1.1
7fc8d0880000-7fc8d09d6000 r-xp 00000000 08:05 531921                     /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
7fc8d09d6000-7fc8d0bd5000 ---p 00156000 08:05 531921                     /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
7fc8d0bd5000-7fc8d0be6000 r--p 00155000 08:05 531921                     /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
7fc8d0be6000-7fc8d0be7000 rw-p 00166000 08:05 531921                     /usr/lib/x86_64-linux-gnu/libicuuc.so.48.1.1
7fc8d0be7000-7fc8d0beb000 rw-p 00000000 00:00 0
7fc8d0beb000-7fc8d0da4000 r-xp 00000000 08:05 531909                     /usr/lib/x86_64-linux-gnu/libicui18n.so.48.1.1
7fc8d0da4000-7fc8d0fa3000 ---p 001b9000 08:05 531909                     /usr/lib/x86_64-linux-gnu/libicui18n.so.48.1.1
7fc8d0fa3000-7fc8d0fb0000 r--p 001b8000 08:05 531909                     /usr/lib/x86_64-linux-gnu/libicui18n.so.48.1.1
7fc8d0fb0000-7fc8d0fb1000 rw-p 001c5000 08:05 531909                     /usr/lib/x86_64-linux-gnu/libicui18n.so.48.1.1
7fc8d0fb1000-7fc8d0fd7000 r-xp 00000000 08:05 918058                     /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7fc8d0fd7000-7fc8d11d7000 ---p 00026000 08:05 918058                     /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7fc8d11d7000-7fc8d11d9000 r--p 00026000 08:05 918058                     /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7fc8d11d9000-7fc8d11da000 rw-p 00028000 08:05 918058                     /lib/x86_64-linux-gnu/libexpat.so.1.6.0
7fc8d11da000-7fc8d1217000 r-xp 00000000 08:05 918133                     /lib/x86_64-linux-gnu/libpcre.so.3.13.1
7fc8d1217000-7fc8d1417000 ---p 0003d000 08:05 918133                     /lib/x86_64-linux-gnu/libpcre.so.3.13.1
7fc8d1417000-7fc8d1418000 r--p 0003d000 08:05 918133                     /lib/x86_64-linux-gnu/libpcre.so.3.13.1
7fc8d1418000-7fc8d1419000 rw-p 0003e000 08:05 918133                     /lib/x86_64-linux-gnu/libpcre.so.3.13.1
7fc8d1419000-7fc8d141e000 r-xp 00000000 08:05 531542                     /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7fc8d141e000-7fc8d161d000 ---p 00005000 08:05 531542                     /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7fc8d161d000-7fc8d161e000 r--p 00004000 08:05 531542                     /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7fc8d161e000-7fc8d161f000 rw-p 00005000 08:05 531542                     /usr/lib/x86_64-linux-gnu/libXdmcp.so.6.0.0
7fc8d161f000-7fc8d1621000 r-xp 00000000 08:05 531531                     /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7fc8d1621000-7fc8d1821000 ---p 00002000 08:05 531531                     /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7fc8d1821000-7fc8d1822000 r--p 00002000 08:05 531531                     /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7fc8d1822000-7fc8d1823000 rw-p 00003000 08:05 531531                     /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0
7fc8d1823000-7fc8d1952000 r-xp 00000000 08:05 542421                     /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.0.1
7fc8d1952000-7fc8d1b52000 ---p 0012f000 08:05 542421                     /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.0.1
7fc8d1b52000-7fc8d1b58000 r--p 0012f000 08:05 542421                     /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.0.1
7fc8d1b58000-7fc8d1b5a000 rw-p 00135000 08:05 542421                     /usr/lib/x86_64-linux-gnu/libQt5Network.so.5.0.1
7fc8d1b5a000-7fc8d1f62000 r-xp 00000000 08:05 542378                     /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.0.1
7fc8d1f62000-7fc8d2161000 ---p 00408000 08:05 542378                     /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.0.1
7fc8d2161000-7fc8d216b000 r--p 00407000 08:05 542378                     /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.0.1
7fc8d216b000-7fc8d216c000 rw-p 00411000 08:05 542378                     /usr/lib/x86_64-linux-gnu/libQt5Core.so.5.0.1
7fc8d216c000-7fc8d216e000 rw-p 00000000 00:00 0
7fc8d216e000-7fc8d2172000 r-xp 00000000 08:05 918184                     /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7fc8d2172000-7fc8d2371000 ---p 00004000 08:05 918184                     /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7fc8d2371000-7fc8d2372000 r--p 00003000 08:05 918184                     /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7fc8d2372000-7fc8d2373000 rw-p 00004000 08:05 918184                     /lib/x86_64-linux-gnu/libuuid.so.1.3.0
7fc8d2373000-7fc8d2384000 r-xp 00000000 08:05 531528                     /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7fc8d2384000-7fc8d2583000 ---p 00011000 08:05 531528                     /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7fc8d2583000-7fc8d2584000 r--p 00010000 08:05 531528                     /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7fc8d2584000-7fc8d2585000 rw-p 00011000 08:05 531528                     /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0
7fc8d2585000-7fc8d25bc000 r-xp 00000000 08:05 531735                     /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7fc8d25bc000-7fc8d27bc000 ---p 00037000 08:05 531735                     /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7fc8d27bc000-7fc8d27bd000 r--p 00037000 08:05 531735                     /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7fc8d27bd000-7fc8d27be000 rw-p 00038000 08:05 531735                     /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.6.2
7fc8d27be000-7fc8d27bf000 rw-p 00000000 00:00 0
7fc8d27bf000-7fc8d2856000 r-xp 00000000 08:05 531745                     /usr/lib/x86_64-linux-gnu/libfreetype.so.6.10.0
7fc8d2856000-7fc8d2a55000 ---p 00097000 08:05 531745                     /usr/lib/x86_64-linux-gnu/libfreetype.so.6.10.0
7fc8d2a55000-7fc8d2a5b000 r--p 00096000 08:05 531745                     /usr/lib/x86_64-linux-gnu/libfreetype.so.6.10.0
7fc8d2a5b000-7fc8d2a5c000 rw-p 0009c000 08:05 531745                     /usr/lib/x86_64-linux-gnu/libfreetype.so.6.10.0
7fc8d2a5c000-7fc8d2a81000 r-xp 00000000 08:05 918145                     /lib/x86_64-linux-gnu/libpng12.so.0.49.0
7fc8d2a81000-7fc8d2c80000 ---p 00025000 08:05 918145                     /lib/x86_64-linux-gnu/libpng12.so.0.49.0
7fc8d2c80000-7fc8d2c81000 r--p 00024000 08:05 918145                     /lib/x86_64-linux-gnu/libpng12.so.0.49.0
7fc8d2c81000-7fc8d2c82000 rw-p 00025000 08:05 918145                     /lib/x86_64-linux-gnu/libpng12.so.0.49.0
7fc8d2c82000-7fc8d2c89000 r-xp 00000000 08:05 918158                     /lib/x86_64-linux-gnu/librt-2.17.so
7fc8d2c89000-7fc8d2e88000 ---p 00007000 08:05 918158                     /lib/x86_64-linux-gnu/librt-2.17.so
7fc8d2e88000-7fc8d2e89000 r--p 00006000 08:05 918158                     /lib/x86_64-linux-gnu/librt-2.17.so
7fc8d2e89000-7fc8d2e8a000 rw-p 00007000 08:05 918158                     /lib/x86_64-linux-gnu/librt-2.17.so
7fc8d2e8a000-7fc8d2f83000 r-xp 00000000 08:05 918067                     /lib/x86_64-linux-gnu/libglib-2.0.so.0.3600.0
7fc8d2f83000-7fc8d3183000 ---p 000f9000 08:05 918067                     /lib/x86_64-linux-gnu/libglib-2.0.so.0.3600.0
7fc8d3183000-7fc8d3184000 r--p 000f9000 08:05 918067                     /lib/x86_64-linux-gnu/libglib-2.0.so.0.3600.0
7fc8d3184000-7fc8d3185000 rw-p 000fa000 08:05 918067                     /lib/x86_64-linux-gnu/libglib-2.0.so.0.3600.0
7fc8d3185000-7fc8d3186000 rw-p 00000000 00:00 0
7fc8d3186000-7fc8d319a000 r-xp 00000000 08:05 918063                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc8d319a000-7fc8d339a000 ---p 00014000 08:05 918063                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc8d339a000-7fc8d339b000 r--p 00014000 08:05 918063                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc8d339b000-7fc8d339c000 rw-p 00015000 08:05 918063                     /lib/x86_64-linux-gnu/libgcc_s.so.1
7fc8d339c000-7fc8d33ab000 r-xp 00000000 08:05 918037                     /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7fc8d33ab000-7fc8d35aa000 ---p 0000f000 08:05 918037                     /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7fc8d35aa000-7fc8d35ab000 r--p 0000e000 08:05 918037                     /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7fc8d35ab000-7fc8d35ac000 rw-p 0000f000 08:05 918037                     /lib/x86_64-linux-gnu/libbz2.so.1.0.4
7fc8d35ac000-7fc8d35c2000 r-xp 00000000 08:05 918189                     /lib/x86_64-linux-gnu/libz.so.1.2.7
7fc8d35c2000-7fc8d37c1000 ---p 00016000 08:05 918189                     /lib/x86_64-linux-gnu/libz.so.1.2.7
7fc8d37c1000-7fc8d37c2000 r--p 00015000 08:05 918189                     /lib/x86_64-linux-gnu/libz.so.1.2.7
7fc8d37c2000-7fc8d37c3000 rw-p 00016000 08:05 918189                     /lib/x86_64-linux-gnu/libz.so.1.2.7
7fc8d37c3000-7fc8d37c6000 r-xp 00000000 08:05 918053                     /lib/x86_64-linux-gnu/libdl-2.17.so
7fc8d37c6000-7fc8d39c5000 ---p 00003000 08:05 918053                     /lib/x86_64-linux-gnu/libdl-2.17.so
7fc8d39c5000-7fc8d39c6000 r--p 00002000 08:05 918053                     /lib/x86_64-linux-gnu/libdl-2.17.so
7fc8d39c6000-7fc8d39c7000 rw-p 00003000 08:05 918053                     /lib/x86_64-linux-gnu/libdl-2.17.so
7fc8d39c7000-7fc8d39e4000 r-xp 00000000 08:05 531952                     /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7fc8d39e4000-7fc8d3be3000 ---p 0001d000 08:05 531952                     /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7fc8d3be3000-7fc8d3be4000 r--p 0001c000 08:05 531952                     /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7fc8d3be4000-7fc8d3be5000 rw-p 0001d000 08:05 531952                     /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0
7fc8d3be5000-7fc8d3ce8000 r-xp 00000000 08:05 918086                     /lib/x86_64-linux-gnu/libm-2.17.so
7fc8d3ce8000-7fc8d3ee8000 ---p 00103000 08:05 918086                     /lib/x86_64-linux-gnu/libm-2.17.so
7fc8d3ee8000-7fc8d3ee9000 r--p 00103000 08:05 918086                     /lib/x86_64-linux-gnu/libm-2.17.so
7fc8d3ee9000-7fc8d3eea000 rw-p 00104000 08:05 918086                     /lib/x86_64-linux-gnu/libm-2.17.so
7fc8d3eea000-7fc8d3f8c000 r-xp 00000000 08:06 19923494                   /home/kde-devel/qt4/lib/libQtDBus.so.4.8.5
7fc8d3f8c000-7fc8d418b000 ---p 000a2000 08:06 19923494                   /home/kde-devel/qt4/lib/libQtDBus.so.4.8.5
7fc8d418b000-7fc8d418d000 r--p 000a1000 08:06 19923494                   /home/kde-devel/qt4/lib/libQtDBus.so.4.8.5
7fc8d418d000-7fc8d418f000 rw-p 000a3000 08:06 19923494                   /home/kde-devel/qt4/lib/libQtDBus.so.4.8.5
7fc8d418f000-7fc8d4198000 r-xp 00000000 08:05 531512                     /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7fc8d4198000-7fc8d4397000 ---p 00009000 08:05 531512                     /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7fc8d4397000-7fc8d4398000 r--p 00008000 08:05 531512                     /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7fc8d4398000-7fc8d4399000 rw-p 00009000 08:05 531512                     /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0
7fc8d4399000-7fc8d439e000 r-xp 00000000 08:05 532218                     /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7fc8d439e000-7fc8d459d000 ---p 00005000 08:05 532218                     /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7fc8d459d000-7fc8d459e000 r--p 00004000 08:05 532218                     /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7fc8d459e000-7fc8d459f000 rw-p 00005000 08:05 532218                     /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0
7fc8d459f000-7fc8d45a8000 r-xp 00000000 08:05 532224                     /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7fc8d45a8000-7fc8d47a8000 ---p 00009000 08:05 532224                     /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7fc8d47a8000-7fc8d47a9000 r--p 00009000 08:05 532224                     /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7fc8d47a9000-7fc8d47aa000 rw-p 0000a000 08:05 532224                     /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2
7fc8d47aa000-7fc8d47af000 r-xp 00000000 08:05 531567                     /usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
7fc8d47af000-7fc8d49ae000 ---p 00005000 08:05 531567                     /usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
7fc8d49ae000-7fc8d49af000 r--p 00004000 08:05 531567                     /usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
7fc8d49af000-7fc8d49b0000 rw-p 00005000 08:05 531567                     /usr/lib/x86_64-linux-gnu/libXtst.so.6.1.0
7fc8d49b0000-7fc8d49e1000 r-xp 00000000 08:05 531679                     /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2.6.0
7fc8d49e1000-7fc8d4be1000 ---p 00031000 08:05 531679                     /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2.6.0
7fc8d4be1000-7fc8d4be2000 r--p 00031000 08:05 531679                     /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2.6.0
7fc8d4be2000-7fc8d4be3000 rw-p 00032000 08:05 531679                     /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2.6.0
7fc8d4be3000-7fc8d4c5d000 r-xp 00000000 08:06 19924350                   /home/kde-devel/qt4/lib/libQtSvg.so.4.8.5
7fc8d4c5d000-7fc8d4e5d000 ---p 0007a000 08:06 19924350                   /home/kde-devel/qt4/lib/libQtSvg.so.4.8.5
7fc8d4e5d000-7fc8d4e5f000 r--p 0007a000 08:06 19924350                   /home/kde-devel/qt4/lib/libQtSvg.so.4.8.5
7fc8d4e5f000-7fc8d4e61000 rw-p 0007c000 08:06 19924350                   /home/kde-devel/qt4/lib/libQtSvg.so.4.8.5
7fc8d4e61000-7fc8d4ff1000 r-xp 00000000 08:06 19941316                   /home/kde-devel/qt4/lib/libQtNetwork.so.4.8.5
7fc8d4ff1000-7fc8d51f1000 ---p 00190000 08:06 19941316                   /home/kde-devel/qt4/lib/libQtNetwork.so.4.8.5
7fc8d51f1000-7fc8d51f7000 r--p 00190000 08:06 19941316                   /home/kde-devel/qt4/lib/libQtNetwork.so.4.8.5
7fc8d51f7000-7fc8d51fa000 rw-p 00196000 08:06 19941316                   /home/kde-devel/qt4/lib/libQtNetwork.so.4.8.5
7fc8d51fa000-7fc8d51fb000 rw-p 00000000 00:00 0
7fc8d51fb000-7fc8d530c000 r-xp 00000000 08:06 20185111                   /home/kde-devel/kde/lib/x86_64-linux-gnu/libattica.so.1.0.0
7fc8d530c000-7fc8d550b000 ---p 00111000 08:06 20185111                   /home/kde-devel/kde/lib/x86_64-linux-gnu/libattica.so.1.0.0
7fc8d550b000-7fc8d550f000 r--p 00110000 08:06 20185111                   /home/kde-devel/kde/lib/x86_64-linux-gnu/libattica.so.1.0.0
7fc8d550f000-7fc8d5514000 rw-p 00114000 08:06 20185111                   /home/kde-devel/kde/lib/x86_64-linux-gnu/libattica.so.1.0.0
7fc8d5514000-7fc8d556a000 r-xp 00000000 08:06 19923325                   /home/kde-devel/qt4/lib/libQtXml.so.4.8.5
7fc8d556a000-7fc8d576a000 ---p 00056000 08:06 19923325                   /home/kde-devel/qt4/lib/libQtXml.so.4.8.5
7fc8d576a000-7fc8d576c000 r--p 00056000 08:06 19923325                   /home/kde-devel/qt4/lib/libQtXml.so.4.8.5
7fc8d576c000-7fc8d576d000 rw-p 00058000 08:06 19923325                   /home/kde-devel/qt4/lib/libQtXml.so.4.8.5
7fc8d576d000-7fc8d5784000 r-xp 00000000 08:05 531445                     /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7fc8d5784000-7fc8d5983000 ---p 00017000 08:05 531445                     /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7fc8d5983000-7fc8d5984000 r--p 00016000 08:05 531445                     /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7fc8d5984000-7fc8d5985000 rw-p 00017000 08:05 531445                     /usr/lib/x86_64-linux-gnu/libICE.so.6.3.0
7fc8d5985000-7fc8d5989000 rw-p 00000000 00:00 0
7fc8d5989000-7fc8d5990000 r-xp 00000000 08:05 531525                     /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
7fc8d5990000-7fc8d5b8f000 ---p 00007000 08:05 531525                     /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
7fc8d5b8f000-7fc8d5b90000 r--p 00006000 08:05 531525                     /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
7fc8d5b90000-7fc8d5b91000 rw-p 00007000 08:05 531525                     /usr/lib/x86_64-linux-gnu/libSM.so.6.0.1
7fc8d5b91000-7fc8d5d4f000 r-xp 00000000 08:05 918038                     /lib/x86_64-linux-gnu/libc-2.17.so
7fc8d5d4f000-7fc8d5f4e000 ---p 001be000 08:05 918038                     /lib/x86_64-linux-gnu/libc-2.17.so
7fc8d5f4e000-7fc8d5f52000 r--p 001bd000 08:05 918038                     /lib/x86_64-linux-gnu/libc-2.17.so
7fc8d5f52000-7fc8d5f54000 rw-p 001c1000 08:05 918038                     /lib/x86_64-linux-gnu/libc-2.17.so
7fc8d5f54000-7fc8d5f59000 rw-p 00000000 00:00 0
7fc8d5f59000-7fc8d603e000 r-xp 00000000 08:05 532147                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
7fc8d603e000-7fc8d623d000 ---p 000e5000 08:05 532147                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
7fc8d623d000-7fc8d6245000 r--p 000e4000 08:05 532147                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
7fc8d6245000-7fc8d6247000 rw-p 000ec000 08:05 532147                     /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.17
7fc8d6247000-7fc8d625c000 rw-p 00000000 00:00 0
7fc8d625c000-7fc8d704d000 r-xp 00000000 08:06 19923523                   /home/kde-devel/qt4/lib/libQtGui.so.4.8.5
7fc8d704d000-7fc8d724d000 ---p 00df1000 08:06 19923523                   /home/kde-devel/qt4/lib/libQtGui.so.4.8.5
7fc8d724d000-7fc8d728c000 r--p 00df1000 08:06 19923523                   /home/kde-devel/qt4/lib/libQtGui.so.4.8.5
7fc8d728c000-7fc8d72a4000 rw-p 00e30000 08:06 19923523                   /home/kde-devel/qt4/lib/libQtGui.so.4.8.5
7fc8d72a4000-7fc8d72a7000 rw-p 00000000 00:00 0
7fc8d72a7000-7fc8d72bf000 r-xp 00000000 08:05 918150                     /lib/x86_64-linux-gnu/libpthread-2.17.so
7fc8d72bf000-7fc8d74be000 ---p 00018000 08:05 918150                     /lib/x86_64-linux-gnu/libpthread-2.17.so
7fc8d74be000-7fc8d74bf000 r--p 00017000 08:05 918150                     /lib/x86_64-linux-gnu/libpthread-2.17.so
7fc8d74bf000-7fc8d74c0000 rw-p 00018000 08:05 918150                     /lib/x86_64-linux-gnu/libpthread-2.17.so
7fc8d74c0000-7fc8d74c4000 rw-p 00000000 00:00 0
7fc8d74c4000-7fc8d7857000 r-xp 00000000 08:06 19923033                   /home/kde-devel/qt4/lib/libQtCore.so.4.8.5
7fc8d7857000-7fc8d7a57000 ---p 00393000 08:06 19923033                   /home/kde-devel/qt4/lib/libQtCore.so.4.8.5
7fc8d7a57000-7fc8d7a62000 r--p 00393000 08:06 19923033                   /home/kde-devel/qt4/lib/libQtCore.so.4.8.5
7fc8d7a62000-7fc8d7a68000 rw-p 0039e000 08:06 19923033                   /home/kde-devel/qt4/lib/libQtCore.so.4.8.5
7fc8d7a68000-7fc8d7d9c000 r-xp 00000000 08:06 20065259                   /home/kde-devel/kde/lib/libkdecore.so.5.11.0
7fc8d7d9c000-7fc8d7f9b000 ---p 00334000 08:06 20065259                   /home/kde-devel/kde/lib/libkdecore.so.5.11.0
7fc8d7f9b000-7fc8d7fad000 r--p 00333000 08:06 20065259                   /home/kde-devel/kde/lib/libkdecore.so.5.11.0
7fc8d7fad000-7fc8d7fb4000 rw-p 00345000 08:06 20065259                   /home/kde-devel/kde/lib/libkdecore.so.5.11.0
7fc8d7fb4000-7fc8d7fb5000 rw-p 00000000 00:00 0
7fc8d7fb5000-7fc8d80e9000 r-xp 00000000 08:05 531959                     /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7fc8d80e9000-7fc8d82e9000 ---p 00134000 08:05 531959                     /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7fc8d82e9000-7fc8d82ea000 r--p 00134000 08:05 531959                     /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7fc8d82ea000-7fc8d82ef000 rw-p 00135000 08:05 531959                     /usr/lib/x86_64-linux-gnu/libX11.so.6.3.0
7fc8d82ef000-7fc8d8823000 r-xp 00000000 08:06 20065265                   /home/kde-devel/kde/lib/libkdeui.so.5.11.0
7fc8d8823000-7fc8d8a22000 ---p 00534000 08:06 20065265                   /home/kde-devel/kde/lib/libkdeui.so.5.11.0
7fc8d8a22000-7fc8d8a4a000 r--p 00533000 08:06 20065265                   /home/kde-devel/kde/lib/libkdeui.so.5.11.0
7fc8d8a4a000-7fc8d8a57000 rw-p 0055b000 08:06 20065265                   /home/kde-devel/kde/lib/libkdeui.so.5.11.0
7fc8d8a57000-7fc8d8a59000 rw-p 00000000 00:00 0
7fc8d8a59000-7fc8d8a7c000 r-xp 00000000 08:05 918012                     /lib/x86_64-linux-gnu/ld-2.17.so
7fc8d8c44000-7fc8d8c59000 rw-p 00000000 00:00 0
7fc8d8c78000-7fc8d8c7b000 rw-p 00000000 00:00 0
7fc8d8c7b000-7fc8d8c7c000 r--p 00022000 08:05 918012                     /lib/x86_64-linux-gnu/ld-2.17.so
7fc8d8c7c000-7fc8d8c7e000 rw-p 00023000 08:05 918012                     /lib/x86_64-linux-gnu/ld-2.17.so
7fff3018f000-7fff301b0000 rw-p 00000000 00:00 0                          [stack]
7fff301f0000-7fff301f2000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

I don't know why there is this issue, maybe a problem with Qt 4.8/5 libraries?
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Could it be that you built it against Qt 4.8 and it dynloads the 5.0 one? Current stable KDE does not build against Qt 5.x so unless you explicitly built one of the Qt5 branches, it's definitely wrong that it loads the Qt5 libs (which explains the crash since Qt4 and Qt5 are not binary compatible).

Greetings,
Sven


I'm working on the KDevelop IDE.
Tupla
Registered Member
Posts
47
Karma
0
OS
Yes, I thought the same thing about mixing Qt 4.8 and 5 libs.
The problem is, I have built Qt in the user's home directory using branch 4.8 and set QTDIR and LD_LIBRARY_PATH environment variables to the local Qt installation path, but system-wide both Qt 4 and 5 are installed (I'm using Kubuntu 13.04). How can I prevent dynamic loading of Qt 5 libraries?
Thanks for the reply!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You might be able to use the "ldd" command to determine if a system wide library is being preferred for some reason or another. It certainly looks like it is using the system wide Qt 4 at least, based on the libc stacktrace.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Tupla
Registered Member
Posts
47
Karma
0
OS
This is the output of "ldd kdeinit4":
Code: Select all
linux-vdso.so.1 =>  (0x00007fffa81de000)
        libkdeui.so.5 => /home/kde-devel/kde/lib/libkdeui.so.5 (0x00007f2692720000)
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f26923c6000)
        libkdecore.so.5 => /home/kde-devel/kde/lib/libkdecore.so.5 (0x00007f2691e78000)
        libQtCore.so.4 => /home/kde-devel/qt4/lib/libQtCore.so.4 (0x00007f26918d4000)
        libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f26916b7000)
        libQtGui.so.4 => /home/kde-devel/qt4/lib/libQtGui.so.4 (0x00007f269066b000)
        libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f2690368000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f268ffa0000)
        libSM.so.6 => /usr/lib/x86_64-linux-gnu/libSM.so.6 (0x00007f268fd97000)
        libICE.so.6 => /usr/lib/x86_64-linux-gnu/libICE.so.6 (0x00007f268fb7b000)
        libQtXml.so.4 => /home/kde-devel/qt4/lib/libQtXml.so.4 (0x00007f268f922000)
        libattica.so.1.0 => /home/kde-devel/kde/lib/x86_64-linux-gnu/libattica.so.1.0 (0x00007f268f608000)
        libQtNetwork.so.4 => /home/kde-devel/qt4/lib/libQtNetwork.so.4 (0x00007f268f26e000)
        libQtSvg.so.4 => /home/kde-devel/qt4/lib/libQtSvg.so.4 (0x00007f268eff0000)
        libdbusmenu-qt.so.2 => /usr/lib/x86_64-linux-gnu/libdbusmenu-qt.so.2 (0x00007f268edbc000)
        libXtst.so.6 => /usr/lib/x86_64-linux-gnu/libXtst.so.6 (0x00007f268ebb6000)
        libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007f268e9ab000)
        libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f268e7a4000)
        libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007f268e59a000)
        libQtDBus.so.4 => /home/kde-devel/qt4/lib/libQtDBus.so.4 (0x00007f268e2f5000)
        libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f268dfef000)
        libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f268ddd1000)
        libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f268dbcd000)
        libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f268d9b5000)
        libbz2.so.1.0 => /lib/x86_64-linux-gnu/libbz2.so.1.0 (0x00007f268d7a5000)
        libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f268d58f000)
        libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f268d292000)
        librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f268d08a000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f2692e8c000)
        libpng12.so.0 => /lib/x86_64-linux-gnu/libpng12.so.0 (0x00007f268ce64000)
        libfreetype.so.6 => /usr/lib/x86_64-linux-gnu/libfreetype.so.6 (0x00007f268cbc6000)
        libfontconfig.so.1 => /usr/lib/x86_64-linux-gnu/libfontconfig.so.1 (0x00007f268c98c000)
        libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f268c77a000)
        libuuid.so.1 => /lib/x86_64-linux-gnu/libuuid.so.1 (0x00007f268c574000)
        libQt5Core.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 (0x00007f268bf60000)
        libQt5Network.so.5 => /usr/lib/x86_64-linux-gnu/libQt5Network.so.5 (0x00007f268bc28000)
        libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f268ba24000)
        libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f268b81d000)
        libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f268b5de000)
        libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f268b3b4000)
        libicui18n.so.48 => /usr/lib/x86_64-linux-gnu/libicui18n.so.48 (0x00007f268afee000)
        libicuuc.so.48 => /usr/lib/x86_64-linux-gnu/libicuuc.so.48 (0x00007f268ac83000)
        libicudata.so.48 => /usr/lib/x86_64-linux-gnu/libicudata.so.48 (0x00007f2689912000)

As you can see Qt5 libs are in there, is there any way to get rid of them? Maybe some flags to be passed to CMake in order to force build with Qt4 libraries...
I checked LD_LIBRARY_PATH of my kde-devel user and it points correctly to the local Qt4 path (/home/kde-devel/qt4/lib and /home/kde-devel/kde/lib)...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
This is quite odd - CMake (and ld) should not have linked kdeinit4 against Qt 5 unless it was actually necessary.

In kdelibs, can you check the content of CMakeCache.txt to see if it contains any information on why Qt 5 is being dragged in? Also, do you have the Qt 5 development package(s) installed on your system?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Tupla
Registered Member
Posts
47
Karma
0
OS
Giving "cat CMakeCache.txt | grep -i qt5 shows up nothing, while searching for qt4 returned a lot of lines, this is very strange... Anyway, some development packages of Qt5 are installed, like qtbase5-dev and some others...
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Just out of interest, where does "which qmake" point to?
Also, if possible - could you try building KDE without the Qt 5 development packages installed?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Tupla
Registered Member
Posts
47
Karma
0
OS
It points correctly to /home/kde-devel/qt4/bin/qmake :-\
Yes, tomorrow I'll try to remove development packages and reinstall the module kdelibs. Do I need to re-run the script entirely or is the kdelibs module only enough?
Thank you for your replies!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Rebuilding kdelibs itself should be a good place to start. Make sure you clear the contents of the build/ directory you have been using before performing the rebuild - to ensure CMake starts with a fresh cache.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Tupla
Registered Member
Posts
47
Karma
0
OS
Ok, tomorrow I will try to recompile and reinstall kdelibs without dev packages. I'll let you know!
Tupla
Registered Member
Posts
47
Karma
0
OS
Nothing, still the error and the crash, and still ldd returns the two Qt5 libs, even without devel packages :'(


Bookmarks



Who is online

Registered users: Bing [Bot], daret, Google [Bot], Sogou [Bot]