Jump to content

[FIXED] new exotic bug from build 12941


lulo
 Share

Recommended Posts


build@build-linux:~/Games/0AD/0ad$ ./rebuild.sh
Updating '.':
U binaries/system/readme.txt
...
...
...
Uaktualniono do wersji 12941.
Cleaning bundled third-party dependencies...
Cleaning Premake4
Cleaning Premake4
Cleaning Premake4
Cleaning build output...

Done. Try running update-workspaces.sh again now.
Updating bundled third-party dependencies...

...
...
...
test_ShaderManager.cpp
test_TextureConverter.cpp
test_LOSTexture.cpp
test_MeshManager.cpp
precompiled.cpp
test_setup.cpp
Linking test
build@build-linux:~/Games/0AD/0ad$ binaries/system/test
Running 283 tests.........................Singleton.h(53): Assertion failed: "ms_singleton"
Assertion failed: "ms_singleton"
Location: Singleton.h:53 (GetSingleton)

Call stack:

(0x90025a) binaries/system/test() [0x90025a]
(0x8b0e91) binaries/system/test() [0x8b0e91]
(0x8b108d) binaries/system/test() [0x8b108d]
(0x8b1d52) binaries/system/test() [0x8b1d52]
(0x578cef) binaries/system/test() [0x578cef]
(0x57413b) binaries/system/test() [0x57413b]
(0x45380d) binaries/system/test() [0x45380d]
(0x4326d4) binaries/system/test() [0x4326d4]
(0x43b5b8) binaries/system/test() [0x43b5b8]
(0x41c67d) binaries/system/test() [0x41c67d]
(0x7fa3c1bb976d) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fa3c1bb976d]
(0x42d005) binaries/system/test() [0x42d005]

errno = 0 (No error reported here)
OS error = ?


Singleton.h(53): Assertion failed: "ms_singleton"
Assertion failed: "ms_singleton"
Location: Singleton.h:53 (GetSingleton)

Call stack:

(0x90025a) binaries/system/test() [0x90025a]
(0x8b0e91) binaries/system/test() [0x8b0e91]
(0x8b108d) binaries/system/test() [0x8b108d]
(0x8b1d52) binaries/system/test() [0x8b1d52]
(0x578d27) binaries/system/test() [0x578d27]
(0x57413b) binaries/system/test() [0x57413b]
(0x45380d) binaries/system/test() [0x45380d]
(0x4326d4) binaries/system/test() [0x4326d4]
(0x43b5b8) binaries/system/test() [0x43b5b8]
(0x41c67d) binaries/system/test() [0x41c67d]
(0x7fa3c1bb976d) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fa3c1bb976d]
(0x42d005) binaries/system/test() [0x42d005]

errno = 0 (No error reported here)
OS error = ?


.Singleton.h(53): Assertion failed: "ms_singleton"
Assertion failed: "ms_singleton"
Location: Singleton.h:53 (GetSingleton)

Call stack:

(0x90025a) binaries/system/test() [0x90025a]
(0x8b0e91) binaries/system/test() [0x8b0e91]
(0x8b108d) binaries/system/test() [0x8b108d]
(0x8b1d52) binaries/system/test() [0x8b1d52]
(0x578cef) binaries/system/test() [0x578cef]
(0x57413b) binaries/system/test() [0x57413b]
(0x457365) binaries/system/test() [0x457365]
(0x4326d4) binaries/system/test() [0x4326d4]
(0x43b5b8) binaries/system/test() [0x43b5b8]
(0x41c67d) binaries/system/test() [0x41c67d]
(0x7fa3c1bb976d) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fa3c1bb976d]
(0x42d005) binaries/system/test() [0x42d005]

errno = 0 (No error reported here)
OS error = ?


Sleeping until debugger attaches.
Please wait.
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 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/>.
Attaching to process 24069
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operacja niedozwolona.
(gdb) Pułapka debuggera/breakpoint (core dumped)
build@build-linux:~/Games/0AD/0ad$

build@build-linux:~/Games/0AD/0ad$ sudo binaries/system/test
Running 283 tests.........................Singleton.h(53): Assertion failed: "ms_singleton"
Assertion failed: "ms_singleton"
Location: Singleton.h:53 (GetSingleton)

Call stack:

