Opened 10 years ago

Closed 10 years ago

#2479 closed defect (fixed)

tex_dds.cpp(466): Invalid/unsupported texture format

Reported by: RoflCopter24 Owned by:
Priority: Should Have Milestone: Alpha 16
Component: Core engine Keywords:
Cc: leper Patch:

Description (last modified by RoflCopter24)

Error occurs on startup, when opening the settings menu and when loading a game. Tested Platform is Ubuntu 14.04 dev x86_64

GDB Terminal output:

Starting program: /usr/games/pyrogenesis 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Cache: 500 (total: 16029) MiB
[New Thread 0x7fffcad00700 (LWP 7026)]
TIMER| InitVfs: 118.712 ms
[New Thread 0x7fffca4df700 (LWP 7027)]
[New Thread 0x7fffc9cde700 (LWP 7028)]
[Thread 0x7fffc9cde700 (LWP 7028) exited]
[New Thread 0x7fffc9cde700 (LWP 7029)]
[New Thread 0x7fffc54dc700 (LWP 7030)]
Sound: AlcInit success, using OpenAL Soft
[New Thread 0x7fffc4cdb700 (LWP 7031)]
TIMER| CONFIG_Init: 3.93626 ms
[New Thread 0x7fffb7fff700 (LWP 7033)]
[New Thread 0x7fffb77fe700 (LWP 7034)]
[New Thread 0x7fffaffff700 (LWP 7035)]
TIMER| RunHardwareDetection: 21.3595 ms
[New Thread 0x7fffaf1ff700 (LWP 7036)]
TIMER| write_sys_info: 35.6068 ms
[New Thread 0x7fffae3e9700 (LWP 7037)]
TIMER| InitRenderer: 8.87088 ms
TIMER| ps_console: 711.167 us
TIMER| ps_lang_hotkeys: 855.127 us
TIMER| common/modern/styles.xml: 153.459 us
[Thread 0x7fffaf1ff700 (LWP 7036) exited]
TIMER| common/modern/sprites.xml: 1.56562 ms
TIMER| common/modern/setup.xml: 189.349 us
TIMER| common/setup.xml: 528.02 us
TIMER| common/sprite1.xml: 1.54659 ms
TIMER| common/styles.xml: 45.863 us
TIMER| common/common_sprites.xml: 1.85916 ms
TIMER| common/common_styles.xml: 264.007 us
TIMER| common/init.xml: 1.24763 ms
TIMER| pregame/sprites.xml: 358.083 us
TIMER| pregame/styles.xml: 34.536 us
TIMER| pregame/mainmenu.xml: 4.25993 ms
TIMER| common/global.xml: 345.847 us
TIMER| common/modern/styles.xml: 113.411 us
TIMER| common/modern/sprites.xml: 710.45 us
TIMER| common/modern/setup.xml: 81.265 us
TIMER| common/setup.xml: 501.878 us
TIMER| common/sprite1.xml: 1.48949 ms
TIMER| common/styles.xml: 21.278 us
TIMER| common/common_sprites.xml: 1.97319 ms
TIMER| common/common_styles.xml: 239.013 us
TIMER| splashscreen/styles.xml: 46.241 us
TIMER| splashscreen/setup.xml: 46.24 us
ERROR: GUI: Trying to use style 'modernFade' that doesn't exist.
TIMER| splashscreen/splashscreen.xml: 962.379 us
tex_dds.cpp(446): Function call failed: return value was -120102 (Invalid/unsupported texture format)
Function call failed: return value was -120102 (Invalid/unsupported texture format)
Location: tex_dds.cpp:446 (decode_pf)

Call stack:

(0x828c4b) /usr/games/pyrogenesis() [0x828c4b]
(0x7e0181) /usr/games/pyrogenesis() [0x7e0181]
(0x7e048b) /usr/games/pyrogenesis() [0x7e048b]
(0x81b372) /usr/games/pyrogenesis() [0x81b372]
(0x81fdf3) /usr/games/pyrogenesis() [0x81fdf3]
(0x805ae2) /usr/games/pyrogenesis() [0x805ae2]
(0x800604) /usr/games/pyrogenesis() [0x800604]
(0x64b6f4) /usr/games/pyrogenesis() [0x64b6f4]
(0x69a801) /usr/games/pyrogenesis() [0x69a801]
(0x7ad448) /usr/games/pyrogenesis() [0x7ad448]
(0x779798) /usr/games/pyrogenesis() [0x779798]
(0x7a61b9) /usr/games/pyrogenesis() [0x7a61b9]
(0x77abd3) /usr/games/pyrogenesis() [0x77abd3]
(0x74e49f) /usr/games/pyrogenesis() [0x74e49f]
(0x74e4c5) /usr/games/pyrogenesis() [0x74e4c5]
(0x74e4c5) /usr/games/pyrogenesis() [0x74e4c5]

