unable to run cs

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Locked
weedfreak
Posts: 54
Joined: 29 Jan 2016, 09:44

unable to run cs

Post by weedfreak »

For the last and current version of openmw I cannot run the cs.

The menu entry does nothing, running from the commans line I get

Code: Select all

$ openmw-cs
*** Error in `openmw-cs': realloc(): invalid pointer: 0x0000000000ce3ee0 ***
======= Backtrace: =========
/usr/lib/libc.so.6(+0x72055)[0x7f6d86d9a055]
/usr/lib/libc.so.6(+0x779a6)[0x7f6d86d9f9a6]
/usr/lib/libc.so.6(realloc+0x1db)[0x7f6d86da3d0b]
/usr/lib/libQt5Core.so.5(_ZN9QListData7reallocEi+0x1f)[0x7f6d8507b08f]
/usr/lib/libQt5Core.so.5(_ZN9QListData6appendEi+0x81)[0x7f6d8507b161]
/usr/lib/libQt5Core.so.5(+0x1d75f8)[0x7f6d851475f8]
/usr/lib/libQt5Core.so.5(_Z21qRegisterResourceDataiPKhS0_S0_+0x2e6)[0x7f6d85143396]
/usr/lib/libQt5Core.so.5(+0x7be63)[0x7f6d84febe63]
/lib64/ld-linux-x86-64.so.2(+0xf27a)[0x7f6d8b83727a]
/lib64/ld-linux-x86-64.so.2(+0xf38b)[0x7f6d8b83738b]
/lib64/ld-linux-x86-64.so.2(+0xdba)[0x7f6d8b828dba]
then lots of libraries loading 3 or 4 times and ending with

Code: Select all

7f6d883ae000-7f6d883b1000 r--p 0005e000 08:02 963171                     /usr/lib/libosgParticle.so.3.2.3
7f6d883b1000-7f6d883b2000 rw-p 00061000 08:02 963171                     /usr/lib/libosgParticle.so.3.2.3
7f6d883b8000-7f6d883bf000 r-xp 00000000 08:02 963161                     /usr/lib/libOpenThreads.so.3.2.1
7f6d883bf000-7f6d885be000 ---p 00007000 08:02 963161                     /usr/lib/libOpenThreads.so.3.2.1
7f6d885be000-7f6d885bf000 r--p 00006000 08:02 963161                     /usr/lib/libOpenThreads.so.3.2.1
7f6d885bf000-7f6d885c0000 rw-p 00007000 08:02 963161                     /usr/lib/libOpenThreads.so.3.2.1
7f6d885c0000-7f6d886bc000 r-xp 00000000 08:02 946210                     /usr/lib/libQtOpenGL.so.4.8.7
7f6d886bc000-7f6d888bb000 ---p 000fc000 08:02 946210                     /usr/lib/libQtOpenGL.so.4.8.7
7f6d888bb000-7f6d888be000 r--p 000fb000 08:02 946210                     /usr/lib/libQtOpenGL.so.4.8.7Aborted (core dumped)
Does cs need specific versions of some libraries? Like QT<5 for instance.
User avatar
psi29a
Posts: 5362
Joined: 29 Sep 2011, 10:13
Location: Belgium
Gitlab profile: https://gitlab.com/psi29a/
Contact:

Re: unable to run cs

Post by psi29a »

Can you give more background information, are you building from scratch, using a pre-compiled binary, did it come from the site or did it come from your distro?
weedfreak
Posts: 54
Joined: 29 Jan 2016, 09:44

Re: unable to run cs

Post by weedfreak »

Using the Archlinux distro version.
Chris
Posts: 1626
Joined: 04 Sep 2011, 08:33

Re: unable to run cs

Post by Chris »

That error seems to occur when there's mismatched Qt versions. Like if OSG is built with Qt4 and OpenMW(-CS) is built with Qt5, or vice-versa. I don't know much about how ArchLinux provides OpenMW, but check if the provided OSG and OpenMW(-CS) packages are built with the same Qt version.
weedfreak
Posts: 54
Joined: 29 Jan 2016, 09:44

Re: unable to run cs

Post by weedfreak »

Reported to distro packagers.
weedfreak
Posts: 54
Joined: 29 Jan 2016, 09:44

Re: unable to run cs

Post by weedfreak »

Arch build is now working, which implies that nobody on Arch has tried to run cs for 6 months.
Locked