(0x90025a) binaries/system/test() [0x90025a]
(0x8b0e91) binaries/system/test() [0x8b0e91]
(0x8b108d) binaries/system/test() [0x8b108d]
(0x8b1d52) binaries/system/test() [0x8b1d52]
(0x578cef) binaries/system/test() [0x578cef]
(0x57413b) binaries/system/test() [0x57413b]
(0x45380d) binaries/system/test() [0x45380d]
(0x4326d4) binaries/system/test() [0x4326d4]
(0x43b5b8) binaries/system/test() [0x43b5b8]
(0x41c67d) binaries/system/test() [0x41c67d]
(0x7fa97475976d) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fa97475976d]
(0x42d005) binaries/system/test() [0x42d005]

errno = 0 (No error reported here)
OS error = ?


Sleeping until debugger attaches.
Please wait.
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 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/>.
Attaching to process 5590
Reading symbols from /home/build/Games/0AD/0ad/binaries/system/test...done.
Reading symbols from /usr/lib/nvidia-current-updates/libGL.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/nvidia-current-updates/libGL.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libjpeg.so.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libjpeg.so.8
Reading symbols from /lib/x86_64-linux-gnu/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libpng12.so.0
Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1
Reading symbols from /usr/lib/libboost_filesystem.so.1.49.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libboost_filesystem.so.1.49.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libenet.so.1...Reading symbols from /usr/lib/debug/usr/lib/x86_64-linux-gnu/libenet.so.1.0.3...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libenet.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
Reading symbols from /usr/lib/x86_64-linux-gnu/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libX11.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libXcursor.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXcursor.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libopenal.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libopenal.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libnvtt.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libnvtt.so.2
Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1
Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
Reading symbols from /usr/lib/libmozjs185.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmozjs185.so.1.0
Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...(no debugging symbols found)...done.
[New LWP 5619]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libxml2.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgcc_s.so.1
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
Reading symbols from /usr/lib/nvidia-current-updates/tls/libnvidia-tls.so.304.51...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/nvidia-current-updates/tls/libnvidia-tls.so.304.51
Reading symbols from /usr/lib/nvidia-current-updates/libnvidia-glcore.so.304.51...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/nvidia-current-updates/libnvidia-glcore.so.304.51
Reading symbols from /usr/lib/x86_64-linux-gnu/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXext.so.6
Reading symbols from /usr/lib/libboost_system.so.1.49.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libboost_system.so.1.49.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libidn.so.11
Reading symbols from /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libgnutls.so.26...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgnutls.so.26
Reading symbols from /lib/x86_64-linux-gnu/libgcrypt.so.11...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgcrypt.so.11
Reading symbols from /usr/lib/x86_64-linux-gnu/librtmp.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/librtmp.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libxcb.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXrender.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXfixes.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libvorbis.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libvorbis.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libogg.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libogg.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libnvcore.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libnvcore.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libnvimage.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libnvimage.so.2
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libasound.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libasound.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libpulse-simple.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libpulse-simple.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libpulse.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libpulse.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libcaca.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libcaca.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libnspr4.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libnspr4.so
Reading symbols from /lib/x86_64-linux-gnu/liblzma.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/liblzma.so.5
Reading symbols from /lib/x86_64-linux-gnu/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libresolv.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsasl2.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgssapi.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libkrb5.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
Reading symbols from /lib/x86_64-linux-gnu/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libcom_err.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libkrb5support.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libtasn1.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libtasn1.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
Reading symbols from /lib/x86_64-linux-gnu/libgpg-error.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgpg-error.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXau.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libtiff.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libtiff.so.5
Reading symbols from /usr/lib/libIlmImf.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libIlmImf.so.6
Reading symbols from /usr/lib/libIex.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libIex.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libnvmath.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libnvmath.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-2.1.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-2.1.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libjson.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libjson.so.0
Reading symbols from /lib/x86_64-linux-gnu/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libdbus-1.so.3
Reading symbols from /lib/x86_64-linux-gnu/libslang.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libslang.so.2
Reading symbols from /lib/x86_64-linux-gnu/libncursesw.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libncursesw.so.5
Reading symbols from /lib/x86_64-linux-gnu/libtinfo.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libtinfo.so.5
Reading symbols from /usr/lib/x86_64-linux-gnu/libheimntlm.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libheimntlm.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.26...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libkrb5.so.26
Reading symbols from /usr/lib/x86_64-linux-gnu/libasn1.so.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libasn1.so.8
Reading symbols from /usr/lib/x86_64-linux-gnu/libhcrypto.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libhcrypto.so.4
Reading symbols from /usr/lib/x86_64-linux-gnu/libroken.so.18...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libroken.so.18
Reading symbols from /lib/x86_64-linux-gnu/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libkeyutils.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libjbig.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libjbig.so.0
Reading symbols from /usr/lib/libHalf.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libHalf.so.6
Reading symbols from /usr/lib/libIlmThread.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libIlmThread.so.6
Reading symbols from /lib/x86_64-linux-gnu/libwrap.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libwrap.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libsndfile.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsndfile.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libasyncns.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libasyncns.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libwind.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libwind.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libheimbase.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libheimbase.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libhx509.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libhx509.so.5
Reading symbols from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
Reading symbols from /lib/x86_64-linux-gnu/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libcrypt.so.1
Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libFLAC.so.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libFLAC.so.8
Reading symbols from /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2
0x00007fa9747f783d in nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
(gdb)