GNU gdb (Ubuntu 7.7-0ubuntu3) 7.7
Copyright (C) 2014 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".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
Attaching to process 13137
warning: process 13137 is already traced by process 13135
ptrace: Die Operation ist nicht erlaubt.
(gdb) 
Program received signal SIGTRAP, Trace/breakpoint trap.
0x00007ffff425d267 in kill () at ../sysdeps/unix/syscall-template.S:81
81	../sysdeps/unix/syscall-template.S: Datei oder Verzeichnis nicht gefunden.
(gdb) thread apply all bt full

Thread 12 (Thread 0x7fffae3e9700 (LWP 13152)):
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
No locals.
#1  0x00007ffff59732a2 in SDL_SemWait ()
   from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
No symbol table info available.
#2  0x0000000000667c9a in CTextureConverter::RunThread (data=0x1d93480)
    at ../../../source/graphics/TextureConverter.cpp:564
        textureConverter = 0x1d93480
#3  0x00007ffff45f5182 in start_thread (arg=0x7fffae3e9700)
    at pthread_create.c:312
        __res = <optimized out>
        pd = 0x7fffae3e9700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736116725504, 
                7103379746621543287, 1, 0, 140736116726208, 140736116725504, 
                -7103555109575666825, -7103392121854438537}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
---Type <return> to continue, or q <return> to quit---
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x00007ffff432130d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 10 (Thread 0x7fffaffff700 (LWP 13150)):
#0  0x00007ffff43181c7 in ioctl () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00007ffff3efe829 in uki_firegl_MicroSleep ()
   from /usr/lib/fglrx/libatiuki.so.1
No symbol table info available.
#2  0x00007fffb6665830 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
No symbol table info available.
#3  0x00007fffb5f17a62 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
No symbol table info available.
#4  0x00007fffb5f17a95 in ?? () from /usr/lib/fglrx/dri/fglrx_dri.so
No symbol table info available.
#5  0x00007ffff45f5182 in start_thread (arg=0x7fffaffff700)
    at pthread_create.c:312
        __res = <optimized out>
        pd = 0x7fffaffff700
        now = <optimized out>
---Type <return> to continue, or q <return> to quit---
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736146175744, 
                7103379746621543287, 1, 0, 140736146176448, 140736146175744, 
                -7103555668995157129, -7103392121854438537}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#6  0x00007ffff432130d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 9 (Thread 0x7fffb77fe700 (LWP 13149)):
#0  0x00007ffff45fcb9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00007ffff59754b9 in SDL_Delay ()
   from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
No symbol table info available.
#2  0x00007ffff59754f2 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
No symbol table info available.
#3  0x00007ffff5933ae8 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#4  0x00007ffff5973079 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
No symbol table info available.
#5  0x00007ffff45f5182 in start_thread (arg=0x7fffb77fe700)
    at pthread_create.c:312
        __res = <optimized out>
        pd = 0x7fffb77fe700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736272000768, 
                7103379746621543287, 1, 0, 140736272001472, 140736272000768, 
                -7103539176857611401, -7103392121854438537}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#6  0x00007ffff432130d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 8 (Thread 0x7fffb7fff700 (LWP 13148)):
---Type <return> to continue, or q <return> to quit---
#0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
No locals.
#1  0x00007ffff59732a2 in SDL_SemWait ()
   from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
No symbol table info available.
#2  0x000000000055c5c1 in Run (this=0x143c000)
    at ../../../source/ps/UserReport.cpp:279

        proxy = {static npos = 18446744073709551615, 
          _M_dataplus = {<std::allocator<wchar_t>> = {<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>}, 
            _M_p = 0xba0818 <std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_Rep::_S_empty_rep_storage+24> L""}}
#3  CUserReporterWorker::RunThread (data=0x143c000)
    at ../../../source/ps/UserReport.cpp:236