This bug for my ubuntu 12.10-x86_64 (last and actual updates - CPU: AMD 8 cores, GPU: Nvidia GTX260, RAM: 8 GB DDR3-DUAL)

Edited by lulo
Link to comment
Share on other sites

I had the same problem since 12930, so I committed 12940. I seems strange that you still get such errors as I can't reproduce them locally.

If the problem persists could you post the backtrace (type 'bt full' in the gdb prompt).

EDIT: I'm now doing a clean rebuild to check if I can reproduce it.

EDIT 2: No, I can't reproduce this with r12941 even with a clean rebuild.

Edited by leper
Link to comment
Share on other sites


build@build-linux:~/Games/0AD/0ad$ ./rebuild.sh
Updating '.':
U binaries/system/pyrogenesis.exe
U binaries/system/pyrogenesis.pdb
U binaries/data/mods/public/gui/session/session.xml
U binaries/data/mods/public/simulation/components/GuiInterface.js
U binaries/data/mods/public/simulation/components/Pack.js
U binaries/data/mods/public/simulation/templates/structures/mace_library.xml
A binaries/data/mods/public/art/textures/ui/session/portraits/structures/library_scroll.png
Uaktualniono do wersji 12945.
Cleaning bundled third-party dependencies...
Cleaning Premake4
Cleaning Premake4
Cleaning Premake4
Cleaning build output...

Done. Try running update-workspaces.sh again now.
Updating bundled third-party dependencies...
...
...
...
test_LOSTexture.cpp
test_MeshManager.cpp
precompiled.cpp
test_setup.cpp
Linking test
build@build-linux:~/Games/0AD/0ad$ binaries/system/test
Running 283 testsvfs.cpp(105): Function call failed: return value was -110300 (Insufficient access rights to open file)
Function call failed: return value was -110300 (Insufficient access rights to open file)
Location: vfs.cpp:105 (GetDirectoryEntries)

Call stack:

(0x90025a) binaries/system/test() [0x90025a]
(0x8b0e91) binaries/system/test() [0x8b0e91]
(0x8b108d) binaries/system/test() [0x8b108d]
(0x8b1a4b) binaries/system/test() [0x8b1a4b]
(0x8c5479) binaries/system/test() [0x8c5479]
(0x8d4cd3) binaries/system/test() [0x8d4cd3]
(0x63d1eb) binaries/system/test() [0x63d1eb]
(0x58c757) binaries/system/test() [0x58c757]
(0x43c89c) binaries/system/test() [0x43c89c]
(0x4326d4) binaries/system/test() [0x4326d4]
(0x43b5b8) binaries/system/test() [0x43b5b8]
(0x41c67d) binaries/system/test() [0x41c67d]
(0x7f405aa0976d) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f405aa0976d]
(0x42d005) binaries/system/test() [0x42d005]

errno = 0 (Insufficient access rights to open file)
OS error = ?


Sleeping until debugger attaches.
Please wait.
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 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/>.
Attaching to process 17430
Could not attach to process. If your uid matches the uid of the target
process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf
ptrace: Operacja niedozwolona.
(gdb) Pułapka debuggera/breakpoint (core dumped)
build@build-linux:~/Games/0AD/0ad$ sudo binaries/system/test
[sudo] password for build:
Running 283 tests.........................Singleton.h(53): Assertion failed: "ms_singleton"
Assertion failed: "ms_singleton"
Location: Singleton.h:53 (GetSingleton)

Call stack:

(0x90025a) binaries/system/test() [0x90025a]
(0x8b0e91) binaries/system/test() [0x8b0e91]
(0x8b108d) binaries/system/test() [0x8b108d]
(0x8b1d52) binaries/system/test() [0x8b1d52]
(0x578cef) binaries/system/test() [0x578cef]
(0x57413b) binaries/system/test() [0x57413b]
(0x45380d) binaries/system/test() [0x45380d]
(0x4326d4) binaries/system/test() [0x4326d4]
(0x43b5b8) binaries/system/test() [0x43b5b8]
(0x41c67d) binaries/system/test() [0x41c67d]
(0x7f5ea74b176d) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f5ea74b176d]
(0x42d005) binaries/system/test() [0x42d005]

errno = 0 (No error reported here)
OS error = ?