No locals.
#4  0x00007ffff45f5182 in start_thread (arg=0x7fffb7fff700)
    at pthread_create.c:312
        __res = <optimized out>
        pd = 0x7fffb7fff700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736280393472, 
                7103379746621543287, 1, 0, 140736280394176, 140736280393472, 
                -7103538076809112713, -7103392121854438537}, 
---Type <return> to continue, or q <return> to quit---
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#5  0x00007ffff432130d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 7 (Thread 0x7fffc4ce8700 (LWP 13146)):
#0  0x00007ffff45fcb9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00007ffff59754b9 in SDL_Delay ()
   from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0
No symbol table info available.

#2  0x00000000005bf5e1 in Run (this=0x1338300)
    at ../../../source/soundmanager/SoundManager.cpp:176
        pauseTime = <optimized out>
#3  CSoundManagerWorker::RunThread (data=0x1338300)
    at ../../../source/soundmanager/SoundManager.cpp:121
No locals.
---Type <return> to continue, or q <return> to quit---
#4  0x00007ffff45f5182 in start_thread (arg=0x7fffc4ce8700)
    at pthread_create.c:312
        __res = <optimized out>
        pd = 0x7fffc4ce8700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736495257344, 
                7103379746621543287, 1, 0, 140736495258048, 140736495257344, 
                -7103355690486017161, -7103392121854438537}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#5  0x00007ffff432130d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 6 (Thread 0x7fffc54e9700 (LWP 13145)):
#0  0x00007ffff45fcb9d in nanosleep () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00007ffff695054a in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#2  0x00007ffff695d5eb in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
No symbol table info available.
#3  0x00007ffff694fe6a in ?? () from /usr/lib/x86_64-linux-gnu/libopenal.so.1
No symbol table info available.
#4  0x00007ffff45f5182 in start_thread (arg=0x7fffc54e9700)
    at pthread_create.c:312
        __res = <optimized out>
        pd = 0x7fffc54e9700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736503650048, 
                7103379746621543287, 1, 0, 140736503650752, 140736503650048, 
                -7103358984189062281, -7103392121854438537}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#5  0x00007ffff432130d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.
---Type <return> to continue, or q <return> to quit---

Thread 5 (Thread 0x7fffc9ceb700 (LWP 13144)):
#0  0x00007ffff4313fbd in poll () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00007ffff14ff031 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#2  0x00007ffff14f083c in pa_mainloop_poll ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#3  0x00007ffff14f0ece in pa_mainloop_iterate ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#4  0x00007ffff14f0f80 in pa_mainloop_run ()
   from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#5  0x00007ffff14fefe3 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0
No symbol table info available.
#6  0x00007fffee864f08 in ?? ()
   from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-4.0.so
No symbol table info available.
#7  0x00007ffff45f5182 in start_thread (arg=0x7fffc9ceb700)
    at pthread_create.c:312
        __res = <optimized out>
---Type <return> to continue, or q <return> to quit---
        pd = 0x7fffc9ceb700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736579155712, 
                7103379746621543287, 1, 20130896, 140736579156416, 
                140736579155712, -7103349087510670473, -7103392121854438537}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#8  0x00007ffff432130d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

Thread 3 (Thread 0x7fffca4ec700 (LWP 13142)):
#0  pthread_cond_wait@@GLIBC_2.3.2 ()
    at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
No locals.
#1  0x00007ffff0ddd738 in PR_WaitCondVar ()
   from /usr/lib/x86_64-linux-gnu/libnspr4.so
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#2  0x00007ffff5457066 in ?? () from /usr/lib/libmozjs185.so.1.0
No symbol table info available.
#3  0x00007ffff0de2a51 in ?? () from /usr/lib/x86_64-linux-gnu/libnspr4.so
No symbol table info available.
#4  0x00007ffff45f5182 in start_thread (arg=0x7fffca4ec700)
    at pthread_create.c:312
        __res = <optimized out>
        pd = 0x7fffca4ec700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736587548416, 
                7103379746621543287, 1, 0, 140736587549120, 140736587548416, 
                -7103352385508682889, -7103392121854438537}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#5  0x00007ffff432130d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
No locals.

---Type <return> to continue, or q <return> to quit---
Thread 2 (Thread 0x7fffcacfd700 (LWP 13141)):
#0  0x00007ffff4318c33 in select () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x00000000008291f0 in inotify_event_loop ()
    at ../../../source/lib/sysdep/os/linux/dir_watch_inotify.cpp:148
        fdrset = {fds_bits = {8, 0 <repeats 15 times>}}