Sleeping until debugger attaches.
Please wait.
GNU gdb (GDB) 7.5-ubuntu
Copyright (C) 2012 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/>.
Attaching to process 17439
Reading symbols from /home/build/Games/0AD/0ad/binaries/system/test...done.
Reading symbols from /usr/lib/nvidia-current-updates/libGL.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/nvidia-current-updates/libGL.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libjpeg.so.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libjpeg.so.8
Reading symbols from /lib/x86_64-linux-gnu/libpng12.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libpng12.so.0
Reading symbols from /lib/x86_64-linux-gnu/libz.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libz.so.1
Reading symbols from /usr/lib/libboost_filesystem.so.1.49.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libboost_filesystem.so.1.49.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libenet.so.1...Reading symbols from /usr/lib/debug/usr/lib/x86_64-linux-gnu/libenet.so.1.0.3...done.
done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libenet.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libcurl-gnutls.so.4
Reading symbols from /usr/lib/x86_64-linux-gnu/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libX11.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libXcursor.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXcursor.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libopenal.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libopenal.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libvorbisfile.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libnvtt.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libnvtt.so.2
Reading symbols from /lib/x86_64-linux-gnu/librt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/librt.so.1
Reading symbols from /lib/x86_64-linux-gnu/libdl.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libdl.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
Reading symbols from /usr/lib/libmozjs185.so.1.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libmozjs185.so.1.0
Reading symbols from /lib/x86_64-linux-gnu/libpthread.so.0...(no debugging symbols found)...done.
[New LWP 17468]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Loaded symbols for /lib/x86_64-linux-gnu/libpthread.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libxml2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libxml2.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libstdc++.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libstdc++.so.6
Reading symbols from /lib/x86_64-linux-gnu/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libm.so.6
Reading symbols from /lib/x86_64-linux-gnu/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgcc_s.so.1
Reading symbols from /lib/x86_64-linux-gnu/libc.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libc.so.6
Reading symbols from /usr/lib/nvidia-current-updates/tls/libnvidia-tls.so.304.51...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/nvidia-current-updates/tls/libnvidia-tls.so.304.51
Reading symbols from /usr/lib/nvidia-current-updates/libnvidia-glcore.so.304.51...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/nvidia-current-updates/libnvidia-glcore.so.304.51
Reading symbols from /usr/lib/x86_64-linux-gnu/libXext.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXext.so.6
Reading symbols from /usr/lib/libboost_system.so.1.49.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libboost_system.so.1.49.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libidn.so.11...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libidn.so.11
Reading symbols from /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/liblber-2.4.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libldap_r-2.4.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgssapi_krb5.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libgnutls.so.26...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgnutls.so.26
Reading symbols from /lib/x86_64-linux-gnu/libgcrypt.so.11...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgcrypt.so.11
Reading symbols from /usr/lib/x86_64-linux-gnu/librtmp.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/librtmp.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libxcb.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libxcb.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libXrender.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXrender.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libXfixes.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXfixes.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libvorbis.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libvorbis.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libogg.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libogg.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libnvcore.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libnvcore.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libnvimage.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libnvimage.so.2
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libasound.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libasound.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libpulse-simple.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libpulse-simple.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libpulse.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libpulse.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libcaca.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libcaca.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libnspr4.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libnspr4.so
Reading symbols from /lib/x86_64-linux-gnu/liblzma.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/liblzma.so.5
Reading symbols from /lib/x86_64-linux-gnu/libresolv.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libresolv.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libsasl2.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsasl2.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libgssapi.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libgssapi.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libkrb5.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libk5crypto.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libk5crypto.so.3
Reading symbols from /lib/x86_64-linux-gnu/libcom_err.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libcom_err.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5support.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libkrb5support.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libtasn1.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libtasn1.so.3
Reading symbols from /usr/lib/x86_64-linux-gnu/libp11-kit.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libp11-kit.so.0
Reading symbols from /lib/x86_64-linux-gnu/libgpg-error.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libgpg-error.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXau.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libXdmcp.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libtiff.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libtiff.so.5
Reading symbols from /usr/lib/libIlmImf.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libIlmImf.so.6
Reading symbols from /usr/lib/libIex.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libIex.so.6
Reading symbols from /usr/lib/x86_64-linux-gnu/libnvmath.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libnvmath.so.2
Reading symbols from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-2.1.so...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-2.1.so
Reading symbols from /usr/lib/x86_64-linux-gnu/libjson.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libjson.so.0
Reading symbols from /lib/x86_64-linux-gnu/libdbus-1.so.3...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libdbus-1.so.3
Reading symbols from /lib/x86_64-linux-gnu/libslang.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libslang.so.2
Reading symbols from /lib/x86_64-linux-gnu/libncursesw.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libncursesw.so.5
Reading symbols from /lib/x86_64-linux-gnu/libtinfo.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libtinfo.so.5
Reading symbols from /usr/lib/x86_64-linux-gnu/libheimntlm.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libheimntlm.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libkrb5.so.26...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libkrb5.so.26
Reading symbols from /usr/lib/x86_64-linux-gnu/libasn1.so.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libasn1.so.8
Reading symbols from /usr/lib/x86_64-linux-gnu/libhcrypto.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libhcrypto.so.4
Reading symbols from /usr/lib/x86_64-linux-gnu/libroken.so.18...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libroken.so.18
Reading symbols from /lib/x86_64-linux-gnu/libkeyutils.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libkeyutils.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libjbig.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libjbig.so.0
Reading symbols from /usr/lib/libHalf.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libHalf.so.6
Reading symbols from /usr/lib/libIlmThread.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libIlmThread.so.6
Reading symbols from /lib/x86_64-linux-gnu/libwrap.so.0...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libwrap.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libsndfile.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsndfile.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libasyncns.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libasyncns.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libwind.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libwind.so.0
Reading symbols from /usr/lib/x86_64-linux-gnu/libheimbase.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libheimbase.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libhx509.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libhx509.so.5
Reading symbols from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libsqlite3.so.0
Reading symbols from /lib/x86_64-linux-gnu/libcrypt.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libcrypt.so.1
Reading symbols from /lib/x86_64-linux-gnu/libnsl.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/x86_64-linux-gnu/libnsl.so.1
Reading symbols from /usr/lib/x86_64-linux-gnu/libFLAC.so.8...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libFLAC.so.8
Reading symbols from /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2
0x00007f5ea754f83d in nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt full
#0 0x00007f5ea754f83d in nanosleep () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007f5ea754f6dc in sleep () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2 0x0000000000905631 in udbg_launch_debugger () at ../../../source/lib/sysdep/os/unix/udbg.cpp:83
orgpid = 17439
ret = <optimized out>
#3 0x0000000000904f83 in try_gui_display_error (
text=text@entry=0x7f5e99bbf000 L"Assertion failed: \"ms_singleton\"\r\nLocation: Singleton.h:53 (GetSingleton)\r\n\r\nCall stack:\r\n\r\n(0x90025a) binaries/system/test() [0x90025a]\n(0x8b0e91) binaries/system/test() [0x8b0e91]\n(0x8b108d) binarie"..., manual_break=manual_break@entry=true,
allow_suppress=allow_suppress@entry=true, no_continue=no_continue@entry=false) at ../../../source/lib/sysdep/os/unix/unix.cpp:170
err = 0
message = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
_M_p = 0x2233f48 "Assertion failed: \"ms_singleton\"\nLocation: Singleton.h:53 (GetSingleton)\n\nCall stack:\n\n(0x90025a) binaries/system/test() [0x90025a]\n(0x8b0e91) binaries/system/test() [0x8b0e91]\n(0x8b108d) binaries/sys"...}}
buttons = "Continue:100,Suppress:101,Break:102,Debugger:103,Exit:104", '\000' <repeats 198 times>
defaultButton = <optimized out>
argv = {0x2234830 "", 0x2234850 " H#\002", 0x2234870 "@H#\002", 0x2234890 "`H#\002", 0x22348b0 "\200H#\002", 0x22348d0 "\240H#\002",
0x22347e0 "", 0x22348f0 "\300H#\002", 0x2234910 "\340H#\002", 0x22333a0 "\230\207\204\247^\177", 0x0}
cpid = 17469
status = 26368
cmd = 0x9c4050 "/usr/bin/xmessage"
#4 0x00000000009050d4 in sys_display_error (
text=0x7f5e99bbf000 L"Assertion failed: \"ms_singleton\"\r\nLocation: Singleton.h:53 (GetSingleton)\r\n\r\nCall stack:\r\n\r\n(0x90025a) binaries/system/test() [0x90025a]\n(0x8b0e91) binaries/system/test() [0x8b0e91]\n(0x8b108d) binarie"..., flags=<optimized out>)
at ../../../source/lib/sysdep/os/unix/unix.cpp:211
manual_break = true
allow_suppress = true
no_continue = false
ret = <optimized out>
#5 0x00000000008b119b in CallDisplayError (flags=6,
text=0x7f5e99bbf000 L"Assertion failed: \"ms_singleton\"\r\nLocation: Singleton.h:53 (GetSingleton)\r\n\r\nCall stack:\r\n\r\n(0x90025a) binaries/system/test() [0x90025a]\n(0x8b0e91) binaries/system/test() [0x8b0e91]\n(0x8b108d) binarie"...) at ../../../source/lib/debug.cpp:378
er = ERI_NOT_IMPLEMENTED
#6 debug_DisplayError (description=<optimized out>, description@entry=0x7fff0d186e40 L"Assertion failed: \"ms_singleton\"", flags=6, flags@entry=4,
context=context@entry=0x7fff0d187480, lastFuncToSkip=0x2233018 L"debug_OnAssertionFailure", pathname=<optimized out>,
pathname@entry=0x94a430 L"../../../source/ps/Singleton.h", line=line@entry=53, func=<optimized out>,
func@entry=0x96cf1e <Singleton<CConfigDB>::GetSingleton()::__func__> "GetSingleton", suppress=suppress@entry=0xcb01a0)
at ../../../source/lib/debug.cpp:469
filename = <optimized out>
emm = {pa_mem = 0x7f5e99bbf000}
text = 0x7f5e99bbf000 L"Assertion failed: \"ms_singleton\"\r\nLocation: Singleton.h:53 (GetSingleton)\r\n\r\nCall stack:\r\n\r\n(0x90025a) binaries/system/test() [0x90025a]\n(0x8b0e91) binaries/system/test() [0x8b0e91]\n(0x8b108d) binarie"...
er = ERI_NOT_IMPLEMENTED
#7 0x00000000008b1d52 in ShouldSuppressError (suppress=0xcb01a0) at ../../../source/lib/debug.cpp:366
No locals.
#8 debug_DisplayError (suppress=0xcb01a0, func=0x96cf1e <Singleton<CConfigDB>::GetSingleton()::__func__> "GetSingleton", line=53,
pathname=0x94a430 L"../../../source/ps/Singleton.h", lastFuncToSkip=<optimized out>, context=0x7fff0d187480, flags=4,
---Type <return> to continue, or q <return> to quit---
description=0x7fff0d186e40 L"Assertion failed: \"ms_singleton\"") at ../../../source/lib/debug.cpp:432
No locals.
#9 debug_OnAssertionFailure (expr=0x94a4b0 L"ms_singleton", suppress=0xcb01a0, file=0x94a430 L"../../../source/ps/Singleton.h", line=53,
func=0x96cf1e <Singleton<CConfigDB>::GetSingleton()::__func__> "GetSingleton") at ../../../source/lib/debug.cpp:558
context = "\000\000\000\000\000\000\000\000\220\300L\002\000\000\000\000\034\000\000\000\020", '\000' <repeats 19 times>"\240, \024R\002\000\000\000\000\220\300L\002\000\000\000\000\320t\030\r\377\177", '\000' <repeats 26 times>, "\001\000\000\000\000\000\000\000\200B\031\002", '\000' <repeats 60 times>"\220, \300L\002\000\000\000\000@u\030\r\377\177\000\000\001\000\000\000\000\000\000\000\020\000\000\000\000\000\000\000\001", '\000' <repeats 103 times>"\220, ", '\000' <repeats 15 times>, "\a\000\000\000\061\000\000\000`E\031\002", '\000' <repeats 12 times>, "\001\000\000\000\000\000\000\000\220\300L\002\000\000\000\000\370u\030\r\377\177\000\000\000\000\000\000\000\000\000\000\b\000\000\000\000\000\000\000\340\031R\002", '\000' <repeats 28 times>, "0\001"...
lastFuncToSkip = {static npos = <optimized out>,
_M_dataplus = {<std::allocator<wchar_t>> = {<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>},
_M_p = 0x2233018 L"debug_OnAssertionFailure"}}
buf = L"Assertion failed: \"ms_singleton\"\000\000\x24cc090", '\000' <repeats 15 times>"\x24cc090, \000\032\000\004\001\004\000\x2521400\000;\000\xa8b3ff60\000\xffffffff\005\000\005\000\x2521402\000\"\000\x99101900\035\n\003\v\003\000\x25213fa\000;\000\xa8b3ff80\002\v\003\f\003\000\x25213fc\000\000\000\000\000\000\001\005\x2521404\000\x2521400\000\x2521378\000\x2521404\000\x2521404\000\x2521428\000\000\000\000\000\000\000\x24cc090\000\xd187048\001\000 \000\x650062\x750074\x6e0072\x750053\x740062\x610072\x740063\x6f0069\x48006e\x6c0065\x650070r\000\000\000\000\000\000\000\000\000\000\000\000", '\000' <repeats 55 times>, "\000\000\000\000\x1000000", '\000' <repeats 12 times>, "\001", '\000' <repeats 39 times>"\x1000000, \001\x24cc120\000\000\000\000\000\000\000\x21944d8\000\001\000\x2194280\000\000\000\x22b0601\000\xd187660\000\xd1877f0\x99c3f048\000\000\000\000\000\000\x22b0600\000\xd187368\000\000\xd187388\x99103048\000\000\000\000\x1000000", '\000' <repeats 11 times>"\x222b660, \000\000\000\xffffffff\000\x99c3f0a0\x252172d\000\x99c3f048\xd186e80\000\000\000\000\000\000\000\000\000"...
#10 0x0000000000578cef in GetSingleton () at ../../../source/ps/Singleton.h:53
suppress__ = 0
#11 CSimulation2Impl::CSimulation2Impl (this=0x22b4020, unitManager=0x0, terrain=0xca9888 <suite_TestSimulation2+8>)
at ../../../source/simulation2/Simulation2.cpp:72
val = <optimized out>
#12 0x000000000057413b in CSimulation2::CSimulation2 (this=0x7fff0d187dd0, unitManager=0x0, terrain=0xca9888 <suite_TestSimulation2+8>)
at ../../../source/simulation2/Simulation2.cpp:560
No locals.
#13 0x000000000045380d in TestSimulation2::test_AddEntity (this=<optimized out>)
at ../../../source/simulation2/tests/../../../source/simulation2/tests/test_Simulation2.h:59
sim = {m = 0xca8c18}
ent1 = <optimized out>
ent2 = <optimized out>
#14 0x00000000004326d4 in CxxTest::RealTestDescription::run (this=0xca9900 <testDescription_TestSimulation2_test_AddEntity>)
at ../../../libraries/cxxtest/include/cxxtest/RealDescriptions.cpp:96
No locals.
#15 0x000000000043b5b8 in runTest (td=..., this=<optimized out>) at ../../../libraries/cxxtest/include/cxxtest/TestRunner.h:76
sg = {_abortTestOnFail = <optimized out>, _maxDumpSize = 0}
#16 runSuite (sd=..., this=<optimized out>) at ../../../libraries/cxxtest/include/cxxtest/TestRunner.h:63
td = 0xca9900 <testDescription_TestSimulation2_test_AddEntity>
#17 CxxTest::PsTestRunner::runWorld (this=this@entry=0x7fff0d187f30) at ../../../libraries/cxxtest/include/cxxtest/PsTestWrapper.h:80
sd = <optimized out>
wd = {<CxxTest::WorldDescription> = {<CxxTest::Link> = {_vptr.Link = 0x938eb0 <vtable for CxxTest::RealWorldDescription+16>, _next = 0x0,
_prev = 0x0, _active = true}, <No data fields>}, <No data fields>}
sg = {<CxxTest::TestRunner::StateGuard> = {_abortTestOnFail = <optimized out>, _maxDumpSize = 0}, <No data fields>}
#18 0x000000000041c67d in runAllTests (listener=...) at ../../../libraries/cxxtest/include/cxxtest/PsTestWrapper.h:35
No locals.
#19 runGui (listener=..., argv=0x7fff0d1880c8, argc=<optimized out>, this=0x7fff0d187f70)
---Type <return> to continue, or q <return> to quit---
at ../../../libraries/cxxtest/include/cxxtest/PsTestWrapper.h:95
No locals.
#20 run (this=0x7fff0d187f40) at ../../../libraries/cxxtest/include/cxxtest/Gui.h:172
No locals.
#21 main (argc=1, argv=<optimized out>) at ../../../source/test_root.cpp:17
No locals.
(gdb) q
A debugging session is active.

Inferior 1 [process 17439] will be detached.

Quit anyway? (y or n) y
Detaching from program: /home/build/Games/0AD/0ad/binaries/system/test, process 17439
build@build-linux:~/Games/0AD/0ad$

My rebuild.sh

#!/bin/sh
set -e
svn up
cd build/workspaces
./clean-workspaces.sh
./update-workspaces.sh -j9 --with-system-enet --with-system-nvtt --with-system-mozjs185
cd gcc
make clean
make -j9

Edited by lulo
Link to comment
Share on other sites

Could you add


#include "ps/ConfigDB.h"
#include "scripting/ScriptingHost.h"

at the beginning and


new ScriptingHost;
new CConfigDB;

before every

CSimulation2 sim(NULL, &m_Terrain);

line in source/simulation2/tests/test_Simulation2.h?

If that fixes this problem, but others of the same kind appear would you please apply the changes to all those files and tell me which ones you changed.

I'm still not able to reproduce it, and I asked the maintainer of the Ubuntu ppa to test it but he couldn't reproduce it on 13.04. (And the ppa build succeeded so it builds and runs the tests just fine on all supported Ubuntu versions)

Link to comment
Share on other sites

You've probably tried this already, but have you checked the *nix user permissions of the directory? e.g:


chown -R username ~/Games/0AD/