#2  0x00007ffff45f5182 in start_thread (arg=0x7fffcacfd700)
    at pthread_create.c:312
        __res = <optimized out>
        pd = 0x7fffcacfd700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140736596006656, 
                7103379746621543287, 1, 0, 140736596007360, 140736596006656, 
                -7103351298345086089, -7103392121854438537}, 
              mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, 
            data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#3  0x00007ffff432130d in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111
---Type <return> to continue, or q <return> to quit---
No locals.

Thread 1 (Thread 0x7fffeacf67c0 (LWP 13137)):
#0  0x00007ffff425d267 in kill () at ../sysdeps/unix/syscall-template.S:81
No locals.
#1  0x000000000081b385 in decode_sd (flags=@0x7fffea0ff678: 0, 
    bpp=@0x7fffea0ff670: 0, h=@0x7fffea0ff668: 32, w=@0x7fffea0ff660: 32, 
    sd=<optimized out>) at ../../../source/lib/tex/tex_dds.cpp:569
        suppress__ = 0
        depth = <optimized out>
        sd_req_flags = <optimized out>
        stored_h = <optimized out>
        sd_pitch_or_size = <optimized out>
        mipmap_flag = <optimized out>
        sd_flags = <optimized out>
        stored_w = <optimized out>
        pitch = <optimized out>
        mipmap_cap = <optimized out>

#2  dds_decode (data=<optimized out>, t=0x7fffea0ff640)
    at ../../../source/lib/tex/tex_dds.cpp:610
No locals.
#3  0x000000000081fdf3 in tex_decode (data=..., dataSize=824, 
    t=t@entry=0x7fffea0ff640) at ../../../source/lib/tex/tex.cpp:734
---Type <return> to continue, or q <return> to quit---
        status_ = <optimized out>
        c = 0xb9fd40 <LINE_656_>
        min_hdr_size = <optimized out>
        __func__ = "tex_decode"
        hdr_size = <optimized out>

#4  0x0000000000805ae2 in OglTex_reload (ot=0x7fffea0ff640, vfs=..., 
    pathname=..., h=113180705)
    at ../../../source/lib/res/graphics/ogl_tex.cpp:476
        file = {px = 0x7fffcb7b5000 "DDS |", pn = {pi_ = 0x23ff040}}
        fileSize = 824
#5  0x0000000000800604 in call_init_and_reload (type=<optimized out>, 
    type=<optimized out>, init_args=0x7fffffffd310, pathname=..., vfs=..., 
    hd=0x7fffea0ff600, h=113180705) at ../../../source/lib/res/h_mgr.cpp:446
        err = 0



#6  alloc_new_handle (init_args=0x7fffffffd310, flags=140737488344176, 
    key=<optimized out>, pathname=..., vfs=..., type=0xb9fc80 <V_OglTex>)
    at ../../../source/lib/res/h_mgr.cpp:489
        hd = 0x7fffea0ff600
        err = 140737120302640
        h = 113180705
#7  h_alloc (type=type@entry=0xb9fc80 <V_OglTex>, vfs=..., pathname=..., 
    flags=flags@entry=17) at ../../../source/lib/res/h_mgr.cpp:536
        key = <optimized out>
---Type <return> to continue, or q <return> to quit---
        args = {{gp_offset = 40, fp_offset = 48, 
            overflow_arg_area = 0x7fffffffd420, 
            reg_save_area = 0x7fffffffd330}}
#8  0x000000000080459f in ogl_tex_load (vfs=..., pathname=..., 
    flags=flags@entry=17) at ../../../source/lib/res/graphics/ogl_tex.cpp:548
No locals.
#9  0x000000000064b6f4 in LoadTexture (path=..., texture=..., this=0x1d93450)
    at ../../../source/graphics/TextureManager.cpp:178
        h = 140737488344208
        flags = 31062704
        filter = <optimized out>
#10 TryLoadingCached (texture=..., this=0x1d93450)
    at ../../../source/graphics/TextureManager.cpp:266
        hash = {static DIGESTSIZE = 16, m_Digest = {1732584193, 4023233417, 
            2562383102, 271733878}, 
          m_Buf = "\003\000\000\000\002\000\000\000\002\000\000\000\003\000\000\000\001\000\000\000\000\000@@\000\000\200@\000\000\200?", '\314' <repeats 31 times>, <incomplete sequence \314>, m_BufLen = 32, m_InputLen = 32}
        ret = <optimized out>
        version = 1
        loadPath = {path = {static npos = 18446744073709551615, 
            _M_dataplus = {<std::allocator<wchar_t>> = {<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>}, 
---Type <return> to continue, or q <return> to quit---
              _M_p = 0x2838018 L"art/textures/ui/global/modern/tick-on.png.cached.dds"}}, separator = 47 L'/'}
#11 TryLoad (this=0x2833fe0) at ../../../source/graphics/TextureManager.cpp:557
        self = {px = 0x2833fe0, pn = {pi_ = 0x2613240}}

#12 CTexture::GetHandle (this=0x2833fe0)
    at ../../../source/graphics/TextureManager.cpp:544
No locals.



#13 0x000000000069a801 in CShaderProgram::BindTexture (this=0x1cc3e00, id=..., 
    tex=...) at ../../../source/graphics/ShaderProgram.cpp:700
No locals.
#14 0x00000000007ad448 in GUIRenderer::Draw (Calls=..., Z=Z@entry=40)
    at ../../../source/gui/GUIRenderer.cpp:358
        TexCoords = {left = 1,92853824e-37, top = 0, right = 1,65448104e-37, 
          bottom = 0}
        Verts = {left = 269,200012, top = 114, right = 291,200012, 
          bottom = 136}
        data = {<std::_Vector_base<float, std::allocator<float> >> = {
            _M_impl = {<std::allocator<float>> = {<__gnu_cxx::new_allocator<float>> = {<No data fields>}, <No data fields>}, _M_start = 0x2833fe0, 
              _M_finish = 0x2613240, 
              _M_end_of_storage = 0x1cc7e70}}, <No data fields>}
        shader = {px = 0x1cc3e00, pn = {pi_ = 0x1cc7ef0}}
        cit = {_M_current = 0x2833dd0}
---Type <return> to continue, or q <return> to quit---
        matrix = {{{_11 = 0,001953125, _21 = 0, _31 = 0, _41 = 0, _12 = 0, 
              _22 = -0,00260416674, _32 = 0, _42 = 0, _13 = 0, _23 = 0, 
              _33 = -0,00199800194, _43 = 0, _14 = -1, _24 = 1, 
              _34 = 0,99999994, _44 = 1}, _data = {0,001953125, 0, 0, 0, 0, 
              -0,00260416674, 0, 0, 0, 0, -0,00199800194, 0, -1, 1, 
              0,99999994, 1}, _data2d = {{0,001953125, 0, 0, 0}, {0, 
                -0,00260416674, 0, 0}, {0, 0, -0,00199800194, 0}, {-1, 1, 
                0,99999994, 1}}}}
#15 0x0000000000779798 in CGUISpriteInstance::Draw (this=this@entry=0x2711760, 
    Size=..., CellID=CellID@entry=0, Sprites=..., Z=40)
    at ../../../source/gui/CGUISprite.cpp:42
No locals.
#16 0x00000000007444e1 in CGUI::DrawSprite (this=<optimized out>, Sprite=..., 
    CellID=CellID@entry=0, Z=@0x7fffffffd79c: 40, Rect=...)
    at ../../../source/gui/CGUI.cpp:398
No locals.
#17 0x00000000007a61b9 in IGUIButtonBehavior::DrawButton (
    this=this@entry=0x2710730, rect=..., z=@0x7fffffffd79c: 40, sprite=..., 
    sprite_over=..., sprite_pressed=..., sprite_disabled=..., cell_id=0)
    at ../../../source/gui/IGUIButtonBehavior.cpp:210
        enabled = true
#18 0x000000000077abd3 in CCheckBox::Draw (this=0x2710730)
    at ../../../source/gui/CCheckBox.cpp:149
---Type <return> to continue, or q <return> to quit---
        bz = 40
        checked = true
        sprite_pressed = 0x27118c0
        cell_id = 0
        sprite = 0x2711760
        sprite_over = 0x2711810
        sprite_disabled = 0x2711980
#19 0x000000000074e49f in GUI<int>::RecurseObject (RR=1, pObject=0x2710768, 
    pFunc=&virtual table offset 56) at ../../../source/gui/GUIutil.h:320
        it = <optimized out>
#20 0x000000000074e4c5 in GUI<int>::RecurseObject (RR=1, pObject=0x270f5b0, 
    pFunc=&virtual table offset 56) at ../../../source/gui/GUIutil.h:326
        it = {_M_current = 0x271faa8}