(where username is the local username you use to log in)

Nevermind, just noticed the actual bug report was about the singletons, not the permissions. Derp. :P

Link to comment
Share on other sites

You've probably tried this already, but have you checked the *nix user permissions of the directory? e.g:


chown -R username ~/Games/0AD/

(where username is the local username you use to log in)

Nevermind, just noticed the actual bug report was about the singletons, not the permissions. Derp. :P

is obvious - no joke ... hehe :kid:

Fixed in r12946.


build@build-linux:~/Games/0AD/0ad$ ./rebuild.sh
Updating '.':
U source/graphics/tests/test_LOSTexture.h
U source/simulation2/Simulation2.cpp
Uaktualniono do wersji 12946.
Cleaning bundled third-party dependencies...
Cleaning Premake4
Cleaning Premake4
Cleaning Premake4
Cleaning build output...

Done. Try running update-workspaces.sh again now.
Updating bundled third-party dependencies...

...
...
...
test_LOSTexture.cpp
test_MeshManager.cpp
precompiled.cpp
test_setup.cpp
Linking test
build@build-linux:~/Games/0AD/0ad$ binaries/system/test
Running 283 tests............................................................................................................................................................................................
...............................................................................................OK!

Thx. build working and test properly (no any debug) :yu::victory:(y):ok:

Edited by lulo
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...