#21 0x000000000074e4c5 in GUI<int>::RecurseObject (RR=1, pObject=0x2712e20, 
    pFunc=&virtual table offset 56) at ../../../source/gui/GUIutil.h:326
        it = {_M_current = 0x2749568}
#22 0x000000000074e4c5 in GUI<int>::RecurseObject (RR=1, pObject=0x27184c0, 
    pFunc=&virtual table offset 56) at ../../../source/gui/GUIutil.h:326
        it = {_M_current = 0x2813948}
#23 0x0000000000745a6c in RecurseObject (pFunc=&virtual table offset 56, 
    pObject=0x26df590, RR=1) at ../../../source/gui/GUIutil.h:326
        it = {_M_current = 0x26d56c0}
#24 CGUI::Draw (this=<optimized out>) at ../../../source/gui/CGUI.cpp:378
---Type <return> to continue, or q <return> to quit---
No locals.
#25 0x0000000000790a99 in CGUIManager::Draw (this=0x1cc3790)
    at ../../../source/gui/GUIManager.cpp:391
        it = {_M_current = 0x2639d98}
        __profile = {<No data fields>}
        profile2__ = {m_Name = 0x8bda55 "gui"}
        profile2gpu__ = {m_Name = 0x8bda55 "gui"}
#26 0x00000000005a631c in Render ()
    at ../../../source/ps/GameSetup/GameSetup.cpp:224
        __profile = {<No data fields>}
        profile2__ = {m_Name = 0x8e6442 "render"}
#27 0x0000000000421aab in Frame () at ../../../source/main.cpp:357
        __profile = {<No data fields>}
        realTimeSinceLastFrame = 0,00202704687
        need_render = 255
        time = <optimized out>
        need_update = true
#28 RunGameOrAtlas (argc=argc@entry=1, argv=argv@entry=0x7fffffffdf78)
    at ../../../source/main.cpp:472
        args = {
          m_Args = {<std::_Vector_base<std::pair<CStr8, CStr8>, std::allocator<std::pair<CStr8, CStr8> > >> = {
              _M_impl = {<std::allocator<std::pair<CStr8, CStr8> >> = {<__gnu_cx---Type <return> to continue, or q <return> to quit---
x::new_allocator<std::pair<CStr8, CStr8> >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, 
                _M_end_of_storage = 0x0}}, <No data fields>}, m_Arg0 = {
            path = {static npos = 18446744073709551615, 
              _M_dataplus = {<std::allocator<wchar_t>> = {<__gnu_cxx::new_allocator<wchar_t>> = {<No data fields>}, <No data fields>}, 
                _M_p = 0xbb8998 L"/usr/games/pyrogenesis"}}, 
            separator = 47 L'/'}}
        ran_atlas = <optimized out>
        res = <optimized out>
#29 0x0000000000415d07 in main (argc=1, argv=0x7fffffffdf78)
    at ../../../source/main.cpp:514
No locals.


Attachments (1)

system_info.txt (6.8 KB ) - added by RoflCopter24 10 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 by historic_bruno, 10 years ago

Can you attach your system_info.txt? It will be in the game's log directory (see GameDataPaths).

I guess you're using the Ubuntu package of the game? It would help a little if you installed the dbg package as well, to get debugging symbols and a nice call stack of the error, assuming it's reproducible (see Debugging).

comment:2 by RoflCopter24, 10 years ago

Description: modified (diff)

by RoflCopter24, 10 years ago

Attachment: system_info.txt added

comment:3 by RoflCopter24, 10 years ago

So I ran the game again with dbg symbols installed and I replaced the original log with the new one, I also attached the system_info.txt.

Sorry I forget to mention I am using the version provided by the development ppa ( https://launchpad.net/%7Ewfg/+archive/0ad.dev ). It identifies itself in the log as "SVN Revision: 14806-development"

Anything else you need?

Last edited 10 years ago by RoflCopter24 (previous) (diff)

comment:4 by Josh, 10 years ago

Cc: leper added
Milestone: BacklogAlpha 16
Priority: Release BlockerShould Have

Ah, we are aware that the 0ad.dev package fails to correctly load any updated textures since A15 and instead throws this error. In my limited debugging, it appeared to be some hiccup in the VFS system. As leper is most familiar with that I'll CC him.

Last edited 10 years ago by Josh (previous) (diff)

comment:5 by Josh, 10 years ago

Resolution: fixed
Status: newclosed

Seems to be fixed now.

Note: See TracTickets for help on using tickets.